You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This session was fully AX-driven. Starting from a clean v1.5.3 baseline, the session built and shipped two releases (v1.6.0 and v1.7.0) across four major workstreams:
12
-
13
-
1.**v1.6.0** — Three parallel workstreams via isolated worktree agents:
2.**AX Audit Round 1** — Audited all 8 tool schemas against the constitution. Found 8 gaps (G1-G8). Fixed G1-G5, G7-G8 (schema/description improvements + file_filter 0-match runtime warning). Flipped G6 (`depth` default `"full"` → `"signatures"`) with tests explicitly requesting `"full"` where needed.
19
-
20
-
3.**AX Audit Round 2 (background agent)** — Post-fix validation. Found 7 remaining gaps (F1-F7). `withDiagnosticsAxWarning` and `file_filter` 0-match warning had zero test coverage. `enrichError` missing. Single-file warning message weak. `get_diagnostics` param descriptions lacked 50KB threshold reference.
21
-
22
-
4.**DevTeam Fix Loop** — Engineer+Reviewer loop implemented all 7 findings. Reviewer caught one gap (B5 conditional guard → made unconditional). All shipped.
23
-
24
-
5.**v1.7.0** — Released with all of the above.
11
+
This session was fully AX-driven across two releases. Starting from v1.5.3, the session produced v1.6.0 (AX constitution, `uninstall-mapper`, real HTTP behavior tests) and v1.7.0 (AX enforcement made rigorous: `depth` default flipped to `"signatures"`, `get_diagnostics` oversize warning, 13 AX ratchet tests, `enrichError` for agent-actionable OS errors). Two audit rounds and one DevTeam Engineer+Reviewer loop ensured every AX principle is now enforced at schema, runtime, and test levels.
25
12
26
13
---
27
14
@@ -30,6 +17,7 @@ This session was fully AX-driven. Starting from a clean v1.5.3 baseline, the ses
**Target:** AI agents (Claude Code, Cursor, Windsurf) working on C#, Rust, or TypeScript codebases who need compilation diagnostics and code structure analysis via MCP — responses must never pollute the agent's context window.
| HTTP server properly tested | ✅ | 16 real behavior tests across all routes |
88
-
| AX contracts in CI | ✅ | 13 ratchet tests (A1-A6, A3b, A4b, B1-B5) |
89
-
90
-
**Overall:**⭐ Complete — AX constitution fully enforced at schema, runtime, and test levels. v1.7.0 released.
62
+
|Get all compilation errors, scoped to errors only | ✅ Working |`get_diagnostics(severity:"error", limit:20)` → < 10KB|
63
+
|Understand codebase structure without reading files | ✅ Working |`get_code_structure(depth:"signatures")` default; AX budget enforced|
64
+
|Dry-run compile check before writing to disk (C#) | ✅ Working |`verify_changes` with daemon; `reverted: true` confirmed|
65
+
|Responses never exceed context window budget | ✅ Working | Auto-truncation at 200KB with agent-actionable warning|
66
+
|Warning when response would be too large | ✅ Working |`get_code_structure` truncates + warns; `get_diagnostics` warns at 50KB|
67
+
|Install / uninstall mappers per language | ✅ Working |`vslsp install-mapper` + `vslsp uninstall-mapper` (new this session)|
68
+
|AX contracts locked in CI — regressions caught | ✅ Working | 13 ratchet tests: A1-A6, A3b, A4b, B1-B5 (dual-bound: upper + lower)|
69
+
|AX philosophy documented and queryable | ✅ Working |`docs/AX.md` — constitution, budgets, principles, extension checklist|
70
+
71
+
**Overall:** ⭐ **Complete** — all AX goals met, 13 ratchet tests in CI, two audit rounds converged to clean, v1.7.0 released.
72
+
73
+
**Critical next step:**No critical items. Optional: Go mapper (pattern established), or `verify_changes` for Rust/TypeScript (requires persistent `cargo check`/`tsc` processes).
91
74
92
75
---
93
76
94
77
## What's Next (Prioritized)
95
78
96
79
### Optional / Future
97
80
98
-
1.**Go mapper** — Pattern established. Add`GoMapper` to registry, CI matrix, `install.sh`. Carry forward from v1.5.3 handoff.
81
+
1.**Go mapper** — Pattern established: add`GoMapper` to registry, CI matrix, `install.sh`. Carried forward since v1.5.3.
99
82
100
-
2.**Rust/TS daemon** — `verify_changes` dry-run is C#-only. Would require persistent `cargo check`/`tsc` processes.
83
+
2.**Rust/TypeScript daemon** — `verify_changes` dry-run is C#-only. Would require persistent `cargo check`/`tsc` processes.
101
84
102
-
3.**`http.test.ts` integration with B5** — The B5 test creates a synthetic fixture. A future improvement could share fixture generation logic between A6 (code structure) and B5 (diagnostics) via a helper.
85
+
3.**AX truncation for `get_diagnostics`** — Currently warns only at 50KB (no truncation). Could add hard cap at e.g. 100KB for parity with `get_code_structure`. Low priority — warning already fires.
103
86
104
-
4.**AX truncation for `get_diagnostics`** — Currently warns only (no truncation). Could add hard truncation at e.g. 100KB similar to `get_code_structure` at 200KB. Low priority given warning already fires.
87
+
4.**Update `Plans/federated-coalescing-lampson.md`** — Status header should reference v1.7.0.
105
88
106
-
5.**Update `Plans/federated-coalescing-lampson.md`** — Status header should reflect v1.7.0.
89
+
5.**Prune stale worktrees** — `git worktree prune` to clean up agent-a53e50a8 and agent-add47742.
107
90
108
91
---
109
92
@@ -113,9 +96,9 @@ None.
113
96
114
97
**Known intentional keeps:**
115
98
-`store.clear()` and `didClose()` — valid API surface, not dead code
116
-
- Single-file oversize warns but doesn't truncate — by design (`depth:"full"` is opt-in)
117
-
-`withDiagnosticsAxWarning` warns only (no truncation) — semantics preserved intentionally
118
-
- RustMapper binary removed during smoke test this session — reinstall with`vslsp install-mapper rust`
99
+
- Single-file oversize warns but doesn't truncate — `depth:"full"` is opt-in, warning guides agent to use `"signatures"`
100
+
-`withDiagnosticsAxWarning` warns only (no truncation) — preserves full diagnostic semantics intentionally
101
+
-**RustMapper binary removed** during smoke test this session — reinstall:`vslsp install-mapper rust`
@@ -146,18 +129,23 @@ cd /Users/Dennis.Dyall/Code/other/vslsp
146
129
git log --oneline -5
147
130
git status
148
131
bun run tsc --noEmit # clean
149
-
bun test tests/http.test.ts tests/diagnostics/store.test.ts tests/core/types.test.ts tests/code-mapping/mapper.test.ts tests/diagnostics/rust.test.ts tests/diagnostics/typescript.test.ts --timeout 30000
132
+
bun test tests/http.test.ts tests/diagnostics/store.test.ts tests/core/types.test.ts \
0 commit comments