Make brief composition a procedure in the spawn skill, not advice #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "improve-spawn-brief-guidance"
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?
Follow-up to #1, from thinking about how spawning actually gets triggered in practice.
The real trigger
The original skill was written for a cold start — as if the spawning agent would need to go learn about the target project. That's the rare case. The realistic one:
The agent already holds 100% of the context. It did the diagnosis. The risk was never that it lacks information — it's that it fails to transfer it.
Two failure modes the old wording didn't prevent
Passthrough — the user's one sentence becomes the brief:
The spawned agent now has less context than the user gave the spawning agent, and it re-derives everything from scratch.
Deixis — "fix the failure above", "this bug", "what we discussed". The new agent starts with an empty conversation. Every one of those references is meaningless to it.
Changes
skill/SKILL.md— the advisory paragraph becomes a procedure:file:line, verbatim errors, what was ruled out) / where to start / done means / out of scope.Confirmation is now conditional on the agent's own certainty, per operator preference: show the brief when you had to guess at something material; spawn straight through when you have the context cold. This keeps the one-liner path fast and puts the checkpoint exactly where the risk is.
Description trigger — added
spawn a new <project> agent to deal with <thing>, since the project-as-adjective phrasing is how the request actually gets made.README.md— one paragraph explaining to the operator why brief quality is the lever.openspec/specs/agent-spawn-plugin/spec.md— the skill requirement now says brief composition must be a procedure, with three new scenarios covering passthrough, diagnosis transfer, and the conditional confirmation rule.Verification
openspec validate --all4/4 ·spawn selftestokDocs and spec only — no behavior change to
bin/spawn.🤖 Generated with Claude Code