valent-pipeline 0.1.8 → 0.1.9
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
package/pipeline/prompts/lead.md
CHANGED
|
@@ -451,12 +451,16 @@ Tear down all per-story teammates. Send `shutdown_request` to each individually.
|
|
|
451
451
|
- Update `pipeline-state.json`
|
|
452
452
|
- **Update `{backlog_path}`:**
|
|
453
453
|
1. Set the current item's `status` to `shipped` and add `shipped_at` date
|
|
454
|
-
2. If JUDGE G2 issued a conditional ship with bugs, add each bug as a new `bug` type entry in the backlog with:
|
|
454
|
+
2. If JUDGE G2 issued a conditional ship with bugs (P2-P3), add each bug as a new `bug` type entry in the backlog with:
|
|
455
455
|
- `status: pending`
|
|
456
456
|
- `priority`: one above the next pending story (bugs get worked before new stories by default)
|
|
457
457
|
- `severity`, `source_story`, `affects`, `description`, `file_ref` from the G2 decision and QA-B bug report
|
|
458
|
-
3. Add
|
|
459
|
-
|
|
458
|
+
3. Add P4 bugs from `{story_output_dir}/bugs.md` to the backlog at the **lowest priority** (highest priority number). These are worked only when no other stories or bugs are unblocked — the pipeline always has something to do.
|
|
459
|
+
- `status: pending`
|
|
460
|
+
- `priority`: max existing priority + 1 (per bug, incrementing)
|
|
461
|
+
- `severity: P4`, `source_story`, `description`, `file_ref` from QA-B bug report
|
|
462
|
+
4. Add the conditional bug IDs (P2-P3) to the shipped story's `conditional_bugs` list. P4 bugs are not conditional — they don't block anything.
|
|
463
|
+
5. For any pending stories whose `blocked_by_bugs` referenced bugs that are now `shipped`, those blockers are resolved — the story becomes unblocked if all other dependencies are also met
|
|
460
464
|
|
|
461
465
|
### Step 5b: Write Epic Progress Checkpoint
|
|
462
466
|
|
|
@@ -120,7 +120,7 @@ After the story ships (or is cancelled/blocked), update `{epic_progress_path}`:
|
|
|
120
120
|
- Move the story from `stories_remaining` to `stories_completed`
|
|
121
121
|
- Add a compact outcome line: `{STORY-ID} ({epic}): SHIPPED {date}. {one-line summary}. {test counts}. {bug count}.`
|
|
122
122
|
- Update `total_completed`, `stories_since_retro`, `last_updated`
|
|
123
|
-
- **
|
|
123
|
+
- **FIFO at 80 lines:** When the outcomes section exceeds 80 lines, remove the oldest outcome at the top to make room for the new one at the bottom. Recent context is most valuable after compression; older outcomes live in individual story reports.
|
|
124
124
|
|
|
125
125
|
#### 4h. Update Backlog
|
|
126
126
|
|
|
@@ -203,7 +203,7 @@ If the loop finds no unblocked stories but pending stories remain:
|
|
|
203
203
|
- You are the Lead for each story. The lead prompt (`.valent-pipeline/prompts/lead.md`) is YOUR operating manual.
|
|
204
204
|
- **Do NOT read agent output files.** Quality is JUDGE gates' and CRITIC's job.
|
|
205
205
|
- **Always read from disk, never from memory** at the top of each loop iteration.
|
|
206
|
-
- **Progress file is the crash recovery substrate.**
|
|
206
|
+
- **Progress file is the crash recovery substrate.** FIFO queue — cap outcomes at 80 lines, evict oldest.
|
|
207
207
|
- **Retrospectives run BLOCKING.**
|
|
208
208
|
- **Shutdown must be sent individually, not broadcast.**
|
|
209
209
|
- Correction directives may not exist yet for new pipelines — proceed without them.
|