Skip to content

Commit 8648f42

Browse files
committed
feat: harden roadmap audit phase queue
1 parent 8bdc14f commit 8648f42

7 files changed

Lines changed: 364 additions & 28 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
### Added
11+
- `docs/phase-61-100-plan.md` as the public, testable phase queue for roadmap completion hardening.
1112
- Public `templates/` index that points fresh-start users at the packaged starter templates without exposing local dogfood workspace files.
1213
- Built-in `brigade doctor` bootstrap budget checks that fail hard when installed bootstrap files exceed conservative byte limits.
1314
- Built-in `brigade doctor` memory-card budget checks that fail when `memory/cards/*.md` cards become too large.
@@ -148,6 +149,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
148149
- `brigade run --read-only` prompt policy for planning and review runs that should inspect and recommend only, with native `codex exec --sandbox read-only` enforcement for Codex agents.
149150

150151
### Changed
152+
- `brigade roadmap audit` now reads documented commands from command snippets instead of prose and normalizes parameterized examples such as `brigade tools show <id>` to their CLI command path.
153+
- Roadmap phase headings now distinguish foundations, active work, and the phase queue so stale Current/Next warnings are actionable.
151154
- Public repo contents now keep live dogfood workspace files, internal planning notes, and root memory cards untracked; public templates remain under `src/brigade/templates/`.
152155
- Dogfood handoff defaults now use `.codex/memory-handoffs/` for new Codex-driven local configs while preserving explicit configured inbox paths such as `.claude/memory-handoffs/`.
153156
- Bootstrap truncation is now treated as a hard doctor failure to prevent by moving durable detail into memory cards before agents load context.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The cookbook explains the why. This package gives you the kitchen.
5353
Browse the public template index in [`templates/`](templates/).
5454
The installable source files live under `src/brigade/templates/`; root workspace files are local dogfood state and stay ignored.
5555

56-
See [`ROADMAP.md`](ROADMAP.md) for the daily-driver, scanner inbox, chat-surface scanner, and memory-card decay roadmap.
56+
See [`ROADMAP.md`](ROADMAP.md) for the daily-driver, scanner inbox, chat-surface scanner, and memory-card decay roadmap. The active phase queue for roadmap completion hardening is tracked in [`docs/phase-61-100-plan.md`](docs/phase-61-100-plan.md).
5757

5858
## What you do not get
5959

ROADMAP.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Brigade is being built as a practical daily workflow first, then a portable setup other people can adapt. The core direction is an organized version of real agent work: one command to start, predictable local artifacts, reviewable memory handoffs, and enough inspection to trust the loop during normal work.
44

5-
## Current Phase: Daily Driver
5+
## Foundation: Daily Driver
66

77
Status: in progress.
88

@@ -14,7 +14,7 @@ Status: in progress.
1414
- `brigade work run --queue-next` queues extracted follow-up work without duplicating equivalent pending tasks.
1515
- `brigade work import add/list/show/promote` gives scanners and wrappers a stable local inbox for candidate work.
1616

17-
## Next Phase: Scanner-Ready Inbox
17+
## Foundation: Scanner-Ready Inbox
1818

1919
Status: active.
2020

@@ -127,7 +127,7 @@ Brigade-specific additions:
127127
- Track false-positive taxonomy, runtime-confidence rules, suppressions, and regression fixtures as first-class project artifacts. Status: started with `brigade security findings`, `show`, `review`, reasoned suppressions, unsuppress, and stale-suppression doctor warnings.
128128
- Close out reviewed security findings and accepted risk. Status: started with `brigade security closeout` and local receipts that preserve safe finding ids, fingerprints, suppressions, and accepted-risk status.
129129

130-
## Current Phase: Issue And TDD Work Loop
130+
## Active Phase: Issue And TDD Work Loop
131131

132132
Goal: make Brigade support a narrow issue lifecycle for daily work: pick one task, define acceptance, test first when practical, implement, review, refactor, and close.
133133

@@ -172,3 +172,9 @@ Goal: keep the system usable by the original operator while making it adaptable
172172
- Provide templates for fresh-start users without publishing private workspace state.
173173
- Keep public repo docs focused on patterns, commands, and safety contracts.
174174
- Leave release, tag, push-to-main, and production-impacting actions behind explicit approval gates.
175+
176+
## Active Phase Queue: Roadmap Completion Hardening
177+
178+
Status: active.
179+
180+
The detailed working queue for phases 61-100 lives in [`docs/phase-61-100-plan.md`](docs/phase-61-100-plan.md). The queue focuses on roadmap audit precision, deferred-item ownership, command documentation contracts, cross-producer provenance, privacy regression coverage, chat export hardening, backup and tool closeouts, context and learning receipts, security report compatibility, issue/TDD repair imports, memory and handoff hardening, release evidence schemas, operator-center schemas, fleet release reports, CI platform warnings, install smoke receipts, public template privacy, and a final local operator readiness closeout.

docs/phase-61-100-plan.md

Lines changed: 212 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
# Brigade Phase 61-100 Plan
2+
3+
This plan is the working queue for the next long roadmap completion run. It turns the remaining roadmap gaps, deferred items, and hardening needs into finite phases with testable stop conditions.
4+
5+
## Boundaries
6+
7+
- Keep behavior local, explicit, and receipt-backed.
8+
- Do not add a daemon, scheduler mutation, hosted UI, database, remote sync, automatic promotion, automatic fixes, automatic memory mutation, automatic publish action, or secret storage.
9+
- Do not copy private repo names, owner names, org names, private paths, raw chat, raw logs, raw scanner output, hostnames, tokens, webhook URLs, or exact external reference repo names into public docs, fixtures, imports, handoffs, or release evidence.
10+
- Each phase must update focused tests, docs when public behavior changes, a Memory Handoff when durable knowledge is produced, and the roadmap status when complete.
11+
12+
## Phase Queue
13+
14+
### Phase 61: Roadmap Audit Precision And Phase Queue
15+
Goal: make `brigade roadmap audit` accurate enough to drive phases 61-100. Normalize documented commands, stop treating prose and parameterized examples as missing CLI commands, close known pattern-owner gaps, and add this phase queue as the public source of truth.
16+
17+
Acceptance: roadmap audit tests cover command normalization, parent-command examples, prose filtering, stale phase behavior, and pattern coverage. README, ROADMAP, CHANGELOG, and this plan document the phase queue.
18+
19+
### Phase 62: Roadmap Ownership And Deferred Item Records
20+
Goal: add explicit roadmap ownership records for deferred items so later phases can close or re-defer them without ambiguous status text.
21+
22+
Acceptance: roadmap audit JSON includes owner, subsystem, deferred reason, and suggested next phase for known deferred items.
23+
24+
### Phase 63: Public Command Documentation Contract
25+
Goal: make public docs and CLI command discovery agree through a stable command contract, without relying on fragile prose scans.
26+
27+
Acceptance: tests compare documented command snippets to parser command paths and public docs list every supported top-level command group.
28+
29+
### Phase 64: Cross-Producer Provenance Compatibility Audit
30+
Goal: audit scanner, backup, memory-care, security, review, tool-catalog, repo-fleet, and learning imports for a common provenance and fingerprint contract.
31+
32+
Acceptance: focused fixtures prove every local producer writes source fingerprints, safe summaries, evidence labels, and dismissed-until-changed metadata.
33+
34+
### Phase 65: Producer Privacy Regression Suite
35+
Goal: add shared privacy fixtures proving raw private evidence never leaks from producer outputs into imports, handoffs, context packs, release evidence, or public docs.
36+
37+
Acceptance: tests cover chat, backup, security, repo-fleet, context, learning, and release paths with redaction assertions.
38+
39+
### Phase 66: Chat Export Provider Alias Completion
40+
Goal: complete local export-family aliases for configured chat surfaces while keeping live APIs out of scope.
41+
42+
Acceptance: tests cover alias validation, ingest, import counts, sweep review, task promotion, and handoff promotion for configured export families.
43+
44+
### Phase 67: Backup Closeout Policy And Operator Summary
45+
Goal: make backup closeouts quiet reviewed risks while surfacing changed fingerprints, stale restore rehearsal evidence, and safe operator status summaries.
46+
47+
Acceptance: tests cover closeout quieting, changed-risk resurfacing, restore rehearsal release evidence, and no private destination leakage.
48+
49+
### Phase 68: Tool Projection Parity Closeout
50+
Goal: add explicit parity closeout receipts for portable tool projections across configured harnesses.
51+
52+
Acceptance: tests cover current, stale, missing, conflicted, unmanaged, deferred, and reviewed parity states in doctor, brief, and import routing.
53+
54+
### Phase 69: Tool Pack Release Evidence Integration
55+
Goal: make tool packs and sync plans first-class release evidence without applying projections automatically.
56+
57+
Acceptance: release readiness and candidate tests include tool pack freshness, parity closeout state, approvals, run history, and sync blockers.
58+
59+
### Phase 70: Context Sync Planning Receipts
60+
Goal: add reviewable context sync plans and receipts for configured harness destinations without writing context files by default.
61+
62+
Acceptance: tests cover context sync plan text and JSON, freshness checks, conflicts, and release/operator-center integration.
63+
64+
### Phase 71: Context Pack Freshness And Import Routing
65+
Goal: surface stale context packs, missing references, outdated task acceptance, and stale tool references as reviewable imports.
66+
67+
Acceptance: tests cover doctor, work brief, center reviews, release readiness, and `source: context-pack` imports.
68+
69+
### Phase 72: Project Migration Readiness Receipts
70+
Goal: turn project audit decisions into local readiness receipts for docs, license, security, release, ownership, and migration blockers.
71+
72+
Acceptance: tests cover bake-in, integrate, catalog-only, move-candidate, and leave-alone readiness without remote mutation.
73+
74+
### Phase 73: Project Move Plan Closeout
75+
Goal: add reviewed closeout for manual-only project move plans so deferred moves do not stay noisy unless fingerprints change.
76+
77+
Acceptance: tests cover reviewed, deferred, superseded, archived, changed-fingerprint, and import routing states.
78+
79+
### Phase 74: Learning Accepted-Risk And Dismissal Quieting
80+
Goal: add source-aware quieting for learning candidates that become accepted risk, dismissed, archived, or deferred.
81+
82+
Acceptance: tests cover scanner, security, review, tool, handoff, memory-care, backup, and release learning candidates.
83+
84+
### Phase 75: Learning Replay Compare Receipts
85+
Goal: compare learning replay receipts before and after code, rule, or policy changes without editing memory or source automatically.
86+
87+
Acceptance: tests cover replay export, replay compare, redaction, release evidence, and center reviews.
88+
89+
### Phase 76: Dependency-Free Security SARIF Export
90+
Goal: add SARIF output for security findings if it can be implemented with no dependencies, otherwise record a precise deferral.
91+
92+
Acceptance: tests cover SARIF schema shape or a documented deferral with release evidence and roadmap status.
93+
94+
### Phase 77: Agent Instruction Guardrail Fixtures
95+
Goal: expand security fixtures for repo guidance, skills, slash commands, subagents, tool wrappers, and prompt-injection risks.
96+
97+
Acceptance: tests cover guardrail categories, runtime confidence, public-template treatment, and safe remediation imports.
98+
99+
### Phase 78: Security Policy Pack Closeouts
100+
Goal: make personal, public-repo, CI, and strict security policy packs reviewable with accepted-risk closeouts.
101+
102+
Acceptance: tests cover policy-specific blockers, warnings, suppressions, accepted risk, release readiness, and release candidates.
103+
104+
### Phase 79: Repo-Shareable Workflow Rule Templates
105+
Goal: add public-safe workflow rule templates for issue/TDD loops without embedding personal preferences.
106+
107+
Acceptance: tests cover install output, docs, privacy scan, and work doctor visibility.
108+
109+
### Phase 80: Stale Active Issue Repair Imports
110+
Goal: route stale active issue context and closed remote issue mismatches into repairable local imports.
111+
112+
Acceptance: tests cover issue-backed tasks, missing issue context, closed remote issue checks, and no GitHub mutation.
113+
114+
### Phase 81: Task Acceptance Release Rollup Hardening
115+
Goal: improve acceptance coverage rollups across pending tasks, completed tasks, review findings, work closeouts, release readiness, and release candidates.
116+
117+
Acceptance: tests cover acceptance gaps, completion metadata gaps, review-finding task outcomes, and release evidence.
118+
119+
### Phase 82: Memory Card Freshness Metadata Review
120+
Goal: make memory-care status explain missing or stale freshness metadata without editing memory cards.
121+
122+
Acceptance: tests cover reviewed dates, freshness dates, confidence, evidence metadata, and memory-care imports.
123+
124+
### Phase 83: Memory-Care Safe Autofix Planning
125+
Goal: add planning only for low-risk memory metadata repairs, with no automatic memory mutation.
126+
127+
Acceptance: tests cover safe plans, blocked plans, raw evidence exclusion, and handoff/task review paths.
128+
129+
### Phase 84: Handoff Ingest Warning Parser Hardening
130+
Goal: improve local parsing of ingestor warning logs including no-reply, skipped, failed, malformed, and unreachable-source states.
131+
132+
Acceptance: tests cover normalized receipts, draft reconciliation, repair imports, and daily brief quieting.
133+
134+
### Phase 85: Handoff Source Coverage Repair Flow
135+
Goal: turn uncovered handoff inboxes and source config drift into reviewed work imports and closeouts.
136+
137+
Acceptance: tests cover source coverage doctor, imports, dismissed-until-changed behavior, and no canonical memory edits.
138+
139+
### Phase 86: Release Evidence Schema Manifest
140+
Goal: add a machine-readable schema manifest for release readiness, candidates, train bundles, waivers, and evidence records.
141+
142+
Acceptance: tests cover schema manifest generation, missing receipt detection, and wrapper-friendly JSON.
143+
144+
### Phase 87: Release Candidate Provenance Audit
145+
Goal: audit release candidate bundles for stale receipts, missing evidence, changed HEAD, changed docs, changed command contracts, and privacy boundaries.
146+
147+
Acceptance: tests cover audit text and JSON, release doctor integration, and import routing.
148+
149+
### Phase 88: Operator Center JSON Schema Export
150+
Goal: export stable local JSON schemas for center status, activity, reviews, templates, reports, and action queues.
151+
152+
Acceptance: tests cover schema output, read-only behavior, and wrapper-facing field stability.
153+
154+
### Phase 89: Operator Report Diff Receipts
155+
Goal: compare two operator reports and write local diff receipts showing changed queues, resolved items, new blockers, and stale references.
156+
157+
Acceptance: tests cover report diff text and JSON, center activity, work doctor, and release doctor integration.
158+
159+
### Phase 90: Operator Action Aging And SLA Policy
160+
Goal: add local aging thresholds and review policies for operator actions without executing suggested commands.
161+
162+
Acceptance: tests cover stale pending, stale active, deferred too long, archived completed, and import routing.
163+
164+
### Phase 91: Safe Repo Root Discovery Plan
165+
Goal: add an explicit root discovery plan for repo fleet entries under configured roots without scanning arbitrary home directories by default.
166+
167+
Acceptance: tests cover dry-run discovery, include/exclude rules, safe labels, private path redaction, and no cloning.
168+
169+
### Phase 92: Fleet Health Command Registry
170+
Goal: make optional read-only fleet health commands named, validated, and receipt-backed across configured repos.
171+
172+
Acceptance: tests cover command labels, timeouts, high-risk command refusal, stale receipts, and fleet report integration.
173+
174+
### Phase 93: Fleet Dispatch Supersede Reports
175+
Goal: add reports explaining dispatch supersession, target import changes, dismissed target imports, and broken references.
176+
177+
Acceptance: tests cover dispatch history, superseded imports, reconciliation warnings, and center review integration.
178+
179+
### Phase 94: Fleet Release Matrix Report
180+
Goal: generate a release train matrix across repos, evidence steps, waivers, readiness, closeouts, and manual publish evidence.
181+
182+
Acceptance: tests cover Markdown and JSON matrix files, no remote mutation, and release doctor integration.
183+
184+
### Phase 95: Fleet Waiver Policy Templates
185+
Goal: add local templates and checks for waiver expiry, renewal reason quality, review owner labels, and waiver scope.
186+
187+
Acceptance: tests cover waiver policy warnings, imports, ready gate visibility, and no hidden blockers.
188+
189+
### Phase 96: CI Platform Deprecation Watcher
190+
Goal: detect local GitHub Actions platform deprecation warnings and route them into release readiness without mutating workflows.
191+
192+
Acceptance: tests cover Node action deprecation summaries, safe excerpts, work imports, release evidence, and no network requirement.
193+
194+
### Phase 97: Install Smoke Matrix Receipts
195+
Goal: store local install smoke-test matrix receipts matching supported harness combinations.
196+
197+
Acceptance: tests cover receipt parsing, stale smoke warnings, release candidate evidence, and center activity.
198+
199+
### Phase 98: Public Template Privacy Audit
200+
Goal: add a focused audit for public templates to prove they contain placeholders, not private operator state.
201+
202+
Acceptance: tests cover workspace templates, harness templates, docs references, allowlisted examples, and privacy scan integration.
203+
204+
### Phase 99: Docs Command Contract Generator
205+
Goal: generate or verify a docs command inventory from the CLI parser so public docs stay aligned.
206+
207+
Acceptance: tests cover generated inventory, drift warnings, roadmap audit integration, and no private content.
208+
209+
### Phase 100: Local Operator Readiness Closeout
210+
Goal: build one final local readiness closeout over roadmap audit, center state, release evidence, repo fleet, security, memory, tools, context, learning, and docs command contracts.
211+
212+
Acceptance: tests cover clean ready, blocked ready, waiver-aware ready, imports for unresolved readiness issues, and a manual-only publish checklist.

docs/roadmap-completion-plan.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,12 @@ Phase 56-60 status:
252252
- Waiver doctor reports expired active waivers, waivers missing expiry, stale waiver reviews, and waivers tied to an older train fingerprint. Waiver import routing creates `source: repo-fleet-release-waiver` tasks with stable fingerprints and dismissed-until-changed behavior.
253253
- Release ready and release audit include waiver health issues so reviewed risk remains visible even when an active waiver allows readiness to pass.
254254

255+
Phase 61 status:
256+
257+
- Implemented `docs/phase-61-100-plan.md` as the public phase queue for roadmap completion hardening.
258+
- Tightened `brigade roadmap audit` command discovery so it scans command snippets, ignores prose, and normalizes parent commands and parameterized examples to known CLI command paths.
259+
- Closed the context-engineering pattern registry owner and test-hint gap.
260+
255261
### 3. Inspiration Pattern Registry
256262

257263
Deliverable: a bounded local record of external workflow patterns Brigade intends to support.

0 commit comments

Comments
 (0)