cadre-ai 3.3.0 → 3.5.0

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.
Files changed (63) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/.codex-plugin/plugin.json +2 -2
  3. package/CHANGELOG.md +83 -2
  4. package/README.md +52 -31
  5. package/dist/cadre-cli.mjs +395 -92
  6. package/dist/cadre-mcp.mjs +1191 -717
  7. package/package.json +3 -2
  8. package/skills/archive/SKILL.md +6 -6
  9. package/skills/create/SKILL.md +5 -4
  10. package/skills/implement/SKILL.md +34 -83
  11. package/skills/implement/references/conflict-handling.md +5 -0
  12. package/skills/implement/references/governed-mode.md +7 -0
  13. package/skills/implement/references/parallel-workers.md +9 -0
  14. package/skills/implement/references/resume-recovery.md +10 -0
  15. package/skills/refresh/SKILL.md +4 -4
  16. package/skills/revert/SKILL.md +6 -6
  17. package/skills/review/SKILL.md +7 -7
  18. package/skills/revise/SKILL.md +6 -6
  19. package/skills/status/SKILL.md +1 -1
  20. package/skills/track/SKILL.md +5 -5
  21. package/templates/v2/init/archive/.gitkeep +1 -0
  22. package/templates/v2/init/gitignore.template +8 -0
  23. package/templates/v2/init/guidelines.md +25 -0
  24. package/templates/v2/init/operations/.gitkeep +1 -0
  25. package/templates/v2/init/patterns/index.md +6 -0
  26. package/templates/v2/init/product.md +30 -0
  27. package/templates/v2/init/project.json +27 -0
  28. package/templates/v2/init/refreshes/.gitkeep +1 -0
  29. package/templates/v2/init/styleguides/general.md +14 -0
  30. package/templates/v2/init/styleguides/language.md +21 -0
  31. package/templates/v2/init/tech-stack.md +21 -0
  32. package/templates/v2/init/tracks/.gitkeep +1 -0
  33. package/templates/v2/init/tracks.md +6 -0
  34. package/templates/v2/init/wisps/.gitkeep +1 -0
  35. package/templates/v2/init/workflow.md +72 -0
  36. package/templates/v2/project/archive-operation.json +19 -0
  37. package/templates/v2/project/pattern.md +20 -0
  38. package/templates/v2/project/refresh-operation.json +18 -0
  39. package/templates/v2/project/refresh.md +21 -0
  40. package/templates/v2/styleguides/dart.md +27 -0
  41. package/templates/v2/styleguides/flutter.md +27 -0
  42. package/templates/v2/styleguides/go.md +29 -0
  43. package/templates/v2/styleguides/gradle.md +28 -0
  44. package/templates/v2/styleguides/html-css.md +39 -0
  45. package/templates/v2/styleguides/index.md +27 -0
  46. package/templates/v2/styleguides/java.md +27 -0
  47. package/templates/v2/styleguides/javascript.md +27 -0
  48. package/templates/v2/styleguides/kotlin.md +26 -0
  49. package/templates/v2/styleguides/maven.md +28 -0
  50. package/templates/v2/styleguides/python.md +27 -0
  51. package/templates/v2/styleguides/react.md +28 -0
  52. package/templates/v2/styleguides/swift.md +27 -0
  53. package/templates/v2/styleguides/swiftui.md +27 -0
  54. package/templates/v2/styleguides/typescript.md +26 -0
  55. package/templates/v2/track/bug.md +14 -0
  56. package/templates/v2/track/execution.json +19 -0
  57. package/templates/v2/track/learning.md +39 -0
  58. package/templates/v2/track/plan.md +39 -0
  59. package/templates/v2/track/revert-operation.json +17 -0
  60. package/templates/v2/track/revise-operation.json +18 -0
  61. package/templates/v2/track/revision.md +36 -0
  62. package/templates/v2/track/spec.md +38 -0
  63. package/templates/v2/track/state.json +31 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cadre",
3
- "version": "3.3.0",
4
- "description": "A human-governed, Git-aware product delivery harness for Codex and Claude Code.",
3
+ "version": "3.5.0",
4
+ "description": "A human-governed, Git-aware product delivery harness for Codex, Claude Code, and Zed Agent.",
5
5
  "author": {
6
6
  "name": "Cadre contributors"
7
7
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cadre",
3
- "version": "3.3.0",
4
- "description": "A human-governed, Git-aware product delivery harness for Codex and Claude Code.",
3
+ "version": "3.5.0",
4
+ "description": "A human-governed, Git-aware product delivery harness for Codex, Claude Code, and Zed Agent.",
5
5
  "author": {
6
6
  "name": "Cadre contributors"
7
7
  },
package/CHANGELOG.md CHANGED
@@ -1,5 +1,86 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.5.0] - 2026-08-27
4
+
5
+ Cadre 3.5.0 adds beta support for the native Zed Agent while keeping the
6
+ Codex and Claude Code integrations stable. Cadre lifecycle, governance,
7
+ project-state, and template-set semantics are unchanged.
8
+
9
+ ### Added
10
+
11
+ - Added `zed` to explicit client selection and auto-detection. `--target all`
12
+ now installs or removes Codex, Claude Code, and Zed integrations.
13
+ - Added generated Zed adapters for all ten workflows under
14
+ `zed-skills/cadre-<workflow>/`, exposed in Zed as `/cadre-*` skills through
15
+ collision-safe global symlinks.
16
+ - Added JSONC-preserving Zed configuration for the packaged Cadre context
17
+ server and one exact allow rule for each of the 22 Cadre MCP tools.
18
+ - Added safe Zed uninstall behavior that removes only Cadre-owned links and a
19
+ matching context server while preserving permissions and unrelated settings.
20
+ - Added `contentMode: "text"` to `template_get_many` for clients that cannot
21
+ consume embedded resource bodies, while preserving the existing embedded
22
+ resource default.
23
+
24
+ ### Changed
25
+
26
+ - Centralized all 22 MCP tool names so server registration, Zed permissions,
27
+ validation, and tests share one catalog.
28
+ - Extended the documentation command switcher, installation guides,
29
+ architecture, configuration, troubleshooting, and release validation for
30
+ the Zed Agent beta.
31
+ - Updated the runtime version to 3.5.0. Existing 3.4 projects remain readable
32
+ and use the standard explicit `refresh` flow before further state mutation;
33
+ the active template set remains v2.
34
+
35
+ ### Stability
36
+
37
+ - Codex and Claude Code remain stable integrations.
38
+ - Native Zed Agent support is beta in this release. It targets Zed's global
39
+ Skills and custom MCP surfaces, not Codex or Claude ACP agents hosted in Zed.
40
+
41
+ ## [3.4.0] - 2026-08-27
42
+
43
+ Cadre 3.4.0 is a breaking MCP and template-contract release. Existing v1
44
+ projects remain readable but require an explicit approved refresh before
45
+ state mutation.
46
+
47
+ ### Breaking Changes
48
+
49
+ - Adaptive commands now require exclusive `prepare` or `apply` input shapes.
50
+ - Direct clients must replace retired template, candidate, and worktree reads
51
+ with MCP resources, `candidate_inspect`, and scoped `project_status`.
52
+ - New projects use template set v2. Legacy mutation fails with
53
+ `PROJECT_REFRESH_REQUIRED` until an approved refresh updates workflow and
54
+ runtime/template versions.
55
+
56
+ ### Added
57
+
58
+ - Added bounded, Git-ignored staging under `.cadre/stage/<candidate-id>/` and
59
+ one `candidate_inspect` call for manifests plus optional plan validation.
60
+ - Added scoped project/track/implementation status views, immutable v2
61
+ templates, explicit legacy upgrade reporting, and approved v1→v2 refresh.
62
+ - Added honest adaptive schemas requiring `mode`, embedded template resources,
63
+ compact descriptors/receipts, and resumable composite worktree transitions.
64
+
65
+ ### Changed
66
+
67
+ - New initialization generates unchanged v2 workflow/styleguide defaults in
68
+ MCP and stages only authored context or explicit overrides. `.cadre/init/*`
69
+ remains invalid.
70
+ - Removed retired template and candidate tools; resources cover discovery and
71
+ individual reads. The MCP surface is 22 tools.
72
+ - Coalesced worktree start, integration, and completion bookkeeping, reducing a
73
+ delegated task to four calls (five for governed integration).
74
+ - Legacy projects remain readable but fail closed for mutation until an
75
+ explicit approved refresh upgrades runtime/template versions.
76
+
77
+ ### Compatibility And Upgrade
78
+
79
+ - Published v1 template files remain byte-for-byte unchanged.
80
+ - 3.3.0 proposal tokens must be prepared again after upgrading.
81
+ - Reinstall the CLI/native plugins and restart client sessions so the 3.4 tool
82
+ schemas and compact skills replace cached 3.3 definitions.
83
+
3
84
  ## [3.3.0] - 2026-08-09
4
85
 
5
86
  Cadre 3.3.0 makes long-running MCP delivery sessions durable across server
@@ -10,8 +91,8 @@ path/SHA-256 manifests.
10
91
 
11
92
  ### Breaking Changes
12
93
 
13
- - Changed `execution_checkpoint_preview` and `execution_checkpoint_apply` to
14
- return a changed-node transition receipt instead of the complete execution
94
+ - Changed execution checkpoint responses to return a changed-node transition
95
+ receipt instead of the complete execution
15
96
  journal. Apply retains compact `derivedStatus` scheduling arrays and focused
16
97
  guidance for changed, active, or blocked nodes.
17
98
  - Changed `execution_status` to return execution metadata, node-status counts,
package/README.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Cadre
2
2
 
3
- Cadre is a human-governed, Git-aware delivery harness for Codex and Claude Code. It turns project context into resumable feature and bug tracks, carries learning forward between phases, and records implementation provenance in Git.
4
-
5
- Cadre is installed as a user plugin. Its bundled TypeScript MCP server provides deterministic state operations and immutable, versioned templates. A project keeps only approved, mutable delivery state under `.cadre/`; runtime code and template catalogs are not copied into the project.
3
+ Cadre is a human-governed, Git-aware delivery harness for Codex, Claude Code,
4
+ and Zed Agent. Codex and Claude Code support is stable; native Zed Agent support
5
+ is beta. Cadre turns project context into resumable feature and bug tracks,
6
+ carries learning forward between phases, and records implementation provenance
7
+ in Git.
8
+
9
+ Cadre is installed as a user integration. Codex and Claude use native plugins;
10
+ Zed uses global skills and a custom MCP server. The bundled TypeScript MCP
11
+ server provides deterministic state operations and immutable, versioned
12
+ templates. A project keeps only approved, mutable delivery state under
13
+ `.cadre/`; runtime code and template catalogs are not copied into the project.
6
14
 
7
15
  **Documentation:** [cadre-docs.pages.dev](https://cadre-docs.pages.dev/) ·
8
16
  [Quickstart](https://cadre-docs.pages.dev/quickstart/) ·
@@ -30,7 +38,7 @@ Default idiomatic styleguides are included for Go, Java, Kotlin, Maven, Gradle,
30
38
 
31
39
  - Node.js 18 or newer
32
40
  - Git
33
- - The `codex` CLI, the `claude` CLI, or both
41
+ - The `codex`, `claude`, or `zed` CLI for each selected client
34
42
 
35
43
  ## Install
36
44
 
@@ -55,14 +63,18 @@ cadre-ai install --target codex
55
63
 
56
64
  # Claude Code only
57
65
  cadre-ai install --target claude
66
+
67
+ # Zed Agent only (beta)
68
+ cadre-ai install --target zed
58
69
  ```
59
70
 
60
71
  The installer:
61
72
 
62
- 1. Packages the skills, MCP configuration, self-contained runtime, and
63
- templates into a local marketplace.
64
- 2. Registers the marketplace and installs `cadre@cadre` at user scope.
65
- 3. Verifies that the selected agent reports the plugin as installed and enabled.
73
+ 1. Packages the skills, MCP configuration, self-contained runtime, generated
74
+ Zed adapters, and templates into a shared local payload.
75
+ 2. Registers and installs `cadre@cadre` for Codex/Claude, or links global
76
+ `cadre-*` skills and configures the custom MCP server for Zed.
77
+ 3. Verifies each selected client through its available native state.
66
78
  4. Pre-approves only Cadre MCP tools so normal Cadre commands do not produce an
67
79
  extra permission prompt.
68
80
 
@@ -75,6 +87,8 @@ By default, installation applies these narrowly scoped rules:
75
87
  - Codex: `default_tools_approval_mode = "approve"` under `plugins."cadre@cadre".mcp_servers.cadre` in the user Codex configuration.
76
88
  - Claude Code: `cadre` in `enabledMcpjsonServers` and `mcp__cadre__*` in the
77
89
  user permission allowlist.
90
+ - Zed Agent (beta): one exact `mcp:cadre:<tool>` allow entry for each Cadre MCP tool
91
+ under `agent.tool_permissions.tools`.
78
92
 
79
93
  Existing configuration, comments, and unrelated permission rules are preserved. A Claude deny rule is never removed or overridden. These rules suppress the host application's per-tool prompt; they do not bypass Cadre's requirement to present artifacts and lifecycle mutations to the human for approval.
80
94
 
@@ -90,7 +104,7 @@ cadre-ai install --target codex --prompt-mcp-tools
90
104
 
91
105
  | Option | Effect |
92
106
  | --- | --- |
93
- | `--target auto\|all\|codex\|claude` | Select the target client; defaults to `auto`. |
107
+ | `--target auto\|all\|codex\|claude\|zed` | Select the target client; defaults to `auto`. |
94
108
  | `--scope user` | Explicitly select the only supported installation scope. |
95
109
  | `--replace-marketplace` | Replace another configured marketplace named `cadre` after the installer detects the path mismatch. |
96
110
  | `--prompt-mcp-tools` | Do not add the Cadre MCP pre-approval rule. |
@@ -126,6 +140,8 @@ After installation or update:
126
140
 
127
141
  - Start a new Codex conversation so the new skills and MCP tools are loaded.
128
142
  - In Claude Code, run `/reload-plugins` or start a new session.
143
+ - In Zed, open a new Agent thread; global skills reload live and the Cadre MCP
144
+ server should appear active under AI → MCP Servers.
129
145
 
130
146
  You can inspect installation state with:
131
147
 
@@ -136,7 +152,8 @@ claude plugin list --json
136
152
 
137
153
  ## Quick start
138
154
 
139
- Cadre commands are agent skills, not shell commands. Invoke them in the Codex or Claude Code conversation.
155
+ Cadre commands are agent skills, not shell commands. Invoke them in a Codex,
156
+ Claude Code, or native Zed Agent conversation.
140
157
 
141
158
  ### 1. Initialize a project
142
159
 
@@ -145,6 +162,7 @@ From the project repository, invoke:
145
162
  ```text
146
163
  Codex: $cadre:create
147
164
  Claude Code: /cadre:create
165
+ Zed Agent: /cadre-create
148
166
  ```
149
167
 
150
168
  Cadre will:
@@ -162,6 +180,7 @@ Cadre will:
162
180
  ```text
163
181
  Codex: $cadre:track Add passwordless login as a feature
164
182
  Claude Code: /cadre:track Fix duplicate invoice creation as a bug
183
+ Zed Agent: /cadre-track Add passwordless login as a feature
165
184
  ```
166
185
 
167
186
  Cadre proposes and separately approves:
@@ -177,6 +196,7 @@ Every delivery phase ends with `User Manual Verification`. The final phase is al
177
196
  ```text
178
197
  Codex: $cadre:implement passwordless-login
179
198
  Claude Code: /cadre:implement passwordless-login
199
+ Zed Agent: /cadre-implement passwordless-login
180
200
  ```
181
201
 
182
202
  Parallel mode is the default. Request sequential execution explicitly when needed:
@@ -184,6 +204,7 @@ Parallel mode is the default. Request sequential execution explicitly when neede
184
204
  ```text
185
205
  Codex: $cadre:implement passwordless-login sequentially
186
206
  Claude Code: /cadre:implement passwordless-login sequentially
207
+ Zed Agent: /cadre-implement passwordless-login sequentially
187
208
  ```
188
209
 
189
210
  Implementation starts only after declared track dependencies are completed. Phase and task dependencies form a hierarchical DAG: phase dependencies activate phases, task dependencies expose phase-local work, and main allocates one global worker bound across every ready task. The generated workflow defaults to three delegated workers, the execution runtime accepts `maxWorkers` from 1 through 32, and effective concurrency is clamped by safe ready nodes and available host worker slots. Different phases can use direct execution, a sequential phase worker, or task-worker fan-out concurrently. Within one phase, execution can switch between sequential and fan-out modes only at a clean, journaled checkpoint. The main agent remains the only scheduler, operational owner of phase integration worktrees, state owner, merger, conflict resolver, worktree cleaner, and recorder of human approval.
@@ -195,6 +216,7 @@ Every delivery phase ends with a derived manual-verification barrier over its ta
195
216
  ```text
196
217
  Codex: $cadre:review passwordless-login
197
218
  Claude Code: /cadre:review passwordless-login
219
+ Zed Agent: /cadre-review passwordless-login
198
220
  ```
199
221
 
200
222
  Findings are presented before they become Cadre state. Approved bugs create a timestamped bug artifact and add remediation phases to the plan. A human-approved clean review marks the track `completed`.
@@ -204,6 +226,7 @@ Findings are presented before they become Cadre state. Approved bugs create a ti
204
226
  ```text
205
227
  Codex: $cadre:archive passwordless-login account-lockout
206
228
  Claude Code: /cadre:archive all completed
229
+ Zed Agent: /cadre-archive all completed
207
230
  ```
208
231
 
209
232
  Archive accepts one or more completed tracks in one resumable batch. It distills their durable learning into the project pattern catalog, updates relevant seeds for active tracks, preserves the full track history, and moves each selected track to its derived archive location.
@@ -271,6 +294,7 @@ An initialized project has this shape:
271
294
  │ ├── bugs/
272
295
  │ └── revisions/
273
296
  ├── archive/
297
+ ├── stage/ # ignored, unapproved candidate artifacts
274
298
  ├── .worktrees/ # ignored, temporary execution worktrees
275
299
  └── wisps/ # ignored, disposable exploration output
276
300
  ```
@@ -288,38 +312,35 @@ Important sources of truth:
288
312
 
289
313
  ## MCP capabilities
290
314
 
291
- The `cadre` stdio server exposes immutable resources at `cadre://templates/v1/...` and these tools:
315
+ The `cadre` stdio server exposes active immutable resources at `cadre://templates/v2/...` and 22 tools:
292
316
 
293
317
  | Tool | Mutation | Purpose |
294
318
  | --- | --- | --- |
295
- | `template_catalog` | No | List template IDs, resource URIs, media types, and content hashes. |
296
- | `template_get` | No | Read one versioned template by logical ID. |
297
319
  | `template_get_many` | No | Read an ordered template bundle in one call; immutable catalog contents are cached for the server lifetime. |
298
- | `styleguide_resolve` | No | Resolve default styleguides for an approved technology list. |
299
- | `project_status` | No | Summarize project and track checkpoints, including resumable operations. |
320
+ | `styleguide_resolve` | No | Resolve default styleguide descriptors and hashes for an approved technology list. |
321
+ | `project_status` | No | Return scoped project, track, or implementation status. |
300
322
  | `state_validate` | No | Validate project, track, plan, learning, dependency, review, and archive invariants. |
323
+ | `candidate_stage_prepare` | Atomic | Create/resume `.cadre/stage/<id>` and enforce its Git ignore rule. |
324
+ | `candidate_inspect` | No | Return one exact manifest and optional staged-plan graph validation. |
301
325
  | `execution_graph_validate` | No | Parse and validate phase/task dependencies, cycles, and derived manual-verification barriers. |
302
- | `review_complete_preview` / `review_complete_apply` | Preview/apply | Bind a clean review and accepted risks to the current execution, then write completed state and the exact derived index together. |
303
- | `archive_batch_preview` / `archive_batch_apply` | Preview/apply | Preview and apply selected moves, lifecycle states, patterns, seeds, journal, and post-archive index as one approved batch. |
304
- | `archive_batch_record_preview` / `archive_batch_record_apply` | Preview/apply | Record the resulting archive commit in track, project, and batch provenance without a second batch decision. |
305
- | `execution_start_preview` / `execution_start_apply` | Preview/apply | Create an approved, digest-gated execution journal and enter `in_progress`. |
306
- | `execution_checkpoint_preview` / `execution_checkpoint_apply` | Preview/apply | Expand one semantic execution event into its complete legal, evidence-gated transition sequence, apply it atomically, and return a compact transition receipt. |
326
+ | `review_complete` | Adaptive | Return `approval_required` for a clean-review decision, then apply the unchanged token after approval. |
327
+ | `archive_batch_candidate` | Adaptive | Read staged pattern/seed files, return the complete batch for approval, then apply its unchanged token. |
328
+ | `archive_batch_record` | Atomic | Record the resulting archive commit in track, project, and batch provenance without a second decision. |
329
+ | `execution_start` | Atomic | Create the authorized execution journal and enter `in_progress` in one call. |
330
+ | `execution_checkpoint` | Atomic | Expand and apply one semantic event as a complete legal, evidence-gated transition sequence. |
307
331
  | `execution_status` | No | Return a compact ready/active/blocked scheduler view, with optional focused node detail. |
308
- | `execution_finish_preview` / `execution_finish_apply` | Preview/apply | Require completed nodes, current plan evidence, and removed worktrees before `ready_for_review`. |
309
- | `worktree_create_preview` / `worktree_create_apply` | Preview/apply | Create or reconcile one derived phase/task worktree and branch. |
310
- | `integration_preview` / `integration_apply` | Preview/apply | Inspect and merge a clean worker branch into its derived parent, reporting conflicts without resolving them. |
311
- | `worktree_cleanup_preview` / `worktree_cleanup_apply` | Preview/apply | Remove only a clean worker whose branch is proven integrated into its parent. |
312
- | `worktree_status` | No | Report Cadre-managed worktrees and orphaned runtime directories. |
313
- | `project_init_preview` | No | Return the complete proposed initialization path/hash manifest and digest without echoing file contents. |
314
- | `project_init_apply` | Yes | Atomically create `.cadre` only when inputs match the approved preview digest. |
332
+ | `execution_finish` | Atomic | Require completed nodes, current plan evidence, and removed worktrees before writing `ready_for_review`. |
333
+ | `worktree_create` | Atomic | Create/reconcile a worktree and record node start. |
334
+ | `integration` | Adaptive | Merge and record integration; require a second call only in governed mode. |
335
+ | `worktree_cleanup` | Atomic | Remove a verified integrated worktree and record completion. |
336
+ | `project_init_candidate` | Adaptive | Generate defaults around staged authored context and apply after approval. |
315
337
  | `setup_record_git_initialized` | Yes | Record the verified Git-initialization checkpoint. |
316
338
  | `setup_record_commit` | Yes | Record the already-created setup commit SHA and complete setup state. |
317
- | `tracks_render_preview` | No | Preview the derived `tracks.md` content and digest. |
318
- | `tracks_render_apply` | Yes | Write `tracks.md` only when current state matches the approved preview digest. |
339
+ | `tracks_render` | Atomic | Validate and write deterministic `tracks.md` from current track state. |
319
340
 
320
- The MCP server cannot approve its own proposals or run arbitrary shell commands. Its Git surface is limited to derived Cadre worktree creation, non-squash integration, status, and verified cleanup. It never force-deletes a branch, resolves a conflict, edits product files, or commits on behalf of a worker. Deterministic writes and Git mutations use preview/apply digests to reject stale proposals.
341
+ The MCP server cannot approve its own proposals or run arbitrary shell commands. Its Git surface is limited to derived Cadre worktree creation, non-squash integration, status, and verified cleanup. It never force-deletes a branch, resolves a conflict, edits product files, or commits on behalf of a worker. Already-authorized deterministic writes and Git mutations validate and apply atomically; genuine decision boundaries retain digest-bound proposal tokens and stale-state rejection.
321
342
 
322
- Review and archive minimize approval fragmentation without weakening governance. A finding disposition and its exact remediation artifacts may share one approval; explicit reject-and-complete records accepted risks in the clean review; and a uniquely eligible archive target is included directly in the full batch proposal. The archive preview computes the post-move `tracks.md` before approval, including archived rows. Any changed content, selection, digest, or consequence requires a corrected proposal and renewed approval.
343
+ Review and archive minimize approval fragmentation without weakening governance. A finding disposition and its exact remediation artifacts may share one approval; explicit reject-and-complete records accepted risks in the clean review; and a uniquely eligible archive target is included directly in the full batch proposal. Archive prepare computes the post-move `tracks.md` before approval, including archived rows. Any changed content, selection, digest, or consequence requires a corrected proposal and renewed approval.
323
344
 
324
345
  ### Worktree layout and worker model
325
346