7d972a65
docs: share sprint delivery workflow with repository agents
a73x 2026-09-06 05:15
Commit message
AGENTS.md
| Old | New | ||
|---|---|---|---|
| @@ -0,0 +1,10 @@ | |||
| 1 | # Agent instructions | ||
| 2 | |||
| 3 | Read [CLAUDE.md](CLAUDE.md) for the repository's toolchain, architecture, | ||
| 4 | invariants, and working rules; those instructions apply to every coding agent. | ||
| 5 | |||
| 6 | When the user requests sprint delivery, read and follow the repository's | ||
| 7 | [sprint-delivery skill](docs/skills/sprint-delivery/SKILL.md). It is ordinary | ||
| 8 | Markdown and can be followed without a skill loader or a personal installation. | ||
| 9 | Use this repository copy for mux work. Ordinary isolated edits do not require | ||
| 10 | the sprint workflow. | ||
docs/native-sprint-workflow.md
| Old | New | ||
|---|---|---|---|
| @@ -1,5 +1,9 @@ | |||
| 1 | # Native client sprint workflow | 1 | # Native client sprint workflow |
| 2 | 2 | ||
| 3 | The repository's [sprint-delivery skill](skills/sprint-delivery/SKILL.md) supplies | ||
| 4 | the shared workflow and instructions for agents with different tool capabilities. | ||
| 5 | Any agent can read it directly; no personal skill installation is required. | ||
| 6 | |||
| 3 | Use this formula for each native client sprint. The tiling | 7 | Use this formula for each native client sprint. The tiling |
| 4 | [spec](superpowers/specs/2026-09-05-native-tiling-design.md) defines behavior; | 8 | [spec](superpowers/specs/2026-09-05-native-tiling-design.md) defines behavior; |
| 5 | the [delivery plan](superpowers/plans/2026-09-05-native-tiling.md) breaks it into | 9 | the [delivery plan](superpowers/plans/2026-09-05-native-tiling.md) breaks it into |
docs/skills/sprint-delivery/SKILL.md
| Old | New | ||
|---|---|---|---|
| @@ -0,0 +1,100 @@ | |||
| 1 | --- | ||
| 2 | name: sprint-delivery | ||
| 3 | description: Start or resume software delivery in small functional sprints, with economical implementation and adversarial review agents, opening and closing cleanup, a working demo, and a durable retrospective. Use when the user requests this sprint workflow; ordinary isolated edits do not need its full process. | ||
| 4 | --- | ||
| 5 | |||
| 6 | # Sprint delivery | ||
| 7 | |||
| 8 | Deliver one useful, working slice at a time. Keep session continuity in the | ||
| 9 | repository, not in a long conversation or this skill. This skill supplies a | ||
| 10 | workflow; it does not authorize a new sprint, deployment, or external publication. | ||
| 11 | |||
| 12 | ## Use with any agent | ||
| 13 | |||
| 14 | This repository copy is the maintained sprint skill for mux. Any coding agent | ||
| 15 | can read this file and follow it as Markdown; a skill loader is optional. | ||
| 16 | For tools without automatic discovery, ask: "Read | ||
| 17 | docs/skills/sprint-delivery/SKILL.md and use it to resume the sprint." | ||
| 18 | |||
| 19 | Use the agent's available tools for file edits, commands, delegation, and review. | ||
| 20 | The model names and collaboration parameters below are defaults where supported. | ||
| 21 | If those models are unavailable, state the substitution and use an economical | ||
| 22 | implementer and a capable reviewer. If delegation is unavailable, perform | ||
| 23 | implementation and a separate adversarial review pass sequentially, and disclose | ||
| 24 | that the review was not independent. Keep the same acceptance scenarios, | ||
| 25 | validation gates, demo, and retrospective; do not claim unavailable checks ran. | ||
| 26 | This fallback also applies to the pairing in the native sprint guide. | ||
| 27 | |||
| 28 | ## Resume from evidence | ||
| 29 | |||
| 30 | Read applicable repository instructions, git status and recent commits, the | ||
| 31 | current spec/plan, and the latest `RETRO.md` actions. Resolve project document | ||
| 32 | paths from the repository root. Read relevant sections rather than full history. | ||
| 33 | Report what is implemented, validated, accepted, and still open as distinct facts. | ||
| 34 | Check the current environment before reusing temporary demo fixtures or addresses. | ||
| 35 | |||
| 36 | For mux native-client work, `docs/native-sprint-workflow.md` links the maintained | ||
| 37 | spec and delivery plan and owns the detailed validation/demo procedure. Read it | ||
| 38 | when working in that repository. Keep terminal CLI layout separate from native | ||
| 39 | layout unless the user changes that scope. Do not embed current sprint numbers, | ||
| 40 | commit IDs, or temporary service URLs in this skill. | ||
| 41 | |||
| 42 | ## Run a bounded sprint | ||
| 43 | |||
| 44 | 1. **Scope and acceptance.** Choose the smallest functional deliverable within | ||
| 45 | the user's authorized plan. Define observable acceptance scenarios and carry | ||
| 46 | forward applicable retrospective actions. Clarify material unknowns early; | ||
| 47 | continue independent work while waiting. Existing authorization still applies. | ||
| 48 | 2. **Opening cleanup.** Inspect the touched code for small refactors that help | ||
| 49 | the slice. Review, validate, and commit these separately within existing | ||
| 50 | authorization. If the code is ready, say so; there is no cleanup quota. | ||
| 51 | 3. **Delegate implementation and review.** Use the pairing below. Deliver through | ||
| 52 | actual user interactions and system boundaries, then integrate the result. | ||
| 53 | 4. **Closing cleanup.** Explicitly review duplication, obsolete paths, temporary | ||
| 54 | scaffolding, and unnecessary state. Refactor what the slice exposed. Record | ||
| 55 | retained debt with its location, consequence, and next owner or trigger. | ||
| 56 | 5. **Validate and demonstrate.** Run required repository gates and meaningful | ||
| 57 | checks for the change. Independently verify real behavior beyond agent | ||
| 58 | agreement. Freeze source before final checks; rerun affected checks after | ||
| 59 | meaningful changes. Demonstrate the working result, including relevant failure | ||
| 60 | paths. A recording must show the actual application, not a slideshow. | ||
| 61 | 6. **Close and hand off.** Commit validated work within existing authorization. | ||
| 62 | Update the spec/plan status and `RETRO.md`: results, lessons, retained debt, | ||
| 63 | and checkable next-sprint actions. Record demo acceptance only when given; | ||
| 64 | test success does not imply user acceptance. Begin the next sprint only when | ||
| 65 | authorized, preserving any acceptance requirement in the agreed plan. | ||
| 66 | |||
| 67 | ## Economical pairing | ||
| 68 | |||
| 69 | - Explicit model defaults: `gpt-5.6-luna` for implementation and | ||
| 70 | `gpt-5.6-terra` for adversarial review. With collaboration tools, use | ||
| 71 | `fork_turns="none"` and provide a short task brief. A full-history fork inherits | ||
| 72 | the parent model and defeats this cost choice. Reuse agents with the intended | ||
| 73 | model; an old agent with an inherited expensive model is not a cheap substitute. | ||
| 74 | - Give each agent the deliverable, relevant file paths, edit ownership, | ||
| 75 | constraints, acceptance checks, and its partner's name. They should read only | ||
| 76 | necessary code. The main session coordinates, integrates, and independently | ||
| 77 | validates; assign each implementation or investigation one owner. | ||
| 78 | - The reviewer sends concrete findings directly to the implementer: trigger, | ||
| 79 | consequence, and expected behavior. The implementer returns a fix and evidence | ||
| 80 | or a reason the finding does not apply. Continue focused exchanges until | ||
| 81 | findings are resolved; root adjudicates persistent disagreement against the | ||
| 82 | spec and observations. Re-review changed parts and unresolved findings rather | ||
| 83 | than repeating a broad review each round. | ||
| 84 | - Add agents only for independent useful work. Escalate a specific difficult | ||
| 85 | problem to a stronger model when justified. If a selected model is unavailable, | ||
| 86 | report the limitation and choose an available economical alternative or handle | ||
| 87 | a small remainder locally; do not silently inherit an expensive model. | ||
| 88 | |||
| 89 | ## Validation that answers the claim | ||
| 90 | |||
| 91 | Use real binaries, multiple relevant instances, and independent oracles for | ||
| 92 | claims about processes, PTYs, persistence, and rendering. Observation must not | ||
| 93 | repair the behavior being measured. Verify release configuration for every | ||
| 94 | participating binary before quoting performance. Measure input-to-visible response | ||
| 95 | separately from frame timing, and state polling overhead or other material limits. | ||
| 96 | |||
| 97 | Keep platform-specific gates and demo mechanics in project documentation. In mux, | ||
| 98 | the documented native gates complement `make ci`; the raw-output gate builds both | ||
| 99 | the daemon and GUI in release mode. Preserve existing services when sharing a | ||
| 100 | demo, and use only the sharing scope the user authorized. | ||