Skip to content

fix: populate agent bodies, sync mcpb version, update layout docs - #86

Merged
5uck1ess merged 2 commits into
mainfrom
fix/agents-mcpb-version-doc-drift
Apr 11, 2026
Merged

fix: populate agent bodies, sync mcpb version, update layout docs#86
5uck1ess merged 2 commits into
mainfrom
fix/agents-mcpb-version-doc-drift

Conversation

@5uck1ess

Copy link
Copy Markdown
Owner

Summary

Addresses the plugin-validator findings from the devkit self-evaluation.

Critical fixes:

  • Agents had empty bodies (agents/*.md). All six were frontmatter-only stubs with no description: field, so Claude Code's loader had nothing to dispatch by — even though workflows like doc-gen, test-gen, onboard, pr-ready, and tri-review invoke them by name via the Task tool. Added description: + a concise system prompt to documenter, improver, researcher, reviewer, security-auditor, and test-writer.
  • mcpb/manifest.json version drift. Was stuck at 0.0.0 while .claude-plugin/plugin.json is 2.1.19. Extended make sync-version to rewrite both files in the same loop, and bumped mcpb/manifest.json to match current main.

CLAUDE.md + hook-comment drift:

  • Layout table said "39 SKILL.md dispatchers" — actual count is 38.
  • Layout table said commands/ was "mostly empty since PR refactor(plugin): migrate commands/ to skills/ #77" — it actually holds commands/references/ with debug-checklists.md, domain-probes.md, stub-patterns.md.
  • hooks/hooks_test.sh header comment said "all 10 registered hooks"; the suite exercises 12 distinct scripts. Updated.

Test plan

  • bash hooks/hooks_test.sh — 70 passed, 0 failed
  • make -C src test — all Go tests pass
  • make -C src sync-version — runs clean on both files, no-op when already in sync
  • Trigger a doc-gen / test-gen run in a fresh session to confirm the populated agents load and dispatch
  • Verify the auto-bump release workflow still writes the right version into both JSON files on next merge

… layout docs

Agents were frontmatter-only stubs — missing `description:` and empty
bodies, so Claude Code's loader had nothing to dispatch by. Add a
description + system-prompt body to all six subagents (documenter,
improver, researcher, reviewer, security-auditor, test-writer) so the
Task-tool invocations from workflows (doc-gen, test-gen, onboard,
pr-ready, tri-review, etc.) resolve against real agent definitions.

Extend `make sync-version` to also rewrite `mcpb/manifest.json` so the
bundled MCP server descriptor no longer drifts from `.claude-plugin/plugin.json`
on every release, and bump the file to 2.1.19 to match main.

Fix CLAUDE.md layout table drift caught by the validator: 39 → 38 skills,
and replace the "commands/ mostly empty" row with the real contents
(`commands/references/` has debug-checklists, domain-probes, stub-patterns).
Update `hooks/hooks_test.sh` header comment from "10 registered hooks" to
the actual 12 tested scripts.
The mcpb-bundle-integrity CI check re-hashes every tracked source against
the sidecar, and the manifest.json version change in 884e0b1 invalidated
its pinned sha256. Rebuild via bin/mcpb-build so the sidecar, the zipped
bundle, and the cross-compiled Windows launcher all line up.
@5uck1ess
5uck1ess merged commit 24204f6 into main Apr 11, 2026
6 checks passed
@5uck1ess
5uck1ess deleted the fix/agents-mcpb-version-doc-drift branch April 11, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant