fix(kyberforge): require git-log commit verification and forbid self-spawned rechecks #74
Reference in New Issue
Block a user
Delete Branch "fix/69-71-factory-authoring-fixes"
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?
Summary
Fixes two bugs in kyberforge's own authoring skills, surfaced by a postmortem after a session with many parallel authoring subagents.
Issue #69 — commit-hash verification. Several authoring runs reported task completion after only
git add-staging changes, verified only viagit diff main --stat, and never actually rangit commit. Staged-but-uncommitted work is silently lost when a subagent's worktree is cleaned up.plugins/kyberforge/skills/skill-author/SKILL.mdandplugins/kyberforge/skills/agent-author/SKILL.mdnow require capturinggit log --oneline -1before and after the authoring pass and asserting the hash actually changed via a real commit, in both their create and improve flows —git diff --statis now explicitly called out as insufficient.Issue #71 — no self-spawned rechecks. In the same session,
skill-author's authoring fork self-spawned its own "independent recheck" subagent instead of leaving that responsibility toforge's outer loop. The stray subagent's worktree was torn down mid-run by concurrent cleanup, destroying an uncommitted draft.plugins/kyberforge/skills/skill-author/SKILL.mdnow states as a hard rule (Gotcha) that it must never spawn further subagents for auditing/rechecking during its own authoring pass — that responsibility belongs solely to/forge's outer loop.Both fixes were produced by dogfooding
kyberforge:forge→kyberforge:skill-author/kyberforge:agent-authoritself, including each route's inline audit and forge's independent clean-context recheck loop — which surfaced and resolved several additional pre-existing gaps along the way (a genuine YAML-frontmatter-comment verification gap in agent-author's closing checklist, an incomplete Copilot-CLI field-exclusion list, a missingagent-audit-availability check in agent-author's improve flow, and assorted checklist/wording nits). The kyberforge plugin version was bumped 1.2.2 → 1.2.3 (patch) to reflect the fixes.Refs #69, #71
Note: Gitea does not auto-close linked issues on merge — #69 and #71 will need to be closed manually after this merges.