@event4u/agent-config 7.5.0 → 8.1.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 (429) hide show
  1. package/.claude-plugin/marketplace.json +8 -1
  2. package/AGENTS.md +9 -9
  3. package/CHANGELOG.md +317 -260
  4. package/README.md +35 -5
  5. package/dist/agent-src/commands/analytics/prune.md +1 -1
  6. package/dist/agent-src/commands/analytics/show.md +1 -1
  7. package/dist/agent-src/commands/analyze/decision.md +2 -2
  8. package/dist/agent-src/commands/analyze/incident.md +2 -2
  9. package/dist/agent-src/commands/analyze/near-miss.md +2 -2
  10. package/dist/agent-src/commands/analyze/postmortem.md +2 -2
  11. package/dist/agent-src/commands/analyze/premortem.md +2 -2
  12. package/dist/agent-src/commands/cost-report.md +25 -0
  13. package/dist/agent-src/commands/evals/analyze.json +30 -0
  14. package/dist/agent-src/commands/evals/mission-upgrade.json +30 -0
  15. package/dist/agent-src/commands/implement-ticket.md +1 -1
  16. package/dist/agent-src/commands/knowledge/forget.md +1 -1
  17. package/dist/agent-src/commands/knowledge/ingest.md +1 -1
  18. package/dist/agent-src/commands/knowledge/list.md +1 -1
  19. package/dist/agent-src/commands/memory/load.md +12 -11
  20. package/dist/agent-src/commands/memory/promote.md +30 -0
  21. package/dist/agent-src/commands/memory/propose.md +16 -2
  22. package/dist/agent-src/commands/mission/upgrade.md +1 -1
  23. package/dist/agent-src/commands/module/explore.md +11 -7
  24. package/dist/agent-src/commands/optimize-project.md +243 -0
  25. package/dist/agent-src/commands/optimize.md +5 -0
  26. package/dist/agent-src/commands/pr/create.md +37 -8
  27. package/dist/agent-src/commands/prediction-pool.md +2 -2
  28. package/dist/agent-src/commands/profile/activate.md +3 -3
  29. package/dist/agent-src/commands/profile/deactivate.md +2 -2
  30. package/dist/agent-src/commands/profile/show.md +3 -3
  31. package/dist/agent-src/commands/research/deep.md +5 -0
  32. package/dist/agent-src/commands/research/report.md +2 -1
  33. package/dist/agent-src/commands/roadmap/create.md +88 -10
  34. package/dist/agent-src/commands/roadmap/materialize.md +1 -1
  35. package/dist/agent-src/commands/roadmap/process-full.md +15 -2
  36. package/dist/agent-src/commands/roadmap/process-phase.md +18 -6
  37. package/dist/agent-src/commands/roadmap/process-step.md +4 -0
  38. package/dist/agent-src/commands/roadmap.md +1 -1
  39. package/dist/agent-src/commands/security-audit-config.md +1 -1
  40. package/dist/agent-src/commands/sync-agent-settings.md +1 -1
  41. package/dist/agent-src/commands/sync-gitignore/fix.md +42 -6
  42. package/dist/agent-src/commands/team-knowledge/bootstrap.md +106 -0
  43. package/dist/agent-src/commands/team-knowledge/consolidate.md +105 -0
  44. package/dist/agent-src/commands/team-knowledge.md +64 -0
  45. package/dist/agent-src/contexts/authority/commit-mechanics.md +8 -0
  46. package/dist/agent-src/contexts/authority/destructive-mechanics.md +11 -0
  47. package/dist/agent-src/contexts/authority/scope-mechanics.md +25 -0
  48. package/dist/agent-src/contexts/communication/rules-auto/reply-close-mechanics.md +43 -0
  49. package/dist/agent-src/contexts/contracts/agents-md-anatomy.md +1 -1
  50. package/dist/agent-src/contexts/contracts/artifact-engagement-flow.md +2 -2
  51. package/dist/agent-src/contexts/contracts/frugality-charter.md +1 -0
  52. package/dist/agent-src/contexts/execution/auto-dispatch-classification.md +14 -4
  53. package/dist/agent-src/contexts/execution/autonomy-mechanics.md +11 -0
  54. package/dist/agent-src/contexts/execution/orchestration-telemetry.md +32 -8
  55. package/dist/agent-src/contexts/execution/roadmap-execution-contract.md +107 -0
  56. package/dist/agent-src/contexts/execution/roadmap-process-loop.md +71 -15
  57. package/dist/agent-src/contexts/execution/subagent-steering.md +41 -1
  58. package/dist/agent-src/contexts/override-system.md +1 -1
  59. package/dist/agent-src/personas/brand-strategist.md +0 -1
  60. package/dist/agent-src/personas/data-integrity.md +66 -0
  61. package/dist/agent-src/personas/design-director.md +0 -1
  62. package/dist/agent-src/personas/performance-engineer.md +66 -0
  63. package/dist/agent-src/personas/production-validator.md +73 -0
  64. package/dist/agent-src/rules/agent-authority.md +3 -4
  65. package/dist/agent-src/rules/analysis-skill-routing.md +3 -5
  66. package/dist/agent-src/rules/architecture.md +2 -4
  67. package/dist/agent-src/rules/artifact-drafting-protocol.md +35 -6
  68. package/dist/agent-src/rules/artifact-engagement-recording.md +2 -4
  69. package/dist/agent-src/rules/ask-when-uncertain.md +10 -14
  70. package/dist/agent-src/rules/augment-edit-discipline.md +3 -5
  71. package/dist/agent-src/rules/autonomous-execution.md +3 -5
  72. package/dist/agent-src/rules/brand-consistency.md +3 -5
  73. package/dist/agent-src/rules/brand-source-of-truth.md +3 -5
  74. package/dist/agent-src/rules/cli-output-handling.md +4 -6
  75. package/dist/agent-src/rules/command-suggestion-policy.md +3 -5
  76. package/dist/agent-src/rules/commit-conventions.md +3 -5
  77. package/dist/agent-src/rules/commit-policy.md +18 -10
  78. package/dist/agent-src/rules/content-quoting-floor.md +88 -0
  79. package/dist/agent-src/rules/context-hygiene.md +3 -5
  80. package/dist/agent-src/rules/copilot-routing.md +4 -6
  81. package/dist/agent-src/rules/decision-revisit-gate.md +120 -0
  82. package/dist/agent-src/rules/delegation-policy.md +10 -6
  83. package/dist/agent-src/rules/design-fidelity.md +3 -5
  84. package/dist/agent-src/rules/devcontainer-routing.md +4 -6
  85. package/dist/agent-src/rules/direct-answers.md +13 -17
  86. package/dist/agent-src/rules/docker-commands.md +3 -5
  87. package/dist/agent-src/rules/domain-adoption-policy.md +3 -5
  88. package/dist/agent-src/rules/domain-safety-disclaimer.md +3 -5
  89. package/dist/agent-src/rules/domain-safety-pii.md +3 -5
  90. package/dist/agent-src/rules/domain-safety-retention.md +3 -5
  91. package/dist/agent-src/rules/downstream-changes.md +3 -4
  92. package/dist/agent-src/rules/engineering-safety-floor.md +3 -5
  93. package/dist/agent-src/rules/external-reference-deep-dive.md +3 -5
  94. package/dist/agent-src/rules/fast-path-marker-visibility.md +3 -5
  95. package/dist/agent-src/rules/finance-safety-floor.md +3 -6
  96. package/dist/agent-src/rules/framework-neutrality-in-generic-skills.md +3 -5
  97. package/dist/agent-src/rules/git-history-discipline.md +3 -5
  98. package/dist/agent-src/rules/guidelines.md +2 -4
  99. package/dist/agent-src/rules/icon-consistency.md +3 -5
  100. package/dist/agent-src/rules/image-likeness-and-rights.md +3 -5
  101. package/dist/agent-src/rules/improve-before-implement.md +5 -5
  102. package/dist/agent-src/rules/invite-challenge.md +3 -5
  103. package/dist/agent-src/rules/language-and-tone.md +13 -15
  104. package/dist/agent-src/rules/laravel-routing.md +3 -5
  105. package/dist/agent-src/rules/laravel-translations.md +3 -5
  106. package/dist/agent-src/rules/legal-safety-floor.md +3 -5
  107. package/dist/agent-src/rules/lethal-trifecta-guard.md +3 -5
  108. package/dist/agent-src/rules/linked-projects-onboarding-gate.md +4 -7
  109. package/dist/agent-src/rules/low-impact-corpus-privacy-floor.md +3 -5
  110. package/dist/agent-src/rules/markdown-safe-codeblocks.md +2 -4
  111. package/dist/agent-src/rules/media-governance-routing.md +3 -5
  112. package/dist/agent-src/rules/media-sync-ground-truth.md +3 -5
  113. package/dist/agent-src/rules/minimal-safe-diff.md +5 -5
  114. package/dist/agent-src/rules/missing-tool-handling.md +3 -5
  115. package/dist/agent-src/rules/model-recommendation.md +4 -6
  116. package/dist/agent-src/rules/no-attribution-footers.md +3 -5
  117. package/dist/agent-src/rules/no-cheap-questions.md +5 -8
  118. package/dist/agent-src/rules/no-decorative-emojis-in-git-surfaces.md +3 -6
  119. package/dist/agent-src/rules/no-pr-progress-comments.md +3 -6
  120. package/dist/agent-src/rules/no-roadmap-references.md +3 -5
  121. package/dist/agent-src/rules/non-destructive-by-default.md +11 -13
  122. package/dist/agent-src/rules/notes-first-reasoning.md +3 -5
  123. package/dist/agent-src/rules/onboarding-gate.md +4 -6
  124. package/dist/agent-src/rules/output-discipline.md +3 -5
  125. package/dist/agent-src/rules/package-ci-checks.md +3 -5
  126. package/dist/agent-src/rules/persona-governance.md +2 -4
  127. package/dist/agent-src/rules/php-coding.md +3 -5
  128. package/dist/agent-src/rules/preservation-guard.md +2 -4
  129. package/dist/agent-src/rules/provider-lifecycle-discipline.md +3 -5
  130. package/dist/agent-src/rules/reviewer-awareness.md +5 -6
  131. package/dist/agent-src/rules/roadmap-ci-steps-policy.md +3 -5
  132. package/dist/agent-src/rules/roadmap-progress-sync.md +5 -5
  133. package/dist/agent-src/rules/role-mode-adherence.md +2 -4
  134. package/dist/agent-src/rules/rule-type-governance.md +3 -5
  135. package/dist/agent-src/rules/runtime-safety.md +2 -4
  136. package/dist/agent-src/rules/scope-control.md +10 -11
  137. package/dist/agent-src/rules/security-sensitive-stop.md +4 -5
  138. package/dist/agent-src/rules/size-enforcement.md +2 -4
  139. package/dist/agent-src/rules/skill-improvement-trigger.md +3 -5
  140. package/dist/agent-src/rules/skill-quality.md +3 -5
  141. package/dist/agent-src/rules/slash-command-routing-policy.md +3 -5
  142. package/dist/agent-src/rules/source-confidentiality.md +3 -5
  143. package/dist/agent-src/rules/source-discovery-gate.md +3 -5
  144. package/dist/agent-src/rules/source-of-truth.md +3 -5
  145. package/dist/agent-src/rules/strategy-safety-floor.md +3 -5
  146. package/dist/agent-src/rules/symfony-routing.md +4 -6
  147. package/dist/agent-src/rules/telegraph-speak.md +4 -5
  148. package/dist/agent-src/rules/think-before-action.md +7 -4
  149. package/dist/agent-src/rules/token-budget-discipline.md +29 -5
  150. package/dist/agent-src/rules/token-efficiency.md +3 -5
  151. package/dist/agent-src/rules/token-optimizer-maintenance.md +3 -5
  152. package/dist/agent-src/rules/tool-safety.md +2 -4
  153. package/dist/agent-src/rules/ui-audit-gate.md +3 -6
  154. package/dist/agent-src/rules/untrusted-input-defense.md +3 -5
  155. package/dist/agent-src/rules/upstream-proposal.md +4 -6
  156. package/dist/agent-src/rules/user-interaction.md +7 -5
  157. package/dist/agent-src/rules/user-interrupt-priority.md +17 -8
  158. package/dist/agent-src/rules/verify-before-complete.md +12 -22
  159. package/dist/agent-src/scripts/archive_completed_roadmaps.ts +3 -3
  160. package/dist/agent-src/scripts/update_roadmap_progress.ts +197 -7
  161. package/dist/agent-src/skills/adr-create/SKILL.md +48 -42
  162. package/dist/agent-src/skills/agent-docs-writing/SKILL.md +18 -0
  163. package/dist/agent-src/skills/agent-security-review/SKILL.md +1 -1
  164. package/dist/agent-src/skills/ai-council/SKILL.md +14 -1
  165. package/dist/agent-src/skills/blameless-post-mortem/SKILL.md +0 -3
  166. package/dist/agent-src/skills/brand/SKILL.md +1 -1
  167. package/dist/agent-src/skills/brand-identity/SKILL.md +3 -3
  168. package/dist/agent-src/skills/brand-strategy/SKILL.md +1 -1
  169. package/dist/agent-src/skills/brand-to-tokens/SKILL.md +3 -3
  170. package/dist/agent-src/skills/canvas-design/SKILL.md +6 -0
  171. package/dist/agent-src/skills/check-refs/SKILL.md +7 -4
  172. package/dist/agent-src/skills/code-review/SKILL.md +1 -0
  173. package/dist/agent-src/skills/complexity-first-planning/SKILL.md +6 -5
  174. package/dist/agent-src/skills/condense-memory/SKILL.md +11 -11
  175. package/dist/agent-src/skills/context-document/SKILL.md +17 -0
  176. package/dist/agent-src/skills/corpus-grounding/SKILL.md +3 -3
  177. package/dist/agent-src/skills/decision-record/SKILL.md +6 -0
  178. package/dist/agent-src/skills/decision-review/SKILL.md +5 -3
  179. package/dist/agent-src/skills/deep-reading-analyst/SKILL.md +6 -1
  180. package/dist/agent-src/skills/design-intelligence/SKILL.md +5 -2
  181. package/dist/agent-src/skills/design-intelligence/references/design-languages.md +1 -1
  182. package/dist/agent-src/skills/design-tokens/SKILL.md +10 -4
  183. package/dist/agent-src/skills/design-variations/SKILL.md +127 -0
  184. package/dist/agent-src/skills/design-variations/evals/triggers.json +17 -0
  185. package/dist/agent-src/skills/emit-tickets/SKILL.md +4 -4
  186. package/dist/agent-src/skills/fe-design/SKILL.md +20 -0
  187. package/dist/agent-src/skills/html-deck/SKILL.md +123 -0
  188. package/dist/agent-src/skills/html-deck/evals/triggers.json +17 -0
  189. package/dist/agent-src/skills/html-deck/templates/deck-shell.html +77 -0
  190. package/dist/agent-src/skills/judge-code-quality/SKILL.md +1 -0
  191. package/dist/agent-src/skills/laravel/SKILL.md +0 -1
  192. package/dist/agent-src/skills/learning-to-rule-or-skill/SKILL.md +46 -0
  193. package/dist/agent-src/skills/lint-skills/SKILL.md +6 -6
  194. package/dist/agent-src/skills/md-language-check/SKILL.md +3 -3
  195. package/dist/agent-src/skills/memory-consolidation/SKILL.md +66 -1
  196. package/dist/agent-src/skills/migration-architect/SKILL.md +1 -0
  197. package/dist/agent-src/skills/module-detect-on-the-fly/SKILL.md +2 -2
  198. package/dist/agent-src/skills/performance-analysis/SKILL.md +2 -0
  199. package/dist/agent-src/skills/prediction-pool-optimizer/SKILL.md +4 -4
  200. package/dist/agent-src/skills/premortem/SKILL.md +0 -3
  201. package/dist/agent-src/skills/project-analysis-core/SKILL.md +16 -0
  202. package/dist/agent-src/skills/reasoning-orchestrator/SKILL.md +3 -1
  203. package/dist/agent-src/skills/release-comms/SKILL.md +46 -45
  204. package/dist/agent-src/skills/roadmap-management/SKILL.md +21 -0
  205. package/dist/agent-src/skills/roadmap-writing/SKILL.md +32 -2
  206. package/dist/agent-src/skills/root-cause-frameworks/SKILL.md +0 -3
  207. package/dist/agent-src/skills/security-audit/SKILL.md +1 -0
  208. package/dist/agent-src/skills/skill-improvement-pipeline/SKILL.md +4 -0
  209. package/dist/agent-src/skills/source-discovery/SKILL.md +22 -3
  210. package/dist/agent-src/skills/subagent-orchestration/SKILL.md +33 -14
  211. package/dist/agent-src/skills/subagent-orchestration/prompts/README.md +11 -0
  212. package/dist/agent-src/skills/subagent-orchestration/prompts/do-in-steps.md +8 -0
  213. package/dist/agent-src/skills/systematic-debugging/SKILL.md +29 -0
  214. package/dist/agent-src/skills/threat-modeling/SKILL.md +2 -2
  215. package/dist/agent-src/skills/typography-system/SKILL.md +2 -2
  216. package/dist/agent-src/skills/verify-completion-evidence/SKILL.md +2 -0
  217. package/dist/agent-src/skills/wireframe/SKILL.md +118 -0
  218. package/dist/agent-src/skills/wireframe/evals/triggers.json +17 -0
  219. package/dist/agent-src/templates/agent-settings.md +22 -1
  220. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  221. package/dist/agent-src/templates/command.md +2 -2
  222. package/dist/agent-src/templates/contexts/knowledge-pages.md +116 -0
  223. package/dist/agent-src/templates/hooks/pre-commit-frontmatter +1 -1
  224. package/dist/agent-src/templates/roadmaps.md +70 -2
  225. package/dist/agent-src/templates/rule.md +1 -1
  226. package/dist/agent-src/templates/scripts/README.md +3 -3
  227. package/dist/agent-src/templates/scripts/work_engine/_lib/agent_settings.ts +109 -0
  228. package/dist/agent-src/templates/tickets.md +8 -8
  229. package/dist/cli/commands/recordTriggerEval.test.js +1 -1
  230. package/dist/cli/commands/recordTriggerEval.test.js.map +1 -1
  231. package/dist/cli/initRouting.js +4 -2
  232. package/dist/cli/initRouting.js.map +1 -1
  233. package/dist/cli/registry.js +1 -0
  234. package/dist/cli/registry.js.map +1 -1
  235. package/dist/discovery/deprecation-report.md +1 -1
  236. package/dist/discovery/discovery-manifest.json +718 -240
  237. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  238. package/dist/discovery/discovery-manifest.summary.md +8 -8
  239. package/dist/discovery/orphan-report.md +1 -1
  240. package/dist/discovery/packs.json +43 -28
  241. package/dist/discovery/trust-report.md +12 -11
  242. package/dist/discovery/workspaces.json +29 -18
  243. package/dist/install/preflight.js +173 -0
  244. package/dist/install/preflight.js.map +1 -0
  245. package/dist/mcp/registry-manifest.json +4 -4
  246. package/dist/router.json +1 -1
  247. package/dist/server/routes/settings.js +4 -0
  248. package/dist/server/routes/settings.js.map +1 -1
  249. package/dist/server/schemas/settings.js +3 -1
  250. package/dist/server/schemas/settings.js.map +1 -1
  251. package/docs/CLAIMS.md +108 -0
  252. package/docs/MIGRATION.md +3 -3
  253. package/docs/architecture.md +5 -5
  254. package/docs/archive/CHANGELOG-pre-8.0.0.md +301 -0
  255. package/docs/benchmark.md +133 -2
  256. package/docs/benchmark.pinned.yml +31 -0
  257. package/docs/capability-matrix.md +1 -0
  258. package/docs/catalog.md +70 -60
  259. package/docs/command-flows.md +15 -3
  260. package/docs/comparison.yaml +35 -0
  261. package/docs/contracts/agents-layout.md +148 -0
  262. package/docs/contracts/brand-token-consumption.md +5 -0
  263. package/docs/contracts/capability-boundary.md +5 -0
  264. package/docs/contracts/command-category-governance.md +5 -0
  265. package/docs/contracts/command-clusters.md +1 -0
  266. package/docs/contracts/command-surface-tiers.md +1 -1
  267. package/docs/contracts/conformance.md +84 -0
  268. package/docs/contracts/creative-pack-boundary.md +5 -0
  269. package/docs/contracts/discovery-manifest.schema.json +5 -4
  270. package/docs/contracts/file-ownership-matrix.json +4605 -985
  271. package/docs/contracts/governance-enforcement-projection.md +5 -0
  272. package/docs/contracts/gui-wizard.md +1 -1
  273. package/docs/contracts/hook-architecture-v1.md +2 -2
  274. package/docs/contracts/implement-ticket-flow.md +1 -1
  275. package/docs/contracts/kernel-membership.md +13 -0
  276. package/docs/contracts/mcp-tool-inventory.md +23 -23
  277. package/docs/contracts/no-runtime-boundary.md +6 -1
  278. package/docs/contracts/review-lens-schema.md +5 -0
  279. package/docs/contracts/rule-router.md +102 -8
  280. package/docs/contracts/skill-bundled-assets.md +1 -1
  281. package/docs/contracts/skill-dry-run.md +1 -1
  282. package/docs/contracts/subagent-boundary.md +5 -0
  283. package/docs/contracts/ticket-bundle-format.md +9 -4
  284. package/docs/contracts/tier-3-contrib-plugin.md +2 -2
  285. package/docs/contracts/write-engine.md +3 -0
  286. package/docs/customization.md +87 -15
  287. package/docs/decisions/ADR-107-legal-domain-pack-adoption.md +1 -1
  288. package/docs/decisions/ADR-109-subagent-v1-contract.md +246 -0
  289. package/docs/decisions/ADR-110-discipline-profile-resolution-locus.md +105 -0
  290. package/docs/decisions/INDEX.md +2 -0
  291. package/docs/distribution/awesome-list-submission.md +46 -0
  292. package/docs/distribution/launch-story-draft.md +58 -0
  293. package/docs/end-to-end-walkthroughs.md +2 -2
  294. package/docs/getting-started.md +2 -2
  295. package/docs/guidelines/agent-infra/asking-and-brevity-examples.md +24 -0
  296. package/docs/guidelines/agent-infra/corpus-grounding-authoring.md +1 -1
  297. package/docs/guidelines/agent-infra/linked-projects-onboarding-gate.md +2 -2
  298. package/docs/guidelines/agent-infra/missing-tool-handling.md +3 -3
  299. package/docs/guidelines/agent-infra/verify-before-complete-demos.md +2 -2
  300. package/docs/guidelines/augment-portability-patterns.md +1 -1
  301. package/docs/guidelines/code-clarity.md +19 -0
  302. package/docs/guidelines/design-antipatterns-triggers.json +2 -1
  303. package/docs/guidelines/design-antipatterns.md +10 -1
  304. package/docs/guidelines/design-modes.md +6 -0
  305. package/docs/guidelines/php/general.md +9 -1
  306. package/docs/guidelines/php/php-coding-patterns.md +7 -0
  307. package/docs/guides/cross-repo-retrieval.md +1 -1
  308. package/docs/guides/frontend-design-corpus-refresh.md +2 -2
  309. package/docs/guides/local-analytics.md +4 -4
  310. package/docs/guides/skill-discovery.md +1 -1
  311. package/docs/guides/skill-preview.md +1 -1
  312. package/docs/hook-payload-capture.md +6 -6
  313. package/docs/install-friction-report.md +66 -0
  314. package/docs/installation.md +1 -1
  315. package/docs/maintainers/optional-media-deps.md +50 -0
  316. package/docs/mcp-server.md +11 -12
  317. package/docs/media/proof-demo.cast +14 -0
  318. package/docs/media/proof-demo.gif +0 -0
  319. package/docs/migration/consumer-template-consumption-model.md +1 -1
  320. package/docs/migration/divergences/bench-stats-float-precision.md +1 -1
  321. package/docs/migration/node-floor.md +1 -1
  322. package/docs/migration/yaml-roundtrip-spike.md +1 -1
  323. package/docs/personas.md +16 -5
  324. package/docs/positioning-evidence.md +86 -0
  325. package/docs/proof.md +86 -0
  326. package/docs/skills-catalog.md +1 -1
  327. package/docs/troubleshooting.md +8 -8
  328. package/docs/wedge/production-validator/README.md +57 -0
  329. package/docs/wedge/production-validator/production-validator.md +56 -0
  330. package/docs/wizard.md +2 -2
  331. package/package.json +1 -1
  332. package/src/config/agent-settings.template.yml +59 -4
  333. package/src/config/agents-paths.yml +254 -0
  334. package/src/config/budgets.yml +16 -0
  335. package/src/config/discovery/packs.yml +1 -0
  336. package/src/config/discovery/unassigned-artefacts.yml +2 -0
  337. package/src/config/gitignore-block.txt +25 -0
  338. package/src/config/host-capabilities.yml +31 -0
  339. package/src/config/profiles/balanced.ini +4 -0
  340. package/src/config/profiles/full.ini +4 -0
  341. package/src/config/profiles/minimal.ini +4 -0
  342. package/src/scripts/_cli/cmd_conformance.ts +716 -0
  343. package/src/scripts/_cli/cmd_doctor.ts +23 -2
  344. package/src/scripts/_cli/cmd_fleet.ts +401 -0
  345. package/src/scripts/_cli/cmd_preflight.ts +159 -0
  346. package/src/scripts/_dispatch.bash +10 -0
  347. package/src/scripts/_lib/knowledge_events.ts +193 -0
  348. package/src/scripts/_lib/subagent_steering.ts +115 -3
  349. package/src/scripts/_lib/text_similarity.ts +75 -0
  350. package/src/scripts/ai-video/test-pipeline.sh +1 -1
  351. package/src/scripts/ai_council/clients.ts +19 -3
  352. package/src/scripts/append_contested.ts +112 -0
  353. package/src/scripts/audit_auto_rules.ts +11 -1
  354. package/src/scripts/audit_mcp_tools.ts +25 -11
  355. package/src/scripts/bench_ab_v2_run.ts +527 -40
  356. package/src/scripts/bench_ab_v2_stats.ts +6 -0
  357. package/src/scripts/bench_matrix.ts +266 -0
  358. package/src/scripts/bootstrap_knowledge.ts +267 -0
  359. package/src/scripts/build_discovery_manifest.ts +42 -2
  360. package/src/scripts/build_proof.ts +214 -0
  361. package/src/scripts/check_always_budget.ts +3 -0
  362. package/src/scripts/check_augment_description_cap.ts +2 -2
  363. package/src/scripts/check_claims.ts +270 -0
  364. package/src/scripts/check_comparison.ts +79 -0
  365. package/src/scripts/check_generated_artefact_headers.ts +109 -0
  366. package/src/scripts/check_generator_output_coverage.ts +142 -0
  367. package/src/scripts/check_gitignore_freshness.ts +127 -0
  368. package/src/scripts/check_knowledge_pages.ts +210 -0
  369. package/src/scripts/check_knowledge_sharing.ts +162 -0
  370. package/src/scripts/check_media_deps.ts +91 -0
  371. package/src/scripts/check_memory_contradiction.ts +280 -0
  372. package/src/scripts/check_memory_similarity.ts +134 -0
  373. package/src/scripts/check_quality_regression.ts +56 -10
  374. package/src/scripts/check_references.ts +3 -1
  375. package/src/scripts/check_release_pr_shape.ts +4 -0
  376. package/src/scripts/check_site_links.ts +135 -0
  377. package/src/scripts/check_skill_gaps.ts +99 -0
  378. package/src/scripts/check_token_quality_golden.ts +197 -11
  379. package/src/scripts/check_tracked_but_ignored.ts +67 -0
  380. package/src/scripts/cluster_near_miss_patterns.ts +0 -0
  381. package/src/scripts/compile_router.ts +30 -3
  382. package/src/scripts/condense.ts +350 -14
  383. package/src/scripts/consolidate_knowledge_events.ts +192 -0
  384. package/src/scripts/degrade_to_pointer.ts +136 -0
  385. package/src/scripts/design_slop_rules.test.ts +15 -0
  386. package/src/scripts/design_slop_rules.ts +28 -0
  387. package/src/scripts/emit_knowledge_event.ts +158 -0
  388. package/src/scripts/export_replay_corpus.ts +187 -0
  389. package/src/scripts/external_sources_denylist.json +7 -2
  390. package/src/scripts/fold_intake.ts +281 -0
  391. package/src/scripts/generate_capability_matrix.ts +9 -1
  392. package/src/scripts/generate_knowledge_index.ts +222 -0
  393. package/src/scripts/hook_manifest.yaml +26 -14
  394. package/src/scripts/hooks/dispatch_hook.ts +18 -0
  395. package/src/scripts/hot_context_hook.ts +372 -0
  396. package/src/scripts/install +47 -0
  397. package/src/scripts/install-hooks.sh +17 -0
  398. package/src/scripts/inventory_meta_layers.ts +11 -0
  399. package/src/scripts/janitor.ts +258 -0
  400. package/src/scripts/lint_agents_layout.ts +74 -15
  401. package/src/scripts/lint_bench_ab.ts +4 -1
  402. package/src/scripts/lint_featured_skills.ts +0 -0
  403. package/src/scripts/lint_framework_leakage_allowlist.json +26 -3
  404. package/src/scripts/lint_knowledge_scale.ts +250 -0
  405. package/src/scripts/lint_legal_pack.ts +67 -0
  406. package/src/scripts/lint_persona_governance.ts +8 -3
  407. package/src/scripts/lint_regression.ts +15 -0
  408. package/src/scripts/lint_roadmap_blockers.ts +202 -0
  409. package/src/scripts/lint_roadmap_complexity.ts +81 -2
  410. package/src/scripts/lint_subagent_determinism.ts +125 -0
  411. package/src/scripts/measure_augment_budget.ts +46 -6
  412. package/src/scripts/measure_patterns.ts +4 -3
  413. package/src/scripts/measure_skill_reduction.ts +6 -6
  414. package/src/scripts/migration_status.ts +6 -2
  415. package/src/scripts/mine_missing_guardrails.ts +189 -0
  416. package/src/scripts/parity/phase_gate.ts +1 -1
  417. package/src/scripts/parity/replay.ts +21 -0
  418. package/src/scripts/project_thin_rules.ts +120 -16
  419. package/src/scripts/release.ts +39 -1
  420. package/src/scripts/render_benchmark_composite.ts +378 -0
  421. package/src/scripts/roadmap_progress_hook.ts +101 -43
  422. package/src/scripts/schemas/skill.schema.json +27 -0
  423. package/src/scripts/schemas/subagent.schema.json +106 -0
  424. package/src/scripts/skill_linter.ts +1 -0
  425. package/src/scripts/smoke/kernel.sh +5 -4
  426. package/src/scripts/surface-tiers.yml +1 -0
  427. package/src/scripts/sync_gitignore.ts +4 -0
  428. package/src/scripts/update_skill_candidates.ts +172 -0
  429. package/src/scripts/validate_frontmatter.ts +1 -0
@@ -0,0 +1,301 @@
1
+ # Changelog Archive — pre-8.0.0
2
+
3
+ > Frozen snapshot of `event4u/agent-config` changelog entries
4
+ > released before `8.0.0`, split out of the main
5
+ > [`CHANGELOG.md`](../../CHANGELOG.md) by `scripts/release.py`
6
+ > once the active era's body crossed the drift cap enforced by
7
+ > `tests/test_changelog_eras.py`.
8
+ >
9
+ > **Read-only.** New entries land in `CHANGELOG.md`. Entries
10
+ > here are not amended — git tags remain the canonical source
11
+ > for what shipped.
12
+ >
13
+ > Entry shape follows
14
+ > [`../contracts/CHANGELOG-conventions.md`](../contracts/CHANGELOG-conventions.md).
15
+
16
+ ## [7.5.0](https://github.com/event4u-app/agent-config/compare/7.4.0...7.5.0) (2026-06-29)
17
+
18
+ ### Features
19
+
20
+ * **design-system-capture:** design-system.json import contract ([23fc06f](https://github.com/event4u-app/agent-config/commit/23fc06f44b77ab938929bcf47f92cf008c4dec26))
21
+ * **design-intelligence:** named design-canon grounding index ([1e0805e](https://github.com/event4u-app/agent-config/commit/1e0805eec2df4a46ec897d1593538811fc54cf8c))
22
+ * **react-shadcn-ui:** opt-in shadcn registry + MCP awareness ([26d1475](https://github.com/event4u-app/agent-config/commit/26d147516b20f7e5a26fa83fb39bce0f236dd57c))
23
+ * **design-intelligence:** taste dials, consistency locks + 4 detector rules ([42883dd](https://github.com/event4u-app/agent-config/commit/42883dd69575bbdb4e0a8fd7ffa915df15a58587))
24
+ * **design-review:** deterministic anti-slop detector + optional pre-edit hook ([5c77948](https://github.com/event4u-app/agent-config/commit/5c77948368d6a79e7848938c3ab8fe1f11ba9c25))
25
+ * **judges:** add judge-synthesis cross-judge aggregator; drop rubric:score (council) ([a0c3d12](https://github.com/event4u-app/agent-config/commit/a0c3d126a3b600bb32065543bddd13096d2b35a1))
26
+ * **token-saving:** mechanical slices — trim 15 at-cap skill descriptions + confirm/disposition steps ([06cb77d](https://github.com/event4u-app/agent-config/commit/06cb77dca0759c885b01b8d440482e49401daaa2))
27
+ * **security:** injection-defense pressure-corpus — confusables linter + defensive judge ([80abc16](https://github.com/event4u-app/agent-config/commit/80abc16ea78f4e4cbab52712a63831901e7b6851))
28
+ * **quality:** add judge-artifact-completeness skill with four rubric schemas ([ef0276a](https://github.com/event4u-app/agent-config/commit/ef0276ac0d8a72b60f4a1d85450bf0f42bfb5aa9))
29
+
30
+ ### Bug Fixes
31
+
32
+ * **condense:** refresh stale commands/brand/tokens.md hash (pre-existing drift; sync-check-hashes) ([328a9a4](https://github.com/event4u-app/agent-config/commit/328a9a4b6af84280d8ea93b88a459aad22943ebe))
33
+ * **design-slop:** use .js import specifiers (tsc TS5097, Bundler resolution) ([8498f23](https://github.com/event4u-app/agent-config/commit/8498f2391b33d4d3171d6030984cef0d88eb382c))
34
+ * **design-slop-hook:** drop unused SLOP_RULES import (eslint no-unused-vars) ([6ef7465](https://github.com/event4u-app/agent-config/commit/6ef74652682b925138e8c585b9cffe7423baa457))
35
+ * **test:** satisfy noUncheckedIndexedAccess in judge_calibration guard ([1519880](https://github.com/event4u-app/agent-config/commit/15198806c5c4db33d21e337cd43bd7da8cd305ae))
36
+ * **judge-artifact-completeness:** shorten description to ≤200 chars (skill linter cap) ([053d07f](https://github.com/event4u-app/agent-config/commit/053d07f2024e4c5bc8d6b6fc031e0f1a47013112))
37
+ * **image-editing:** migrate triggers.json to queries[] format ([2ba21e0](https://github.com/event4u-app/agent-config/commit/2ba21e0ce492de29d6c1079863412095a85c5c2e))
38
+ * update agent_config_version pin in template to 7.4.0 ([9dc5b20](https://github.com/event4u-app/agent-config/commit/9dc5b2043c587a5e0288a93e3785d15e942bee67))
39
+ * **legal:** correct LEGAL_NOTICE.md relative path in legal-safety-floor rule ([2a03cef](https://github.com/event4u-app/agent-config/commit/2a03cef0af21ab4102d0a04962775cb6983b97a7))
40
+
41
+ ### Documentation
42
+
43
+ * **roadmaps:** archive completed road-to-design-system-extraction-contract ([9698804](https://github.com/event4u-app/agent-config/commit/96988047bf92cb83d78618b941dbead5baecb595))
44
+ * bump guideline count 86→87 for design-canon.md (task sync) ([92cf710](https://github.com/event4u-app/agent-config/commit/92cf7109b231164a540eb2c38d4486c59a0ed597))
45
+ * **roadmaps:** archive completed road-to-design-canon-grounding ([0a5c010](https://github.com/event4u-app/agent-config/commit/0a5c010d972ecd239bfb586191263157f169aecc))
46
+ * **roadmaps:** archive completed road-to-shadcn-registry-awareness ([215e535](https://github.com/event4u-app/agent-config/commit/215e535f37e144caf63222b16f55ebdd68cb34ad))
47
+ * **roadmaps:** archive completed road-to-taste-dials-and-locks ([848dd4b](https://github.com/event4u-app/agent-config/commit/848dd4bbc66edce0c58491152a171c907dd0907d))
48
+ * **roadmaps:** design/taste harvest roadmaps + anti-slop-detector archive ([a7be86f](https://github.com/event4u-app/agent-config/commit/a7be86f578607173db41a4df1c8e684934d11907))
49
+
50
+ ### Tests
51
+
52
+ * **judges:** deterministic calibration guard for the two evaluative judges ([41031c9](https://github.com/event4u-app/agent-config/commit/41031c9fe827e3e197f18879339e9b7d0f9d0768))
53
+ * **work_engine:** convert hooks_* parity rigs to python-free; drop _hooks_pyloader ([013b104](https://github.com/event4u-app/agent-config/commit/013b104c79fa65a4bb7f0d3cd7df15536fd63c98))
54
+ * **work_engine:** convert 4 directives parity rigs to python-free intent tests ([ad33470](https://github.com/event4u-app/agent-config/commit/ad334706c41ee164722f1c2ef46286bffc69dac6))
55
+
56
+ ### Chores
57
+
58
+ * include pre-existing uncommitted files (bench report + frontmatter test) ([871b342](https://github.com/event4u-app/agent-config/commit/871b3424172626ac3c48bee1489637ffb049f767))
59
+ * re-anchor stale condensation hashes for 3 command files ([f6e24c6](https://github.com/event4u-app/agent-config/commit/f6e24c6f569ab9b058fa75806e18f759cffbea31))
60
+ * sync meta README with shortened judge-injection-defense description ([cb1de3d](https://github.com/event4u-app/agent-config/commit/cb1de3ddd2b127cea830d01f84c0d45ea5869494))
61
+ * sync src/domains/meta/README.md with updated skill description ([39be4e0](https://github.com/event4u-app/agent-config/commit/39be4e0daf6171bd7309d0e3c430e827c8278af6))
62
+ * regenerate agents/index.md and docs/catalog.md for new skill ([249518f](https://github.com/event4u-app/agent-config/commit/249518f3d5f3ac24567a9d81988f344aaa1d004f))
63
+
64
+ ## [7.4.0](https://github.com/event4u-app/agent-config/compare/7.3.0...7.4.0) (2026-06-26)
65
+
66
+ ### Features
67
+
68
+ * **bench:** thin-vs-eager quality-run producer (Phase 0 EXIT judge runner) ([0442fab](https://github.com/event4u-app/agent-config/commit/0442fab2004f09a5b2476a33c3393a157647082b))
69
+ * **ci:** activate the always-loaded budget gate with provisional token caps (Phase 8) ([1bd765c](https://github.com/event4u-app/agent-config/commit/1bd765c91d12707eed6bd277d35de36c96298005))
70
+ * **ci:** kernel-prefix byte-stability guard (token-saving Phase 5) ([90e2814](https://github.com/event4u-app/agent-config/commit/90e2814a10da9423be4851e50d1796b910ffd1fa))
71
+ * **hooks:** deterministic RTK-wrap PreToolUse nudge (default-off, warn-only) ([82db01d](https://github.com/event4u-app/agent-config/commit/82db01d60d52295c16e4ee14eb96efbb13442807))
72
+ * **rtk:** close the cli-output-handling trigger gap ([cc12c02](https://github.com/event4u-app/agent-config/commit/cc12c02cf115fc85bcd1989ab2d75252eb220684))
73
+ * **fix-pr-comments:** commit+push before replying, then resolve threads ([23ae60b](https://github.com/event4u-app/agent-config/commit/23ae60be884ecafbebadacffaf9c5c0dd552d0ec))
74
+ * **bench:** Phase 0 measurement rig — regression gates, golden set, latency + host probes ([5feb233](https://github.com/event4u-app/agent-config/commit/5feb2330abf557f65c8a929222dd12dc8e5d2537))
75
+ * **bench:** wire real tiktoken (cl100k_base) into the token-measurement path ([d92e5d2](https://github.com/event4u-app/agent-config/commit/d92e5d2f842e99d9e71800f6098ecf0c400088c7))
76
+ * **cli:** add read-only analyze-session post-session report ([8e3df94](https://github.com/event4u-app/agent-config/commit/8e3df9475b4dc54aae79f4c7518d10da1514bb24))
77
+
78
+ ### Bug Fixes
79
+
80
+ * **hooks:** add hooks.rtk_wrap.enabled to the settings Zod schema ([4a34967](https://github.com/event4u-app/agent-config/commit/4a34967f7f72748b89199ec344cde897500903e1))
81
+ * **cli:** drop unused print helper in analyze-session ([e4c5cde](https://github.com/event4u-app/agent-config/commit/e4c5cdeb0510031a1a7f86ca5d468a525fc185b8))
82
+
83
+ ### Documentation
84
+
85
+ * **roadmap:** token-saving Phase 10 — triage the backlog candidates ([036b3e6](https://github.com/event4u-app/agent-config/commit/036b3e6a121673be75a49671d865e7e7aaaa9f29))
86
+ * **roadmap:** token-saving Phase 8 — budget gate activated (elbow calibration deferred) ([8a9b3e3](https://github.com/event4u-app/agent-config/commit/8a9b3e3f9184e2e8efe0ff43d0420806b298f549))
87
+ * **roadmap:** token-saving Phase 5 — cache-aware ordering CI invariant ([00d7181](https://github.com/event4u-app/agent-config/commit/00d7181899cebda62b4efcee3450130756483fe3))
88
+ * **roadmap:** token-saving Phase 3 — RTK wrap hook landed ([b4d358f](https://github.com/event4u-app/agent-config/commit/b4d358f2eb7b8998e04f72b33c9f127db6a6358a))
89
+ * **roadmap:** token-saving Phase 1 premise correction + Phase 2 trigger gap done ([25b42f2](https://github.com/event4u-app/agent-config/commit/25b42f21a5c640f2665dec70e3190dcff4cfc584))
90
+ * **roadmap:** token-saving Phase 0 — rig landed (tokenizer/judge/latency/CI-gates) ([70ce1e5](https://github.com/event4u-app/agent-config/commit/70ce1e5e13db72046d350a51d0cde2af8c067b3c))
91
+ * **roadmap:** de-duplicate token-saving — human-measurement phases live only in later/ ([7394f21](https://github.com/event4u-app/agent-config/commit/7394f217b64c76e5f74a6195659c1aec17e69e24))
92
+ * **orchestration:** keep subagents.auto=ask (honest-null); re-gate flip on telemetry ([e5eed45](https://github.com/event4u-app/agent-config/commit/e5eed45ad5f3206871aa5eafab37cb9c101b2aa7))
93
+ * **roadmap:** archive completed session-analytics ([461d86f](https://github.com/event4u-app/agent-config/commit/461d86f7aad1be2216ccd81cdf65b8ef6f7fe6a9))
94
+ * **roadmap:** archive completed governance-moat; park cross-model eval in later/ ([b43893f](https://github.com/event4u-app/agent-config/commit/b43893fc6b060ddca285b6964087bff3fe0a02f0))
95
+ * **governance:** document the compile-time governance moat ([fcd455d](https://github.com/event4u-app/agent-config/commit/fcd455d22b076011cd0e3b3d669687f8a7bb196a))
96
+
97
+ ## [7.3.0](https://github.com/event4u-app/agent-config/compare/7.2.0...7.3.0) (2026-06-25)
98
+
99
+ ### Features
100
+
101
+ * **bench:** opt-in hardened arms for governance-enforcement eval ([af9a0e0](https://github.com/event4u-app/agent-config/commit/af9a0e07a2c2312f6b53782a8fcb44b2bde35635))
102
+ * **evals:** cross-model canary workflow + robust smoke (T-005) ([d062095](https://github.com/event4u-app/agent-config/commit/d06209535731d27446768442c081fcac151b3f20))
103
+ * **evals:** cross-model trigger smoke — SDK-free fetch routers + runner (Phase 0 T-004 keystone) ([1a8df9c](https://github.com/event4u-app/agent-config/commit/1a8df9cc83f2a9ace2e4a45eb9d66be6b51be5ae))
104
+ * **evals:** finding_floor assertion kind — deterministic count gate (Phase 1) ([7f0e9e6](https://github.com/event4u-app/agent-config/commit/7f0e9e617a741b1f778d9cacdde145ef4a300994))
105
+ * **evals:** graded negative-control discrimination primitive (Phase 0 T-003) ([5407121](https://github.com/event4u-app/agent-config/commit/54071210ecbfc8b6807fa37d726ea27654d22158))
106
+
107
+ ### Bug Fixes
108
+
109
+ * **skills:** declare top-level skill field in bug-analyzer/code-review evals ([7c7f2e3](https://github.com/event4u-app/agent-config/commit/7c7f2e3adf181f2a1e936cb028538b3471e8f15e))
110
+ * **skill-linter:** accept finding_floor eval assertion kind ([bb629f9](https://github.com/event4u-app/agent-config/commit/bb629f98c41c09912a6d67d31ceef25a49becb56))
111
+ * **evals:** GeminiRouter JSON output contract — closes the format divergence (Phase 0b) ([f739b32](https://github.com/event4u-app/agent-config/commit/f739b320a1dcb54350d44a67009e634a421034ed))
112
+ * **evals:** drop legacy-path literal from a comment (ADR-051 guard) ([48328f0](https://github.com/event4u-app/agent-config/commit/48328f0bd0f9c36cd8d0f11c2bbc206c49faefc6))
113
+ * **harvest:** drop illustrative ellipsis path that tripped check_references ([94e6098](https://github.com/event4u-app/agent-config/commit/94e6098bf7d4a6e5127729db103a04b61dfc8f39))
114
+
115
+ ### Documentation
116
+
117
+ * **roadmap:** enforcement honest-null; archive positioning roadmap ([226bf33](https://github.com/event4u-app/agent-config/commit/226bf3394b905a7dbd45fd74c55ab3a001ddaf2f))
118
+ * **readme:** lead with capability; add host-enforcement matrix ([531327d](https://github.com/event4u-app/agent-config/commit/531327d465ed0cc2803b1ee1900d5b551dacbdc0))
119
+ * **harvest:** wider-coverage baseline (10 skills) + agent-ide-plugin security-lessons note ([4a2aaaa](https://github.com/event4u-app/agent-config/commit/4a2aaaaac0b6fbd1467b254207690f5adaacf7d8))
120
+ * **harvest:** Phase 0b resolved — record the 3-variant format-fix evidence + flip checkbox ([a64dcab](https://github.com/event4u-app/agent-config/commit/a64dcab235efb41170cb28fd4603ae2f3fd1de25))
121
+ * **harvest:** cross-model baseline + outcome read (T-006); credential blocker resolved ([b4e8453](https://github.com/event4u-app/agent-config/commit/b4e84534064fe91f4609e2e06fbd04e957f2e2fa))
122
+ * **harvest:** Phase 0 evidence — capability matrix, fixture-portability audit, vendor-credential gate decision ([cb64570](https://github.com/event4u-app/agent-config/commit/cb64570b414c3a4d2e3ec34dda70137f513bbfa5))
123
+
124
+ ### Tests
125
+
126
+ * **evals:** starter behavioral evals.json fixtures (Phase 1, T-001 0-fixtures gap) ([dd6861b](https://github.com/event4u-app/agent-config/commit/dd6861bff4d66d7458468f0a9b2490ac088157c7))
127
+
128
+ ### Chores
129
+
130
+ * **roadmap:** archive operator-runtime-harvest (core complete) + park residuals in later/ ([69ef1ac](https://github.com/event4u-app/agent-config/commit/69ef1ac91af47c3c462f4453f74eeb94fece310b))
131
+ * **roadmap:** defer Phase 2 (won't-build-speculatively) — undershoot guard + catalog target ([9f37fa8](https://github.com/event4u-app/agent-config/commit/9f37fa8fcf29f1822a5739d916b5510047a9f23d))
132
+ * **roadmap:** close T-005 + Phase G (honest-null) + plugin note; mark human/parallel residuals ([a0d7f80](https://github.com/event4u-app/agent-config/commit/a0d7f806ac5ed048b19b9c20e41ba392328f3393))
133
+ * **roadmap:** Phase 0 — T-004 + T-006 done (live smoke ran); T-005 re-scoped (cost), Phase 0b actionable ([036e66f](https://github.com/event4u-app/agent-config/commit/036e66f98d3cc805e0128a86ab01ee15fd771bb1))
134
+ * **dist:** sync eval-fixture projection for the new behavioral evals.json ([01cc089](https://github.com/event4u-app/agent-config/commit/01cc08994ebf11d7cf894822b73a4374b7ef0ee9))
135
+ * **roadmap:** Phase 1 — finding_floor mechanism + fixtures done; calibration deferred on P0 ([3a5bc28](https://github.com/event4u-app/agent-config/commit/3a5bc28083206118352b1dd641d76326ac58114d))
136
+ * **roadmap:** Phase 0 — mark T-000..T-003 done, T-004..T-006 deferred on credentials ([4f302ee](https://github.com/event4u-app/agent-config/commit/4f302ee9270b02488d1dce6d285520984d01ab40))
137
+
138
+ ## [7.2.0](https://github.com/event4u-app/agent-config/compare/7.1.0...7.2.0) (2026-06-24)
139
+
140
+ ### Features
141
+
142
+ * **design-craft:** wire existing design/frontend skills into the anti-slop layer ([4ac512c](https://github.com/event4u-app/agent-config/commit/4ac512c294c47c54c04e71a12d2a85e6a8600d93))
143
+ * **design-craft:** add anti-slop enforcement + design memory + token governance ([4c07b60](https://github.com/event4u-app/agent-config/commit/4c07b60195db52a938f41445a347a0bec3331bc2))
144
+ * **product-clarity:** process wins (release-story, trunk-drift, explainability) ([f91b898](https://github.com/event4u-app/agent-config/commit/f91b898d7ae833bd4eb7b1577e7ae5f78ee96be4))
145
+ * **governance:** capability lifecycle view + complete capability-governance ([f299791](https://github.com/event4u-app/agent-config/commit/f2997914a3f9e25fc0a26b4a202e3f521a0471b7))
146
+ * **governance:** subagent boundary contract ([8ed4181](https://github.com/event4u-app/agent-config/commit/8ed4181afbff73cb99b764ac695354c0bb1f073f))
147
+ * **governance:** skill-growth gate in the authoring flow ([a9a3b80](https://github.com/event4u-app/agent-config/commit/a9a3b80ab7dfbcfee0cb8f0c51d5744aabb03bd7))
148
+ * **governance:** capability-boundary matrix + risk_class invariant ([7b683b8](https://github.com/event4u-app/agent-config/commit/7b683b864188f40424c4a9399a6a931081e14291))
149
+ * **legal-review-prep:** attorney-framing-review promotion tripwire ([551fe8b](https://github.com/event4u-app/agent-config/commit/551fe8b4b7e817c5f81adddfe8d85220f3ef30a7))
150
+ * **legal-review-prep:** high-risk pack metadata ([554282e](https://github.com/event4u-app/agent-config/commit/554282e4b12575dc884c078f45b560facea60be1))
151
+ * **legal-review-prep:** council / deep-research gate on legal work-product ([7b44c89](https://github.com/event4u-app/agent-config/commit/7b44c8961d94ae9a5b99329a80ff725db2d0c6d5))
152
+ * **legal-review-prep:** install consent gate (checkbox + flag + floor refusal) ([af2ee1d](https://github.com/event4u-app/agent-config/commit/af2ee1dbc18446f77f0d13e79b11551634f15d2c))
153
+ * **legal-review-prep:** hard individual-case STOP in the floor + lint ([71860da](https://github.com/event4u-app/agent-config/commit/71860da9699d8537a81942ff4d59aeca6fbd2a96))
154
+
155
+ ### Bug Fixes
156
+
157
+ * **lint:** trim telegraph-speak amendment to clear long_rule warning ([95d54c6](https://github.com/event4u-app/agent-config/commit/95d54c6852c2344f3402f5f9730185a400fc4941))
158
+ * **lint:** add model_tier to design-system-capture skill ([57c3a6d](https://github.com/event4u-app/agent-config/commit/57c3a6defd57a771a9f86805b9634f3b73a6afee))
159
+ * **framework-neutrality:** drop npm-install literal in design-intelligence ([aeadec5](https://github.com/event4u-app/agent-config/commit/aeadec54038c0d43aed75ea30f30574a2d6b7d65))
160
+ * **ci:** Zod settings parity + router minification for tokens.rich_skills ([88930da](https://github.com/event4u-app/agent-config/commit/88930da1786731a9cc1317b841646477f77ad1d1))
161
+ * **ci:** strict-TS null-safety in design-craft linters ([3cac522](https://github.com/event4u-app/agent-config/commit/3cac522ed8234190a6d361735bc323616b11393b))
162
+ * **ci:** broken refs + unused var in design-craft additions ([2e0c2a7](https://github.com/event4u-app/agent-config/commit/2e0c2a785596c67fb4114ead09caea57aeb6e0ab))
163
+ * **portability:** drop task-invocation from shipped /create-pr command ([e03f97a](https://github.com/event4u-app/agent-config/commit/e03f97a14ea38439ba41427448f7d77c868959c4))
164
+
165
+ ### Documentation
166
+
167
+ * **roadmaps:** add legal-review-prep + capability-governance + product-clarity roadmaps ([e3ad120](https://github.com/event4u-app/agent-config/commit/e3ad120893dd20cea79c7875558137f42d2797da))
168
+
169
+ ### Refactoring
170
+
171
+ * **legal:** rename legal pack to legal-review-prep ([fb34133](https://github.com/event4u-app/agent-config/commit/fb3413305718d321b435514e5f0ab0f4122e37b7))
172
+
173
+ ### Chores
174
+
175
+ * **sync:** condense design-craft skills/rules + sync dist/agent-src/ ([3a3e6e1](https://github.com/event4u-app/agent-config/commit/3a3e6e1f668128e386ca7d19ffe031a09a391fcd))
176
+
177
+ ## [7.1.0](https://github.com/event4u-app/agent-config/compare/7.0.2...7.1.0) (2026-06-24)
178
+
179
+ ### Features
180
+
181
+ * **legal:** RDG individual-case guardrail + LEGAL_NOTICE + no-definitive-language lint ([23e76df](https://github.com/event4u-app/agent-config/commit/23e76df34c612ed9bcdace069040defda80c1226))
182
+ * **legal:** lock open-source-forever stance + harden liability disclaimer (ADR-108); close 0.6 + 3.3 ([8d828a6](https://github.com/event4u-app/agent-config/commit/8d828a64de5d23fa1c298a78b3d67c6e70ffe4b7))
183
+ * **legal:** lock open-source-forever stance + harden liability disclaimer (ADR-108); close 0.6 + 3.3 ([f45e4e9](https://github.com/event4u-app/agent-config/commit/f45e4e99f7cccd77efb2d62fe06cb4436bc2df9e))
184
+ * **legal:** enforcement linter, privilege markers, eval harness, docs (Phases 1/1.5/3/5) ([cb06648](https://github.com/event4u-app/agent-config/commit/cb06648009dc12daab440a273eeb780d06f6e2fa))
185
+ * **legal:** add governed EU/DE legal pack — floor, 5 skills, vocab (ADR-107) ([b0d531f](https://github.com/event4u-app/agent-config/commit/b0d531f2701b600c93cb1ba52f3dce50e21a6d6d))
186
+ * **bench:** pair-capture seam for recursion arm (human-preference pretest) ([7211c04](https://github.com/event4u-app/agent-config/commit/7211c043bb712cea6c0a2e0de56ea5af79b70cce))
187
+ * **bench:** recursion gate logic + novel-lift scorer + package-recursive arm ([e33ff7d](https://github.com/event4u-app/agent-config/commit/e33ff7d52572ea35bcb8f5b190336e83e737ab1d))
188
+ * **recursive-verification:** add depth-bounded self-verification skill + gate ([4a0c519](https://github.com/event4u-app/agent-config/commit/4a0c519628a5244cc2859cdf484661c92be25783))
189
+ * **subagents:** A1 rule body + A2 bundle resolver + A3 response envelope ([4a9fc9b](https://github.com/event4u-app/agent-config/commit/4a9fc9b3c44c256426b0c33f4448010e890adf13))
190
+ * **subagents:** A1 — dedicated delegation-policy auto-trigger rule ([e60cb50](https://github.com/event4u-app/agent-config/commit/e60cb50fcfb55ccabdeab88b680ec707f8a4d122))
191
+ * **subagents:** automatic, settings-gated subagent orchestration ([dba922c](https://github.com/event4u-app/agent-config/commit/dba922c1da2177ad8103f06fd4dce49cff95977d))
192
+ * **py2ts:** purge dead python-parity test blocks + add permanent no-python-in-src guard ([e163468](https://github.com/event4u-app/agent-config/commit/e163468af8d2b70a7e4645db0dda719c3f761cb3))
193
+ * **roadmaps:** robust completion→archival independent of PR flow, tracking, and vendored scripts ([a879334](https://github.com/event4u-app/agent-config/commit/a87933447797c848e0e09e5d9d0ade6d280ae794))
194
+ * **rules:** add design-fidelity rule for provided-design adherence ([88bc654](https://github.com/event4u-app/agent-config/commit/88bc6541721a7d964d670fe80ac06385c4776762))
195
+ * add /fix:comments command to audit and trim branch code comments ([b3127b8](https://github.com/event4u-app/agent-config/commit/b3127b86733357d8fe2a32e4b3e5fe1c15447e41))
196
+
197
+ ### Bug Fixes
198
+
199
+ * **legal:** add 'legal' to discovery-manifest schema workspace + pack enums ([f7cc834](https://github.com/event4u-app/agent-config/commit/f7cc83415d6c7ffa7600512fba059c2513c3d4df))
200
+ * **ai-council:** raise curl timeout to 300s + --max-time so long Anthropic generations don't ETIMEDOUT ([42048b9](https://github.com/event4u-app/agent-config/commit/42048b91a5361a9041deee172609a974d926d1da))
201
+ * **roadmap:** commit legal-pack + dashboard + archived-roadmap link fixes ([1a6910a](https://github.com/event4u-app/agent-config/commit/1a6910a39beea7e5bfc0ff21167be1463d7bfd96))
202
+ * **test:** satisfy noUncheckedIndexedAccess in recursion tests ([29d6d89](https://github.com/event4u-app/agent-config/commit/29d6d8920192b3ade000abf9e5c102871a3ba336))
203
+ * **py2ts:** inbox snapshot — strip macOS /private prefix so Linux CI matches ([f19436e](https://github.com/event4u-app/agent-config/commit/f19436e4a6e1cdc6dba452330e293b4414f82125))
204
+ * **py2ts:** typecheck — assert tuple element in workspace_secrets SCAN/OBJ_CASES ([aedf6ee](https://github.com/event4u-app/agent-config/commit/aedf6eeb98eb4e171544decf4bfc9511ad7868e2))
205
+ * **ci:** allowlist brand/iconography/premortem bare-noun skill names ([1522311](https://github.com/event4u-app/agent-config/commit/152231156b8379ded27652c28c089806a4f33d1c))
206
+ * **ci:** register new subagents.* keys in the settings schema ([2c817a6](https://github.com/event4u-app/agent-config/commit/2c817a631c6b2062d8e5e843c31513d932d27d6f))
207
+ * **ci:** resolve pre-existing trunk gate drift ([8515b97](https://github.com/event4u-app/agent-config/commit/8515b9793608c077f058ac42621bf6e03160e163))
208
+ * **schema:** default the design block so settings without it still validate ([86ee94e](https://github.com/event4u-app/agent-config/commit/86ee94e313f198fd109db7dfdd6bb93a7b6dc8c6))
209
+ * **schema:** register design.fidelity_mode in settings parity schemas ([af56652](https://github.com/event4u-app/agent-config/commit/af5665258c9b5c02bc016d2e12bfa76befbe5d5d))
210
+ * **council:** resolve config global-only — never search the project tree ([fcd81ff](https://github.com/event4u-app/agent-config/commit/fcd81ffe92e652db88c79ba29c05b2dc0e358850))
211
+
212
+ ### Documentation
213
+
214
+ * **recursive-verification:** record council follow-up disposition — TERMINAL ([7d132be](https://github.com/event4u-app/agent-config/commit/7d132bec2b55c00359d1d906b7701de0317f28bf))
215
+ * **recursive-verification:** record honest-null in benchmark.md + ADR-106 ref ([87da20f](https://github.com/event4u-app/agent-config/commit/87da20ff8217e771427153eabaf7edaec4e97669))
216
+ * add subagent-orchestration onboarding map + sync roadmap dashboard ([01b798f](https://github.com/event4u-app/agent-config/commit/01b798f42b500b3c801292f65da90137304f9243))
217
+ * **roadmap:** add operator-runtime-harvest roadmap ([a2a92b1](https://github.com/event4u-app/agent-config/commit/a2a92b145f630e55b440b7b4214359618bf70ac9))
218
+ * **roadmap:** record measured remaining spawn-tail count (108) + next groups ([4426293](https://github.com/event4u-app/agent-config/commit/4426293da06dfc60ff914ab9a4bc9756675b96aa))
219
+ * **roadmap:** archive completed auto-subagent-orchestration v2 + regenerate derived ([e8af760](https://github.com/event4u-app/agent-config/commit/e8af760c792b4b7f2a7c3d61a551d84e43904df6))
220
+ * **roadmap:** mark work_engine cluster de-pythonized (21 files) ([0b36d5c](https://github.com/event4u-app/agent-config/commit/0b36d5c4999052f33cbc423296ecc9238a2b122c))
221
+ * **roadmap:** mark workspace_* cluster converted (12 files, +346 tests) ([154db54](https://github.com/event4u-app/agent-config/commit/154db548375a787f9c19ed38a464db8edfd4b9cb))
222
+ * **roadmap:** capture the py2ts conversion-tail determinism trap (per-file, not a codemod) ([439817c](https://github.com/event4u-app/agent-config/commit/439817c272216f81ed2e286990f27488f3321e64))
223
+ * **roadmap:** auto-subagent-orchestration roadmap + follow-up ([5cdbc84](https://github.com/event4u-app/agent-config/commit/5cdbc8438b0e097c99f16ee438494ae66e234c77))
224
+ * **roadmap:** refine py2ts tail triage (36 delete-candidates / 108 convert) ([985e3e3](https://github.com/event4u-app/agent-config/commit/985e3e35bdfb48309c2dc7259e0180a39fe71cd8))
225
+ * **roadmap:** record py2ts parity-block purge + categorize the remaining tail ([1ac823c](https://github.com/event4u-app/agent-config/commit/1ac823ce1e927a473e6c2c973cbe2e33dfb96ffb))
226
+ * **roadmaps:** split token-saving human-measurement track off the autonomous parent ([ac188ef](https://github.com/event4u-app/agent-config/commit/ac188ef4e7044f75baf87e393f7084dae383abe3))
227
+ * **roadmaps:** reconcile road-to-typescript-only-scripts against merged reality ([9adf45b](https://github.com/event4u-app/agent-config/commit/9adf45b3294f38f70100feaec44867074b512a2b))
228
+ * **rdp:** restore frontier-polish closure dispositions in the archived file ([e712620](https://github.com/event4u-app/agent-config/commit/e712620f74a83f5faa50bb8885b6a1d17117adcf))
229
+ * **rdp:** close + archive road-to-rdp-frontier-polish (L7 no-promotion, Phase 3 cancelled) ([8945d5a](https://github.com/event4u-app/agent-config/commit/8945d5ad35b15c4b177ae368f389fb0445f0c856))
230
+
231
+ ### Tests
232
+
233
+ * **legal:** replace Gate-2 owner requirement with a test-enforced disclaimer guarantee ([60112ac](https://github.com/event4u-app/agent-config/commit/60112ac9af01cc9f85491a0b6ccaa6bd17b4caa8))
234
+ * **legal:** add trigger-eval sets for the 5 legal skills (5 should + 5 should-not, DE+EN) ([f451af2](https://github.com/event4u-app/agent-config/commit/f451af2a4d6ee1cfd357f69fe120a905ae26e525))
235
+ * **py2ts:** de-pythonize 21 work_engine test files (purge parity blocks / convert pure rigs) ([2221cc8](https://github.com/event4u-app/agent-config/commit/2221cc8c268bb4d7e8f7eba59d58990f31c82dfb))
236
+ * **py2ts:** convert the workspace_* CLI parity cluster to python-free intent tests ([6697dea](https://github.com/event4u-app/agent-config/commit/6697dea75a24f363f2053c4700d8438ec2725742))
237
+ * **py2ts:** convert workspace_hosts parity rig to python-free intent test ([6f79864](https://github.com/event4u-app/agent-config/commit/6f798649ae2f27ca1381622025102b678f283f6d))
238
+ * **py2ts:** purge obsolete python3-vs-tsx parity blocks from 94 mixed test files ([5e07191](https://github.com/event4u-app/agent-config/commit/5e07191639e01f74f47699e62798ce6b298cbc1f))
239
+ * **py2ts:** convert the 4 all-parity CLI rigs to python-free intent tests ([aff202c](https://github.com/event4u-app/agent-config/commit/aff202c5eb81d2a87e9147e812a2fd53635dcae2))
240
+ * **ci-time-ratio:** drop leaked root artifact, write relative --out under ignored test-results/ ([5152942](https://github.com/event4u-app/agent-config/commit/5152942c67711f3dfdb4b35b60c696fd633a6aaf))
241
+
242
+ ### Chores
243
+
244
+ * **legal:** regenerate agents/index.md + docs/catalog.md for legal pack artefacts ([484d5da](https://github.com/event4u-app/agent-config/commit/484d5da21ff67dd7013919b99a03fd0de3c66c72))
245
+ * **roadmap:** archive completed recursive-verification + add legal-pack + sync dashboard ([887fbe7](https://github.com/event4u-app/agent-config/commit/887fbe7b83be52e21d751965f3dad2152d80f1ce))
246
+ * **roadmaps:** archive py2ts teardown evidence + superseded predecessor ([d11f6cd](https://github.com/event4u-app/agent-config/commit/d11f6cd1646c43e6bd8f210b0ac703a7059236e5))
247
+ * **condense:** re-mark stale command hashes (pre-existing drift) ([836d2c9](https://github.com/event4u-app/agent-config/commit/836d2c9ae1987d630fdce431b0ae5fed9aeb9aca))
248
+ * register fix-comments skill in marketplace.json ([214c5d1](https://github.com/event4u-app/agent-config/commit/214c5d147b53b65c9eef56ea0e72a2d1a9224633))
249
+ * **roadmaps:** regenerate dashboard (frontier-polish Phase 1 = done) ([9172c18](https://github.com/event4u-app/agent-config/commit/9172c18f5c6b6ad82ca6457ddbad10069a895d31))
250
+
251
+ ### Other
252
+
253
+ * Revert "feat(legal): lock open-source-forever stance + harden liability disclaimer (ADR-108); close 0.6 + 3.3" ([1f10272](https://github.com/event4u-app/agent-config/commit/1f1027229c841cda6110b64c59747b3607b092f6))
254
+
255
+ ## [7.0.2](https://github.com/event4u-app/agent-config/compare/7.0.1...7.0.2) (2026-06-22)
256
+
257
+ ### Bug Fixes
258
+
259
+ * **roadmaps:** regen entry-guard fires under symlinked invocation ([244e4e4](https://github.com/event4u-app/agent-config/commit/244e4e45a42a6b3d4793ac192e0f912d71954ba4))
260
+ * **rdp-eval:** harden index access for strict typecheck (noUncheckedIndexedAccess) ([041b21e](https://github.com/event4u-app/agent-config/commit/041b21e4877361b1499328216242fa6ec595ff99))
261
+ * **rdp-eval:** satisfy eslint on the new runners ([3c418e1](https://github.com/event4u-app/agent-config/commit/3c418e16faf340b8367148f6788835e400241e4e))
262
+
263
+ ### Documentation
264
+
265
+ * **rdp-eval:** keep-scoped L6 verdict — scope orchestrator to multi-step work ([61173ca](https://github.com/event4u-app/agent-config/commit/61173ca899442b81159e4f3efe586251dcea4459))
266
+
267
+ ### Tests
268
+
269
+ * **rdp-eval:** capture larger-N L6 + gate-classification data ([f92aad3](https://github.com/event4u-app/agent-config/commit/f92aad32620af27c5cf4d000859adeeb9894a819))
270
+ * **rdp-eval:** port quality+L6 eval runners to TypeScript (fetch-based) ([9c4ec60](https://github.com/event4u-app/agent-config/commit/9c4ec604ca6fbb82d796cf2d65626d381a854142))
271
+
272
+ ### CI
273
+
274
+ * **consistency:** trigger on src/** and dist/agent-src/** paths ([6a5e5e7](https://github.com/event4u-app/agent-config/commit/6a5e5e76cea3d5f879f9fcda6e510cc73039826e))
275
+
276
+ ## [7.0.1](https://github.com/event4u-app/agent-config/compare/7.0.0...7.0.1) (2026-06-22)
277
+
278
+ ### Bug Fixes
279
+
280
+ * **release:** measure accumulated era body in the split gate ([3837048](https://github.com/event4u-app/agent-config/commit/3837048138e5e5d8cfa024ab80df4882d8ecc736))
281
+ * **changelog:** exempt newest release from era drift cap; split 7.0.0 into its own era ([0dfa3a2](https://github.com/event4u-app/agent-config/commit/0dfa3a23fe44f8eb4e664d78173d294c7c4848c3))
282
+ * **install:** resolve package version by upward walk so global install stops refusing ([977bdc3](https://github.com/event4u-app/agent-config/commit/977bdc359fe8954592f81649b23ea4a00f157b74))
283
+
284
+ ## [7.0.0](https://github.com/event4u-app/agent-config/compare/6.1.0...7.0.0) (2026-06-21)
285
+
286
+ > Large catch-up release. The full per-commit entry (BREAKING CHANGES,
287
+ > Features, Fixes, …) is archived in
288
+ > [`docs/archive/CHANGELOG-7.0.0.md`](docs/archive/CHANGELOG-7.0.0.md) to keep
289
+ > the active `7.0.x` era under the 250-line drift cap. Git tag `7.0.0`
290
+ > remains the canonical record of what shipped.
291
+
292
+ ### Highlights
293
+
294
+ * **py2ts:** Python → TypeScript re-platform completed — all `src/` `.py`
295
+ twins removed (Hard Floor); CLI, release, roadmap, and golden-transcript
296
+ tooling ported to TS + vitest.
297
+ * **install:** versioned install-layout ABI; core-vs-lab surface tiers with a
298
+ boundary guard; layout migration + core-only deploy wired into the installer.
299
+ * **brand / eval / ai-image:** `/brand:` command cluster shipped; eval
300
+ freshness lints made blocking; image-adapter cost + freshness caveats added.
301
+ * **BREAKING:** `build_ticket_export.py` removed — no API export (ADR-102).
package/docs/benchmark.md CHANGED
@@ -1,17 +1,30 @@
1
1
  # Discipline-Axis Wrapper-Lift Benchmark (v2)
2
2
 
3
- > Generated by `scripts/bench_ab_v2_stats.py --markdown`. Source: `internal/bench/reports/ab-v2/`. Re-render with `task bench:ab:v2:diff`.
3
+ > **Curated composite of two pinned reports** — the weak-host result and the
4
+ > strong-host result side by side. It is deliberately NOT auto-generated from the
5
+ > single latest `ab-v2` report: a single-report render would bury one host's
6
+ > finding (a strong-host null would erase the weak-host lift, and vice versa).
7
+ > Regenerate the pinned sections with `task bench:ab:v2:diff` — each
8
+ > `<!-- pinned:<id> -->` region renders from ITS pinned report
9
+ > (`docs/benchmark.pinned.yml`); curated prose outside the markers is
10
+ > never touched (`-- --check` is the drift gate). Pinned sources:
11
+ > weak host = `internal/bench/reports/ab-v2/2026-06-15T03-52-35Z-ab-v2-paired.json`;
12
+ > strong host = `internal/bench/reports/ab-v2/2026-07-05T07-00-31Z-ab-v2-paired.json`;
13
+ > cost-factor sweep = `internal/bench/reports/ab-v2/2026-07-07T05-35-14Z-ab-v2-paired.json`.
4
14
 
5
15
  ## Honesty labels (read first)
6
16
 
17
+ <!-- pinned:honesty -->
7
18
  > 1. **Wrapper-lift on a fixed host (`claude-haiku-4-5`), NOT model-vs-model.** Measures what the agent-config package does to ONE host model on a neutral fixture — not a capability ranking.
8
19
  > 2. **Discipline axis, not capability.** The headline is the *discipline* delta (did it stay minimal / verify / ask / not destroy / update downstream), not whether the goal was achievable.
9
20
  > 3. **PILOT — low statistical power (N=2 tasks × 12 seed(s)).** Directional only.
10
21
  > 4. **Paired design**, errored runs excluded; McNemar (capability) + Wilcoxon signed-rank (discipline) + effect sizes.
11
22
  > 5. **Not comparable to SWE-bench / GAIA / Fable scores** — a different question entirely.
23
+ <!-- /pinned:honesty -->
12
24
 
13
- ## Gate verdict: **PASS**
25
+ ## Weak host (`claude-haiku-4-5`) — Gate verdict: **PASS**
14
26
 
27
+ <!-- pinned:weak-stats -->
15
28
  - capability lift significant: `False`
16
29
  - discipline lift significant: `True`
17
30
  - status-bucket better (package vs vanilla): `False`
@@ -73,6 +86,124 @@
73
86
  - Arms: vanilla (plugin off) · package (real plugin) · package-rdp (plugin + RDP rules) · placebo (plugin off + equal-length inert prose).
74
87
  - Corpus: `internal/bench/corpora/ab-trackb-v2.yaml` (5 trap archetypes). Scoring: `bench_ab_scoring_v2.py` (deterministic, no LLM judge).
75
88
  - Roadmap: `agents/roadmaps/road-to-discipline-axis-benchmark.md`.
89
+ <!-- /pinned:weak-stats -->
90
+
91
+ ## Cost-factor sweep (`claude-haiku-4-5`) — lift per loaded-context cost
92
+
93
+ > **Question:** the full package buys its weak-host lift at ~12× vanilla tokens.
94
+ > How much of the lift survives in trimmed rule-only configurations at a
95
+ > fraction of that cost? Four arms, same paired design (2 tasks × 12 seeds,
96
+ > n=24 pairs/arm), same host, same deterministic scorer. The trimmed arms run
97
+ > plugin-OFF + ONLY the named rule bodies injected via system prompt
98
+ > (`rules_subset_text()` in `bench_ab_v2_run.ts`, tier membership from
99
+ > `dist/router.json`).
100
+
101
+ <!-- pinned:cost-factor-table -->
102
+ | arm | loaded content | injected chars | mean tokens/run | cost factor | mean discipline | lift vs vanilla |
103
+ |---|---|---|---|---|---|---|
104
+ | `vanilla` | none | 0 | 103,319 | 1.0× | 0.458 | — |
105
+ | `rules-balanced` | kernel + tier 1 (shipped `balanced` profile) | 98,825 | 303,186 | **2.9×** | 0.417 | −0.042 (p=0.8127, **NULL**) |
106
+ | `rules-kernel-dc` | kernel (9 rules) + `downstream-changes` | 30,698 | 344,483 | **3.3×** | 0.917 | **+0.458 (p=0.0135, significant)** |
107
+ | `package` | full plugin | 0 | 1,210,078 | **11.7×** | 1.000 | **+0.542 (p=0.0017, significant)** |
108
+
109
+ (generated from the pinned report — curated labels from `docs/benchmark.pinned.yml`)
110
+ <!-- /pinned:cost-factor-table -->
111
+
112
+ Residual of the full package over `rules-kernel-dc`: Δ=+0.083, Wilcoxon p=0.37
113
+ (only 2 discordant pairs) — **not significant**.
114
+
115
+ Three findings:
116
+
117
+ 1. **~95% of the lift survives at ~3× cost.** The kernel + `downstream-changes`
118
+ configuration keeps a significant discipline lift (0.917 vs the full
119
+ package's 1.000; the residual is not significant at this N) at ~28% of the
120
+ full package's tokens. The 12× full load is not required for this trap
121
+ family's lift.
122
+ 2. **Content selection beats size — the shipped `balanced` profile is a null.**
123
+ `rules-balanced` injects 3× more chars than `rules-kernel-dc` and costs
124
+ almost the same per run, but delivers ZERO lift: it lacks
125
+ `downstream-changes` (a tier-2 rule), and `scope-control` alone does not
126
+ correct the downstream trap. This is the placebo result again, sharpened:
127
+ not only is length inert, even 33 real rules are inert on a trap their
128
+ lift-carrying rule doesn't cover. Any low-cost weak-host profile must be
129
+ cut by lift-carrying content, not by tier size.
130
+ 3. **Cost is behaviour, not just context.** `rules-kernel-dc` injects a third
131
+ of `rules-balanced`'s chars but costs slightly MORE — the discipline
132
+ behaviour itself (verification turns, downstream edits) spends tokens. The
133
+ token factor cannot be dialed by context size alone.
134
+
135
+ **Honest scope:** weak host only; the 2-task scope/downstream family (the family
136
+ with the proven lift), N=24 pairs/arm — the full package covers 4 more trap
137
+ archetypes the trimmed arms were NOT tested on here. Rules-only injection, not a
138
+ full plugin projection (no skills/commands/hooks in the trimmed arms). Before
139
+ shipping any trimmed default, sweep the full corpus (done below).
140
+
141
+ - Report: `internal/bench/reports/ab-v2/2026-07-07T05-35-14Z-ab-v2-paired.json`.
142
+ - Arms: `rules-kernel-dc` / `rules-balanced` in `src/scripts/bench_ab_v2_run.ts` (opt-in, not in the default arm list).
143
+
144
+ ### Full-corpus P1 gate (`claude-haiku-4-5`, all 30 tasks) — family-scoped PASS
145
+
146
+ > **The essential lift is real, replicates, and is family-scoped.** Full corpus
147
+ > (all 5 trap archetypes + agentic-debug + the Laravel downstream trap),
148
+ > `vanilla` vs `rules-kernel-dc` × 3 seeds = 180 runs (n=90 pairs, 0 errored),
149
+ > run from a frozen checkout so mid-run edits could not contaminate the
150
+ > per-run rule reads. Corpus-wide the discipline delta is +0.056 (0.872 →
151
+ > 0.928, Wilcoxon p=0.084, rb=0.53) — NOT significant, because vanilla Haiku
152
+ > is already at/near the discipline ceiling on every family except the
153
+ > scope/downstream one. Inside that family the pilot lift replicates exactly:
154
+ > trapE (now 5 tasks incl. Laravel + meso variants) 0.533 → 1.000, Δ=+0.467,
155
+ > ALL 7 discordant pairs favouring the essential cut (sign test p≈0.016); all
156
+ > other families flat at ceiling (largest counter-noise: trapA −0.083 on 2
157
+ > discordant pairs). **Corpus-wide cost factor: 1.71x** (132,036 → 225,956
158
+ > mean tokens/run) — cheaper than the family-only 3.3x, because the
159
+ > discipline behaviour only spends turns where the trap exists.
160
+
161
+ | axis | vanilla | rules-kernel-dc | Δ | test |
162
+ |---|---|---|---|---|
163
+ | capability (pass-rate) | 92% | 92% | 0 | McNemar p=1.0, h=0.0 |
164
+ | discipline, full corpus (0–1) | 0.872 | 0.928 | +0.056 | Wilcoxon p=0.084, rb=0.53 (n≠0=14) |
165
+ | discipline, scope/downstream family (n=15) | 0.533 | 1.000 | +0.467 | 7/7 discordant favour essential (sign p≈0.016) |
166
+ | mean tokens/run | 132,036 | 225,956 | +93,920 (~1.7x) | — |
167
+
168
+ **Verdict for the tiering roadmap's P1 gate:** family-scoped PASS. The
169
+ `essential` tier's claim stays honest-scoped to the scope/downstream family —
170
+ the lift does not extend to families where the host is already at ceiling, and
171
+ it costs ~1.7x on a realistic mixed corpus. The Phase-4 default flip remains
172
+ additionally gated on the P2 non-Claude replication.
173
+
174
+ - Report: `internal/bench/reports/ab-v2/2026-07-07T07-04-39Z-ab-v2-paired.json`.
175
+
176
+ ## Strong host (`sonnet`, full 30-task corpus) — Gate verdict: **HONEST-NULL**
177
+
178
+ - capability lift significant: `False`
179
+ - discipline lift significant: `False`
180
+ - status-bucket better (package vs vanilla): `False`
181
+
182
+ > **Honest null on a strong host, across the full corpus.** A re-run of the SAME
183
+ > package on `sonnet` over the entire discipline corpus — all 5 trap archetypes +
184
+ > agentic-debug + a Laravel/PHP downstream trap (`trapE-scope-laravel-01`) — with
185
+ > `vanilla` vs `package` × 3 seeds (180 runs, n=84 paired). The discipline axis
186
+ > does not move (Δ=+0.000, Wilcoxon p=1.0) and capability is flat-to-slightly-lower,
187
+ > because a capable host is *already* at the discipline ceiling on these
188
+ > deterministic traps — exactly what the weak-host section predicts. The package
189
+ > is a redundant no-op here, **at ~5× the tokens.** This is not a failure: it is
190
+ > the empirical bound on the weak-host claim, and it holds in PHP as in TS. **No
191
+ > strong-host lift is claimed.**
192
+
193
+ ### Table — `package` vs `vanilla` (n=84 pairs, host `sonnet`)
194
+
195
+ <!-- pinned:strong-table -->
196
+ | axis | vanilla | package | Δ | test |
197
+ |---|---|---|---|---|
198
+ | capability (pass-rate) | 94% | 89% | −5pp | McNemar p=0.125, h=-0.174 |
199
+ | discipline (0–1) | 0.929 | 0.929 | +0.000 | Wilcoxon p=1.0, rb=0.0 (n≠0=5) |
200
+ | mean tokens/run | 185,584 | 929,716 | +744,132 (~5×) | — |
201
+
202
+ (host `sonnet`, n=84 pairs — generated from the pinned report)
203
+ <!-- /pinned:strong-table -->
204
+
205
+ - Report: `internal/bench/reports/ab-v2/2026-07-05T07-00-31Z-ab-v2-paired.json` (A6 of `road-to-final-state-and-market-readiness.md`).
206
+ - Methodology: identical to the weak-host section (pinned host, deterministic scorer, paired design); the only change is the host model and the full-corpus scope.
76
207
 
77
208
  ## Recursive self-verification (ADR-106) — HONEST-NULL
78
209
 
@@ -0,0 +1,31 @@
1
+ # Pin manifest for the curated composite `docs/benchmark.md`
2
+ # (road-to-flow-learnings Phase 3).
3
+ #
4
+ # Each section renders INDEPENDENTLY from ITS pinned report via
5
+ # `src/scripts/render_benchmark_composite.ts` — never from the single
6
+ # latest report (the composite's in-file curation rationale stands).
7
+ # Curated prose lives OUTSIDE the `<!-- pinned:<id> -->` markers and is
8
+ # never touched by the renderer. Pinned reports are operator-local
9
+ # (untracked); the renderer skips cleanly where they are absent.
10
+ sections:
11
+ - id: honesty
12
+ mode: honesty-labels
13
+ report: internal/bench/reports/ab-v2/2026-06-15T03-52-35Z-ab-v2-paired.json
14
+ - id: weak-stats
15
+ mode: stats-body
16
+ report: internal/bench/reports/ab-v2/2026-06-15T03-52-35Z-ab-v2-paired.json
17
+ - id: cost-factor-table
18
+ mode: arm-cost-table
19
+ report: internal/bench/reports/ab-v2/2026-07-07T05-35-14Z-ab-v2-paired.json
20
+ arms:
21
+ - id: vanilla
22
+ label: none
23
+ - id: rules-balanced
24
+ label: kernel + tier 1 (shipped `balanced` profile)
25
+ - id: rules-kernel-dc
26
+ label: kernel (9 rules) + `downstream-changes`
27
+ - id: package
28
+ label: full plugin
29
+ - id: strong-table
30
+ mode: compact-table
31
+ report: internal/bench/reports/ab-v2/2026-07-05T07-00-31Z-ab-v2-paired.json
@@ -15,6 +15,7 @@ transform — `.mdc`, workflow, or an aggregated single file) · **— none**
15
15
  | `rules` | ✅ native | — none | ✅ native | 🔁 adapter | 🔁 adapter | ✅ native | 🔁 adapter | 🔁 adapter † | — none |
16
16
  | `skills` | ✅ native | ✅ native | ✅ native | — none | — none | — none | — none | — none | — none |
17
17
  | `commands` | ✅ native | — none | ✅ native | 🔁 adapter | 🔁 adapter | — none | — none | — none | — none |
18
+ | `subagents` | ✅ native | — none | — none | 🔁 adapter | 🔁 adapter | 🔁 adapter | — none | — none | — none |
18
19
  | `personas` | ✅ native | — none | ✅ native | ✅ native | — none | — none | — none | — none | — none |
19
20
  | `user-types` | ✅ native | — none | ✅ native | ✅ native | — none | — none | — none | — none | — none |
20
21
  | `hooks` | — none | ✅ native | — none | — none | — none | — none | — none | — none | — none |