@event4u/agent-config 9.35.0 → 9.36.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 (78) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +61 -165
  3. package/dist/agent-src/commands/analyze/reference-repo.md +135 -42
  4. package/dist/agent-src/contexts/augment-infrastructure.md +1 -1
  5. package/dist/agent-src/rules/design-review-after-ui-write.md +53 -6
  6. package/dist/agent-src/rules/improve-before-implement.md +1 -1
  7. package/dist/agent-src/rules/ui-audit-gate.md +35 -0
  8. package/dist/agent-src/skills/design-system-capture/SKILL.md +2 -2
  9. package/dist/agent-src/skills/existing-ui-audit/SKILL.md +1 -1
  10. package/dist/agent-src/skills/fe-design/SKILL.md +84 -12
  11. package/dist/agent-src/skills/fe-design/evals/triggers.json +11 -3
  12. package/dist/agent-src/skills/prediction-pool-optimizer/SKILL.md +5 -5
  13. package/dist/agent-src/skills/react-shadcn-ui/SKILL.md +1 -1
  14. package/dist/agent-src/skills/skill-writing/SKILL.md +24 -0
  15. package/dist/agent-src/skills/subagent-orchestration/prompts/README.md +29 -0
  16. package/dist/agent-src/templates/AGENTS.md +1 -1
  17. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  18. package/dist/cli-delegate/{chunk-ZAXH3ZWU.js → chunk-JP53LNVT.js} +9 -0
  19. package/dist/cli-delegate/{chunk-736JCWLM.js → chunk-M2DPGFZ4.js} +10 -0
  20. package/dist/cli-delegate/{chunk-H6F2CQFI.js → chunk-NR7HSN3P.js} +2 -2
  21. package/dist/cli-delegate/{chunk-2TGMGLBL.js → chunk-SFGARMAB.js} +11 -1
  22. package/dist/cli-delegate/{chunk-DS6BLDMG.js → chunk-U7CMAIOC.js} +7 -2
  23. package/dist/cli-delegate/cmd_conformance.js +3 -3
  24. package/dist/cli-delegate/cmd_doctor.js +2 -2
  25. package/dist/cli-delegate/cmd_export.js +3 -3
  26. package/dist/cli-delegate/cmd_migrate.js +1 -1
  27. package/dist/cli-delegate/cmd_prune.js +3 -3
  28. package/dist/cli-delegate/cmd_refresh.js +1 -1
  29. package/dist/cli-delegate/cmd_session_recycle.js +8 -1
  30. package/dist/cli-delegate/cmd_settings_migrate.js +3 -3
  31. package/dist/cli-delegate/cmd_settings_set.js +1 -1
  32. package/dist/cli-delegate/cmd_sync.js +3 -3
  33. package/dist/cli-delegate/cmd_uninstall.js +3 -3
  34. package/dist/cli-delegate/cmd_upgrade.js +1 -1
  35. package/dist/cli-delegate/cmd_validate.js +3 -3
  36. package/dist/discovery/deprecation-report.md +1 -1
  37. package/dist/discovery/discovery-manifest.json +12 -12
  38. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  39. package/dist/discovery/discovery-manifest.summary.md +1 -1
  40. package/dist/discovery/dormancy-report.md +1 -1
  41. package/dist/discovery/orphan-report.md +1 -1
  42. package/dist/discovery/packs.json +2 -2
  43. package/dist/discovery/trust-report.md +1 -1
  44. package/dist/discovery/workspaces.json +2 -2
  45. package/dist/hooks/dispatch.js +530 -323
  46. package/dist/install/install.mjs +18 -4
  47. package/dist/mcp/registry-manifest.json +1 -1
  48. package/dist/mcp/server.json +2 -2
  49. package/dist/mcp/server.mjs +25 -5
  50. package/dist/router.json +1 -1
  51. package/dist/server/schemas/settings.js +5 -0
  52. package/dist/server/schemas/settings.js.map +1 -1
  53. package/docs/contracts/settings-classes.md +4 -2
  54. package/docs/guidelines/agent-infra/agent-interaction-and-decision-quality.md +46 -4
  55. package/package.json +2 -2
  56. package/src/agent-src/templates/AGENTS.md +1 -1
  57. package/src/config/agent-settings.template.yml +32 -0
  58. package/src/config/gate-coverage.yml +12 -0
  59. package/src/scripts/_cli/cmd_doctor.ts +32 -0
  60. package/src/scripts/_cli/cmd_migrate.ts +26 -3
  61. package/src/scripts/_cli/cmd_refresh.ts +29 -0
  62. package/src/scripts/_cli/cmd_session_recycle.ts +40 -2
  63. package/src/scripts/_lib/hook_settings.ts +79 -0
  64. package/src/scripts/_lib/ui_surface.ts +97 -0
  65. package/src/scripts/capture_skill_catalogue.ts +483 -0
  66. package/src/scripts/hook_manifest.yaml +18 -3
  67. package/src/scripts/hooks/concern_registry.ts +2 -0
  68. package/src/scripts/hooks/design_slop_hook.ts +1 -1
  69. package/src/scripts/hooks/ui_route_nudge_hook.ts +250 -0
  70. package/src/scripts/lint_roadmap_complexity.ts +60 -0
  71. package/src/scripts/lint_rule_skill_pack_reach.ts +263 -0
  72. package/src/scripts/report_consultation_rate.ts +358 -0
  73. package/src/scripts/report_skill_activation.ts +5 -1
  74. package/src/server/schemas/settings.ts +9 -0
  75. /package/dist/agent-src/skills/design-system-capture/{reference → references}/design-system-json.md +0 -0
  76. /package/dist/agent-src/skills/prediction-pool-optimizer/{reference → references}/ev-fixtures.md +0 -0
  77. /package/dist/agent-src/skills/prediction-pool-optimizer/{reference → references}/odds-and-bonus.md +0 -0
  78. /package/dist/agent-src/skills/react-shadcn-ui/{reference → references}/registry.md +0 -0
@@ -66,13 +66,13 @@ import {
66
66
  _wizard_state_path,
67
67
  main,
68
68
  shutilWhich
69
- } from "./chunk-2TGMGLBL.js";
69
+ } from "./chunk-SFGARMAB.js";
70
70
  import "./chunk-FTAISGDQ.js";
71
71
  import "./chunk-EJITJBJX.js";
72
72
  import "./chunk-Q26HT4QT.js";
73
73
  import "./chunk-55RI5UXK.js";
74
74
  import "./chunk-PZWRPRWP.js";
75
- import "./chunk-736JCWLM.js";
75
+ import "./chunk-M2DPGFZ4.js";
76
76
  import "./chunk-63WSP6YZ.js";
77
77
  import "./chunk-GRRPEPRN.js";
78
78
  import "./chunk-NXFWFAYV.js";
@@ -9,9 +9,9 @@ import {
9
9
  KIRO_MARKER,
10
10
  ROOCODE_MARKER,
11
11
  ZED_MARKER
12
- } from "./chunk-H6F2CQFI.js";
13
- import "./chunk-ZAXH3ZWU.js";
14
- import "./chunk-DS6BLDMG.js";
12
+ } from "./chunk-NR7HSN3P.js";
13
+ import "./chunk-JP53LNVT.js";
14
+ import "./chunk-U7CMAIOC.js";
15
15
  import "./chunk-BKO2AZ7Z.js";
16
16
  import "./chunk-63WSP6YZ.js";
17
17
  import "./chunk-GRRPEPRN.js";
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __acCreateRequire } from 'node:module'; const require = globalThis.require ?? __acCreateRequire(import.meta.url);
2
2
  import {
3
3
  main
4
- } from "./chunk-DS6BLDMG.js";
4
+ } from "./chunk-U7CMAIOC.js";
5
5
  import "./chunk-JEJABGKB.js";
6
6
  import "./chunk-NDJLNC6Q.js";
7
7
  import "./chunk-MCJYCQPF.js";
@@ -1,9 +1,9 @@
1
1
  import { createRequire as __acCreateRequire } from 'node:module'; const require = globalThis.require ?? __acCreateRequire(import.meta.url);
2
2
  import {
3
3
  PROJECT_BRIDGE_MARKERS
4
- } from "./chunk-H6F2CQFI.js";
5
- import "./chunk-ZAXH3ZWU.js";
6
- import "./chunk-DS6BLDMG.js";
4
+ } from "./chunk-NR7HSN3P.js";
5
+ import "./chunk-JP53LNVT.js";
6
+ import "./chunk-U7CMAIOC.js";
7
7
  import "./chunk-BKO2AZ7Z.js";
8
8
  import {
9
9
  manifest_path,
@@ -11,7 +11,7 @@ import {
11
11
  _sync_gitattributes,
12
12
  _sync_gitignore,
13
13
  main
14
- } from "./chunk-736JCWLM.js";
14
+ } from "./chunk-M2DPGFZ4.js";
15
15
  import "./chunk-MCJYCQPF.js";
16
16
  import "./chunk-J55WI3RR.js";
17
17
  export {
@@ -187,8 +187,15 @@ ${usage}
187
187
  return result.code;
188
188
  }
189
189
  function _isCliEntry() {
190
- if (true) return false;
190
+ const bundled = true;
191
+ const cliDelegate = true;
192
+ if (bundled && !cliDelegate) return false;
191
193
  if (process.argv[1] === void 0) return false;
194
+ if (cliDelegate) {
195
+ if (path.basename(process.argv[1], ".js") === "cmd_session_recycle") {
196
+ return true;
197
+ }
198
+ }
192
199
  if (import.meta.url === pathToFileURL(path.resolve(process.argv[1])).href) return true;
193
200
  try {
194
201
  return fs.realpathSync(fileURLToPath(import.meta.url)) === fs.realpathSync(path.resolve(process.argv[1]));
@@ -3,9 +3,9 @@ import {
3
3
  GLOBAL_AGENT_SETTINGS_PATH,
4
4
  GLOBAL_USER_SETTINGS_PATH,
5
5
  SETTINGS_FILE
6
- } from "./chunk-H6F2CQFI.js";
7
- import "./chunk-ZAXH3ZWU.js";
8
- import "./chunk-DS6BLDMG.js";
6
+ } from "./chunk-NR7HSN3P.js";
7
+ import "./chunk-JP53LNVT.js";
8
+ import "./chunk-U7CMAIOC.js";
9
9
  import "./chunk-BKO2AZ7Z.js";
10
10
  import "./chunk-63WSP6YZ.js";
11
11
  import "./chunk-GRRPEPRN.js";
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  external_exports,
13
13
  settingsSchema
14
- } from "./chunk-ZAXH3ZWU.js";
14
+ } from "./chunk-JP53LNVT.js";
15
15
  import {
16
16
  resolvePackageRoot
17
17
  } from "./chunk-MCJYCQPF.js";
@@ -1,9 +1,9 @@
1
1
  import { createRequire as __acCreateRequire } from 'node:module'; const require = globalThis.require ?? __acCreateRequire(import.meta.url);
2
2
  import {
3
3
  main
4
- } from "./chunk-H6F2CQFI.js";
5
- import "./chunk-ZAXH3ZWU.js";
6
- import "./chunk-DS6BLDMG.js";
4
+ } from "./chunk-NR7HSN3P.js";
5
+ import "./chunk-JP53LNVT.js";
6
+ import "./chunk-U7CMAIOC.js";
7
7
  import "./chunk-BKO2AZ7Z.js";
8
8
  import {
9
9
  manifest_path,
@@ -3,9 +3,9 @@ import {
3
3
  PROJECT_BRIDGE_MARKERS,
4
4
  USER_SCOPE_PATHS,
5
5
  subtract_pointers
6
- } from "./chunk-H6F2CQFI.js";
7
- import "./chunk-ZAXH3ZWU.js";
8
- import "./chunk-DS6BLDMG.js";
6
+ } from "./chunk-NR7HSN3P.js";
7
+ import "./chunk-JP53LNVT.js";
8
+ import "./chunk-U7CMAIOC.js";
9
9
  import "./chunk-BKO2AZ7Z.js";
10
10
  import {
11
11
  manifest_path,
@@ -13,7 +13,7 @@ import {
13
13
  _is_source_repo,
14
14
  install_cli_wrapper,
15
15
  needs_refresh
16
- } from "./chunk-736JCWLM.js";
16
+ } from "./chunk-M2DPGFZ4.js";
17
17
  import {
18
18
  read_lockfile
19
19
  } from "./chunk-GRRPEPRN.js";
@@ -3,9 +3,9 @@ import { createRequire as __acCreateRequire } from 'node:module'; const require
3
3
  import {
4
4
  PROJECT_BRIDGE_MARKERS,
5
5
  USER_SCOPE_PATHS
6
- } from "./chunk-H6F2CQFI.js";
7
- import "./chunk-ZAXH3ZWU.js";
8
- import "./chunk-DS6BLDMG.js";
6
+ } from "./chunk-NR7HSN3P.js";
7
+ import "./chunk-JP53LNVT.js";
8
+ import "./chunk-U7CMAIOC.js";
9
9
  import "./chunk-BKO2AZ7Z.js";
10
10
  import {
11
11
  manifest_path,
@@ -1,6 +1,6 @@
1
1
  # Discovery — Deprecation Report
2
2
 
3
- - Generated: `2026-08-12T02:34:16Z`
3
+ - Generated: `2026-08-12T07:41:46Z`
4
4
  - Deprecated artefacts: **0**
5
5
 
6
6
  _None. Tree is clean._
@@ -502,7 +502,7 @@
502
502
  },
503
503
  {
504
504
  "category": "command",
505
- "checksum": "sha256:a75452dcb2e6f928a44f11980e60f579d01e06f880bca4dbd6acb8a5289522cd",
505
+ "checksum": "sha256:5d7c5fee2c581f0bac976613d68846f0815eb324042d68689ab899d53d6995a2",
506
506
  "install": {
507
507
  "default": true,
508
508
  "removable": false
@@ -6035,7 +6035,7 @@
6035
6035
  },
6036
6036
  {
6037
6037
  "category": "rule",
6038
- "checksum": "sha256:22a865b19b8f7f7e460510e5d3a9ce8decb6c58bd0c188b29a0f3468cdc64e38",
6038
+ "checksum": "sha256:3afc1257be299ff922836ee19a960ebcfb3c2706ec3bff067389793b5a47d875",
6039
6039
  "install": {
6040
6040
  "default": true,
6041
6041
  "removable": false
@@ -6550,7 +6550,7 @@
6550
6550
  },
6551
6551
  {
6552
6552
  "category": "rule",
6553
- "checksum": "sha256:b9f5549ae2de6dce32a4c11cdeeadd3bbe1e0d915248d652ddfcd5a87b34be3a",
6553
+ "checksum": "sha256:ee71d4a682280951a1606304915caada5440c510911e92fc992fd3655b081b06",
6554
6554
  "install": {
6555
6555
  "default": true,
6556
6556
  "removable": false
@@ -7959,7 +7959,7 @@
7959
7959
  },
7960
7960
  {
7961
7961
  "category": "rule",
7962
- "checksum": "sha256:4f20c5c6b7bac086009d48d6038a97dad7f48d624057f37634f66e6f4a96f432",
7962
+ "checksum": "sha256:21a86ca5f04ecb38e42d1cecef3bfafc5995c0b7c4dc205394c46a914f202568",
7963
7963
  "install": {
7964
7964
  "default": true,
7965
7965
  "removable": false
@@ -9623,7 +9623,7 @@
9623
9623
  },
9624
9624
  {
9625
9625
  "category": "skill",
9626
- "checksum": "sha256:c89053f77af0eac6012f9b90f5d0ab82a2ccca910899ea02a8b70be334e4b0ea",
9626
+ "checksum": "sha256:e050018975a8460585590207f4a0962bccc4f2e78913f86902337034681fa5e2",
9627
9627
  "install": {
9628
9628
  "default": true,
9629
9629
  "removable": false
@@ -9975,7 +9975,7 @@
9975
9975
  },
9976
9976
  {
9977
9977
  "category": "skill",
9978
- "checksum": "sha256:94b0e3f8f3c40d05cb06fb6318b7b2432b55453791a2f70ed188e1a9a175b118",
9978
+ "checksum": "sha256:e9f54cd73fa67e1b701b27085a2c13b533837e762cfdc7f1a3d8563f0fb87e5b",
9979
9979
  "install": {
9980
9980
  "default": true,
9981
9981
  "removable": false
@@ -10019,7 +10019,7 @@
10019
10019
  },
10020
10020
  {
10021
10021
  "category": "skill",
10022
- "checksum": "sha256:ddc797b88e557c439290d860733e4ba93c9a8a4faa9d6741773a9f4391b4364c",
10022
+ "checksum": "sha256:6d4c04c24932121ca8d48b6d8842b3c1c86d1848fbd8f23fe110edd5f8628c98",
10023
10023
  "install": {
10024
10024
  "default": true,
10025
10025
  "removable": false
@@ -12357,7 +12357,7 @@
12357
12357
  },
12358
12358
  {
12359
12359
  "category": "skill",
12360
- "checksum": "sha256:f113676bdacbe7b7fe7a358b0576f3453fc8b55671fc1356a2506aa63ff68359",
12360
+ "checksum": "sha256:1624bafa3230f3630814687c79174e5736e3cc5ad9fe620550f0f4ba2d9e210e",
12361
12361
  "install": {
12362
12362
  "default": false,
12363
12363
  "removable": true
@@ -12775,7 +12775,7 @@
12775
12775
  },
12776
12776
  {
12777
12777
  "category": "skill",
12778
- "checksum": "sha256:d547a77483a8022c0a61d7efcb254e287e966ff4bf942e0155ca41824859a130",
12778
+ "checksum": "sha256:1c5ca38b10823165f13c1e344051f5b059b85180c8f7ecf1929fed8a5fb6f69b",
12779
12779
  "install": {
12780
12780
  "default": false,
12781
12781
  "removable": true
@@ -13589,7 +13589,7 @@
13589
13589
  },
13590
13590
  {
13591
13591
  "category": "skill",
13592
- "checksum": "sha256:1a3c1965abf5ebfbeac3b17142c0bc84a955156ea8fa2928c048aeb540ce8ff1",
13592
+ "checksum": "sha256:8e1e957c9f87bcb762ef0111542f2e74567fab8266c8668dab2602c92029a08e",
13593
13593
  "install": {
13594
13594
  "default": true,
13595
13595
  "removable": false
@@ -14486,7 +14486,7 @@
14486
14486
  "workspaces": []
14487
14487
  }
14488
14488
  ],
14489
- "checksum": "sha256:159444bbd668e7d4b686aca94807c2d7ad5d8c64353bf1fd6e823aafce085ef2",
14489
+ "checksum": "sha256:b855dbf5241bf4e947073425b15d98f0514a774c382fa202068a987deb90df71",
14490
14490
  "deprecations": [
14491
14491
  {
14492
14492
  "key": "tier",
@@ -14629,7 +14629,7 @@
14629
14629
  "reason": "scaffold template for ticket-bundle tickets (ADR-101); carries no runtime frontmatter — emit-tickets fills it in per ticket"
14630
14630
  }
14631
14631
  ],
14632
- "generated_at": "2026-08-12T02:34:16Z",
14632
+ "generated_at": "2026-08-12T07:41:46Z",
14633
14633
  "packs": [
14634
14634
  {
14635
14635
  "artefact_count": 118,
@@ -1 +1 @@
1
- 7963b6e4307019790a7885f66bc48862b8965626d54a905bb3e6f81c35ab8690 discovery-manifest.json
1
+ 4b3885b90112877a39a229d63e5a617835d06ebb8227a8a04a8223a470cc7ae4 discovery-manifest.json
@@ -1,6 +1,6 @@
1
1
  # Discovery Manifest — Summary
2
2
 
3
- - Generated: `2026-08-12T02:34:16Z`
3
+ - Generated: `2026-08-12T07:41:46Z`
4
4
  - Scanner: `1eaf68b6e9c9`
5
5
  - Artefacts: **603**
6
6
  - Unassigned: **0**
@@ -1,6 +1,6 @@
1
1
  # Discovery — Dormancy Report
2
2
 
3
- - Generated: `2026-08-12T02:34:16Z`
3
+ - Generated: `2026-08-12T07:41:46Z`
4
4
  - Window: **6 months** without a commit
5
5
 
6
6
  > Dormancy triggers **review, never auto-deprecation**
@@ -1,6 +1,6 @@
1
1
  # Discovery — Orphan Report
2
2
 
3
- - Generated: `2026-08-12T02:34:16Z`
3
+ - Generated: `2026-08-12T07:41:46Z`
4
4
  - Orphan artefacts: **0**
5
5
 
6
6
  > An orphan is an artefact whose declared pack has no other members.
@@ -1,6 +1,6 @@
1
1
  {
2
- "checksum": "sha256:159444bbd668e7d4b686aca94807c2d7ad5d8c64353bf1fd6e823aafce085ef2",
3
- "generated_at": "2026-08-12T02:34:16Z",
2
+ "checksum": "sha256:b855dbf5241bf4e947073425b15d98f0514a774c382fa202068a987deb90df71",
3
+ "generated_at": "2026-08-12T07:41:46Z",
4
4
  "packs": [
5
5
  {
6
6
  "always_on": false,
@@ -1,6 +1,6 @@
1
1
  # Discovery — Trust Report
2
2
 
3
- - Generated: `2026-08-12T02:34:16Z`
3
+ - Generated: `2026-08-12T07:41:46Z`
4
4
  - Workspaces tracked: **10**
5
5
  - Human-review-required artefacts: **3**
6
6
 
@@ -1,6 +1,6 @@
1
1
  {
2
- "checksum": "sha256:159444bbd668e7d4b686aca94807c2d7ad5d8c64353bf1fd6e823aafce085ef2",
3
- "generated_at": "2026-08-12T02:34:16Z",
2
+ "checksum": "sha256:b855dbf5241bf4e947073425b15d98f0514a774c382fa202068a987deb90df71",
3
+ "generated_at": "2026-08-12T07:41:46Z",
4
4
  "scanner_version": "1eaf68b6e9c9",
5
5
  "workspaces": [
6
6
  {