Skip to content

Commit 29c3648

Browse files
committed
refactor: replace DDD-jargon tool names with intent-based verbs
Rename MCP tools to use natural developer language: - get_model + model_health → architecture (merged, includes health) - query_blast_radius → impact - can_delete_symbol → safe_to_delete - check_architectural_invariant → check (supports 'all' mode) - query_dependency_path → how_connected - explain_violation → why - diff_models → drift - diff_snapshots + list_snapshots → history (merged) - search_architecture → search - set_model → define - scan_model → sync - refactor_model → refactor - assert_model → constrain Reframe desired/actual terminology as planned/current. Rewrite all tool descriptions to remove DDD/Datalog jargon. Update prompts, diagnose pipeline, and all 149 tests.
1 parent e0f7aa7 commit 29c3648

File tree

23 files changed

+7283
-2128
lines changed

23 files changed

+7283
-2128
lines changed

.DS_Store

6 KB
Binary file not shown.

.dendrites/store.db

7.68 MB
Binary file not shown.

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
check:
14+
name: Check & Test
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Install Rust toolchain
20+
uses: dtolnay/rust-toolchain@stable
21+
22+
- name: Cache cargo registry & build
23+
uses: actions/cache@v4
24+
with:
25+
path: |
26+
~/.cargo/registry
27+
~/.cargo/git
28+
target
29+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
30+
restore-keys: ${{ runner.os }}-cargo-
31+
32+
- name: Build
33+
run: cargo build --release
34+
35+
- name: Run tests
36+
run: cargo test
37+
38+
- name: Clippy
39+
run: cargo clippy
40+
41+
- name: Check formatting
42+
run: cargo fmt -- --check

AGENTS.md

Lines changed: 344 additions & 428 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,56 @@ Every reasoning tool returns structured results with:
177177

178178
The system never guesses. If it can't prove a claim, it returns `unknown`.
179179

180+
## Example tool outputs
181+
182+
### `model_health`
183+
184+
```json
185+
{
186+
"score": 85,
187+
"circular_deps": [],
188+
"layer_violations": [],
189+
"missing_invariants": [["Catalog", "Category"]],
190+
"orphan_contexts": ["Notifications"],
191+
"god_contexts": [],
192+
"unsourced_events": [],
193+
"complexity": [
194+
{ "context": "Catalog", "entity_count": 3, "service_count": 2, "event_count": 2, "dep_count": 0 },
195+
{ "context": "Ordering", "entity_count": 2, "service_count": 1, "event_count": 1, "dep_count": 1 }
196+
]
197+
}
198+
```
199+
200+
### `can_delete_symbol`
201+
202+
```json
203+
{
204+
"can_delete": false,
205+
"aggregates_referencing": [],
206+
"events_sourced": ["OrderPlaced", "OrderCancelled"],
207+
"repositories_managing": ["OrderRepository"],
208+
"import_references": [],
209+
"ast_references": [],
210+
"call_references": [
211+
{ "caller": "process_payment", "file": "src/billing/service.rs", "line": 42 }
212+
]
213+
}
214+
```
215+
216+
### `diff_models`
217+
218+
```json
219+
{
220+
"status": "diverged",
221+
"pending_changes": [
222+
{ "kind": "context", "action": "add", "context": "", "name": "Notifications" },
223+
{ "kind": "field", "action": "add", "context": "Catalog", "name": "sku", "owner_kind": "entity", "owner": "Product" },
224+
{ "kind": "entity", "action": "remove", "context": "Ordering", "name": "LegacyOrder" }
225+
],
226+
"pending_change_count": 3
227+
}
228+
```
229+
180230
## Supported languages
181231

182232
| Language | Parser | Coverage |

0 commit comments

Comments
 (0)