refactor(kyberforge): merge skill-audit + agent-audit, and address the author-pair duplication #101
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two structural findings from the ADR-0020 grill, both concerning kyberforge's own skills.
Merge
skill-audit+agent-audit(decided in ADR-0020). They meet the merge criterion: substantial shared content, they name each other as near-misses, and they differ only in the type of input file. Shared today:skill-audit/SKILL.md:44≡agent-audit/SKILL.md:49)skill-audit:134-136≡agent-audit:105-107) and the same 6-variant## Resultblockvale-wrap.shand 4 of 5 identical Vale style YAMLsreferences/description-quality.mdfiles that have already drifted into independently-worded versionsMerging collapses those to single copies and removes 1,845 chars of mutually-excluding description from the preload. The merged skill uses the ADR-0020 dispatch pattern: dispatch table + shared gates in the body,
references/skill.mdandreferences/agent.mdper branch. This reopens ADR-0008 (agent-audit's single-file invocation contract) — supersede or amend it as part of this work. Noteskill-authorandagent-authorboth invoke their audit inline as a closing step, andforgere-runs them in a clean-context subagent; those call sites need updating.Author-pair duplication stays un-gated. ADR-0020 deliberately excludes
skill-author+agent-authorfrom the merge rule, so this survives:skill-author/SKILL.md:241,:306,agent-author/SKILL.md:214,:259) with wording already drifted between themapm.ymlwalk-up rule restated 6 times across 5 files, with citation-path drift betweendocs/research/docs/...andplugins/kyberforge/docs/research/docs/...Cache isolation makes these copies unavoidable (
skill-audit/SKILL.md:95forbids cross-skill references;LESSONS.md:107records why), so the options are a sync gate — generalisingscripts/check-vale-style-sync.shto cover shared prose — or continued drift. Decide which.Also in scope:
agent-author/references/scripts.mdis orphaned (43 lines, zero mentions in SKILL.md), andskill-author/skill-auditlack thereferences/README.mdandscripts/README.mdthatskill-audit/SKILL.md:119requires of the skills they audit.Reference:
docs/adr/0020-skill-description-and-body-context-contract.md(committed on branchrefactor/trim-skills-agents-context).Resolved on branch
docs/simplification-audit, not yet merged:skill-auditandagent-auditare merged intofactory-audit(commit620f20b, ADR-0025), and the call sites inskill-author,agent-authorandforgeare updated. kyberforge moves to 2.0.0.check-vale-style-sync.shwas removed, because a singlefactory-audit/assets/vale/copy leaves nothing to sync.This issue should close when that branch's PR merges (
Closes #101).