feat(plan): refine outline and ship /ship temporarily
Why: a grilling round on the outline settled its general shape. The outline now has two tracks (spec and tickets, or tickets only), three entry points that all start at one gate, a validation split between a cheap gate before grilling and a deep check after research, named loop-backs with a two-loop park cap, a docs PR that records decisions before the spec, and a single approval to file tickets and set Ready for Agent. Undecided points are listed under "Open for later". /ship moves into the plugin unchanged from the personal command, so the /ship that /next hands off to ships with the package rather than living only in one maintainer's ~/.claude. It is marked temporary: implementation does not belong in plan long term. Impact: the description in apm.yml, marketplace.json and architecture.md no longer claims the plugin stops before implementation. plan goes to 0.2.0 because it ships a new prompt. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
d782239d19
commit
f5cbaa78e2
5 files changed
+121
-17
No files matched your search
@@ -0,0 +1,45 @@
|
||||
---
|
||||
description: Execute the plan in context with subagents — implement, clean-context review, push, PR, watch CI, report
|
||||
disable-model-invocation: true
|
||||
---
|
||||
|
||||
Execute the plan already in this conversation. If there is no plan in context, stop and ask for one.
|
||||
|
||||
You are the orchestrator. Delegate the work to subagents and keep your own context lean: give each
|
||||
subagent a tight brief and take back only its conclusion. Do not narrate to the user between steps.
|
||||
Speak to the user only to stop and ask (see below) or to give the final report.
|
||||
|
||||
## Loop
|
||||
|
||||
1. **Implement** — dispatch subagents for the plan's steps. Run them in parallel when they touch
|
||||
different files and sequentially when they depend on each other or share files. Tell them to use
|
||||
the repo's relevant skills (for example `git-commits`) and to follow its AGENTS.md. If you are on
|
||||
the default branch, create a feature branch first.
|
||||
2. **Review** — dispatch a fresh subagent with no inherited context. Give it the plan and the
|
||||
diff against the base branch, not the implementers' summaries. Ask it for blocking and
|
||||
non-blocking findings.
|
||||
3. Blocking findings → send them to implementer subagents, then review again with a new
|
||||
clean-context subagent. Cap: 3 implement→review rounds, then stop and ask.
|
||||
4. **Push and PR** — push the feature branch and open a PR (use the `gitea-prs` skill on Gitea
|
||||
remotes). Invoking `/ship` authorizes these: creating the branch, commits, normal pushes to it,
|
||||
and opening or updating the PR.
|
||||
5. **Watch CI** — without filling your context: either run a background poll you write on the spot
|
||||
(every 120 s, exits when CI finishes, never saved to the repo or committed) or dispatch a
|
||||
subagent to do the polling. If CI fails, a fix subagent diagnoses and fixes it, you push, and you
|
||||
watch again. Cap: 3 CI fix rounds, then stop and ask.
|
||||
6. **Finish** — when CI is green, update the PR title and description if they no longer match the
|
||||
change.
|
||||
|
||||
## Stop and ask when
|
||||
|
||||
- the plan is ambiguous or the work would go outside the plan's scope
|
||||
- a finding needs a design decision
|
||||
- a secret or credential turns up
|
||||
- a round cap is hit
|
||||
- an action is irreversible beyond the authorization above: force-push, push to the default branch,
|
||||
merge, or delete. Never merge.
|
||||
|
||||
## Final report
|
||||
|
||||
Short: PR link, what changed, number of review rounds, CI result, and open notes or non-blocking
|
||||
findings.
|
||||
Reference in new issue
Block a user