You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the live agent workflow to use the MVP implementation backlog and clarify how agents should handle MVP-scoped work.
- add MVP planning references to AGENTS.md
- expand docs/agent-workflow.md with task classification, scope control, docs-only validation, open-question corroboration, and multi-agent coordination guidance
- add plans/mvp-gap-analysis.md as the current-state assessment companion to the MVP scope and backlog
Copy file name to clipboardExpand all lines: AGENTS.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,15 @@ if err != nil {
89
89
- Do not make insecure transport the default for code paths that may later be used outside local/demo workflows.
90
90
- If plaintext or insecure TLS behavior is needed for local development, gate it behind explicit configuration and keep production-oriented defaults secure.
91
91
92
+
## MVP Planning References
93
+
94
+
For MVP-scoped work:
95
+
96
+
- Use `docs/mvp-scope.md` as the target-state definition.
97
+
- Use `plans/mvp-gap-analysis.md` for current-state assessment.
98
+
- Use `plans/mvp-implementation-backlog.md` as the active execution backlog.
99
+
- Treat `plans/implementation-backlog.md` as historical context unless explicitly requested.
Copy file name to clipboardExpand all lines: docs/agent-workflow.md
+95-4Lines changed: 95 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,23 +3,79 @@
3
3
This repo contains two complementary process documents:
4
4
5
5
-`AGENTS.md`: repo-specific rules (commands, Go conventions, CLI flag validation patterns).
6
-
-`plans/implementation-backlog.md`: the task list with per-task **Done when** + **Verify** criteria and a status table.
6
+
-`plans/mvp-implementation-backlog.md`: the active MVP task list with per-task **Done when** + **Verify** criteria and a status table.
7
7
8
8
This document defines the **step-by-step workflow** to implement backlog tasks consistently (human or LLM).
9
9
10
+
Note on the backlog switch:
11
+
12
+
-`plans/mvp-implementation-backlog.md` is now the active implementation backlog for MVP-scoped work.
13
+
-`plans/implementation-backlog.md` remains useful historical context, but agents should not treat it as the primary task source for current MVP execution.
14
+
15
+
## Scope of This Workflow
16
+
17
+
This workflow defines the default execution behavior for MVP-scoped work.
-`plans/mvp-implementation-backlog.md`: active execution backlog
24
+
25
+
Historical context only:
26
+
27
+
-`plans/implementation-backlog.md`
28
+
29
+
Agents should treat `plans/mvp-implementation-backlog.md` as the primary task source unless the user explicitly asks for historical or pre-MVP planning context.
30
+
10
31
---
11
32
12
33
## 1) Pick a Task
13
34
14
-
- Choose an `SDS-###` item from `plans/implementation-backlog.md`.
35
+
- Choose an `MVP-###` item from `plans/mvp-implementation-backlog.md`.
15
36
- Read its **Context**, **Done when**, and **Verify** sections.
16
37
- If the task requires cross-repo coordination, confirm owners and dependencies first.
17
38
18
39
---
19
40
41
+
## 1.5) Classify the Task Before Acting
42
+
43
+
Before making changes, determine which kind of backlog item you are working on:
44
+
45
+
-**Implementation task**:
46
+
- goal is code and behavior change
47
+
- complete the smallest change that satisfies **Done when**
48
+
-**Open-question task**:
49
+
- goal is a documented decision, narrowed contract, or explicit recorded deferral
50
+
- do not silently choose an implementation-specific interpretation in code
51
+
-**Validation/review task**:
52
+
- goal is to verify, review, or corroborate behavior against the backlog and current code
53
+
- do not broaden into implementation unless explicitly asked
54
+
55
+
For every task, first extract and restate:
56
+
57
+
- task ID
58
+
- dependencies
59
+
- assumptions
60
+
-**Done when**
61
+
-**Verify**
62
+
- relevant MVP scenarios
63
+
64
+
Keep this restatement brief and execution-oriented. It should be a short working summary, not a long analysis section.
65
+
66
+
If a dependency is still unresolved and the current task cannot be completed safely without inventing semantics, mark the task `blocked` instead of coding around it.
67
+
68
+
When an `open_question` task needs information beyond the repo:
69
+
70
+
- use repo context first
71
+
- when external research is available, prefer primary sources
72
+
- record whether the result is a final decision, a narrowed contract, or a recommendation awaiting confirmation
73
+
74
+
---
75
+
20
76
## 2) Update Status First
21
77
22
-
In `plans/implementation-backlog.md`:
78
+
In `plans/mvp-implementation-backlog.md`:
23
79
24
80
- Set the chosen task `Status` to `in_progress` in the Status Tracker table.
25
81
- If you cannot proceed, set `blocked` and add a short reason in the task’s section.
@@ -32,6 +88,15 @@ In `plans/implementation-backlog.md`:
32
88
- Prefer fixing root causes over adding workarounds.
33
89
- Keep changes narrowly scoped to the selected task (avoid drive-by refactors).
34
90
91
+
### Scope Control Rules
92
+
93
+
- Prefer one `MVP-###` task per implementation pass unless the backlog already makes a tightly-coupled dependency unavoidable.
94
+
- Small supporting edits are acceptable when they are strictly necessary to satisfy the selected task’s **Done when** or **Verify** criteria.
95
+
- Do not solve adjacent backlog items unless they are strictly required to satisfy the selected task’s **Done when** criteria.
96
+
- Do not absorb a second meaningful backlog item just because it touches the same files or component.
97
+
- Do not introduce new abstractions, helpers, configuration, or refactors unless they are necessary for the selected task.
98
+
- If you discover a missing prerequisite or unresolved contract, stop, document it, and update the backlog/task state instead of embedding an implicit decision in code.
99
+
35
100
Before writing code, run these quick checks:
36
101
37
102
-**Domain type check**: is there already a repo-level type/helper for this domain (`sds.GRT`, address/signature helpers, etc.)?
@@ -67,6 +132,11 @@ Follow `AGENTS.md` guidance:
67
132
-`go test ./...`
68
133
-`go vet ./...`
69
134
135
+
For docs-only, planning-only, or other non-code tasks:
136
+
137
+
- run the task-specific verification that actually applies
138
+
- do not treat `gofmt`, `go test ./...`, or `go vet ./...` as mandatory unless code changed
139
+
70
140
If validation fails:
71
141
72
142
- Fix the failure if it’s caused by your changes.
@@ -80,11 +150,18 @@ If validation fails:
80
150
- Confirm the expected outcomes (return codes, error codes, logs, state changes).
81
151
- If “Verify” is missing or insufficient, update the backlog entry to make it reproducible.
82
152
153
+
If the task is an `open_question` item, corroboration should include the concrete output artifact:
154
+
155
+
- updated docs or contract text
156
+
- narrowed decision record
157
+
- explicit deferral recorded in the backlog or docs
158
+
- downstream task references updated to point at that output when needed
159
+
83
160
---
84
161
85
162
## 7) Mark Done
86
163
87
-
In `plans/implementation-backlog.md`:
164
+
In `plans/mvp-implementation-backlog.md`:
88
165
89
166
- Set `Status` to `done` in the Status Tracker table.
90
167
- Tick the task checkbox in its detailed section.
@@ -99,6 +176,20 @@ In `plans/implementation-backlog.md`:
99
176
100
177
---
101
178
179
+
## 8.5) Multi-Agent Coordination
180
+
181
+
When using multiple agents in parallel:
182
+
183
+
- assign one primary `MVP-###` task per agent
184
+
- use separate git worktrees when parallel agents may edit code concurrently
185
+
- avoid overlapping file ownership unless one agent is review-only
186
+
- assign one owner for updates to shared planning/status documents when multiple agents are active
187
+
- only the assigned document owner should update shared status tables unless explicitly coordinated otherwise
188
+
- prefer splitting by dependency boundary or component boundary, not by arbitrary file count
189
+
- if a task changes shared contracts or protobufs, finish and merge that work before starting dependent implementation tasks
190
+
191
+
---
192
+
102
193
## 9) Incorporate Review Learnings
103
194
104
195
If you are implementing or revisiting code after reviewer feedback:
0 commit comments