@gtrabanco/pi-agentic-workflow 0.35.0 → 0.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: execute-phase
|
|
3
3
|
user-invocable: true
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.3.1
|
|
5
5
|
argument-hint: <NN-slug> [P<k>|step] [--max-attempts N] [--force]
|
|
6
6
|
allowed-tools: [Bash, Read, Edit, Write, MultiEdit]
|
|
7
7
|
author: "Gabriel Trabanco <1969593+gtrabanco@users.noreply.github.com>"
|
|
@@ -182,7 +182,13 @@ lane hand-off is a defect; re-read the hand-off before looping. After each
|
|
|
182
182
|
step: gates, execute, diff guard (if implement), evidence/progress update,
|
|
183
183
|
commit. Skip intermediate review checkpoints; the mandatory end review covers
|
|
184
184
|
the full accumulated diff. On gate red at any step: repair that step (up to
|
|
185
|
-
`--max-attempts`), then continue the loop.
|
|
185
|
+
`--max-attempts`), then continue the loop. The close-out is part of the last
|
|
186
|
+
step's completion: open the PR on `main` with `Closes #N`, write `- PR: <url>`
|
|
187
|
+
into References, and settle the index row with `agentic-workflow roadmap
|
|
188
|
+
<index> rowUpsert '<json>'` (`docs/features/ROADMAP.md`; a fix unit edits its
|
|
189
|
+
`docs/fix/README.md` status cell — no `NN` column, no `rowUpsert`).
|
|
190
|
+
`bun scripts/roadmap-settle.mjs` exits 0 (#316).
|
|
191
|
+
Terminal:
|
|
186
192
|
|
|
187
193
|
```text
|
|
188
194
|
UNIT LOOP — <unit> COMPLETE
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unit-lane
|
|
3
3
|
user-invocable: true
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.5.1
|
|
5
5
|
argument-hint: <NN-slug | "<idea>"> [--retriage] | --fix <issue-number> | --from-issue <issue-number>
|
|
6
6
|
description: >
|
|
7
7
|
One-shot lane conductor for a delivery unit: triage, implement, evidence, and
|
|
@@ -100,6 +100,11 @@ P1 — <task description> (validator: <backticked command> <expected outcome>)
|
|
|
100
100
|
P2 — <task description> (validator: <backticked command> <expected outcome>)
|
|
101
101
|
…
|
|
102
102
|
Pn — last task is verification when the unit has behavior
|
|
103
|
+
P<n+1> — release settle, when the unit opens a PR: after the PR exists, settle
|
|
104
|
+
the roadmap row via the crate's writer (`agentic-workflow roadmap rowUpsert`,
|
|
105
|
+
status `done · [#N](<pr-url>)`, every other cell preserved) — validator:
|
|
106
|
+
`bun scripts/roadmap-settle.mjs` exits 0 (#316: the settle is a task the
|
|
107
|
+
executor owns, never a missing courtesy)
|
|
103
108
|
```
|
|
104
109
|
|
|
105
110
|
Both phase grammars are accepted (owner: `phase-contract`): these bullets, or
|
|
@@ -164,7 +169,8 @@ name those files instead.
|
|
|
164
169
|
- [ ] Every AC maps to at least one task, and no task re-decides an AC
|
|
165
170
|
- [ ] Tasks are ordered smallest first
|
|
166
171
|
- [ ] Each task names its validator (a backticked command plus its expected outcome)
|
|
167
|
-
- [ ] Final task is verification (proves the whole unit works)
|
|
172
|
+
- [ ] Final task is verification (proves the whole unit works); a unit that
|
|
173
|
+
opens a PR ends with the release-settle task (#316)
|
|
168
174
|
- [ ] No task reaches into a future-phase concern (docs, release, migrations)
|
|
169
175
|
- [ ] Phases labeled P1, P2, … — `#308`: `S#` is the requirement id (a spec),
|
|
170
176
|
`P#` is the phase label (a task); the two vocabularies never swap roles
|
|
@@ -190,7 +196,8 @@ name those files instead.
|
|
|
190
196
|
- Do not decide at the ask stage, and do not re-ask an answered question
|
|
191
197
|
- Do not bundle across phase boundaries — one phase = one commit
|
|
192
198
|
- Do not plan work beyond the unit's acceptance criteria
|
|
193
|
-
- Do not include docs/release tasks here — those are separate catalog steps
|
|
199
|
+
- Do not include docs/release tasks here — those are separate catalog steps;
|
|
200
|
+
the release-settle task above is the sole exception (#316)
|
|
194
201
|
- Do not invent tasks that the ACs do not demand
|
|
195
202
|
- Do not turn the sweep into a gate, stage verdict or blocking check — it routes,
|
|
196
203
|
it never blocks a miss, and it adds no authority
|
|
@@ -30,7 +30,13 @@ Write into the unit doc's **References** section:
|
|
|
30
30
|
- [ ] Branch follows the project's Workflow conventions
|
|
31
31
|
- [ ] Commit messages follow conventional format (`type(scope): description`)
|
|
32
32
|
- [ ] PR body includes the Evidence section as verification record
|
|
33
|
-
- [ ]
|
|
33
|
+
- [ ] Index row settled via the crate's writer — feature: re-emit the row with
|
|
34
|
+
`agentic-workflow roadmap docs/features/ROADMAP.md rowUpsert
|
|
35
|
+
'{"nn":"<NN>","slug":"<slug>","status":"done · [#<pr>](<pr-url>)"}'`,
|
|
36
|
+
every other cell as it is; fix: the `docs/fix/README.md` status cell — that
|
|
37
|
+
index has no `NN` column, so `rowUpsert` (the roadmap's writer) does not
|
|
38
|
+
apply to it. `bun scripts/roadmap-settle.mjs` exits 0 afterwards (issue
|
|
39
|
+
#316: the settle is code, never prose)
|
|
34
40
|
- [ ] `git status --porcelain` is empty
|
|
35
41
|
|
|
36
42
|
## Allowed
|