@event4u/agent-config 9.26.0 → 9.27.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 (174) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +57 -229
  3. package/dist/agent-src/commands/analyze/conformance.md +19 -0
  4. package/dist/agent-src/commands/roadmap/next.md +65 -3
  5. package/dist/agent-src/rules/active-remediation.md +2 -0
  6. package/dist/agent-src/rules/analysis-skill-routing.md +2 -0
  7. package/dist/agent-src/rules/architecture.md +2 -0
  8. package/dist/agent-src/rules/artifact-drafting-protocol.md +2 -0
  9. package/dist/agent-src/rules/artifact-engagement-recording.md +2 -0
  10. package/dist/agent-src/rules/augment-edit-discipline.md +2 -0
  11. package/dist/agent-src/rules/autonomous-execution.md +2 -0
  12. package/dist/agent-src/rules/brand-consistency.md +2 -0
  13. package/dist/agent-src/rules/brand-source-of-truth.md +2 -0
  14. package/dist/agent-src/rules/broken-access-control.md +2 -0
  15. package/dist/agent-src/rules/cli-output-handling.md +2 -0
  16. package/dist/agent-src/rules/code-comment-discipline.md +2 -0
  17. package/dist/agent-src/rules/code-provenance.md +2 -0
  18. package/dist/agent-src/rules/command-suggestion-policy.md +2 -0
  19. package/dist/agent-src/rules/commit-conventions.md +2 -0
  20. package/dist/agent-src/rules/communication-through-line.md +2 -0
  21. package/dist/agent-src/rules/content-quoting-floor.md +2 -0
  22. package/dist/agent-src/rules/context-hygiene.md +10 -0
  23. package/dist/agent-src/rules/copilot-routing.md +2 -0
  24. package/dist/agent-src/rules/cross-source-consistency.md +2 -0
  25. package/dist/agent-src/rules/decision-revisit-gate.md +2 -0
  26. package/dist/agent-src/rules/delegation-policy.md +2 -0
  27. package/dist/agent-src/rules/design-fidelity.md +2 -0
  28. package/dist/agent-src/rules/design-review-after-ui-write.md +4 -0
  29. package/dist/agent-src/rules/devcontainer-routing.md +2 -0
  30. package/dist/agent-src/rules/doc-screenshot-hygiene.md +2 -0
  31. package/dist/agent-src/rules/docker-commands.md +2 -0
  32. package/dist/agent-src/rules/domain-adoption-policy.md +2 -0
  33. package/dist/agent-src/rules/domain-safety-disclaimer.md +2 -0
  34. package/dist/agent-src/rules/domain-safety-pii.md +2 -0
  35. package/dist/agent-src/rules/domain-safety-retention.md +2 -0
  36. package/dist/agent-src/rules/downstream-changes.md +2 -0
  37. package/dist/agent-src/rules/engineering-safety-floor.md +2 -0
  38. package/dist/agent-src/rules/evaluator-independence.md +13 -3
  39. package/dist/agent-src/rules/external-code-graph-interop.md +2 -0
  40. package/dist/agent-src/rules/external-reference-deep-dive.md +2 -0
  41. package/dist/agent-src/rules/fast-path-marker-visibility.md +2 -0
  42. package/dist/agent-src/rules/finance-safety-floor.md +2 -0
  43. package/dist/agent-src/rules/framework-neutrality-in-generic-skills.md +2 -0
  44. package/dist/agent-src/rules/git-history-discipline.md +3 -1
  45. package/dist/agent-src/rules/guidelines.md +2 -0
  46. package/dist/agent-src/rules/history-discipline.md +2 -0
  47. package/dist/agent-src/rules/icon-consistency.md +2 -0
  48. package/dist/agent-src/rules/image-likeness-and-rights.md +2 -0
  49. package/dist/agent-src/rules/improve-before-implement.md +2 -0
  50. package/dist/agent-src/rules/invite-challenge.md +2 -0
  51. package/dist/agent-src/rules/laravel-routing.md +2 -0
  52. package/dist/agent-src/rules/laravel-translations.md +2 -0
  53. package/dist/agent-src/rules/legal-safety-floor.md +2 -0
  54. package/dist/agent-src/rules/lethal-trifecta-guard.md +2 -0
  55. package/dist/agent-src/rules/linked-projects-onboarding-gate.md +2 -0
  56. package/dist/agent-src/rules/low-impact-corpus-privacy-floor.md +2 -0
  57. package/dist/agent-src/rules/markdown-safe-codeblocks.md +2 -0
  58. package/dist/agent-src/rules/media-governance-routing.md +2 -0
  59. package/dist/agent-src/rules/media-sync-ground-truth.md +2 -0
  60. package/dist/agent-src/rules/minimal-safe-diff.md +2 -0
  61. package/dist/agent-src/rules/missing-tool-handling.md +2 -0
  62. package/dist/agent-src/rules/model-recommendation.md +2 -0
  63. package/dist/agent-src/rules/no-attribution-footers.md +2 -0
  64. package/dist/agent-src/rules/no-decorative-emojis-in-git-surfaces.md +2 -0
  65. package/dist/agent-src/rules/no-pr-progress-comments.md +2 -0
  66. package/dist/agent-src/rules/no-roadmap-references.md +2 -0
  67. package/dist/agent-src/rules/notes-first-reasoning.md +2 -0
  68. package/dist/agent-src/rules/onboarding-gate.md +2 -0
  69. package/dist/agent-src/rules/output-discipline.md +2 -0
  70. package/dist/agent-src/rules/package-ci-checks.md +2 -0
  71. package/dist/agent-src/rules/persona-governance.md +2 -0
  72. package/dist/agent-src/rules/php-coding.md +2 -0
  73. package/dist/agent-src/rules/prefer-enums-over-literals.md +2 -0
  74. package/dist/agent-src/rules/preservation-guard.md +2 -0
  75. package/dist/agent-src/rules/provider-lifecycle-discipline.md +2 -0
  76. package/dist/agent-src/rules/question-not-instruction.md +2 -0
  77. package/dist/agent-src/rules/reviewer-awareness.md +2 -0
  78. package/dist/agent-src/rules/roadmap-ci-steps-policy.md +2 -0
  79. package/dist/agent-src/rules/roadmap-progress-sync.md +2 -0
  80. package/dist/agent-src/rules/role-mode-adherence.md +2 -0
  81. package/dist/agent-src/rules/rule-type-governance.md +2 -0
  82. package/dist/agent-src/rules/runtime-safety.md +2 -0
  83. package/dist/agent-src/rules/scale-discipline.md +2 -0
  84. package/dist/agent-src/rules/secret-vcs-guard.md +2 -0
  85. package/dist/agent-src/rules/security-sensitive-stop.md +2 -0
  86. package/dist/agent-src/rules/senior-engineering-discipline.md +2 -0
  87. package/dist/agent-src/rules/session-canary.md +61 -19
  88. package/dist/agent-src/rules/settings-ask-protocol.md +4 -0
  89. package/dist/agent-src/rules/size-enforcement.md +2 -0
  90. package/dist/agent-src/rules/skill-improvement-trigger.md +2 -0
  91. package/dist/agent-src/rules/skill-quality.md +2 -0
  92. package/dist/agent-src/rules/slash-command-routing-policy.md +2 -0
  93. package/dist/agent-src/rules/source-confidentiality.md +2 -0
  94. package/dist/agent-src/rules/source-discovery-gate.md +2 -0
  95. package/dist/agent-src/rules/source-of-truth.md +2 -0
  96. package/dist/agent-src/rules/spreadsheet-source-quality.md +2 -0
  97. package/dist/agent-src/rules/strategy-safety-floor.md +2 -0
  98. package/dist/agent-src/rules/symfony-routing.md +2 -0
  99. package/dist/agent-src/rules/think-before-action.md +2 -0
  100. package/dist/agent-src/rules/token-budget-discipline.md +2 -0
  101. package/dist/agent-src/rules/token-efficiency.md +2 -0
  102. package/dist/agent-src/rules/token-optimizer-maintenance.md +2 -0
  103. package/dist/agent-src/rules/tool-safety.md +2 -0
  104. package/dist/agent-src/rules/ui-audit-gate.md +4 -0
  105. package/dist/agent-src/rules/untrusted-input-defense.md +2 -0
  106. package/dist/agent-src/rules/upstream-proposal.md +2 -0
  107. package/dist/agent-src/rules/user-interaction.md +2 -0
  108. package/dist/agent-src/rules/user-interrupt-priority.md +2 -0
  109. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  110. package/dist/cli/registry.js +2 -0
  111. package/dist/cli/registry.js.map +1 -1
  112. package/dist/cli-delegate/{chunk-SJQMJI7M.js → chunk-3KJIMFTB.js} +1 -1
  113. package/dist/cli-delegate/{chunk-BSLUHV2F.js → chunk-BCPIOAGV.js} +148 -133
  114. package/dist/cli-delegate/cmd_conformance.js +1 -1
  115. package/dist/cli-delegate/cmd_doctor.js +1 -1
  116. package/dist/cli-delegate/cmd_export.js +1 -1
  117. package/dist/cli-delegate/cmd_prune.js +1 -1
  118. package/dist/cli-delegate/cmd_settings_migrate.js +1 -1
  119. package/dist/cli-delegate/cmd_sync.js +1 -1
  120. package/dist/cli-delegate/cmd_uninstall.js +1 -1
  121. package/dist/cli-delegate/cmd_validate.js +1 -1
  122. package/dist/discovery/deprecation-report.md +1 -1
  123. package/dist/discovery/discovery-manifest.json +109 -109
  124. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  125. package/dist/discovery/discovery-manifest.summary.md +1 -1
  126. package/dist/discovery/orphan-report.md +1 -1
  127. package/dist/discovery/packs.json +2 -2
  128. package/dist/discovery/trust-report.md +1 -1
  129. package/dist/discovery/workspaces.json +2 -2
  130. package/dist/hooks/dispatch.js +796 -289
  131. package/dist/install/install.mjs +1 -1
  132. package/dist/mcp/registry-manifest.json +2 -2
  133. package/dist/mcp/server.json +2 -2
  134. package/dist/mcp/server.mjs +571 -417
  135. package/dist/scripts/condense.js +33 -2
  136. package/dist/scripts/condense.js.map +1 -1
  137. package/dist/server/io/yamlIO.js +85 -0
  138. package/dist/server/io/yamlIO.js.map +1 -1
  139. package/dist/server/routes/settings.js +1 -12
  140. package/dist/server/routes/settings.js.map +1 -1
  141. package/dist/server/routes/wizard.js +52 -2
  142. package/dist/server/routes/wizard.js.map +1 -1
  143. package/dist/shared/settingsCarveOut.js +118 -0
  144. package/dist/shared/settingsCarveOut.js.map +1 -0
  145. package/dist/shared/settingsSurface.js +7 -1
  146. package/dist/shared/settingsSurface.js.map +1 -1
  147. package/dist/ui/assets/index-DmR0mbk4.js.map +1 -1
  148. package/package.json +1 -1
  149. package/src/config/evaluator-budgets.json +4 -4
  150. package/src/scripts/_cli/cmd_doctor.ts +6 -21
  151. package/src/scripts/_dispatch.bash +18 -0
  152. package/src/scripts/_lib/git_common_dir.ts +128 -0
  153. package/src/scripts/_lib/obligation_frequency.ts +391 -0
  154. package/src/scripts/_lib/session_register.ts +361 -0
  155. package/src/scripts/check_enforcement_coverage.ts +192 -7
  156. package/src/scripts/check_rule_projection_integrity.ts +364 -0
  157. package/src/scripts/condense.ts +36 -2
  158. package/src/scripts/conformance_scan.ts +35 -0
  159. package/src/scripts/generate_settings_reference.ts +232 -0
  160. package/src/scripts/hook_manifest.yaml +68 -27
  161. package/src/scripts/hooks/block_no_verify.ts +56 -1
  162. package/src/scripts/hooks/block_unauthorized_git.ts +67 -1
  163. package/src/scripts/hooks/concern_registry.ts +2 -0
  164. package/src/scripts/language_mirror_hook.ts +56 -6
  165. package/src/scripts/orchestration_backfill.ts +354 -0
  166. package/src/scripts/release.ts +142 -36
  167. package/src/scripts/schemas/rule.schema.json +5 -0
  168. package/src/scripts/session_canary_hook.ts +35 -3
  169. package/src/scripts/session_register_hook.ts +288 -0
  170. package/src/scripts/sessions_cli.ts +140 -0
  171. package/src/scripts/validate_frontmatter.ts +68 -0
  172. package/src/server/io/yamlIO.ts +87 -0
  173. package/src/shared/settingsCarveOut.ts +143 -0
  174. package/src/shared/settingsSurface.ts +7 -1
@@ -15,6 +15,8 @@ packs: [meta]
15
15
  enforced_by:
16
16
  - "validator:src/scripts/check_condensation.ts"
17
17
  - "validator:src/scripts/skill_linter.ts"
18
+ # obligation: line 22
19
+ obligation_frequency: "per-edit"
18
20
  ---
19
21
 
20
22
  # Preservation Guard
@@ -30,6 +30,8 @@ collision_ok:
30
30
  "/audio:": "provider-tier gate for audio providers"
31
31
  "/video:": "provider-tier gate for video providers"
32
32
  "scripts/ai-image/adapters/": "adapter edits are the lifecycle contract's surface"
33
+ # obligation: line 41
34
+ obligation_frequency: "per-event"
33
35
  ---
34
36
 
35
37
  # Provider Lifecycle Discipline
@@ -24,6 +24,8 @@ applies_to_user_types:
24
24
  self_contained: true
25
25
  workspaces: [engineering]
26
26
  packs: [meta]
27
+ # obligation: line 32
28
+ obligation_frequency: "per-turn"
27
29
  ---
28
30
 
29
31
  # Question Is Not an Instruction
@@ -13,6 +13,8 @@ routes_to:
13
13
  workspaces: [agent-config-maintainer, engineering]
14
14
  packs: [meta]
15
15
  roles: [reviewer]
16
+ # obligation: line 20
17
+ obligation_frequency: "per-commit"
16
18
  ---
17
19
 
18
20
  # Reviewer Awareness
@@ -30,6 +30,8 @@ packs: [meta]
30
30
  roles: [planner]
31
31
  collision_ok:
32
32
  "agents/roadmaps/": "roadmap steps must not schedule CI-shaped gates"
33
+ # obligation: line 41
34
+ obligation_frequency: "per-edit"
33
35
  ---
34
36
 
35
37
  # Roadmap CI-Steps Policy
@@ -16,6 +16,8 @@ enforced_by:
16
16
  - "hook:roadmap-progress"
17
17
  collision_ok:
18
18
  "agents/roadmaps/": "any roadmap touch regenerates the dashboard, same response"
19
+ # obligation: line 26
20
+ obligation_frequency: "per-edit"
19
21
  ---
20
22
 
21
23
  # Roadmap Progress Sync
@@ -9,6 +9,8 @@ triggers:
9
9
  self_contained: true
10
10
  workspaces: [agent-config-maintainer, construction, engineering, finance, founder, gtm, legal-review-prep, ops, product, small-business]
11
11
  packs: [meta]
12
+ # obligation: line 23
13
+ obligation_frequency: "per-turn"
12
14
  ---
13
15
 
14
16
  # Role Mode Adherence
@@ -10,6 +10,8 @@ workspaces: [agent-config-maintainer]
10
10
  packs: [meta]
11
11
  collision_ok:
12
12
  "src/rules/": "the always-vs-auto choice fires on every rule edit"
13
+ # obligation: line 17
14
+ obligation_frequency: "per-edit"
13
15
  ---
14
16
 
15
17
  # Rule Type Governance
@@ -10,6 +10,8 @@ triggers:
10
10
  self_contained: true
11
11
  workspaces: [agent-config-maintainer, engineering]
12
12
  packs: [meta]
13
+ # obligation: line 32
14
+ obligation_frequency: "per-edit"
13
15
  ---
14
16
 
15
17
  # Runtime Safety
@@ -26,6 +26,8 @@ trust:
26
26
  collision_ok:
27
27
  "migration": "R-A6 migration-safety owns reversibility/index/retention rules"
28
28
  "schema": "schema change routes the persistence pack floor (R-A6/R-A2)"
29
+ # obligation: line 41
30
+ obligation_frequency: "per-edit"
29
31
  ---
30
32
 
31
33
  # Scale Discipline
@@ -27,6 +27,8 @@ enforced_by:
27
27
  - "validator:src/scripts/check_secret_leak.ts"
28
28
  collision_ok:
29
29
  "commit": "committing is the credential-leak moment this guard exists for"
30
+ # obligation: line 43
31
+ obligation_frequency: "per-edit"
30
32
  ---
31
33
 
32
34
  # Secret-in-VCS Guard
@@ -26,6 +26,8 @@ enforced_by:
26
26
  - "none"
27
27
  collision_ok:
28
28
  "tenant": "tenancy is a threat-model-before-edit surface"
29
+ # obligation: line 36
30
+ obligation_frequency: "per-edit"
29
31
  ---
30
32
 
31
33
  # Security-Sensitive Stop Rule
@@ -25,6 +25,8 @@ collision_ok:
25
25
  "implement": "implementation = the invisible-controls checklist"
26
26
  "endpoint": "endpoint row of the surface-to-controls table"
27
27
  "component": "component work = generalize + reuse duty"
28
+ # obligation: line 69
29
+ obligation_frequency: "per-edit"
28
30
  ---
29
31
 
30
32
  # Senior Engineering Discipline
@@ -12,6 +12,11 @@ workspaces: [agent-config-maintainer, construction, engineering, finance, founde
12
12
  packs: [meta]
13
13
  enforced_by:
14
14
  - "hook:session-canary"
15
+ # obligation: line 31
16
+ obligation_frequency: "per-task"
17
+ # frequency-override: the per-turn phrases in the body describe the CARRIER
18
+ # (a per-turn beat is the closest reachable cover for a per-task obligation),
19
+ # not the obligation itself, which is still the first reply of each new task.
15
20
  collision_ok:
16
21
  "canary_name": "this rule owns what the NAME does once set and which of the three layers already supplies it; settings-ask-protocol owns how it is asked for and where the answer goes"
17
22
  ---
@@ -69,25 +74,62 @@ name it and suggest a fresh session or `/agent-handoff`, per
69
74
  - The greeting never substitutes for substance — it prefixes the answer, it is
70
75
  not the answer.
71
76
 
72
- ## Enforcement — per session, NOT per task
73
-
74
- > **Enforced by:** [`scripts/session_canary_hook.ts`](../../scripts/session_canary_hook.ts)
75
- > (`session_start`, all hook-capable hosts) — injects the `<session-canary>`
76
- > contract block into every new session, so a fresh conversation cannot start
77
- > without it. **Copilot fallback:** no hook surface — this rule is the only
78
- > carrier; re-read it when the trigger fires.
79
-
80
- **The gap, stated because it was measured.** The injection fires on
81
- `session_start`; the obligation is per *task*. Nothing re-injects at a task
82
- boundary, so from the second task on the contract is model-carried.
83
-
84
- Conformance audit, 30 sessions, 2026-08-06: opening canary dropped on ~13 of 15
85
- task starts, often present only in the closing summary, twice carrying a name
86
- the settings chain did not resolve; the honesty clause fired zero times. No
87
- per-task gate ships — the audit found no harm beyond the lost signal, and a
88
- mechanism for a signal whose absence nobody acted on has no failure mode to
89
- match. The consequence stands: this canary cannot currently be relied on as the
90
- degradation detector its own rationale describes.
77
+ ## Enforcement — per turn, which is the closest reachable cover for per task
78
+
79
+ > **Enforced by:** [`scripts/session_canary_hook.ts`](../../scripts/session_canary_hook.ts),
80
+ > bound in **two** slots. `session_start` injects the full `<session-canary>`
81
+ > contract once, so a fresh conversation cannot start without it.
82
+ > `user_prompt_submit` injects a one-line beat every turn, which is what
83
+ > actually reaches a task boundary.
84
+
85
+ **Why two slots, and why not one.** The obligation is per *task*. No host has a
86
+ per-task slot — Cline maps `TaskStart`/`TaskResume` onto `session_start`, and
87
+ Claude Code has no task event at all — so "move the carrier to the right slot"
88
+ was never available. Per-turn is a strict superset of per-task and is reachable,
89
+ which is the whole argument: over-firing a greeting is a visible, cheap failure;
90
+ under-firing is the silent one. The full contract stays at session scope because
91
+ re-injecting ~800 characters every turn would buy the same coverage at roughly
92
+ 40× the tokens over a long session.
93
+
94
+ **What that fixed, stated because it was measured.** Conformance audit, 30
95
+ sessions, 2026-08-06, under session-scope-only injection: opening canary dropped
96
+ on ~13 of 15 task starts, often present only in the closing summary, twice
97
+ carrying a name the settings chain did not resolve; the honesty clause fired
98
+ zero times. The frequency join in `check_enforcement_coverage.ts` now reports the
99
+ carrier as covering the obligation — which is a claim about firing, not about
100
+ compliance.
101
+
102
+ **What the second audit found: the carrier fires and compliance did not
103
+ follow.** Conformance round 5, 2026-08-07, reading the five highest-turn
104
+ sessions with the carrier bound per turn: opening canary dropped on **24 of 29**
105
+ task starts, the honesty clause fired **0** times, and the wrong name was
106
+ emitted **twice** — "Mathias", which resolves from no layer of the chain
107
+ (`identity.name` is `Matze`, `git config user.name` is `matze4u`), i.e. inferred
108
+ from the ambient environment rather than read from settings. 24/29 against the
109
+ earlier 13/15 is not a fall, and the two windows are not identical, so they are
110
+ stated side by side rather than as a trend — but nothing here supports the claim
111
+ that the miss rate moved. A reminder in context is therefore not a mechanism for
112
+ this obligation: at higher frequency it is the same request, more often.
113
+
114
+ **What the next mechanism has to be.** Not another injection. It has to be able
115
+ to **refuse** — a check at delivery (`stop` is block-capable on this host, so a
116
+ refused turn-end continues in the same turn) that rejects a task-start reply
117
+ carrying no greeting. Proposed, not shipped; until it is, this obligation is
118
+ model-carried in practice, whatever the frequency join reports.
119
+
120
+ **The wrong-name half needs nothing, and that is worth stating.** The beat
121
+ already carries the resolved value — `build_canary_reminder` emits
122
+ `Canary active for "<name>"`, and the hook no-ops when no layer resolves a name —
123
+ and both wrong-name occurrences predate it: 2026-08-04, where the per-turn beat
124
+ landed 2026-08-06. The inference path they measure is already closed, so a third
125
+ audit should not re-open it.
126
+
127
+ **Two declared gaps, neither papered over.** On **Augment** there is no
128
+ `user_prompt_submit` slot; its `stop` fires *after* the reply, so injecting
129
+ there could not shape the reply the reminder is for, and counting it would be
130
+ exactly the over-credit the frequency audit exists to remove. Augment therefore
131
+ reports as an open gap rather than as covered. **Copilot** has no hook surface at
132
+ all — this rule is the only carrier there; re-read it when the trigger fires.
91
133
 
92
134
  ## See also
93
135
 
@@ -25,6 +25,10 @@ enforced_by:
25
25
  - "none"
26
26
  collision_ok:
27
27
  "canary_name": "the nickname ask is this protocol's canonical B-class instance — session-canary owns what the NAME then does and which layers already supply it, this rule owns how it is asked for and where the answer goes"
28
+ # obligation: line 39
29
+ obligation_frequency: "per-task"
30
+ # frequency-override: the per-turn phrase at line 175 is a See-also cross-reference to
31
+ # ask-when-uncertain's rule, not this rule's own obligation, which is per command execution.
28
32
  ---
29
33
 
30
34
  # Settings-Ask Protocol
@@ -5,6 +5,8 @@ description: "Creating or editing rules, skills, commands, guidelines, AGENTS.md
5
5
  alwaysApply: false
6
6
  workspaces: [agent-config-maintainer]
7
7
  packs: [meta]
8
+ # obligation: line 21
9
+ obligation_frequency: "per-edit"
8
10
  ---
9
11
 
10
12
  # size-enforcement
@@ -10,6 +10,8 @@ routes_to:
10
10
  - "skill:skill-improvement-pipeline"
11
11
  workspaces: [agent-config-maintainer, engineering]
12
12
  packs: [meta]
13
+ # obligation: line 17
14
+ obligation_frequency: "per-task"
13
15
  ---
14
16
 
15
17
  # Skill Improvement Trigger
@@ -12,6 +12,8 @@ enforced_by:
12
12
  - "validator:src/scripts/skill_linter.ts"
13
13
  collision_ok:
14
14
  "src/skills/": "every skill edit passes the executable-quality floor"
15
+ # obligation: line 14
16
+ obligation_frequency: "per-edit"
15
17
  ---
16
18
 
17
19
  # Skill Quality
@@ -11,6 +11,8 @@ routes_to:
11
11
  - "skill:command-routing"
12
12
  workspaces: [agent-config-maintainer, construction, engineering, finance, founder, gtm, legal-review-prep, ops, product, small-business]
13
13
  packs: [meta]
14
+ # obligation: line 18
15
+ obligation_frequency: "per-turn"
14
16
  ---
15
17
 
16
18
  # Slash Command Routing Policy
@@ -23,6 +23,8 @@ collision_ok:
23
23
  "src/skills/": "skill prose must not name derivation sources"
24
24
  "src/rules/": "rule prose must not name derivation sources"
25
25
  "agents/roadmaps/": "harvest/comparison roadmaps stay anonymized"
26
+ # obligation: line 46
27
+ obligation_frequency: "per-edit"
26
28
  ---
27
29
 
28
30
  # Source Confidentiality
@@ -20,6 +20,8 @@ packs: [engineering-base]
20
20
  collision_ok:
21
21
  "endpoint": "an unconfirmed endpoint shape needs evidence before code"
22
22
  "schema": "a DB schema is the canonical structure to verify from a real source"
23
+ # obligation: line 44
24
+ obligation_frequency: "per-edit"
23
25
  ---
24
26
 
25
27
  # Source Discovery — evidence before structure
@@ -16,6 +16,8 @@ enforced_by:
16
16
  - "validator:src/scripts/check_condensation.ts"
17
17
  collision_ok:
18
18
  ".augment/": "the projection is read-only — edits belong in src/"
19
+ # obligation: line 44
20
+ obligation_frequency: "per-edit"
19
21
  ---
20
22
 
21
23
  # Source of Truth
@@ -14,6 +14,8 @@ workspaces:
14
14
  - finance
15
15
  packs:
16
16
  - finance-basic
17
+ # obligation: line 49
18
+ obligation_frequency: "per-edit"
17
19
  ---
18
20
 
19
21
  # Spreadsheet Source Quality
@@ -35,6 +35,8 @@ trust:
35
35
  human_review_required: true
36
36
  collision_ok:
37
37
  "category": "'category' is positioning vocabulary (category design) in the strategy pack"
38
+ # obligation: line 55
39
+ obligation_frequency: "per-task"
38
40
  ---
39
41
  <!-- agent-config:human-review-banner -->
40
42
  > HUMAN REVIEW REQUIRED · trust: advisory · owner: unknown
@@ -16,6 +16,8 @@ trust:
16
16
  install:
17
17
  default: false
18
18
  removable: true
19
+ # obligation: line 23
20
+ obligation_frequency: "none"
19
21
  ---
20
22
 
21
23
  # Symfony Routing
@@ -22,6 +22,8 @@ collision_ok:
22
22
  "implement": "analyze-first floor on any implementation"
23
23
  "debug": "targeted inspection over brute force while debugging"
24
24
  "fix": "no blind trial-and-error on fixes — max 2 retries"
25
+ # obligation: line 50
26
+ obligation_frequency: "per-edit"
25
27
  ---
26
28
 
27
29
  # think-before-action
@@ -8,6 +8,8 @@ triggers:
8
8
  self_contained: true
9
9
  workspaces: [agent-config-maintainer]
10
10
  packs: [meta]
11
+ # obligation: line 43
12
+ obligation_frequency: "per-edit"
11
13
  ---
12
14
 
13
15
  # Token Budget Discipline
@@ -11,6 +11,8 @@ triggers:
11
11
  self_contained: true
12
12
  workspaces: [agent-config-maintainer, construction, engineering, finance, founder, gtm, legal-review-prep, ops, product, small-business]
13
13
  packs: [meta]
14
+ # obligation: line 21
15
+ obligation_frequency: "per-edit"
14
16
  ---
15
17
 
16
18
  # Token Efficiency
@@ -19,6 +19,8 @@ workspaces: [agent-config-maintainer]
19
19
  packs: [meta]
20
20
  enforced_by:
21
21
  - "validator:src/scripts/check_token_optimizer_freshness.ts"
22
+ # obligation: line 29
23
+ obligation_frequency: "per-commit"
22
24
  ---
23
25
 
24
26
  # Token Optimizer Maintenance
@@ -10,6 +10,8 @@ workspaces: [agent-config-maintainer, engineering]
10
10
  packs: [meta]
11
11
  enforced_by:
12
12
  - "validator:src/scripts/lint_agent_security.ts"
13
+ # obligation: line 19
14
+ obligation_frequency: "per-edit"
13
15
  ---
14
16
 
15
17
  # Tool Safety
@@ -14,11 +14,15 @@ routes_to:
14
14
  - "skill:typography-system"
15
15
  workspaces: [agent-config-maintainer, engineering]
16
16
  packs: [frontend-design]
17
+ enforced_by:
18
+ - "none"
17
19
  collision_ok:
18
20
  "component": "no new component without audit findings — its core subject"
19
21
  "design token": "same surface, opposite side: this inventories tokens before the write, design-review-after-ui-write reviews what the write emitted"
20
22
  "resources/views/": "both halves of one UI loop fire on the same path — audit before, review after; neither substitutes for the other"
21
23
  "resources/js/": "both halves of one UI loop fire on the same path — audit before, review after; neither substitutes for the other"
24
+ # obligation: line 39
25
+ obligation_frequency: "per-edit"
22
26
  ---
23
27
 
24
28
  # UI Audit Gate
@@ -19,6 +19,8 @@ workspaces: [engineering]
19
19
  packs: [engineering-base]
20
20
  enforced_by:
21
21
  - "none"
22
+ # obligation: line 38
23
+ obligation_frequency: "per-event"
22
24
  ---
23
25
 
24
26
  <!-- security-lint: allow instruction-smuggling "defense rule: quotes role-takeover phrases (ignore previous instructions, you are now, <IMPORTANT>) to teach refusal" -->
@@ -10,6 +10,8 @@ routes_to:
10
10
  - "skill:upstream-contribute"
11
11
  workspaces: [agent-config-maintainer, engineering]
12
12
  packs: [meta]
13
+ # obligation: line 17
14
+ obligation_frequency: "per-task"
13
15
  ---
14
16
 
15
17
  # Upstream Proposal
@@ -13,6 +13,8 @@ triggers:
13
13
  self_contained: true
14
14
  workspaces: [agent-config-maintainer, construction, engineering, finance, founder, gtm, legal-review-prep, ops, product, small-business]
15
15
  packs: [meta]
16
+ # obligation: line 40
17
+ obligation_frequency: "per-turn"
16
18
  ---
17
19
 
18
20
  # User Interaction
@@ -18,6 +18,8 @@ load_context:
18
18
  self_contained: true
19
19
  workspaces: [agent-config-maintainer, construction, engineering, finance, founder, gtm, legal-review-prep, ops, product, small-business]
20
20
  packs: [meta]
21
+ # obligation: line 38
22
+ obligation_frequency: "per-turn"
21
23
  ---
22
24
 
23
25
  # User-Interrupt Priority
@@ -39,7 +39,7 @@ schema_version: 1
39
39
  # CI guard: a release bump of `package.json` must update this value
40
40
  # in lockstep — see scripts/check_template_pin_drift.ts (road-to-
41
41
  # portable-runtime-and-update-check P3.3).
42
- agent_config_version: "9.26.0"
42
+ agent_config_version: "9.27.0"
43
43
 
44
44
  # --- Project identity ---
45
45
  project:
@@ -52,6 +52,8 @@ export const REGISTRY = [
52
52
  { name: 'mcp:run', disposition: 'delegate', synopsis: 'Run the built-in MCP server over stdio (experimental).' },
53
53
  { name: 'mcp-server', disposition: 'native', synopsis: 'Turnkey read-only stdio MCP server over the bundled content (no repo clone; ADR-085).' },
54
54
  { name: 'use', disposition: 'delegate', synopsis: 'Switch the active experience/profile (writes profile.id).' },
55
+ { name: 'sessions:list', disposition: 'delegate', synopsis: 'List live agent sessions on this repository (shared session register).' },
56
+ { name: 'sessions:claim', disposition: 'delegate', synopsis: 'Claim a roadmap for this session so other sessions skip it; --release clears it.' },
55
57
  { name: 'roadmap:progress', disposition: 'delegate', synopsis: 'Regenerate agents/roadmaps-progress.md from open roadmaps.' },
56
58
  { name: 'roadmap:progress-check', disposition: 'delegate', synopsis: 'Fail if agents/roadmaps-progress.md is stale (for CI).' },
57
59
  { name: 'roadmap:archive', disposition: 'delegate', synopsis: 'Archive completed roadmaps (PR-gate sweep).' },
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/cli/registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAWH,MAAM,CAAC,MAAM,QAAQ,GAA4B;IAC7C,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,iFAAiF,EAAE;IACtI,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,8BAA8B,EAAE;IACnF,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,kCAAkC,EAAE;IAC3F,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,oCAAoC,EAAE;IACzF,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,E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AAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,iEAAiE,EAAE;IACtI,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,oGAAoG,EAAE;IAChK,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,qDAAqD,EAAE;IACtH,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,yDAAyD,EAAE;IAC1H,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,sDAAsD,EAAE;IACvH,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,wDAAwD,EAAE;IACzH,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,mDAAmD,EAAE;IAC/G,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,uDAAuD,EAAE;IACtH,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,4FAA4F,EAAE;CAChJ,CAAC;AAEX,MAAM,UAAU,WAAW,CAAC,IAAY;IACpC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,IAAY;IACjC,OAAO,WAAW,CAAC,IAAI,CAAC,EAAE,WAAW,KAAK,QAAQ,CAAC;AACvD,CAAC"}
@@ -801,7 +801,7 @@ function unwrapRef(root) {
801
801
  function flattenSurface(schema, version) {
802
802
  const entries = {};
803
803
  const walk = (node, prefix) => {
804
- if (node.type === "object" && node.properties !== void 0) {
804
+ if (node.type === "object" && node.properties !== void 0 && Object.keys(node.properties).length > 0) {
805
805
  for (const key of Object.keys(node.properties).sort()) {
806
806
  const child = node.properties[key];
807
807
  walk(child, prefix === "" ? key : `${prefix}.${key}`);