Skip to content

Commit 7b3dfe5

Browse files
committed
feat(workflow): session-workflow — enforce Next line format with agent name, idle state loads feature-selection
1 parent 5de4299 commit 7b3dfe5

File tree

1 file changed

+9
-3
lines changed
  • .opencode/skills/session-workflow

1 file changed

+9
-3
lines changed

.opencode/skills/session-workflow/SKILL.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Every session starts by reading state. Every session ends by writing state. This
2727
3. Run `git status` — understand what is committed vs. what is not
2828
4. Confirm scope: you are working on exactly one step of one feature
2929

30-
If TODO.md says "No feature in progress", report to the PO that backlog features are waiting. **The software-engineer never self-selects a feature from the backlog — only the PO picks.** The PO must verify the feature has `Status: BASELINED` in its discovery section before moving it to `in-progress/` — if not baselined, the PO must complete Step 1 first.
30+
If TODO.md says "No feature in progress", load `skill feature-selection` — it guides the PO through scoring and selecting the next BASELINED backlog feature. **The software-engineer never self-selects a feature from the backlog — only the PO picks.** The PO must verify the feature has `Status: BASELINED` in its discovery section before moving it to `in-progress/` — if not baselined, the PO must complete Step 1 first.
3131

3232
## Session End
3333

@@ -70,9 +70,15 @@ Source: docs/features/in-progress/<name>.feature
7070
- [ ] `@id:<hex>`: <description>
7171

7272
## Next
73-
<One sentence: exactly what to do in the next session>
73+
Run @<agent-name> — <one concrete action>
7474
```
7575

76+
**"Next" line format**: Always prefix with `Run @<agent-name>` so the human knows exactly which agent to invoke. Examples:
77+
- `Run @software-engineer — implement @id:a1b2c3d4 (Step 3 RED)`
78+
- `Run @reviewer — verify feature display-version at Step 4`
79+
- `Run @product-owner — pick next BASELINED feature from backlog`
80+
- `Run @product-owner — accept feature display-version at Step 5`
81+
7682
**Source path by step:**
7783
- Step 1: `Source: docs/features/backlog/<name>.feature`
7884
- Steps 2–4: `Source: docs/features/in-progress/<name>.feature`
@@ -89,7 +95,7 @@ When no feature is active:
8995
# Current Work
9096

9197
No feature in progress.
92-
Next: PO picks a feature from docs/features/backlog/ that has Status: BASELINED and moves it to docs/features/in-progress/.
98+
Next: Run @product-owner — load skill feature-selection and pick the next BASELINED feature from backlog.
9399
```
94100

95101
## Step 3 (TDD Loop) Cycle-Aware TODO Format

0 commit comments

Comments
 (0)