@event4u/agent-config 14.5.0 → 14.7.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 (203) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +384 -3
  3. package/README.md +1 -1
  4. package/dist/agent-src/commands/analyze/decision.md +7 -0
  5. package/dist/agent-src/commands/analyze/inbox.md +264 -10
  6. package/dist/agent-src/commands/analyze.md +1 -1
  7. package/dist/agent-src/commands/optimize/project.md +10 -0
  8. package/dist/agent-src/commands/roadmap/process-full.md +132 -4
  9. package/dist/agent-src/contexts/execution/roadmap-execution-contract.md +31 -0
  10. package/dist/agent-src/contexts/execution/roadmap-process-loop.md +161 -1
  11. package/dist/agent-src/rules/context-hygiene.md +2 -0
  12. package/dist/agent-src/rules/decision-revisit-gate.md +111 -7
  13. package/dist/agent-src/rules/fix-what-you-see.md +108 -0
  14. package/dist/agent-src/rules/no-roadmap-references.md +0 -5
  15. package/dist/agent-src/rules/recurring-criticism.md +110 -0
  16. package/dist/agent-src/rules/roadmap-progress-sync.md +1 -1
  17. package/dist/agent-src/rules/rule-type-governance.md +0 -2
  18. package/dist/agent-src/rules/self-repair-loop.md +17 -0
  19. package/dist/agent-src/rules/skill-quality.md +0 -2
  20. package/dist/agent-src/rules/source-confidentiality.md +37 -7
  21. package/dist/agent-src/scripts/archival_sweep.ts +117 -0
  22. package/dist/agent-src/scripts/archive_completed_roadmaps.ts +19 -3
  23. package/dist/agent-src/scripts/gate_budget.ts +282 -0
  24. package/dist/agent-src/scripts/gate_execute.ts +72 -31
  25. package/dist/agent-src/scripts/roadmap_gates.ts +74 -3
  26. package/dist/agent-src/scripts/update_roadmap_progress.ts +251 -7
  27. package/dist/agent-src/skills/adr-create/SKILL.md +25 -3
  28. package/dist/agent-src/skills/ai-council/SKILL.md +48 -807
  29. package/dist/agent-src/skills/ai-council/references/advanced-modes.md +320 -0
  30. package/dist/agent-src/skills/ai-council/references/cost-and-redaction.md +99 -0
  31. package/dist/agent-src/skills/ai-council/references/execution-modes.md +162 -0
  32. package/dist/agent-src/skills/ai-council/references/output-and-synthesis.md +125 -0
  33. package/dist/agent-src/skills/ai-council/references/procedure.md +143 -0
  34. package/dist/agent-src/skills/decision-review/SKILL.md +18 -0
  35. package/dist/agent-src/skills/quality-tools/SKILL.md +34 -326
  36. package/dist/agent-src/skills/quality-tools/references/js-ts-tools.md +113 -0
  37. package/dist/agent-src/skills/quality-tools/references/php-tools.md +222 -0
  38. package/dist/agent-src/skills/roadmap-management/SKILL.md +15 -409
  39. package/dist/agent-src/skills/roadmap-management/references/archival.md +226 -0
  40. package/dist/agent-src/skills/roadmap-management/references/authoring.md +107 -0
  41. package/dist/agent-src/skills/roadmap-management/references/dashboard.md +47 -0
  42. package/dist/agent-src/skills/roadmap-management/references/lifecycle.md +58 -0
  43. package/dist/agent-src/skills/skill-writing/SKILL.md +34 -570
  44. package/dist/agent-src/skills/skill-writing/references/procedure.md +275 -0
  45. package/dist/agent-src/skills/skill-writing/references/read-only-scripts.md +18 -0
  46. package/dist/agent-src/skills/skill-writing/references/section-patterns.md +298 -0
  47. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  48. package/dist/agent-src/templates/roadmaps.md +45 -2
  49. package/dist/agent-src/templates/scripts/telemetry/flush_sender.mjs +163 -0
  50. package/dist/agent-src/templates/scripts/telemetry/remote.ts +160 -7
  51. package/dist/agent-src/templates/scripts/telemetry/transport.ts +169 -0
  52. package/dist/cli/registry.js +1 -1
  53. package/dist/cli/registry.js.map +1 -1
  54. package/dist/cli-delegate/chunk-2GNWGMAL.js +172 -0
  55. package/dist/cli-delegate/{chunk-RLN73PR5.js → chunk-4VR4ORQ6.js} +10 -7
  56. package/dist/cli-delegate/chunk-6EOCNQAM.js +402 -0
  57. package/dist/cli-delegate/{chunk-XURJ4AQC.js → chunk-74E3TKWV.js} +381 -280
  58. package/dist/cli-delegate/{chunk-3UCJWMMP.js → chunk-7F3VYSM2.js} +4 -4
  59. package/dist/cli-delegate/{chunk-BKO2AZ7Z.js → chunk-B2ERU2VA.js} +1 -1
  60. package/dist/cli-delegate/{chunk-NXFWFAYV.js → chunk-G23AT6GD.js} +1 -0
  61. package/dist/cli-delegate/{chunk-63WSP6YZ.js → chunk-GJ5BVHXM.js} +72 -165
  62. package/dist/cli-delegate/{chunk-ZPSXJTLI.js → chunk-JZ4NR2TW.js} +353 -1
  63. package/dist/cli-delegate/chunk-MWRD5YOH.js +100 -0
  64. package/dist/cli-delegate/{chunk-GRRPEPRN.js → chunk-T7L2QK3K.js} +24 -5
  65. package/dist/cli-delegate/{chunk-EVTY7ISR.js → chunk-YM4GZDJG.js} +9 -1
  66. package/dist/cli-delegate/cmd_conformance.js +459 -709
  67. package/dist/cli-delegate/cmd_doctor.js +6 -6
  68. package/dist/cli-delegate/cmd_explain.js +1 -1
  69. package/dist/cli-delegate/cmd_export.js +7 -6
  70. package/dist/cli-delegate/cmd_handoff.js +6 -6
  71. package/dist/cli-delegate/cmd_packs_active.js +1 -1
  72. package/dist/cli-delegate/cmd_preflight.js +2 -2
  73. package/dist/cli-delegate/cmd_prune.js +7 -6
  74. package/dist/cli-delegate/cmd_session_recycle.js +840 -30
  75. package/dist/cli-delegate/cmd_settings_migrate.js +7 -6
  76. package/dist/cli-delegate/cmd_settings_set.js +1 -1
  77. package/dist/cli-delegate/cmd_sync.js +7 -6
  78. package/dist/cli-delegate/cmd_uninstall.js +9 -7
  79. package/dist/cli-delegate/cmd_update.js +1 -1
  80. package/dist/cli-delegate/cmd_upgrade.js +1 -1
  81. package/dist/cli-delegate/cmd_validate.js +7 -6
  82. package/dist/discovery/deprecation-report.md +1 -1
  83. package/dist/discovery/discovery-manifest.json +72 -29
  84. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  85. package/dist/discovery/discovery-manifest.summary.md +4 -4
  86. package/dist/discovery/dormancy-report.md +1 -1
  87. package/dist/discovery/orphan-report.md +1 -1
  88. package/dist/discovery/packs.json +10 -8
  89. package/dist/discovery/trust-report.md +3 -3
  90. package/dist/discovery/workspaces.json +8 -6
  91. package/dist/hooks/dispatch.js +3127 -2022
  92. package/dist/install/claudePathsPlan.js +187 -0
  93. package/dist/install/claudePathsPlan.js.map +1 -0
  94. package/dist/install/hostLayerFingerprint.js +136 -0
  95. package/dist/install/hostLayerFingerprint.js.map +1 -0
  96. package/dist/install/install.mjs +553 -425
  97. package/dist/install/partitionEligibility.js +276 -0
  98. package/dist/install/partitionEligibility.js.map +1 -0
  99. package/dist/mcp/registry-manifest.json +3 -3
  100. package/dist/mcp/server.json +2 -2
  101. package/dist/mcp/server.mjs +1744 -1191
  102. package/dist/router.json +1 -1
  103. package/dist/scripts/_lib/agent_src.js +41 -0
  104. package/dist/scripts/_lib/agent_src.js.map +1 -1
  105. package/dist/scripts/_lib/install_layout.js +83 -0
  106. package/dist/scripts/_lib/install_layout.js.map +1 -0
  107. package/dist/scripts/_lib/installed_lock.js +444 -0
  108. package/dist/scripts/_lib/installed_lock.js.map +1 -0
  109. package/dist/scripts/condense.js +13 -164
  110. package/dist/scripts/condense.js.map +1 -1
  111. package/dist/server/schemas/settings.js +4 -0
  112. package/dist/server/schemas/settings.js.map +1 -1
  113. package/docs/contracts/settings-classes.md +12 -6
  114. package/docs/guidelines/agent-infra/agent-interaction-and-decision-quality.md +8 -3
  115. package/docs/guidelines/agent-infra/context-hygiene-mechanics.md +26 -0
  116. package/docs/guidelines/agent-infra/engineering-memory-data-format.md +49 -0
  117. package/docs/guidelines/agent-infra/memory-access.md +17 -0
  118. package/docs/guidelines/agent-infra/recurring-criticism-mechanics.md +96 -0
  119. package/package.json +1 -1
  120. package/src/agent-src/scripts/archival_sweep.ts +117 -0
  121. package/src/agent-src/scripts/archive_completed_roadmaps.ts +19 -3
  122. package/src/agent-src/scripts/gate_budget.ts +282 -0
  123. package/src/agent-src/scripts/gate_execute.ts +72 -31
  124. package/src/agent-src/scripts/roadmap_gates.ts +74 -3
  125. package/src/agent-src/scripts/update_roadmap_progress.ts +251 -7
  126. package/src/agent-src/templates/scripts/telemetry/flush_sender.mjs +163 -0
  127. package/src/agent-src/templates/scripts/telemetry/remote.ts +160 -7
  128. package/src/agent-src/templates/scripts/telemetry/transport.ts +169 -0
  129. package/src/config/agent-settings.template.yml +27 -2
  130. package/src/config/ci-local-parity.yml +18 -0
  131. package/src/config/estate-count-budget.json +367 -3
  132. package/src/config/gate-violation-baselines.json +41 -41
  133. package/src/config/pack-size-budget.json +3 -2
  134. package/src/config/rule-activation-census.json +14 -6
  135. package/src/config/rule-stub-ceilings.json +19 -6
  136. package/src/install/claudePathsPlan.ts +196 -0
  137. package/src/install/hostLayerFingerprint.ts +145 -0
  138. package/src/install/partitionEligibility.ts +325 -0
  139. package/src/scripts/_cli/cmd_session_recycle.ts +9 -1
  140. package/src/scripts/_dispatch.bash +6 -1
  141. package/src/scripts/_lib/ac_heading.ts +30 -0
  142. package/src/scripts/_lib/agent_src.ts +42 -0
  143. package/src/scripts/_lib/bench_ab_pinned_repo.ts +162 -0
  144. package/src/scripts/_lib/bench_ab_workspace.ts +10 -1
  145. package/src/scripts/_lib/envelope_grounding.ts +38 -8
  146. package/src/scripts/_lib/installed_lock.ts +50 -5
  147. package/src/scripts/_lib/layer_overlap_notice.ts +85 -0
  148. package/src/scripts/_lib/md_section.ts +129 -0
  149. package/src/scripts/_lib/scope_guard.sh +86 -4
  150. package/src/scripts/_lib/self_repair.ts +19 -0
  151. package/src/scripts/_lib/self_repair_class_b.ts +171 -0
  152. package/src/scripts/_lib/subagent_capsule.ts +81 -1
  153. package/src/scripts/adr/regenerate_index.ts +13 -2
  154. package/src/scripts/adr_cite_check.ts +424 -0
  155. package/src/scripts/ai_council/cli_help.ts +55 -0
  156. package/src/scripts/before_complete_hook.ts +153 -28
  157. package/src/scripts/bench_ab_v2_complexity.ts +27 -7
  158. package/src/scripts/check_adr_frontmatter.ts +187 -1
  159. package/src/scripts/check_references.ts +60 -0
  160. package/src/scripts/check_release_published.ts +32 -11
  161. package/src/scripts/check_single_delivery.ts +517 -0
  162. package/src/scripts/ci_settle.ts +170 -0
  163. package/src/scripts/condense.ts +20 -170
  164. package/src/scripts/council_cli.ts +3 -3
  165. package/src/scripts/dispatch_r2_reviewer.ts +6 -14
  166. package/src/scripts/hook_manifest.json +1 -1
  167. package/src/scripts/hook_manifest.yaml +77 -14
  168. package/src/scripts/hooks/block_no_verify.ts +61 -10
  169. package/src/scripts/hooks/block_unauthorized_git.ts +1 -1
  170. package/src/scripts/hooks/concern_registry.ts +4 -0
  171. package/src/scripts/hooks/rtk_wrap_hook.ts +8 -3
  172. package/src/scripts/hooks/run_continuation_hook.ts +887 -68
  173. package/src/scripts/hooks/ship_diff_volume_hook.ts +81 -15
  174. package/src/scripts/hooks/source_first_gate_hook.ts +464 -0
  175. package/src/scripts/hooks/state_io.ts +782 -20
  176. package/src/scripts/hooks/subagent_ledger_hook.ts +44 -15
  177. package/src/scripts/hooks/telemetry_flush_hook.ts +139 -0
  178. package/src/scripts/hooks/telemetry_self_repair.ts +128 -0
  179. package/src/scripts/hooks/telemetry_usage_hook.ts +22 -4
  180. package/src/scripts/hooks/turn_end_gate_hook.ts +81 -15
  181. package/src/scripts/install.sh +12 -2
  182. package/src/scripts/install.ts +16 -11
  183. package/src/scripts/language_mirror_hook.ts +561 -25
  184. package/src/scripts/lint_framework_leakage_allowlist.json +2 -2
  185. package/src/scripts/lint_plan_risk_register.ts +4 -3
  186. package/src/scripts/lint_skill_router_head.ts +4 -4
  187. package/src/scripts/mcp_server/tools.ts +2 -2
  188. package/src/scripts/memory_consolidation.ts +189 -0
  189. package/src/scripts/memory_eviction.ts +384 -0
  190. package/src/scripts/new_roadmap.ts +136 -0
  191. package/src/scripts/pack_mcp_content.ts +20 -5
  192. package/src/scripts/release.ts +37 -38
  193. package/src/scripts/report_layer_overlap.ts +78 -0
  194. package/src/scripts/report_memory_pointers.ts +622 -0
  195. package/src/scripts/self_repair_hook.ts +37 -5
  196. package/src/scripts/session_register_hook.ts +115 -15
  197. package/src/scripts/skill_usage_collect.ts +11 -1
  198. package/src/scripts/skill_usage_report.ts +278 -8
  199. package/src/scripts/sync_pr_branch.ts +7 -0
  200. package/src/server/schemas/settings.ts +8 -0
  201. package/dist/cli-delegate/chunk-EJITJBJX.js +0 -172
  202. package/dist/cli-delegate/chunk-PZWRPRWP.js +0 -38
  203. /package/dist/cli-delegate/{chunk-RYNADUFG.js → chunk-LWTYTX6F.js} +0 -0
@@ -0,0 +1,107 @@
1
+ # roadmap-management — authoring a roadmap
2
+
3
+ > Mode body of the [`roadmap-management`](../SKILL.md) skill (router-head
4
+ > retrofit, 2026-08-20). Content moved VERBATIM from SKILL.md — load this
5
+ > file when the mode table in SKILL.md routes here.
6
+
7
+ ## Roadmap structure
8
+
9
+ Every roadmap follows this structure:
10
+
11
+ ```markdown
12
+ # Roadmap: {Short descriptive title}
13
+
14
+ > {One sentence: What is the expected outcome?}
15
+
16
+ ## Prerequisites
17
+
18
+ - [ ] Read `AGENTS.md` and relevant docs
19
+ - [ ] {specific prerequisites}
20
+
21
+ ## Context
22
+
23
+ {Why this roadmap exists. Which module/domain. Links to Jira tickets.}
24
+
25
+ ## Phase 1: {Phase name}
26
+
27
+ - [ ] **Step 1:** {Clear, actionable instruction}
28
+ - [ ] **Step 2:** {Next step — reference files/classes}
29
+ - [ ] ...
30
+
31
+ ## Phase 2: {Phase name}
32
+
33
+ - [ ] **Step 1:** {description}
34
+ - [ ] ...
35
+
36
+ ## Acceptance Criteria
37
+
38
+ - [ ] {Observable, testable criterion}
39
+ - [ ] All quality gates pass — the project's type-checker, auto-fixer, linter, and full test suite (see the `quality-tools` skill for stack-specific invocations)
40
+
41
+ ## Notes
42
+
43
+ {Edge cases, decisions, links}
44
+ ```
45
+
46
+ ## Key rules for roadmaps
47
+
48
+ ### Checkboxes — mandatory, not decorative
49
+
50
+ - **Every active roadmap MUST contain at least one `- [ ]` per non-intro phase.** Decision tables, ICE matrices, and block-sequencing tables are valid rationale, but they do not satisfy this rule on their own — pair them with a `## Phase N` or `## Implementation Checklist` section whose checkboxes execute the decision. A roadmap without checkboxes is invisible to `agents/roadmaps-progress.md` and violates [`roadmap-progress-sync`](../../rules/roadmap-progress-sync.md) Iron Law #2.
51
+ - Every actionable step uses `- [ ]` (unchecked) or `- [x]` (completed).
52
+ - Mark steps as `[x]` immediately after completing them.
53
+ - Never remove completed steps — they serve as history.
54
+ - **Status is binary: `ready` (default, implicit) or `draft`.** New roadmaps are created **ready** unless the user explicitly says otherwise — `ready` is implicit and need not be written. A roadmap that is still being authored, awaiting upstream decisions, or capturing options without a worked plan declares `status: draft` in YAML frontmatter at the top of the file. Drafts are hidden from `agents/roadmaps-progress.md` until the flag is removed or flipped to `ready`. There are no other status values; legacy banners (`**Status: directional**`, `Status: capture-only`, `mode: feedback`) are removed.
55
+
56
+ ### Awaiting evidence — a blocker entry, never a new glyph
57
+
58
+ - Waiting on **evidence that has not arrived** (soak still running, benchmark unfunded, adopter absent) is neither `[~]` nor `[-]`. Signal it with a structured `## Blockers` entry — five-field shape in [`templates/roadmaps.md` rule 20](../../agent-src/templates/roadmaps.md) — whose `Resolved when:` names the decidable signal ending the wait. The item stays `- [ ]` and points at it: `<!-- blocked-by: <id> -->`.
59
+ - **No new glyph.** `[ ]` + `blocked-by:` = open, awaiting named evidence (stays active) · `[~]` = deferred by decision (bars archival, Iron Law 3) · `[-]` = cancelled with a reason (does not bar it). A fifth state buys nothing the entry above does not already carry.
60
+
61
+ ### Phases
62
+
63
+ - Group related steps into phases (e.g. "Preparation", "Migration", "Cleanup").
64
+ - Complete one phase before starting the next (unless steps are independent).
65
+ - After completing a phase, summarize what was done.
66
+
67
+ ### Quality gates
68
+
69
+ Every roadmap implicitly includes the project's quality pipeline
70
+ (static analysis, autofixes, tests). Whether the agent runs it locally
71
+ at all is gated by `quality.local_auto_run`: `false` or missing (the
72
+ default) → the agent never runs the pipeline locally; the user runs it
73
+ manually and remote CI on the PR is the authoritative gate (run-end
74
+ report: *"quality gates delegated to remote CI"*; new-gate carve-out
75
+ steps still run once). When `local_auto_run: true`, **when** the
76
+ pipeline runs during `/roadmap:process-step|phase|full` is controlled
77
+ by `roadmap.quality_cadence` in `.agent-settings.yml`:
78
+
79
+ | Cadence | Pipeline runs (`local_auto_run: true` only) | Trade-off |
80
+ |---|---|---|
81
+ | `end_of_roadmap` (default) | Once before archiving | Fastest, fewest tokens; errors compound across phases |
82
+ | `per_phase` | After every completed phase + final | Balanced; catches drift at phase boundaries |
83
+ | `per_step` | After every completed step + final | Legacy verbose; highest token cost |
84
+
85
+ The default is `end_of_roadmap` because most steps are checkbox-only
86
+ content edits and a final pipeline run is the cheapest way to satisfy
87
+ `verify-before-complete`. Switch to `per_phase` for risky migrations or
88
+ unfamiliar codebases.
89
+
90
+ **Always-on, regardless of cadence:**
91
+
92
+ - Step checkboxes flip `[ ] → [x]` and the dashboard regenerates **same
93
+ response** (enforced by `roadmap-progress-sync`).
94
+ - Before any "roadmap complete" claim or archival, the pipeline runs
95
+ fresh (enforced by `verify-before-complete`).
96
+
97
+ ### Step granularity
98
+
99
+ - Each step should be completable in one session (< 1 hour of work).
100
+ - If a step is too large, break it down into sub-steps.
101
+ - Steps should reference specific files/classes when possible.
102
+
103
+ ### Language
104
+
105
+ - Roadmap files are written in **English** (per project convention).
106
+ - Step descriptions should be precise and actionable, not vague.
107
+
@@ -0,0 +1,47 @@
1
+ # roadmap-management — progress dashboard
2
+
3
+ > Mode body of the [`roadmap-management`](../SKILL.md) skill (router-head
4
+ > retrofit, 2026-08-20). Content moved VERBATIM from SKILL.md — load this
5
+ > file when the mode table in SKILL.md routes here.
6
+
7
+ ## Progress dashboard — `agents/roadmaps-progress.md`
8
+
9
+ A generated dashboard aggregates progress across every open roadmap. It sits at
10
+ `agents/roadmaps-progress.md` (outside `roadmaps/` to keep the folder clean) and
11
+ is rewritten by `.augment/scripts/update_roadmap_progress.ts`.
12
+
13
+ **Always regenerate in the SAME response** after any of the following
14
+ (enforced by [`roadmap-progress-sync`](../../rules/roadmap-progress-sync.md)):
15
+
16
+ - Creating a new roadmap (`/roadmap:create`)
17
+ - Marking a step `[x]`, `[~]`, or `[-]` during `/roadmap:process-*`
18
+ - Archiving or moving a roadmap to `skipped/`
19
+ - Adding, renaming, or removing a phase
20
+
21
+ Command:
22
+
23
+ ```bash
24
+ ./agent-config roadmap:progress # rewrite the dashboard
25
+ ./agent-config roadmap:progress-check # CI: fail if stale
26
+ ```
27
+
28
+ The `./agent-config` wrapper lives in the project root (written by the
29
+ package installer, gitignored) and delegates to the master CLI inside
30
+ `node_modules/@event4u/agent-config/` or `vendor/event4u/agent-config/`.
31
+ No global tooling required.
32
+
33
+ The dashboard is a **read-only snapshot**. Do not edit it by hand — regenerate it.
34
+
35
+ ### Blockers on the dashboard
36
+
37
+ The overview table's `Blocker` column counts each roadmap's open
38
+ `## Blockers` entries (or the legacy `> Blocked until` note) and links
39
+ to the per-roadmap breakdown, which lists every open blocker with
40
+ owner, blocked scope, and full instructions. Authoring shape:
41
+ [`templates/roadmaps.md` rule 20](../../agent-src/templates/roadmaps.md);
42
+ authoring guidance: [`roadmap-writing § 5b`](../roadmap-writing/SKILL.md).
43
+ Clearing a blocker flips its `Status: resolved` and regenerates the
44
+ dashboard in the same reply, same cadence as a checkbox flip. The
45
+ blocker entry is also the canonical **awaiting-evidence** signal —
46
+ see [§ Awaiting evidence](authoring.md#awaiting-evidence--a-blocker-entry-never-a-new-glyph).
47
+
@@ -0,0 +1,58 @@
1
+ # roadmap-management — creating, executing, resuming
2
+
3
+ > Mode body of the [`roadmap-management`](../SKILL.md) skill (router-head
4
+ > retrofit, 2026-08-20). Content moved VERBATIM from SKILL.md — load this
5
+ > file when the mode table in SKILL.md routes here.
6
+
7
+ ## Working with roadmaps
8
+
9
+ ### Creating a roadmap
10
+
11
+ 1. Ask the user for goal, context-create, and phases.
12
+ 2. Use the template structure from `.augment/templates/roadmaps.md`.
13
+ 3. Review with the user iteratively until approved.
14
+ 4. **Branch & release questions — at most once, only if genuinely useful.**
15
+ Default: stay on the current branch, no version numbers in the
16
+ roadmap. Only propose a separate branch when there is concrete,
17
+ evidence-based reason (e.g. risky migration benefits from a spike).
18
+ Never include release versions, deprecation dates, or git tags in
19
+ the roadmap text. If the user declines, do **not** re-propose during
20
+ `/roadmap:process-*`. Decline = silence. See [`scope-control`](../../rules/scope-control.md#decline--silence--no-re-asking-on-the-same-task).
21
+ 5. Save with a kebab-case filename (e.g. `optimize-webhook-jobs.md`).
22
+ **Before writing**, scan the entire roadmap namespace for a
23
+ collision — active, `archive/`, `skipped/`, and nested subdirs —
24
+ with `find agents/roadmaps -type f -iname "<name>.md"`. If any
25
+ hit comes back, stop and ask the user to rename, open the
26
+ existing file, or abort. Never silently overwrite an archived
27
+ or skipped roadmap. Detailed prompt in
28
+ [`commands/roadmap/create.md`](../../commands/roadmap/create.md)
29
+ step 6.
30
+ 6. Regenerate the dashboard so the new roadmap is included.
31
+
32
+ ### Executing a roadmap
33
+
34
+ 0. Resolve the mode per `roadmap-process-loop` § 3a: suffix, frontmatter
35
+ `execution.mode`, invocation form (absent = derived, not
36
+ `interactive`). Under `/roadmap:process-*` the mode selects the
37
+ interaction pattern via the run-start execution contract — see
38
+ [`roadmap-execution-contract`](../../contexts/execution/roadmap-execution-contract.md).
39
+ The manual flow below describes `interactive`; under `autonomous`
40
+ / `phase-checkpoints` step 4's per-step ask is replaced by the
41
+ accepted contract. **Mode never changes archival semantics** —
42
+ glyph counting, the closure decision table, and the Iron Law 3
43
+ deferred-resolution gate below apply identically in every mode.
44
+ 1. Read the full roadmap.
45
+ 2. Find the next unchecked step (`- [ ]`).
46
+ 3. Summarize what needs to be done.
47
+ 4. Ask the user before implementing (numbered options: implement / adjust / skip).
48
+ 5. After implementation: mark `[x]`, run quality gates, then regenerate the dashboard.
49
+ 6. Move to the next step.
50
+
51
+ ### Resuming a roadmap
52
+
53
+ When picking up a roadmap in a new session:
54
+ 1. Read the roadmap to understand the full context.
55
+ 2. Check which steps are already completed (`[x]`).
56
+ 3. Summarize progress to the user.
57
+ 4. Continue from the next open step.
58
+