feat(kyberforge): wire agent-audit into agent-author close steps

## Why

The last acceptance criterion from #11: agent-author's close step should
reference agent-audit so authors are prompted to validate the pair before
shipping, matching the pattern skill-author uses with skill-audit.

Refs: #11
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0147vXtL5sP6vorDdqXGJJU9
This commit is contained in:
2026-07-04 10:07:39 +00:00
parent 92c13b997f
commit a4235d197d

View File

@@ -148,6 +148,8 @@ If no research sources are in context, delete `agents/sources.md`.
If the destination is inside a plugin directory, apply a **minor bump** to the `version` field in both `plugin.json` and `.claude-plugin/plugin.json` at the plugin root in the same edit pass (e.g. `1.0.4` → `1.1.0`).
Run `/agent-audit` on the created files to confirm the pair is valid before closing.
## Improving an existing agent
### Step 1 — Verify inputs
@@ -184,3 +186,5 @@ Edit any file the signals point to. Generalize the fix — find the underlying g
Re-run the validation checklist from the create flow's Step 5 on any edited file.
If the agent lives inside a plugin directory, apply a **patch bump** to the `version` field in both `plugin.json` and `.claude-plugin/plugin.json` at the plugin root in the same edit pass (e.g. `1.0.4` → `1.0.5`).
Run `/agent-audit` on the edited files to confirm no regressions before closing.