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
{{ message }}
Repository navigation
Commit 6c85b9d
Browse filesBrowse the repository at this point in the historyBrowse files
feat(mcp): slim minimal-face tool descriptions, mechanics pushed to cbm skill
tools/list descriptions are per-session wire cost; the paging/continuation/
honesty fine print only matters after a tool is picked, so keeping it
resident dilutes the trigger signal and burns context. Layering contract
now enforced:
- description = trigger + interpretation contract (search_graph keeps the
degree-column edge-family enumeration; guarded by
mcp_tools_list_latest_metadata)
- inputSchema = parameter contract (aspect enum, path semantics, cursor
rules appear exactly once, in the schema)
- skills/cbm/SKILL.md = mechanics + recipes + honesty boundaries (loaded
progressively; the skill frontmatter description is the always-on
trigger surface)
Per-tool (chars incl. punctuation): search_graph 158->125, query_graph
336->125 (drops the dead get_graph_schema pointer - that tool is not on
the minimal face), get_architecture 178->150. Registry total 672->400
(-40%). The top-level --help Tools: block renders from the same registry,
so descriptions keep a single source of truth.
tests/test_mcp.c mcp_tools_list_latest_metadata now asserts the new
trigger lines + edge enumeration are present and "absence is not proof" /
"continue safely with next_cursor" are absent (regression guard for the
fine print having left the wire).
skills/cbm/SKILL.md: fixed the stale minimal list (detect_changes ->
search_graph per fork issue #5), dropped the stale "MCP registration
removed" stance, added the MCP-face mechanics section as the
progressive-disclosure carrier plus a recipes-are-MCP-arguments note.
Installed to ~/.grok/skills/cbm/.
Verified: mcp suite 321 PASS / 0 FAIL (gcc 13.2, SANITIZE=). cli suite has
12 pre-existing failures (hook/README-surface family, identical under a
stash baseline - untouched by this change, tracked as full-run debt).
0 commit comments