@event4u/agent-config 10.4.0 → 12.0.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 (303) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +73 -182
  3. package/dist/agent-src/commands/agent-handoff.md +0 -1
  4. package/dist/agent-src/commands/agent-status.md +0 -1
  5. package/dist/agent-src/commands/agents/audit.md +0 -1
  6. package/dist/agent-src/commands/agents/init.md +0 -1
  7. package/dist/agent-src/commands/agents/optimize.md +0 -1
  8. package/dist/agent-src/commands/agents/user/accept.md +0 -1
  9. package/dist/agent-src/commands/agents/user/delete.md +0 -1
  10. package/dist/agent-src/commands/agents/user/init.md +0 -1
  11. package/dist/agent-src/commands/agents/user/review.md +0 -1
  12. package/dist/agent-src/commands/agents/user/show.md +0 -1
  13. package/dist/agent-src/commands/agents/user/update.md +0 -1
  14. package/dist/agent-src/commands/agents/user.md +0 -1
  15. package/dist/agent-src/commands/agents.md +0 -1
  16. package/dist/agent-src/commands/analytics/prune.md +0 -1
  17. package/dist/agent-src/commands/analytics/show.md +0 -1
  18. package/dist/agent-src/commands/analytics.md +0 -1
  19. package/dist/agent-src/commands/analyze/conformance.md +0 -1
  20. package/dist/agent-src/commands/analyze/decision.md +0 -1
  21. package/dist/agent-src/commands/analyze/inbox.md +0 -1
  22. package/dist/agent-src/commands/analyze/incident.md +0 -1
  23. package/dist/agent-src/commands/analyze/near-miss.md +0 -1
  24. package/dist/agent-src/commands/analyze/postmortem.md +0 -1
  25. package/dist/agent-src/commands/analyze/premortem.md +0 -1
  26. package/dist/agent-src/commands/analyze/reference-repo.md +0 -1
  27. package/dist/agent-src/commands/analyze.md +0 -1
  28. package/dist/agent-src/commands/brand/identity.md +0 -1
  29. package/dist/agent-src/commands/brand/review.md +0 -1
  30. package/dist/agent-src/commands/brand/strategy.md +0 -1
  31. package/dist/agent-src/commands/brand/tokens.md +0 -1
  32. package/dist/agent-src/commands/brand/voice.md +0 -1
  33. package/dist/agent-src/commands/brand.md +0 -1
  34. package/dist/agent-src/commands/bug/fix.md +0 -1
  35. package/dist/agent-src/commands/bug/investigate.md +0 -1
  36. package/dist/agent-src/commands/bug.md +0 -1
  37. package/dist/agent-src/commands/challenge-me/vision.md +0 -1
  38. package/dist/agent-src/commands/challenge-me/with-docs.md +0 -1
  39. package/dist/agent-src/commands/challenge-me.md +0 -1
  40. package/dist/agent-src/commands/chat-history/import.md +0 -1
  41. package/dist/agent-src/commands/chat-history.md +0 -1
  42. package/dist/agent-src/commands/check-current-md.md +0 -1
  43. package/dist/agent-src/commands/commit/in-chunks.md +0 -1
  44. package/dist/agent-src/commands/commit.md +0 -1
  45. package/dist/agent-src/commands/condense.md +0 -1
  46. package/dist/agent-src/commands/context/create.md +0 -1
  47. package/dist/agent-src/commands/context/refactor.md +0 -1
  48. package/dist/agent-src/commands/context.md +0 -1
  49. package/dist/agent-src/commands/contribution-precheck.md +0 -1
  50. package/dist/agent-src/commands/cost/profile.md +0 -1
  51. package/dist/agent-src/commands/cost/report.md +0 -1
  52. package/dist/agent-src/commands/cost.md +0 -1
  53. package/dist/agent-src/commands/council/analysis.md +0 -1
  54. package/dist/agent-src/commands/council/debate.md +13 -5
  55. package/dist/agent-src/commands/council/default.md +26 -12
  56. package/dist/agent-src/commands/council/design.md +0 -1
  57. package/dist/agent-src/commands/council/optimize.md +0 -1
  58. package/dist/agent-src/commands/council/pr.md +0 -1
  59. package/dist/agent-src/commands/council.md +1 -2
  60. package/dist/agent-src/commands/design-system/capture.md +0 -1
  61. package/dist/agent-src/commands/design-system/generate.md +23 -2
  62. package/dist/agent-src/commands/design-system/import.md +0 -1
  63. package/dist/agent-src/commands/design-system.md +0 -1
  64. package/dist/agent-src/commands/estimate-ticket.md +0 -1
  65. package/dist/agent-src/commands/explain-run.md +0 -1
  66. package/dist/agent-src/commands/feature/dev.md +0 -1
  67. package/dist/agent-src/commands/feature/explore.md +0 -1
  68. package/dist/agent-src/commands/feature/plan.md +0 -1
  69. package/dist/agent-src/commands/feature/refactor.md +0 -1
  70. package/dist/agent-src/commands/feature/roadmap.md +0 -1
  71. package/dist/agent-src/commands/feature.md +0 -1
  72. package/dist/agent-src/commands/fix/ci.md +0 -1
  73. package/dist/agent-src/commands/fix/comments.md +0 -1
  74. package/dist/agent-src/commands/fix/portability.md +0 -1
  75. package/dist/agent-src/commands/fix/pr-comments-loop.md +0 -1
  76. package/dist/agent-src/commands/fix/pr-comments.md +0 -1
  77. package/dist/agent-src/commands/fix/quality.md +0 -1
  78. package/dist/agent-src/commands/fix/refs.md +0 -1
  79. package/dist/agent-src/commands/fix/route.md +0 -1
  80. package/dist/agent-src/commands/fix/seeder.md +0 -1
  81. package/dist/agent-src/commands/fix.md +0 -1
  82. package/dist/agent-src/commands/ghostwriter/delete.md +0 -1
  83. package/dist/agent-src/commands/ghostwriter/fetch.md +0 -1
  84. package/dist/agent-src/commands/ghostwriter/list.md +0 -1
  85. package/dist/agent-src/commands/ghostwriter/show.md +0 -1
  86. package/dist/agent-src/commands/ghostwriter/write.md +0 -1
  87. package/dist/agent-src/commands/ghostwriter.md +0 -1
  88. package/dist/agent-src/commands/grill-me.md +0 -1
  89. package/dist/agent-src/commands/humanize.md +0 -1
  90. package/dist/agent-src/commands/image/analyse.md +0 -1
  91. package/dist/agent-src/commands/image/create.md +0 -1
  92. package/dist/agent-src/commands/image/verify.md +0 -1
  93. package/dist/agent-src/commands/image.md +0 -1
  94. package/dist/agent-src/commands/implement-ticket.md +0 -1
  95. package/dist/agent-src/commands/jira-ticket.md +0 -1
  96. package/dist/agent-src/commands/judge/on-diff.md +0 -1
  97. package/dist/agent-src/commands/judge/solo.md +0 -1
  98. package/dist/agent-src/commands/judge/steps.md +0 -1
  99. package/dist/agent-src/commands/judge.md +0 -1
  100. package/dist/agent-src/commands/knowledge/cross-repo.md +0 -1
  101. package/dist/agent-src/commands/knowledge/forget.md +0 -1
  102. package/dist/agent-src/commands/knowledge/ingest.md +0 -1
  103. package/dist/agent-src/commands/knowledge/list.md +0 -1
  104. package/dist/agent-src/commands/knowledge.md +0 -1
  105. package/dist/agent-src/commands/memory/add.md +0 -1
  106. package/dist/agent-src/commands/memory/learn-low-impact.md +0 -1
  107. package/dist/agent-src/commands/memory/load.md +0 -1
  108. package/dist/agent-src/commands/memory/mine-session.md +0 -1
  109. package/dist/agent-src/commands/memory/promote.md +0 -1
  110. package/dist/agent-src/commands/memory/propose.md +0 -1
  111. package/dist/agent-src/commands/memory.md +0 -1
  112. package/dist/agent-src/commands/mission/upgrade.md +0 -1
  113. package/dist/agent-src/commands/mode.md +0 -1
  114. package/dist/agent-src/commands/module/create.md +0 -1
  115. package/dist/agent-src/commands/module/explore.md +0 -1
  116. package/dist/agent-src/commands/module.md +0 -1
  117. package/dist/agent-src/commands/optimize/agents-dir.md +0 -1
  118. package/dist/agent-src/commands/optimize/augmentignore.md +0 -1
  119. package/dist/agent-src/commands/optimize/deep.md +0 -1
  120. package/dist/agent-src/commands/optimize/project.md +0 -1
  121. package/dist/agent-src/commands/optimize/prompt.md +0 -1
  122. package/dist/agent-src/commands/optimize/rtk.md +0 -1
  123. package/dist/agent-src/commands/optimize/skills.md +0 -1
  124. package/dist/agent-src/commands/optimize.md +0 -1
  125. package/dist/agent-src/commands/orchestrate.md +0 -1
  126. package/dist/agent-src/commands/override/create.md +0 -1
  127. package/dist/agent-src/commands/override/manage.md +0 -1
  128. package/dist/agent-src/commands/override.md +0 -1
  129. package/dist/agent-src/commands/package/reset.md +0 -1
  130. package/dist/agent-src/commands/package/test.md +0 -1
  131. package/dist/agent-src/commands/package.md +0 -1
  132. package/dist/agent-src/commands/post-as/ghostwriter.md +0 -1
  133. package/dist/agent-src/commands/post-as/me.md +0 -1
  134. package/dist/agent-src/commands/post-as.md +0 -1
  135. package/dist/agent-src/commands/pr/create/description-only.md +0 -1
  136. package/dist/agent-src/commands/pr/create.md +67 -28
  137. package/dist/agent-src/commands/prediction-pool.md +0 -1
  138. package/dist/agent-src/commands/prepare-for-review.md +0 -1
  139. package/dist/agent-src/commands/profile/activate.md +0 -1
  140. package/dist/agent-src/commands/profile/deactivate.md +0 -1
  141. package/dist/agent-src/commands/profile/show.md +0 -1
  142. package/dist/agent-src/commands/profile.md +0 -1
  143. package/dist/agent-src/commands/project/analyze.md +0 -1
  144. package/dist/agent-src/commands/project/health.md +0 -1
  145. package/dist/agent-src/commands/project.md +0 -1
  146. package/dist/agent-src/commands/refine-ticket.md +0 -1
  147. package/dist/agent-src/commands/research/deep.md +0 -1
  148. package/dist/agent-src/commands/research/report.md +0 -1
  149. package/dist/agent-src/commands/research.md +0 -1
  150. package/dist/agent-src/commands/review/changes.md +0 -1
  151. package/dist/agent-src/commands/review/routing.md +0 -1
  152. package/dist/agent-src/commands/review.md +0 -1
  153. package/dist/agent-src/commands/roadmap/ai-council.md +0 -1
  154. package/dist/agent-src/commands/roadmap/create.md +0 -1
  155. package/dist/agent-src/commands/roadmap/materialize.md +0 -1
  156. package/dist/agent-src/commands/roadmap/next.md +0 -1
  157. package/dist/agent-src/commands/roadmap/process-full.md +0 -1
  158. package/dist/agent-src/commands/roadmap/process-phase.md +0 -1
  159. package/dist/agent-src/commands/roadmap/process-step.md +0 -1
  160. package/dist/agent-src/commands/roadmap.md +0 -1
  161. package/dist/agent-src/commands/rule-compliance-audit.md +0 -1
  162. package/dist/agent-src/commands/security-audit-config.md +0 -1
  163. package/dist/agent-src/commands/skill/preview.md +0 -1
  164. package/dist/agent-src/commands/skill.md +0 -1
  165. package/dist/agent-src/commands/skills/discover.md +0 -1
  166. package/dist/agent-src/commands/skills.md +0 -1
  167. package/dist/agent-src/commands/sync/agent-settings.md +0 -1
  168. package/dist/agent-src/commands/sync/gitignore/fix.md +0 -1
  169. package/dist/agent-src/commands/sync/gitignore.md +0 -1
  170. package/dist/agent-src/commands/sync.md +0 -1
  171. package/dist/agent-src/commands/tdd/green.md +0 -1
  172. package/dist/agent-src/commands/tdd/red.md +0 -1
  173. package/dist/agent-src/commands/tdd/refactor.md +0 -1
  174. package/dist/agent-src/commands/tdd.md +0 -1
  175. package/dist/agent-src/commands/team/adversarial.md +0 -1
  176. package/dist/agent-src/commands/team/delegate.md +0 -1
  177. package/dist/agent-src/commands/team/review.md +0 -1
  178. package/dist/agent-src/commands/team/status.md +0 -1
  179. package/dist/agent-src/commands/team-knowledge/bootstrap.md +0 -1
  180. package/dist/agent-src/commands/team-knowledge/consolidate.md +0 -1
  181. package/dist/agent-src/commands/team-knowledge.md +0 -1
  182. package/dist/agent-src/commands/team.md +0 -1
  183. package/dist/agent-src/commands/tests/create.md +0 -1
  184. package/dist/agent-src/commands/tests/e2e-heal.md +0 -1
  185. package/dist/agent-src/commands/tests/e2e-plan.md +0 -1
  186. package/dist/agent-src/commands/tests/execute.md +0 -1
  187. package/dist/agent-src/commands/tests.md +0 -1
  188. package/dist/agent-src/commands/threat-model.md +0 -1
  189. package/dist/agent-src/commands/update-form-request-messages.md +0 -1
  190. package/dist/agent-src/commands/upstream-contribute.md +0 -1
  191. package/dist/agent-src/commands/video/from-script.md +0 -1
  192. package/dist/agent-src/commands/video/from-song.md +0 -1
  193. package/dist/agent-src/commands/video/scene.md +0 -1
  194. package/dist/agent-src/commands/video/stitch.md +0 -1
  195. package/dist/agent-src/commands/video/storyboard.md +0 -1
  196. package/dist/agent-src/commands/video.md +0 -1
  197. package/dist/agent-src/commands/work.md +0 -1
  198. package/dist/agent-src/commands/worktree/cleanup.md +0 -1
  199. package/dist/agent-src/commands/worktree/create.md +5 -4
  200. package/dist/agent-src/commands/worktree/status.md +0 -1
  201. package/dist/agent-src/commands/worktree/verify.md +0 -1
  202. package/dist/agent-src/commands/worktree.md +0 -1
  203. package/dist/agent-src/rules/settings-ask-protocol.md +14 -9
  204. package/dist/agent-src/skills/ai-council/SKILL.md +24 -6
  205. package/dist/agent-src/skills/corpus-grounding/SKILL.md +12 -1
  206. package/dist/agent-src/skills/corpus-grounding/scripts/decision_engine.ts +215 -7
  207. package/dist/agent-src/skills/corpus-grounding/scripts/ground.ts +39 -1
  208. package/dist/agent-src/skills/design-intelligence/ATTRIBUTION.md +19 -2
  209. package/dist/agent-src/skills/design-intelligence/data/manifest.json +36 -1
  210. package/dist/agent-src/skills/design-intelligence/data/motion.csv +17 -0
  211. package/dist/agent-src/skills/docx-authoring/SKILL.md +1 -0
  212. package/dist/agent-src/skills/git-workflow/SKILL.md +17 -3
  213. package/dist/agent-src/skills/pdf-tools/SKILL.md +1 -0
  214. package/dist/agent-src/skills/skill-writing/SKILL.md +35 -0
  215. package/dist/agent-src/skills/subagent-orchestration/SKILL.md +9 -6
  216. package/dist/agent-src/skills/using-git-worktrees/SKILL.md +25 -21
  217. package/dist/agent-src/templates/agent-settings.md +0 -1
  218. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  219. package/dist/cli/commands/commands.candidates.test.js +1 -1
  220. package/dist/cli/commands/commands.candidates.test.js.map +1 -1
  221. package/dist/cli/commands/commands.js +9 -15
  222. package/dist/cli/commands/commands.js.map +1 -1
  223. package/dist/cli/commands/profiles.test.js +7 -7
  224. package/dist/cli/commands/profiles.test.js.map +1 -1
  225. package/dist/cli/discovery/loadManifest.js.map +1 -1
  226. package/dist/cli/main.js +2 -2
  227. package/dist/cli/main.js.map +1 -1
  228. package/dist/cli-delegate/{chunk-BV3WR67D.js → chunk-55WZN5VF.js} +3 -6
  229. package/dist/cli-delegate/{chunk-X3VOARZD.js → chunk-L565YFXH.js} +3 -3
  230. package/dist/cli-delegate/{chunk-JMQZ7MM5.js → chunk-MNWRDMR5.js} +1 -1
  231. package/dist/cli-delegate/{chunk-IR3IVRVC.js → chunk-NLP54U3J.js} +2 -1
  232. package/dist/cli-delegate/{chunk-FV34EGEX.js → chunk-NN4KW4HZ.js} +1 -1
  233. package/dist/cli-delegate/{chunk-6ENSXSBW.js → chunk-PPQO4NGR.js} +1 -1
  234. package/dist/cli-delegate/{chunk-6LOPHJLD.js → chunk-RYNADUFG.js} +1 -1
  235. package/dist/cli-delegate/cmd_analyze_session.js +1 -1
  236. package/dist/cli-delegate/cmd_brand_status.js +1 -1
  237. package/dist/cli-delegate/cmd_conformance.js +16 -4
  238. package/dist/cli-delegate/cmd_doctor.js +2 -2
  239. package/dist/cli-delegate/cmd_explain.js +2 -2
  240. package/dist/cli-delegate/cmd_export.js +4 -4
  241. package/dist/cli-delegate/cmd_handoff.js +2 -2
  242. package/dist/cli-delegate/cmd_mcp_available.js +1 -1
  243. package/dist/cli-delegate/cmd_migrate.js +2 -2
  244. package/dist/cli-delegate/cmd_packs_active.js +2 -2
  245. package/dist/cli-delegate/cmd_prune.js +4 -4
  246. package/dist/cli-delegate/cmd_route_audit.js +2 -2
  247. package/dist/cli-delegate/cmd_route_explain.js +1 -1
  248. package/dist/cli-delegate/cmd_session_recycle.js +1 -1
  249. package/dist/cli-delegate/cmd_settings_get.js +1 -1
  250. package/dist/cli-delegate/cmd_settings_migrate.js +4 -4
  251. package/dist/cli-delegate/cmd_settings_set.js +1 -1
  252. package/dist/cli-delegate/cmd_sync.js +4 -4
  253. package/dist/cli-delegate/cmd_uninstall.js +4 -4
  254. package/dist/cli-delegate/cmd_update.js +1 -1
  255. package/dist/cli-delegate/cmd_upgrade.js +1 -1
  256. package/dist/cli-delegate/cmd_validate.js +4 -4
  257. package/dist/cli-delegate/cmd_versions.js +1 -1
  258. package/dist/discovery/deprecation-report.md +1 -1
  259. package/dist/discovery/discovery-manifest.json +216 -415
  260. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  261. package/dist/discovery/discovery-manifest.summary.md +2 -2
  262. package/dist/discovery/dormancy-report.md +1 -1
  263. package/dist/discovery/orphan-report.md +1 -1
  264. package/dist/discovery/packs.json +3 -3
  265. package/dist/discovery/trust-report.md +1 -1
  266. package/dist/discovery/workspaces.json +3 -3
  267. package/dist/hooks/dispatch.js +68 -14
  268. package/dist/install/install.mjs +5 -7
  269. package/dist/mcp/registry-manifest.json +3 -3
  270. package/dist/mcp/server.json +2 -2
  271. package/dist/mcp/server.mjs +48 -6
  272. package/dist/scripts/_lib/agent_settings.js +8 -0
  273. package/dist/scripts/_lib/agent_settings.js.map +1 -1
  274. package/dist/server/schemas/settings.js +3 -4
  275. package/dist/server/schemas/settings.js.map +1 -1
  276. package/dist/ui/assets/{index-5fXOHoVh.js → index-B0aMJnuz.js} +2 -2
  277. package/dist/ui/assets/{index-5fXOHoVh.js.map → index-B0aMJnuz.js.map} +1 -1
  278. package/dist/ui/index.html +1 -1
  279. package/docs/MIGRATION.md +1 -0
  280. package/docs/contracts/settings-classes.md +53 -9
  281. package/package.json +1 -1
  282. package/src/config/agent-settings.template.yml +49 -18
  283. package/src/config/gate-coverage.yml +13 -3
  284. package/src/config/gate-violation-baselines.json +4 -4
  285. package/src/config/pack-size-budget.json +3 -2
  286. package/src/scripts/_dispatch.bash +42 -5
  287. package/src/scripts/_lib/agent_settings.ts +8 -0
  288. package/src/scripts/audit_command_surface.ts +21 -15
  289. package/src/scripts/build_catalog_index.ts +1 -1
  290. package/src/scripts/build_discovery_manifest.ts +30 -34
  291. package/src/scripts/check_branch_freshness.ts +393 -12
  292. package/src/scripts/external_sources_denylist.json +7 -2
  293. package/src/scripts/gen_discovery_baseline.ts +3 -3
  294. package/src/scripts/hook_manifest.yaml +20 -0
  295. package/src/scripts/hooks/subagent_ledger_hook.ts +17 -4
  296. package/src/scripts/lint_command_tiers.ts +29 -75
  297. package/src/scripts/lint_originality.ts +101 -14
  298. package/src/scripts/schemas/command.schema.json +4 -9
  299. package/src/scripts/schemas/skill.schema.json +10 -1
  300. package/src/scripts/session_register_hook.ts +120 -10
  301. package/src/scripts/skill_linter.ts +82 -2
  302. package/src/scripts/worktree_cleanup_check.ts +111 -7
  303. package/src/server/schemas/settings.ts +3 -6
@@ -23,7 +23,7 @@ import {
23
23
  proseEqual,
24
24
  resolveSessionRole,
25
25
  splitFrontmatter
26
- } from "./chunk-FV34EGEX.js";
26
+ } from "./chunk-NN4KW4HZ.js";
27
27
  import "./chunk-FTAISGDQ.js";
28
28
  import {
29
29
  atomic_write_json,
@@ -45,7 +45,7 @@ import "./chunk-GRRPEPRN.js";
45
45
  import "./chunk-NXFWFAYV.js";
46
46
  import {
47
47
  load_agent_settings
48
- } from "./chunk-IR3IVRVC.js";
48
+ } from "./chunk-NLP54U3J.js";
49
49
  import "./chunk-NDJLNC6Q.js";
50
50
  import {
51
51
  detectToolPresence
@@ -2068,6 +2068,13 @@ function handleStart(root, payload, nowIso, sessionId) {
2068
2068
  event: "subagent_start",
2069
2069
  ts: nowIso,
2070
2070
  ref,
2071
+ // Phase 1 Step 4 correction (b): without this the dispatch denominator
2072
+ // is not per-session. Three sessions share one ledger file, so a rate
2073
+ // computed over the file aggregates strangers — the measured window
2074
+ // held 7 starts against 25 stops, one of them an agent type this
2075
+ // session never dispatched. The open record already carried it; the
2076
+ // appended line did not, and the line is what a rate is computed from.
2077
+ session_id: sessionId,
2071
2078
  agent_type: rec.agent_type,
2072
2079
  parent_ref: parentRef,
2073
2080
  depth,
@@ -2075,7 +2082,7 @@ function handleStart(root, payload, nowIso, sessionId) {
2075
2082
  concurrent_open: countOpen(root)
2076
2083
  });
2077
2084
  }
2078
- function handleStop(root, payload, nowIso) {
2085
+ function handleStop(root, payload, nowIso, sessionId) {
2079
2086
  const agentId = str2(payload, "agent_id", "agentId");
2080
2087
  if (agentId === null) {
2081
2088
  appendUnidentified(root, "subagent_stop", nowIso, payload);
@@ -2094,6 +2101,11 @@ function handleStop(root, payload, nowIso) {
2094
2101
  event: "subagent_stop",
2095
2102
  ts: nowIso,
2096
2103
  ref,
2104
+ // The session this stop was OBSERVED in, read from the same envelope
2105
+ // position as the start's — never back-filled from `rec`, which would
2106
+ // relabel a cross-session stop as belonging to the dispatching session
2107
+ // and hide exactly the mismatch this field exists to expose.
2108
+ session_id: sessionId,
2097
2109
  agent_type: rec?.agent_type ?? str2(payload, "agent_type", "agentType", "subagent_type", "subagentType"),
2098
2110
  depth: rec?.depth ?? null,
2099
2111
  depth_basis: rec?.depth_basis ?? null,
@@ -2119,7 +2131,7 @@ function processEnvelope(envelope, consumerRoot) {
2119
2131
  const sessionId = str2(payload, "session_id", "sessionId") ?? str2(envelope, "session_id", "sessionId");
2120
2132
  reapStaleOpenRecords(consumerRoot, nowIso);
2121
2133
  if (event === "subagent_start") handleStart(consumerRoot, payload, nowIso, sessionId);
2122
- else handleStop(consumerRoot, payload, nowIso);
2134
+ else handleStop(consumerRoot, payload, nowIso, sessionId);
2123
2135
  } catch {
2124
2136
  return EXIT_ALLOW4;
2125
2137
  }
@@ -66,7 +66,7 @@ import {
66
66
  _wizard_state_path,
67
67
  main,
68
68
  shutilWhich
69
- } from "./chunk-FV34EGEX.js";
69
+ } from "./chunk-NN4KW4HZ.js";
70
70
  import "./chunk-FTAISGDQ.js";
71
71
  import "./chunk-EJITJBJX.js";
72
72
  import "./chunk-Q26HT4QT.js";
@@ -76,7 +76,7 @@ import "./chunk-M2DPGFZ4.js";
76
76
  import "./chunk-63WSP6YZ.js";
77
77
  import "./chunk-GRRPEPRN.js";
78
78
  import "./chunk-NXFWFAYV.js";
79
- import "./chunk-IR3IVRVC.js";
79
+ import "./chunk-NLP54U3J.js";
80
80
  import "./chunk-NDJLNC6Q.js";
81
81
  import "./chunk-OY53J6II.js";
82
82
  import "./chunk-MCJYCQPF.js";
@@ -8,7 +8,7 @@ import {
8
8
  ProfileError,
9
9
  artefact_roots,
10
10
  resolve_profile
11
- } from "./chunk-6LOPHJLD.js";
11
+ } from "./chunk-RYNADUFG.js";
12
12
  import {
13
13
  StateLoadError,
14
14
  load_state
@@ -19,7 +19,7 @@ import {
19
19
  load_agent_settings,
20
20
  logger,
21
21
  resolve_project_root
22
- } from "./chunk-IR3IVRVC.js";
22
+ } from "./chunk-NLP54U3J.js";
23
23
  import "./chunk-NDJLNC6Q.js";
24
24
  import {
25
25
  __export
@@ -9,14 +9,14 @@ import {
9
9
  KIRO_MARKER,
10
10
  ROOCODE_MARKER,
11
11
  ZED_MARKER
12
- } from "./chunk-X3VOARZD.js";
13
- import "./chunk-BV3WR67D.js";
14
- import "./chunk-6ENSXSBW.js";
12
+ } from "./chunk-L565YFXH.js";
13
+ import "./chunk-55WZN5VF.js";
14
+ import "./chunk-PPQO4NGR.js";
15
15
  import "./chunk-BKO2AZ7Z.js";
16
16
  import "./chunk-63WSP6YZ.js";
17
17
  import "./chunk-GRRPEPRN.js";
18
18
  import "./chunk-NXFWFAYV.js";
19
- import "./chunk-IR3IVRVC.js";
19
+ import "./chunk-NLP54U3J.js";
20
20
  import "./chunk-NDJLNC6Q.js";
21
21
  import "./chunk-523HCFYO.js";
22
22
  import "./chunk-OY53J6II.js";
@@ -4,7 +4,7 @@ import {
4
4
  derive_session_tag,
5
5
  list_sessions,
6
6
  read_entries
7
- } from "./chunk-JMQZ7MM5.js";
7
+ } from "./chunk-MNWRDMR5.js";
8
8
  import {
9
9
  RECYCLE_CONSUMED_REL,
10
10
  RECYCLE_ENVELOPE_REL,
@@ -28,7 +28,7 @@ import {
28
28
  projectStoreSlug
29
29
  } from "./chunk-AYKQGIBG.js";
30
30
  import "./chunk-PZWRPRWP.js";
31
- import "./chunk-IR3IVRVC.js";
31
+ import "./chunk-NLP54U3J.js";
32
32
  import "./chunk-NDJLNC6Q.js";
33
33
  import "./chunk-OY53J6II.js";
34
34
  import "./chunk-J55WI3RR.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
  resolve_project_root
4
- } from "./chunk-IR3IVRVC.js";
4
+ } from "./chunk-NLP54U3J.js";
5
5
  import "./chunk-NDJLNC6Q.js";
6
6
  import "./chunk-J55WI3RR.js";
7
7
 
@@ -1,8 +1,8 @@
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-6ENSXSBW.js";
5
- import "./chunk-IR3IVRVC.js";
4
+ } from "./chunk-PPQO4NGR.js";
5
+ import "./chunk-NLP54U3J.js";
6
6
  import "./chunk-NDJLNC6Q.js";
7
7
  import "./chunk-MCJYCQPF.js";
8
8
  import "./chunk-J55WI3RR.js";
@@ -4,12 +4,12 @@ import {
4
4
  SOURCE_MISSING,
5
5
  profile_file,
6
6
  resolve_profile
7
- } from "./chunk-6LOPHJLD.js";
7
+ } from "./chunk-RYNADUFG.js";
8
8
  import {
9
9
  DEFAULT_PROJECT_FILE,
10
10
  load_agent_settings,
11
11
  resolve_project_root
12
- } from "./chunk-IR3IVRVC.js";
12
+ } from "./chunk-NLP54U3J.js";
13
13
  import "./chunk-NDJLNC6Q.js";
14
14
  import "./chunk-J55WI3RR.js";
15
15
 
@@ -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-X3VOARZD.js";
5
- import "./chunk-BV3WR67D.js";
6
- import "./chunk-6ENSXSBW.js";
4
+ } from "./chunk-L565YFXH.js";
5
+ import "./chunk-55WZN5VF.js";
6
+ import "./chunk-PPQO4NGR.js";
7
7
  import "./chunk-BKO2AZ7Z.js";
8
8
  import {
9
9
  manifest_path,
@@ -13,7 +13,7 @@ import "./chunk-GRRPEPRN.js";
13
13
  import "./chunk-NXFWFAYV.js";
14
14
  import {
15
15
  resolve_project_root
16
- } from "./chunk-IR3IVRVC.js";
16
+ } from "./chunk-NLP54U3J.js";
17
17
  import "./chunk-NDJLNC6Q.js";
18
18
  import "./chunk-523HCFYO.js";
19
19
  import "./chunk-OY53J6II.js";
@@ -2,7 +2,7 @@
2
2
  import { createRequire as __acCreateRequire } from 'node:module'; const require = globalThis.require ?? __acCreateRequire(import.meta.url);
3
3
  import {
4
4
  read_entries
5
- } from "./chunk-JMQZ7MM5.js";
5
+ } from "./chunk-MNWRDMR5.js";
6
6
  import "./chunk-UEZ7D35A.js";
7
7
  import "./chunk-MMJL4TIX.js";
8
8
  import {
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-LF2KKJ4Q.js";
11
11
  import {
12
12
  load_agent_settings
13
- } from "./chunk-IR3IVRVC.js";
13
+ } from "./chunk-NLP54U3J.js";
14
14
  import "./chunk-NDJLNC6Q.js";
15
15
  import "./chunk-OY53J6II.js";
16
16
  import {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-LF2KKJ4Q.js";
7
7
  import {
8
8
  load_agent_settings
9
- } from "./chunk-IR3IVRVC.js";
9
+ } from "./chunk-NLP54U3J.js";
10
10
  import "./chunk-NDJLNC6Q.js";
11
11
  import {
12
12
  resolvePackageRoot
@@ -15,7 +15,7 @@ import "./chunk-PZWRPRWP.js";
15
15
  import {
16
16
  ORIGIN_CWD_FALLBACK,
17
17
  resolve_project_root
18
- } from "./chunk-IR3IVRVC.js";
18
+ } from "./chunk-NLP54U3J.js";
19
19
  import "./chunk-NDJLNC6Q.js";
20
20
  import "./chunk-J55WI3RR.js";
21
21
 
@@ -14,7 +14,7 @@ import {
14
14
  USER_GLOBAL_FILENAME,
15
15
  iter_setting_overrides,
16
16
  load_agent_settings
17
- } from "./chunk-IR3IVRVC.js";
17
+ } from "./chunk-NLP54U3J.js";
18
18
  import {
19
19
  resolve_with_fallback,
20
20
  write_target
@@ -3,14 +3,14 @@ import {
3
3
  GLOBAL_AGENT_SETTINGS_PATH,
4
4
  GLOBAL_USER_SETTINGS_PATH,
5
5
  SETTINGS_FILE
6
- } from "./chunk-X3VOARZD.js";
7
- import "./chunk-BV3WR67D.js";
8
- import "./chunk-6ENSXSBW.js";
6
+ } from "./chunk-L565YFXH.js";
7
+ import "./chunk-55WZN5VF.js";
8
+ import "./chunk-PPQO4NGR.js";
9
9
  import "./chunk-BKO2AZ7Z.js";
10
10
  import "./chunk-63WSP6YZ.js";
11
11
  import "./chunk-GRRPEPRN.js";
12
12
  import "./chunk-NXFWFAYV.js";
13
- import "./chunk-IR3IVRVC.js";
13
+ import "./chunk-NLP54U3J.js";
14
14
  import "./chunk-NDJLNC6Q.js";
15
15
  import "./chunk-523HCFYO.js";
16
16
  import "./chunk-OY53J6II.js";
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  external_exports,
13
13
  settingsSchema
14
- } from "./chunk-BV3WR67D.js";
14
+ } from "./chunk-55WZN5VF.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-X3VOARZD.js";
5
- import "./chunk-BV3WR67D.js";
6
- import "./chunk-6ENSXSBW.js";
4
+ } from "./chunk-L565YFXH.js";
5
+ import "./chunk-55WZN5VF.js";
6
+ import "./chunk-PPQO4NGR.js";
7
7
  import "./chunk-BKO2AZ7Z.js";
8
8
  import {
9
9
  manifest_path,
@@ -13,7 +13,7 @@ import "./chunk-GRRPEPRN.js";
13
13
  import "./chunk-NXFWFAYV.js";
14
14
  import {
15
15
  resolve_project_root
16
- } from "./chunk-IR3IVRVC.js";
16
+ } from "./chunk-NLP54U3J.js";
17
17
  import "./chunk-NDJLNC6Q.js";
18
18
  import "./chunk-523HCFYO.js";
19
19
  import "./chunk-OY53J6II.js";
@@ -3,9 +3,9 @@ import {
3
3
  PROJECT_BRIDGE_MARKERS,
4
4
  USER_SCOPE_PATHS,
5
5
  subtract_pointers
6
- } from "./chunk-X3VOARZD.js";
7
- import "./chunk-BV3WR67D.js";
8
- import "./chunk-6ENSXSBW.js";
6
+ } from "./chunk-L565YFXH.js";
7
+ import "./chunk-55WZN5VF.js";
8
+ import "./chunk-PPQO4NGR.js";
9
9
  import "./chunk-BKO2AZ7Z.js";
10
10
  import {
11
11
  manifest_path,
@@ -23,7 +23,7 @@ import {
23
23
  import "./chunk-NXFWFAYV.js";
24
24
  import {
25
25
  resolve_project_root
26
- } from "./chunk-IR3IVRVC.js";
26
+ } from "./chunk-NLP54U3J.js";
27
27
  import "./chunk-NDJLNC6Q.js";
28
28
  import "./chunk-523HCFYO.js";
29
29
  import "./chunk-OY53J6II.js";
@@ -16,7 +16,7 @@ import {
16
16
  LOCAL_PROJECT_SUBDIR,
17
17
  find_project_root,
18
18
  resolve_project_root
19
- } from "./chunk-IR3IVRVC.js";
19
+ } from "./chunk-NLP54U3J.js";
20
20
  import "./chunk-NDJLNC6Q.js";
21
21
  import {
22
22
  resolvePackageRoot
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-GRRPEPRN.js";
20
20
  import {
21
21
  project_settings_path
22
- } from "./chunk-IR3IVRVC.js";
22
+ } from "./chunk-NLP54U3J.js";
23
23
  import {
24
24
  event4u_root,
25
25
  write_target
@@ -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-X3VOARZD.js";
7
- import "./chunk-BV3WR67D.js";
8
- import "./chunk-6ENSXSBW.js";
6
+ } from "./chunk-L565YFXH.js";
7
+ import "./chunk-55WZN5VF.js";
8
+ import "./chunk-PPQO4NGR.js";
9
9
  import "./chunk-BKO2AZ7Z.js";
10
10
  import {
11
11
  manifest_path,
@@ -17,7 +17,7 @@ import {
17
17
  import "./chunk-NXFWFAYV.js";
18
18
  import {
19
19
  resolve_project_root
20
- } from "./chunk-IR3IVRVC.js";
20
+ } from "./chunk-NLP54U3J.js";
21
21
  import "./chunk-NDJLNC6Q.js";
22
22
  import "./chunk-523HCFYO.js";
23
23
  import "./chunk-OY53J6II.js";
@@ -2,7 +2,7 @@ import { createRequire as __acCreateRequire } from 'node:module'; const require
2
2
  import {
3
3
  project_settings_path,
4
4
  resolve_project_root
5
- } from "./chunk-IR3IVRVC.js";
5
+ } from "./chunk-NLP54U3J.js";
6
6
  import "./chunk-NDJLNC6Q.js";
7
7
  import {
8
8
  resolvePackageRoot
@@ -1,6 +1,6 @@
1
1
  # Discovery — Deprecation Report
2
2
 
3
- - Generated: `2026-08-13T13:33:24Z`
3
+ - Generated: `2026-08-14T23:10:05Z`
4
4
  - Deprecated artefacts: **0**
5
5
 
6
6
  _None. Tree is clean._