@event4u/agent-config 9.23.0 → 9.25.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 (52) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +82 -0
  3. package/README.md +2 -2
  4. package/dist/agent-src/commands/agent-handoff.md +10 -3
  5. package/dist/agent-src/commands/analyze/conformance.md +182 -0
  6. package/dist/agent-src/commands/analyze/inbox.md +221 -0
  7. package/dist/agent-src/commands/analyze.md +4 -3
  8. package/dist/agent-src/commands/pr/create.md +6 -6
  9. package/dist/agent-src/rules/context-hygiene.md +3 -0
  10. package/dist/agent-src/rules/decision-revisit-gate.md +2 -0
  11. package/dist/agent-src/rules/evaluator-independence.md +105 -0
  12. package/dist/agent-src/rules/session-canary.md +13 -1
  13. package/dist/agent-src/rules/user-interaction.md +22 -0
  14. package/dist/agent-src/skills/finishing-a-development-branch/SKILL.md +1 -1
  15. package/dist/agent-src/skills/rule-writing/SKILL.md +45 -0
  16. package/dist/agent-src/skills/skill-writing/SKILL.md +114 -0
  17. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  18. package/dist/cli/registry.js +1 -0
  19. package/dist/cli/registry.js.map +1 -1
  20. package/dist/discovery/deprecation-report.md +1 -1
  21. package/dist/discovery/discovery-manifest.json +96 -22
  22. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  23. package/dist/discovery/discovery-manifest.summary.md +4 -4
  24. package/dist/discovery/orphan-report.md +1 -1
  25. package/dist/discovery/packs.json +11 -8
  26. package/dist/discovery/trust-report.md +3 -3
  27. package/dist/discovery/workspaces.json +9 -6
  28. package/dist/hooks/dispatch.js +1026 -328
  29. package/dist/mcp/registry-manifest.json +2 -2
  30. package/dist/mcp/server.json +2 -2
  31. package/dist/router.json +1 -1
  32. package/package.json +1 -1
  33. package/src/config/evaluator-budgets.json +68 -68
  34. package/src/config/gate-coverage.yml +103 -5
  35. package/src/config/gate-violation-baselines.json +11 -6
  36. package/src/scripts/_dispatch.bash +12 -0
  37. package/src/scripts/before_complete_hook.ts +127 -5
  38. package/src/scripts/check_depth_budget.ts +295 -0
  39. package/src/scripts/conformance_scan.ts +392 -0
  40. package/src/scripts/git_authorization_hook.ts +263 -0
  41. package/src/scripts/hook_manifest.yaml +50 -9
  42. package/src/scripts/hooks/block_unauthorized_git.ts +254 -0
  43. package/src/scripts/hooks/concern_registry.ts +8 -0
  44. package/src/scripts/hooks/evidence_independence.ts +334 -0
  45. package/src/scripts/language_mirror_hook.ts +267 -0
  46. package/src/scripts/lint_decision_impact.ts +246 -0
  47. package/src/scripts/lint_example_fences.ts +609 -0
  48. package/src/scripts/lint_rule_interactions.ts +90 -0
  49. package/src/scripts/lint_rule_migration_ledger.ts +480 -0
  50. package/src/scripts/lint_skill_descriptions.ts +86 -2
  51. package/src/scripts/measure_rule_absoluta.ts +231 -0
  52. package/src/scripts/schemas/rule.schema.json +10 -0
@@ -283,7 +283,7 @@
283
283
  },
284
284
  {
285
285
  "category": "command",
286
- "checksum": "sha256:43f9c059a7126d30ab61ce4fc2f004763a89d8f54f7f091f8cf6e5c7f0673633",
286
+ "checksum": "sha256:2ffba4311aab15137416d4db749e610a39b5268856f176e9a4fcea49743688f9",
287
287
  "install": {
288
288
  "default": true,
289
289
  "removable": false
@@ -303,7 +303,8 @@
303
303
  "analyze-decision",
304
304
  "analyze-near-miss",
305
305
  "analyze-incident",
306
- "analyze-reference-repo"
306
+ "analyze-reference-repo",
307
+ "analyze-inbox"
307
308
  ],
308
309
  "slug": "analyze",
309
310
  "tier": 1,
@@ -317,6 +318,32 @@
317
318
  "engineering"
318
319
  ]
319
320
  },
321
+ {
322
+ "category": "command",
323
+ "checksum": "sha256:f6ea1c60461f876ba60923af8e958829f6272163f5dd4ac220c4b9621bf9be71",
324
+ "install": {
325
+ "default": true,
326
+ "removable": false
327
+ },
328
+ "lifecycle": "active",
329
+ "name": "analyze-conformance",
330
+ "pack": "analysis-workbench",
331
+ "packs": [
332
+ "meta"
333
+ ],
334
+ "path": "src/domains/analysis-workbench/analyze/conformance/command.md",
335
+ "slug": "analyze-conformance",
336
+ "tier": 2,
337
+ "trust": {
338
+ "confidence": "high",
339
+ "human_review_required": false,
340
+ "level": "core"
341
+ },
342
+ "visibility": "internal",
343
+ "workspaces": [
344
+ "agent-config-maintainer"
345
+ ]
346
+ },
320
347
  {
321
348
  "category": "command",
322
349
  "checksum": "sha256:3f8bccf88557c015d0b1118a46bf0ccad06db154b068a7633d78b012eb0dcbc8",
@@ -343,6 +370,32 @@
343
370
  "engineering"
344
371
  ]
345
372
  },
373
+ {
374
+ "category": "command",
375
+ "checksum": "sha256:bf0dbbc48f556c93021988efc046982fbd84f053f37c1c99196ea39d9af33095",
376
+ "install": {
377
+ "default": true,
378
+ "removable": false
379
+ },
380
+ "lifecycle": "active",
381
+ "name": "analyze-inbox",
382
+ "pack": "analysis-workbench",
383
+ "packs": [
384
+ "meta"
385
+ ],
386
+ "path": "src/domains/analysis-workbench/analyze/inbox/command.md",
387
+ "slug": "analyze-inbox",
388
+ "tier": 2,
389
+ "trust": {
390
+ "confidence": "high",
391
+ "human_review_required": false,
392
+ "level": "core"
393
+ },
394
+ "visibility": "internal",
395
+ "workspaces": [
396
+ "agent-config-maintainer"
397
+ ]
398
+ },
346
399
  {
347
400
  "category": "command",
348
401
  "checksum": "sha256:f683932f0800d67218f4b6755754c642c771d5810df98673ada7b86b83b0e0cb",
@@ -2197,7 +2250,7 @@
2197
2250
  },
2198
2251
  {
2199
2252
  "category": "command",
2200
- "checksum": "sha256:5761308d6ef9e22fcf889050bd2227d8fcc13a27ab0434e9285feca267bbb7fe",
2253
+ "checksum": "sha256:a0f4f127de5049d9f71402376fff6ae28e54d5ff5dfa33fdf0a8a6340159abd9",
2201
2254
  "install": {
2202
2255
  "default": true,
2203
2256
  "removable": false
@@ -2520,7 +2573,7 @@
2520
2573
  },
2521
2574
  {
2522
2575
  "category": "command",
2523
- "checksum": "sha256:b1e06ef4c8daa3d3649d68920dbf2eb61db7057b367331a378a38cdbdf0f8f84",
2576
+ "checksum": "sha256:b718faefe3c50937e0b4851d26086d9aa8a9573c74e3e9fd371d2d0935acaa02",
2524
2577
  "install": {
2525
2578
  "default": true,
2526
2579
  "removable": false
@@ -5785,7 +5838,7 @@
5785
5838
  },
5786
5839
  {
5787
5840
  "category": "rule",
5788
- "checksum": "sha256:d961962cf4f303b5c2b61dc5ad5f58a7810cfc6c735ec1b971f1d31f8910709a",
5841
+ "checksum": "sha256:d95d6d4c55278fb84146975e05631e9d164b83c07d6ce7a8096f6775231be656",
5789
5842
  "install": {
5790
5843
  "default": true,
5791
5844
  "removable": false
@@ -5860,7 +5913,7 @@
5860
5913
  },
5861
5914
  {
5862
5915
  "category": "rule",
5863
- "checksum": "sha256:3630a218e7f928c1c17c8804fd38c08b6a2be9d52f6c3ad5bc63fd02c124fbb4",
5916
+ "checksum": "sha256:c305f5a0063acac5ad90a8e4c11fd0f7b47e9ca196a26beeed4ed17842541920",
5864
5917
  "install": {
5865
5918
  "default": true,
5866
5919
  "removable": false
@@ -6179,6 +6232,27 @@
6179
6232
  "engineering"
6180
6233
  ]
6181
6234
  },
6235
+ {
6236
+ "category": "rule",
6237
+ "checksum": "sha256:edab99f87aac51700feea58ccbeaa302f05e0cef3f98722554d77923c95ec854",
6238
+ "install": {
6239
+ "default": true,
6240
+ "removable": false
6241
+ },
6242
+ "lifecycle": "active",
6243
+ "packs": [
6244
+ "engineering-base"
6245
+ ],
6246
+ "path": "src/rules/evaluator-independence.md",
6247
+ "trust": {
6248
+ "confidence": "high",
6249
+ "human_review_required": false,
6250
+ "level": "core"
6251
+ },
6252
+ "workspaces": [
6253
+ "engineering"
6254
+ ]
6255
+ },
6182
6256
  {
6183
6257
  "category": "rule",
6184
6258
  "checksum": "sha256:9cedd43ca4968865ad9fd7a16dc3968c363af1e392e069ceae92cff4853890ae",
@@ -7368,7 +7442,7 @@
7368
7442
  },
7369
7443
  {
7370
7444
  "category": "rule",
7371
- "checksum": "sha256:225f449446957f2b77f4dbafd85a9a083e6901ffe7d6b45b16838190299e4544",
7445
+ "checksum": "sha256:a211053d14e3879d0c477550b65e58b98b292f2dd36535042679f53bd479ebfd",
7372
7446
  "install": {
7373
7447
  "default": true,
7374
7448
  "removable": false
@@ -7819,7 +7893,7 @@
7819
7893
  },
7820
7894
  {
7821
7895
  "category": "rule",
7822
- "checksum": "sha256:ce05e71497beed3a2c9ca73eca2b346d81f295b9c691afc2de6122fd4e6d4d14",
7896
+ "checksum": "sha256:7f004e61ffadbac1d10b72282a07f26e031c13f2a1693d4111b8a91c7028a32e",
7823
7897
  "install": {
7824
7898
  "default": true,
7825
7899
  "removable": false
@@ -9880,7 +9954,7 @@
9880
9954
  },
9881
9955
  {
9882
9956
  "category": "skill",
9883
- "checksum": "sha256:e84f735a4dd864b83659df6bcdf581daf2be48d9a01d0765b19936bfae000a9e",
9957
+ "checksum": "sha256:ae9fdce477b2cf79aa5f6bd9bb062692383ee56a0e9a6c7566cf37c7f7417e21",
9884
9958
  "install": {
9885
9959
  "default": true,
9886
9960
  "removable": false
@@ -13010,7 +13084,7 @@
13010
13084
  },
13011
13085
  {
13012
13086
  "category": "skill",
13013
- "checksum": "sha256:8e31ba9d6efb3beff58d0f5a70b17da12e28dd1521ecc7f87ca3e9e2f7ddb540",
13087
+ "checksum": "sha256:671eb67f32df15e5a7a8e937ca694da71fd325a62e1303b57fdcc05899458514",
13014
13088
  "install": {
13015
13089
  "default": true,
13016
13090
  "removable": false
@@ -13362,7 +13436,7 @@
13362
13436
  },
13363
13437
  {
13364
13438
  "category": "skill",
13365
- "checksum": "sha256:ad971a6d6b88f0f98f14ffaa4b68d3cb15d1600e2a3899319017f4c3662e0748",
13439
+ "checksum": "sha256:b2e8847e0acb03cad8c71f095d29d311ee76b4a11760ab9b21c5b07797b955df",
13366
13440
  "install": {
13367
13441
  "default": true,
13368
13442
  "removable": false
@@ -14259,7 +14333,7 @@
14259
14333
  "workspaces": []
14260
14334
  }
14261
14335
  ],
14262
- "checksum": "sha256:4a815bc9d2095c52b4e922686da9463ef535c33725d8ceac6287a60d8beb0e56",
14336
+ "checksum": "sha256:365dd2539fe6be7b4c77e533fbd0b89242d6590a481319187e64dd7e6a5e805e",
14263
14337
  "deprecations": [
14264
14338
  {
14265
14339
  "key": "tier",
@@ -14402,10 +14476,10 @@
14402
14476
  "reason": "scaffold template for ticket-bundle tickets (ADR-101); carries no runtime frontmatter — emit-tickets fills it in per ticket"
14403
14477
  }
14404
14478
  ],
14405
- "generated_at": "2026-08-06T04:46:29Z",
14479
+ "generated_at": "2026-08-06T09:20:14Z",
14406
14480
  "packs": [
14407
14481
  {
14408
- "artefact_count": 117,
14482
+ "artefact_count": 118,
14409
14483
  "description": "Framework-neutral engineering hygiene — git, tests, reviews.",
14410
14484
  "domain": "engineering",
14411
14485
  "human_review_required": 0,
@@ -14415,7 +14489,7 @@
14415
14489
  "trust_level_default": "core",
14416
14490
  "trust_summary": {
14417
14491
  "advisory": 0,
14418
- "core": 114,
14492
+ "core": 115,
14419
14493
  "experimental": 2,
14420
14494
  "professional": 1,
14421
14495
  "restricted": 0
@@ -15125,7 +15199,7 @@
15125
15199
  },
15126
15200
  {
15127
15201
  "always_on": true,
15128
- "artefact_count": 289,
15202
+ "artefact_count": 291,
15129
15203
  "description": "Artefacts that maintain this package (agent-config itself).",
15130
15204
  "domain": "meta",
15131
15205
  "human_review_required": 0,
@@ -15141,7 +15215,7 @@
15141
15215
  "trust_level_default": "core",
15142
15216
  "trust_summary": {
15143
15217
  "advisory": 0,
15144
- "core": 287,
15218
+ "core": 289,
15145
15219
  "experimental": 2,
15146
15220
  "professional": 0,
15147
15221
  "restricted": 0
@@ -15232,27 +15306,27 @@
15232
15306
  "scanner_version": "c24312e116f8",
15233
15307
  "stats": {
15234
15308
  "by_category": {
15235
- "command": 193,
15236
- "rule": 111,
15309
+ "command": 195,
15310
+ "rule": 112,
15237
15311
  "skill": 288,
15238
15312
  "subagent": 1,
15239
15313
  "template": 1
15240
15314
  },
15241
15315
  "by_lifecycle": {
15242
- "active": 577,
15316
+ "active": 580,
15243
15317
  "archived": 0,
15244
15318
  "deprecated": 0,
15245
15319
  "experimental": 17
15246
15320
  },
15247
15321
  "by_trust_level": {
15248
15322
  "advisory": 8,
15249
- "core": 462,
15323
+ "core": 465,
15250
15324
  "experimental": 22,
15251
15325
  "professional": 102,
15252
15326
  "restricted": 0
15253
15327
  },
15254
15328
  "documented_unassigned_count": 26,
15255
- "total_artefacts": 594,
15329
+ "total_artefacts": 597,
15256
15330
  "unassigned_count": 0
15257
15331
  },
15258
15332
  "unassigned": [],
@@ -1 +1 @@
1
- 1626a243f6c3ec9dcaf68057bec46f5c3a3a78921b0b50995a8b1996ec66b242 discovery-manifest.json
1
+ a7b616cdd0849d79e30085a8a87b61716d1274cf866f4b69d5b84fa21250545e discovery-manifest.json
@@ -1,8 +1,8 @@
1
1
  # Discovery Manifest — Summary
2
2
 
3
- - Generated: `2026-08-06T04:46:29Z`
3
+ - Generated: `2026-08-06T09:20:14Z`
4
4
  - Scanner: `c24312e116f8`
5
- - Artefacts: **594**
5
+ - Artefacts: **597**
6
6
  - Unassigned: **0**
7
7
 
8
8
  ## `engineering` — Engineering
@@ -11,7 +11,7 @@
11
11
 
12
12
  | Pack | Artefacts |
13
13
  |---|---|
14
- | `engineering-base` — Engineering Base | 117 |
14
+ | `engineering-base` — Engineering Base | 118 |
15
15
  | `git` — Git | 4 |
16
16
  | `php` — PHP | 6 |
17
17
  | `laravel` — Laravel | 25 |
@@ -105,7 +105,7 @@
105
105
 
106
106
  | Pack | Artefacts |
107
107
  |---|---|
108
- | `meta` — Meta | 289 |
108
+ | `meta` — Meta | 291 |
109
109
  | `memory` — Memory | 9 |
110
110
  | `analytics` — Analytics | 4 |
111
111
  | `product-reasoning` — Product Reasoning | 11 |
@@ -1,6 +1,6 @@
1
1
  # Discovery — Orphan Report
2
2
 
3
- - Generated: `2026-08-06T04:46:29Z`
3
+ - Generated: `2026-08-06T09:20:14Z`
4
4
  - Orphan artefacts: **0**
5
5
 
6
6
  > An orphan is an artefact whose declared pack has no other members.
@@ -1,10 +1,10 @@
1
1
  {
2
- "checksum": "sha256:4a815bc9d2095c52b4e922686da9463ef535c33725d8ceac6287a60d8beb0e56",
3
- "generated_at": "2026-08-06T04:46:29Z",
2
+ "checksum": "sha256:365dd2539fe6be7b4c77e533fbd0b89242d6590a481319187e64dd7e6a5e805e",
3
+ "generated_at": "2026-08-06T09:20:14Z",
4
4
  "packs": [
5
5
  {
6
6
  "always_on": false,
7
- "artefact_count": 117,
7
+ "artefact_count": 118,
8
8
  "artefacts": [
9
9
  "src/domains/engineering-base/mission/upgrade/command.md",
10
10
  "src/rules/active-remediation.md",
@@ -19,6 +19,7 @@
19
19
  "src/rules/docker-commands.md",
20
20
  "src/rules/downstream-changes.md",
21
21
  "src/rules/engineering-safety-floor.md",
22
+ "src/rules/evaluator-independence.md",
22
23
  "src/rules/git-history-discipline.md",
23
24
  "src/rules/improve-before-implement.md",
24
25
  "src/rules/lethal-trifecta-guard.md",
@@ -125,14 +126,14 @@
125
126
  "src/skills/worktree-lifecycle/SKILL.md"
126
127
  ],
127
128
  "by_lifecycle": {
128
- "active": 115,
129
+ "active": 116,
129
130
  "archived": 0,
130
131
  "deprecated": 0,
131
132
  "experimental": 2
132
133
  },
133
134
  "by_trust_level": {
134
135
  "advisory": 0,
135
- "core": 114,
136
+ "core": 115,
136
137
  "experimental": 2,
137
138
  "professional": 1,
138
139
  "restricted": 0
@@ -1313,7 +1314,7 @@
1313
1314
  },
1314
1315
  {
1315
1316
  "always_on": true,
1316
- "artefact_count": 289,
1317
+ "artefact_count": 291,
1317
1318
  "artefacts": [
1318
1319
  "src/agent-src/templates/agents/proposal.example.md",
1319
1320
  "src/domains/ai-video/image/analyse/command.md",
@@ -1326,6 +1327,8 @@
1326
1327
  "src/domains/ai-video/video/scene/command.md",
1327
1328
  "src/domains/ai-video/video/stitch/command.md",
1328
1329
  "src/domains/ai-video/video/storyboard/command.md",
1330
+ "src/domains/analysis-workbench/analyze/conformance/command.md",
1331
+ "src/domains/analysis-workbench/analyze/inbox/command.md",
1329
1332
  "src/domains/analysis-workbench/analyze/reference-repo/command.md",
1330
1333
  "src/domains/engineering-base/bug/command.md",
1331
1334
  "src/domains/engineering-base/bug/fix/command.md",
@@ -1606,14 +1609,14 @@
1606
1609
  "src/skills/verify-repair-loop/SKILL.md"
1607
1610
  ],
1608
1611
  "by_lifecycle": {
1609
- "active": 288,
1612
+ "active": 290,
1610
1613
  "archived": 0,
1611
1614
  "deprecated": 0,
1612
1615
  "experimental": 1
1613
1616
  },
1614
1617
  "by_trust_level": {
1615
1618
  "advisory": 0,
1616
- "core": 287,
1619
+ "core": 289,
1617
1620
  "experimental": 2,
1618
1621
  "professional": 0,
1619
1622
  "restricted": 0
@@ -1,6 +1,6 @@
1
1
  # Discovery — Trust Report
2
2
 
3
- - Generated: `2026-08-06T04:46:29Z`
3
+ - Generated: `2026-08-06T09:20:14Z`
4
4
  - Workspaces tracked: **10**
5
5
  - Human-review-required artefacts: **3**
6
6
 
@@ -8,9 +8,9 @@
8
8
 
9
9
  | Workspace | core | professional | experimental | advisory | restricted |
10
10
  |---|---|---|---|---|---|
11
- | `agent-config-maintainer` | 318 | 0 | 3 | 0 | 0 |
11
+ | `agent-config-maintainer` | 320 | 0 | 3 | 0 | 0 |
12
12
  | `construction` | 25 | 0 | 0 | 0 | 0 |
13
- | `engineering` | 180 | 62 | 3 | 0 | 0 |
13
+ | `engineering` | 181 | 62 | 3 | 0 | 0 |
14
14
  | `finance` | 28 | 4 | 0 | 1 | 0 |
15
15
  | `founder` | 32 | 0 | 1 | 1 | 0 |
16
16
  | `gtm` | 30 | 13 | 1 | 0 | 0 |
@@ -1,10 +1,10 @@
1
1
  {
2
- "checksum": "sha256:4a815bc9d2095c52b4e922686da9463ef535c33725d8ceac6287a60d8beb0e56",
3
- "generated_at": "2026-08-06T04:46:29Z",
2
+ "checksum": "sha256:365dd2539fe6be7b4c77e533fbd0b89242d6590a481319187e64dd7e6a5e805e",
3
+ "generated_at": "2026-08-06T09:20:14Z",
4
4
  "scanner_version": "c24312e116f8",
5
5
  "workspaces": [
6
6
  {
7
- "artefact_count": 199,
7
+ "artefact_count": 200,
8
8
  "default_packs": [
9
9
  "engineering-base",
10
10
  "git"
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "packs": [
31
31
  {
32
- "artefact_count": 117,
32
+ "artefact_count": 118,
33
33
  "artefacts": [
34
34
  "src/domains/engineering-base/mission/upgrade/command.md",
35
35
  "src/rules/active-remediation.md",
@@ -44,6 +44,7 @@
44
44
  "src/rules/docker-commands.md",
45
45
  "src/rules/downstream-changes.md",
46
46
  "src/rules/engineering-safety-floor.md",
47
+ "src/rules/evaluator-independence.md",
47
48
  "src/rules/git-history-discipline.md",
48
49
  "src/rules/improve-before-implement.md",
49
50
  "src/rules/lethal-trifecta-guard.md",
@@ -623,7 +624,7 @@
623
624
  ]
624
625
  },
625
626
  {
626
- "artefact_count": 313,
627
+ "artefact_count": 315,
627
628
  "default_packs": [
628
629
  "meta",
629
630
  "memory",
@@ -636,7 +637,7 @@
636
637
  "optional_packs": [],
637
638
  "packs": [
638
639
  {
639
- "artefact_count": 289,
640
+ "artefact_count": 291,
640
641
  "artefacts": [
641
642
  "src/agent-src/templates/agents/proposal.example.md",
642
643
  "src/domains/ai-video/image/analyse/command.md",
@@ -649,6 +650,8 @@
649
650
  "src/domains/ai-video/video/scene/command.md",
650
651
  "src/domains/ai-video/video/stitch/command.md",
651
652
  "src/domains/ai-video/video/storyboard/command.md",
653
+ "src/domains/analysis-workbench/analyze/conformance/command.md",
654
+ "src/domains/analysis-workbench/analyze/inbox/command.md",
652
655
  "src/domains/analysis-workbench/analyze/reference-repo/command.md",
653
656
  "src/domains/engineering-base/bug/command.md",
654
657
  "src/domains/engineering-base/bug/fix/command.md",