Commit 2277836
committed
feat(mcp-bridge): close vibe's PR #32 gap + lift to Glama AAA tier
Carries forward the coord-mcp work orphaned when PR #32 closed on 2026-04-20
without the full set merging (only the watchdog squash landed as c9a291d).
The six tools added by the 0.8.0 health-snapshot and PR #29 variant/capability
commits were on the cartridge manifest but absent from the MCP bridge's
advertised tool list, so Glama could not see them.
What landed
-----------
MCP bridge tool surface now matches cartridge.json:
* Added: `coord_set_variant`, `coord_set_capabilities`,
`coord_get_peer_capabilities`, `coord_health`, `coord_progress`,
`coord_sweep_watchdog`.
* Renamed: `coord_promote_to_supervisor` -> `coord_promote_to_master`
(DD-32). Old name kept only as a dispatch alias for one release;
not re-advertised.
Glama AAA tier posture
----------------------
Every tool description rewritten to hit Glama's six TDQS dimensions:
Purpose Clarity, Usage Guidelines, Behavioral Transparency, Parameter
Semantics, Conciseness & Structure, Contextual Completeness. The
server-level score is 60% mean + 40% *min*, so a single thin
description tanks the number -- 32 one-liners (browser, github,
gitlab, comms, research) all lifted above the floor.
Input schemas tightened: `additionalProperties: false`, enum
constraints, `minimum`/`maximum`, `pattern` regexes where meaningful
(cartridge name, variant label).
Coherence tests
---------------
New `mcp-bridge/tests/dispatch_test.js` (6 tests, all green):
1. Every `coord_*` in `cartridge.json` is exposed by the bridge
(drift = invisible to Glama).
2. `coord_promote_to_master` is canonical; old name not advertised.
3. Every tool has a >=80 char description (AAA floor).
4. Every `inputSchema` is a typed object.
5. `required[]` names match declared properties.
6. Tool names are unique.
`npm test` now runs these (was an echo no-op).
Version + metadata
------------------
* Server version 0.3.1 -> 0.4.0 across main.js, version.js, and both
package.json files.
* Cartridge count description 96 -> 100.
* Offline menu: local-coord-mcp version 0.1.0 -> 0.9.0; summary total
24 -> 100 to reflect disk truth.
* README: new "Local-coord-mcp at a glance" + "Glama AAA posture"
sections documenting the server's Glama stance and how the coherence
tests lock it in.
Also adds `docs/handover/HAIKU-SCOUT-PASS.md` -- reusable Haiku
scouting-pass prompt template for the next coord-mcp review cycle.
Test plan
---------
* [x] `node --test mcp-bridge/tests/dispatch_test.js` -- 6/6 green
* [x] `node --check` on every modified JS file
* [x] MCP stdio handshake still responds (verified by live reload
picking up the 6 new tools + dropping the renamed one)
* [ ] Glama re-index picks up the expanded tool list with AAA scores
Context
-------
Branch `claude/enhance-vibe-aaa-standard-ATSCg`. Completes the
unfinished parts of vibe's PR #32 at the MCP bridge layer and lifts
the server posture to Glama AAA quality.1 parent c9a291d commit 2277836
9 files changed
Lines changed: 467 additions & 92 deletions
File tree
- docs/handover
- mcp-bridge
- lib
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
41 | 75 | | |
42 | 76 | | |
43 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
0 commit comments