| 1 | name: Agent task |
| 2 | description: A self-contained task a headless Codewhale agent can finish end to end. Mostly for maintainers. |
| 3 | labels: ["agent-ready"] |
| 4 | body: |
| 5 | - type: markdown |
| 6 | attributes: |
| 7 | value: | |
| 8 | A headless agent runs this with `codewhale exec --auto` on a fresh clone of `main`. |
| 9 | It has shell, file, and git tools, and **no context beyond this issue**. Name every |
| 10 | path and command explicitly. Assign a milestone during triage; this template sets none. |
| 11 | |
| 12 | - type: textarea |
| 13 | id: goal |
| 14 | attributes: |
| 15 | label: Goal |
| 16 | description: What is wrong or missing, and why it matters now. 2-4 sentences. |
| 17 | placeholder: | |
| 18 | The TUI freezes when 4+ sub-agents run at once, because each progress |
| 19 | event triggers a full redraw. |
| 20 | validations: |
| 21 | required: true |
| 22 | |
| 23 | - type: textarea |
| 24 | id: scope |
| 25 | attributes: |
| 26 | label: Plan |
| 27 | description: Numbered steps. Start each with the file path it changes. List any extra files to read first. |
| 28 | placeholder: | |
| 29 | 1. crates/tui/src/tui/ui.rs — throttle redraws in the progress handler |
| 30 | 2. crates/tui/src/tui/app.rs — add a last-redraw timestamp |
| 31 | Read first: crates/tui/src/tui/sidebar.rs |
| 32 | validations: |
| 33 | required: true |
| 34 | |
| 35 | - type: textarea |
| 36 | id: acceptance-criteria |
| 37 | attributes: |
| 38 | label: Done when |
| 39 | description: Observable, testable outcomes. |
| 40 | placeholder: | |
| 41 | - [ ] 4 concurrent sub-agents do not freeze input |
| 42 | - [ ] Ctrl+C still works during sub-agent activity |
| 43 | validations: |
| 44 | required: true |
| 45 | |
| 46 | - type: textarea |
| 47 | id: verification |
| 48 | attributes: |
| 49 | label: Verification |
| 50 | description: Exact commands that prove it. Scope them to the crates touched; CI runs the full suite. |
| 51 | placeholder: | |
| 52 | scripts/dev-cargo.sh check -p codewhale-tui |
| 53 | scripts/dev-test.sh tui subagent |
| 54 | render: shell |
| 55 | validations: |
| 56 | required: true |
| 57 | |
| 58 | - type: textarea |
| 59 | id: out-of-scope |
| 60 | attributes: |
| 61 | label: Out of scope |
| 62 | description: What this task must not change. |
| 63 | placeholder: | |
| 64 | - The sub-agent execution model |
| 65 | - The recommended fanout count |
| 66 | validations: |
| 67 | required: false |
| 68 |