kyberforge:skill-author must not self-spawn its own independent-recheck subagent #71
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?
Context
During the issue #6 gitea plugin redesign session, an agent building the
gitea-prsskill routed throughkyberforge:forge→kyberforge:skill-authoras designed. Per forge's documented process, the flow should be: author (in a fork), inline audit (skill-audit, same context), then forge's own outer loop runs a separate independent recheck via a clean-context subagent — that independent-recheck layer is explicitly forge's responsibility, not the author fork's.In this run, the
skill-authorauthoring fork instead self-spawned its own "independent recheck" subagent internally — a violation of that process boundary. While that self-spawned stray subagent was running, its worktree was torn down by concurrent cleanup (a separate environment issue, but triggered by this bug), destroying the first draft of the skill before any commit had happened. The parent agent had to detect this, rebuild all six files from scratch in a stable checkout, fold in the (still-valid) findings from the stray recheck, and commit for real — then the coordinator separately ran forge's actual required independent recheck (a fresh general-purpose agent invokingkyberforge:skill-auditwith no inherited context) against the committed artifact, since the self-spawned one didn't count.Recommendation
kyberforge:skill-author's documented process should explicitly forbid spawning any further subagents for auditing/rechecking purposes during the authoring pass — that responsibility belongs solely toforge's outer loop, never delegated inward. This should be stated as a hard rule in the skill's body, not just implied by the division of responsibility between forge and skill-author.Follow-up from the issue #6 gitea plugin redesign session.
Fixed in #74 (merged).