opencode-swarm 7.140.6 → 7.141.1

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 (81) hide show
  1. package/.opencode/skills/deep-dive/SKILL.md +7 -6
  2. package/.opencode/skills/running-tests/SKILL.md +7 -0
  3. package/dist/agents/explorer.d.ts +1 -1
  4. package/dist/background/lane-delivery-store.d.ts +43 -0
  5. package/dist/background/lane-output-store.d.ts +6 -0
  6. package/dist/cli/{config-doctor-y5qeh18c.js → config-doctor-xs2p0xy3.js} +2 -2
  7. package/dist/cli/{core-pwd9604e.js → core-znrxk8gw.js} +1 -1
  8. package/dist/cli/{curation-policy-avvb56x2.js → curation-policy-j1fbc3ry.js} +5 -5
  9. package/dist/cli/{curator-q1nchgpg.js → curator-a95x81ek.js} +28 -28
  10. package/dist/cli/{curator-llm-factory-96pnc23w.js → curator-llm-factory-ak7p0scv.js} +28 -28
  11. package/dist/cli/{dispatch-2s23fbcs.js → dispatch-rd10kdk1.js} +1 -1
  12. package/dist/cli/{evidence-summary-service-18142mr3.js → evidence-summary-service-2gk48s5s.js} +9 -9
  13. package/dist/cli/{explorer-e9h66egs.js → explorer-18353rhn.js} +1 -1
  14. package/dist/cli/{gate-evidence-smn2wqft.js → gate-evidence-rt9034ft.js} +4 -4
  15. package/dist/cli/{guardrail-explain-kyd89z8z.js → guardrail-explain-4st3vc3d.js} +29 -29
  16. package/dist/cli/{guardrail-log-cahp1ews.js → guardrail-log-vjexgpfm.js} +3 -3
  17. package/dist/cli/{hive-promoter-vcbcvcsh.js → hive-promoter-g9ad9vad.js} +28 -28
  18. package/dist/cli/{index-z0z9pe7b.js → index-2ygp3pnx.js} +5 -5
  19. package/dist/cli/{index-1p72dtym.js → index-39xs96mk.js} +1 -1
  20. package/dist/cli/{index-tjqzr3jc.js → index-3d13jkzq.js} +2 -2
  21. package/dist/cli/{index-p2ty3eee.js → index-3gfdb0t9.js} +1 -1
  22. package/dist/cli/{index-4s7xgzbm.js → index-44nf5s90.js} +1 -1
  23. package/dist/cli/{index-2778hhh7.js → index-5ykn39wq.js} +2 -2
  24. package/dist/cli/{index-bjqpdr83.js → index-8056f16v.js} +3 -3
  25. package/dist/cli/{index-y9q9f6ms.js → index-8s4vnqts.js} +4 -4
  26. package/dist/cli/{index-epvhf50h.js → index-9d4gck4e.js} +2 -1
  27. package/dist/cli/{index-p8kk34am.js → index-c2hczjhp.js} +1 -1
  28. package/dist/cli/{index-56rqw2hs.js → index-c6m3t5n2.js} +6 -6
  29. package/dist/cli/{index-nakkgkkt.js → index-dx1mdsrj.js} +1294 -934
  30. package/dist/cli/{index-41hkt36g.js → index-ebwznsfy.js} +90 -19
  31. package/dist/cli/{index-c432knmy.js → index-f1hsrgw1.js} +1 -1
  32. package/dist/cli/{index-5qd5vt2d.js → index-g29r600w.js} +30 -30
  33. package/dist/cli/{index-z3s0a44b.js → index-hjf8pjd4.js} +3 -3
  34. package/dist/cli/{index-vh05t3w5.js → index-kq5p3nm3.js} +1 -1
  35. package/dist/cli/{index-h01wb18g.js → index-mr397tze.js} +2 -2
  36. package/dist/cli/{index-s1v0wza5.js → index-nse60anv.js} +1 -1
  37. package/dist/cli/{index-thp186x0.js → index-pkxt2rg2.js} +1 -1
  38. package/dist/cli/{index-t5pytnca.js → index-q4vaar2b.js} +2 -2
  39. package/dist/cli/{index-m9xrdjn0.js → index-qskz8j2z.js} +1 -1
  40. package/dist/cli/{index-92n3d5ky.js → index-ry609ctr.js} +40 -9
  41. package/dist/cli/{index-qy1nq52t.js → index-v250345n.js} +1 -1
  42. package/dist/cli/{index-e58e3v0v.js → index-vnr917xf.js} +3 -3
  43. package/dist/cli/{index-fejfzy2j.js → index-w9613ace.js} +6 -6
  44. package/dist/cli/{index-dtqjxfw9.js → index-wbf8sv70.js} +1 -1
  45. package/dist/cli/{index-v2xrer41.js → index-xmzmeknp.js} +3 -1
  46. package/dist/cli/{index-p04qrwck.js → index-ysapwztd.js} +2 -2
  47. package/dist/cli/{index-zd4qhnr7.js → index-z8yr1yra.js} +1 -1
  48. package/dist/cli/{index-912qz4y0.js → index-zbj3yrrd.js} +1 -1
  49. package/dist/cli/{index-4zxrkk1h.js → index-zqshpey0.js} +3 -3
  50. package/dist/cli/index.js +28 -28
  51. package/dist/cli/{knowledge-escalator-gj58za4g.js → knowledge-escalator-5xg6vmr4.js} +10 -10
  52. package/dist/cli/{knowledge-events-3m5jnnv6.js → knowledge-events-qvzpqt5b.js} +8 -8
  53. package/dist/cli/{knowledge-link-m9p80f4r.js → knowledge-link-x86ebng8.js} +4 -4
  54. package/dist/cli/{knowledge-store-0vy8wbzd.js → knowledge-store-k5td1vqx.js} +5 -5
  55. package/dist/cli/{knowledge-validator-mvcs8wf6.js → knowledge-validator-zz26gk5d.js} +7 -7
  56. package/dist/cli/{pending-delegations-cxx9tezp.js → pending-delegations-7xsagjy5.js} +3 -3
  57. package/dist/cli/{pr-subscriptions-2sfnb599.js → pr-subscriptions-r6cdsa3t.js} +3 -3
  58. package/dist/cli/{runner-mky3vvht.js → runner-nm3baddf.js} +5 -5
  59. package/dist/cli/{scan-cursor-wznc7p7p.js → scan-cursor-nhcpebh5.js} +6 -6
  60. package/dist/cli/{schema-k596bhds.js → schema-6ecb0xhn.js} +1 -1
  61. package/dist/cli/{scope-persistence-0ny5fn07.js → scope-persistence-yet1hvmq.js} +6 -6
  62. package/dist/cli/{skill-generator-vrks0jjj.js → skill-generator-j0mbd2pp.js} +12 -12
  63. package/dist/cli/{telemetry-0x6kszvk.js → telemetry-zex3zv3v.js} +1 -1
  64. package/dist/cli/{worktree-collision-ownership-wm5pse49.js → worktree-collision-ownership-n41qw3n8.js} +3 -3
  65. package/dist/cli/{worktree-isolation-zgk7314k.js → worktree-isolation-445zjngp.js} +28 -28
  66. package/dist/hooks/delegation-gate.d.ts +6 -0
  67. package/dist/hooks/knowledge-application-gate.d.ts +1 -1
  68. package/dist/hooks/knowledge-events.d.ts +5 -2
  69. package/dist/hooks/knowledge-receipt-ledger.d.ts +38 -0
  70. package/dist/hooks/knowledge-receipt-observability.d.ts +24 -1
  71. package/dist/hooks/knowledge-receipt-validator.d.ts +19 -3
  72. package/dist/hooks/knowledge-types.d.ts +9 -0
  73. package/dist/hooks/repo-graph-injection.d.ts +52 -0
  74. package/dist/index.js +224 -213
  75. package/dist/lang/backend.d.ts +8 -1
  76. package/dist/lang/default-backend.d.ts +2 -1
  77. package/dist/tools/create-tool.d.ts +5 -2
  78. package/dist/tools/dispatch-lanes.d.ts +45 -5
  79. package/dist/tools/knowledge-receipt.d.ts +40 -0
  80. package/dist/tools/test-runner.d.ts +14 -5
  81. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -6,65 +6,65 @@ import {
6
6
  getPluginConfigDir,
7
7
  getPluginLockFilePaths,
8
8
  resolveCommand
9
- } from "./index-nakkgkkt.js";
9
+ } from "./index-dx1mdsrj.js";
10
10
  import"./index-4905hd2m.js";
11
- import"./index-41hkt36g.js";
12
- import"./index-c432knmy.js";
13
- import"./index-1p72dtym.js";
11
+ import"./index-ebwznsfy.js";
12
+ import"./index-f1hsrgw1.js";
13
+ import"./index-39xs96mk.js";
14
14
  import"./index-c8s9a3zh.js";
15
- import"./index-p2ty3eee.js";
16
- import"./index-56rqw2hs.js";
15
+ import"./index-3gfdb0t9.js";
16
+ import"./index-c6m3t5n2.js";
17
17
  import"./index-134d35c1.js";
18
- import"./index-t5pytnca.js";
18
+ import"./index-q4vaar2b.js";
19
19
  import"./index-y8552snf.js";
20
20
  import"./index-9ss2m4rs.js";
21
21
  import"./index-74hpm6sh.js";
22
- import"./index-z3s0a44b.js";
23
- import"./index-z0z9pe7b.js";
24
- import"./index-h01wb18g.js";
25
- import"./index-v2xrer41.js";
26
- import"./index-m9xrdjn0.js";
27
- import"./index-bjqpdr83.js";
22
+ import"./index-hjf8pjd4.js";
23
+ import"./index-2ygp3pnx.js";
24
+ import"./index-mr397tze.js";
25
+ import"./index-xmzmeknp.js";
26
+ import"./index-qskz8j2z.js";
27
+ import"./index-8056f16v.js";
28
28
  import"./index-556ja8an.js";
29
- import"./index-4zxrkk1h.js";
29
+ import"./index-zqshpey0.js";
30
30
  import"./index-zsrtt42s.js";
31
- import"./index-dtqjxfw9.js";
31
+ import"./index-wbf8sv70.js";
32
32
  import"./index-qwm6vdyv.js";
33
- import"./index-tjqzr3jc.js";
34
- import"./index-s1v0wza5.js";
33
+ import"./index-3d13jkzq.js";
34
+ import"./index-nse60anv.js";
35
35
  import"./index-8fwhhayc.js";
36
36
  import"./index-q1exe2b3.js";
37
- import"./index-92n3d5ky.js";
37
+ import"./index-ry609ctr.js";
38
38
  import"./index-k46me75h.js";
39
39
  import"./index-ee3x66a5.js";
40
- import"./index-y9q9f6ms.js";
41
- import"./index-qy1nq52t.js";
40
+ import"./index-8s4vnqts.js";
41
+ import"./index-v250345n.js";
42
42
  import"./index-rtry5xyf.js";
43
- import"./index-fejfzy2j.js";
43
+ import"./index-w9613ace.js";
44
44
  import"./index-ae75rja9.js";
45
- import"./index-vh05t3w5.js";
46
- import"./index-p8kk34am.js";
47
- import"./index-912qz4y0.js";
45
+ import"./index-kq5p3nm3.js";
46
+ import"./index-c2hczjhp.js";
47
+ import"./index-zbj3yrrd.js";
48
48
  import"./index-7g4c7s5r.js";
49
49
  import"./index-ed5ykebp.js";
50
50
  import"./index-4nt52yr9.js";
51
- import"./index-p04qrwck.js";
51
+ import"./index-ysapwztd.js";
52
52
  import"./index-gprxjmm7.js";
53
53
  import"./index-n832052r.js";
54
- import"./index-zd4qhnr7.js";
54
+ import"./index-z8yr1yra.js";
55
55
  import"./index-4rhhvd1a.js";
56
56
  import"./index-zgwm4ryv.js";
57
57
  import {
58
58
  init_package,
59
59
  package_default
60
- } from "./index-thp186x0.js";
60
+ } from "./index-pkxt2rg2.js";
61
61
  import {
62
62
  DEFAULT_AGENT_CONFIGS,
63
63
  init_constants
64
64
  } from "./index-jqsfsqbx.js";
65
65
  import"./index-zjygnfay.js";
66
66
  import"./index-bk5tah7q.js";
67
- import"./index-epvhf50h.js";
67
+ import"./index-9d4gck4e.js";
68
68
  import"./index-bpmtbmy9.js";
69
69
  import"./index-a76rekgs.js";
70
70
 
@@ -9,29 +9,29 @@ import {
9
9
  maybeEscalateOnViolation,
10
10
  maybeQuarantineOnContradiction,
11
11
  readRecentEscalations
12
- } from "./index-z0z9pe7b.js";
13
- import"./index-92n3d5ky.js";
12
+ } from "./index-2ygp3pnx.js";
13
+ import"./index-ry609ctr.js";
14
14
  import"./index-k46me75h.js";
15
15
  import"./index-ee3x66a5.js";
16
- import"./index-fejfzy2j.js";
16
+ import"./index-w9613ace.js";
17
17
  import"./index-ae75rja9.js";
18
- import"./index-vh05t3w5.js";
19
- import"./index-p8kk34am.js";
20
- import"./index-912qz4y0.js";
18
+ import"./index-kq5p3nm3.js";
19
+ import"./index-c2hczjhp.js";
20
+ import"./index-zbj3yrrd.js";
21
21
  import"./index-7g4c7s5r.js";
22
22
  import"./index-ed5ykebp.js";
23
23
  import"./index-4nt52yr9.js";
24
- import"./index-p04qrwck.js";
24
+ import"./index-ysapwztd.js";
25
25
  import"./index-gprxjmm7.js";
26
26
  import"./index-n832052r.js";
27
- import"./index-zd4qhnr7.js";
27
+ import"./index-z8yr1yra.js";
28
28
  import"./index-4rhhvd1a.js";
29
29
  import"./index-zgwm4ryv.js";
30
- import"./index-thp186x0.js";
30
+ import"./index-pkxt2rg2.js";
31
31
  import"./index-jqsfsqbx.js";
32
32
  import"./index-zjygnfay.js";
33
33
  import"./index-bk5tah7q.js";
34
- import"./index-epvhf50h.js";
34
+ import"./index-9d4gck4e.js";
35
35
  import"./index-bpmtbmy9.js";
36
36
  import"./index-a76rekgs.js";
37
37
  export {
@@ -29,27 +29,27 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-92n3d5ky.js";
32
+ } from "./index-ry609ctr.js";
33
33
  import"./index-k46me75h.js";
34
34
  import"./index-ee3x66a5.js";
35
35
  import"./index-ae75rja9.js";
36
- import"./index-vh05t3w5.js";
37
- import"./index-p8kk34am.js";
38
- import"./index-912qz4y0.js";
36
+ import"./index-kq5p3nm3.js";
37
+ import"./index-c2hczjhp.js";
38
+ import"./index-zbj3yrrd.js";
39
39
  import"./index-7g4c7s5r.js";
40
40
  import"./index-ed5ykebp.js";
41
41
  import"./index-4nt52yr9.js";
42
- import"./index-p04qrwck.js";
42
+ import"./index-ysapwztd.js";
43
43
  import"./index-gprxjmm7.js";
44
44
  import"./index-n832052r.js";
45
- import"./index-zd4qhnr7.js";
45
+ import"./index-z8yr1yra.js";
46
46
  import"./index-4rhhvd1a.js";
47
47
  import"./index-zgwm4ryv.js";
48
- import"./index-thp186x0.js";
48
+ import"./index-pkxt2rg2.js";
49
49
  import"./index-jqsfsqbx.js";
50
50
  import"./index-zjygnfay.js";
51
51
  import"./index-bk5tah7q.js";
52
- import"./index-epvhf50h.js";
52
+ import"./index-9d4gck4e.js";
53
53
  import"./index-bpmtbmy9.js";
54
54
  import"./index-a76rekgs.js";
55
55
  export {
@@ -12,14 +12,14 @@ import {
12
12
  resolveLinkDir,
13
13
  sanitizeLinkId,
14
14
  writeLinkPointer
15
- } from "./index-vh05t3w5.js";
16
- import"./index-p8kk34am.js";
17
- import"./index-912qz4y0.js";
15
+ } from "./index-kq5p3nm3.js";
16
+ import"./index-c2hczjhp.js";
17
+ import"./index-zbj3yrrd.js";
18
18
  import"./index-7g4c7s5r.js";
19
19
  import"./index-ed5ykebp.js";
20
20
  import"./index-4nt52yr9.js";
21
21
  import"./index-zgwm4ryv.js";
22
- import"./index-epvhf50h.js";
22
+ import"./index-9d4gck4e.js";
23
23
  import"./index-bpmtbmy9.js";
24
24
  import"./index-a76rekgs.js";
25
25
  export {
@@ -41,19 +41,19 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-fejfzy2j.js";
44
+ } from "./index-w9613ace.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
48
- import"./index-vh05t3w5.js";
49
- import"./index-p8kk34am.js";
50
- import"./index-912qz4y0.js";
48
+ import"./index-kq5p3nm3.js";
49
+ import"./index-c2hczjhp.js";
50
+ import"./index-zbj3yrrd.js";
51
51
  import"./index-7g4c7s5r.js";
52
52
  import"./index-ed5ykebp.js";
53
53
  import"./index-4nt52yr9.js";
54
54
  import"./index-zgwm4ryv.js";
55
55
  import"./index-bk5tah7q.js";
56
- import"./index-epvhf50h.js";
56
+ import"./index-9d4gck4e.js";
57
57
  import"./index-bpmtbmy9.js";
58
58
  import"./index-a76rekgs.js";
59
59
  export {
@@ -23,20 +23,20 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-y9q9f6ms.js";
27
- import"./index-qy1nq52t.js";
26
+ } from "./index-8s4vnqts.js";
27
+ import"./index-v250345n.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-fejfzy2j.js";
29
+ import"./index-w9613ace.js";
30
30
  import"./index-ae75rja9.js";
31
- import"./index-vh05t3w5.js";
32
- import"./index-p8kk34am.js";
33
- import"./index-912qz4y0.js";
31
+ import"./index-kq5p3nm3.js";
32
+ import"./index-c2hczjhp.js";
33
+ import"./index-zbj3yrrd.js";
34
34
  import"./index-7g4c7s5r.js";
35
35
  import"./index-ed5ykebp.js";
36
36
  import"./index-4nt52yr9.js";
37
37
  import"./index-zgwm4ryv.js";
38
38
  import"./index-bk5tah7q.js";
39
- import"./index-epvhf50h.js";
39
+ import"./index-9d4gck4e.js";
40
40
  import"./index-bpmtbmy9.js";
41
41
  import"./index-a76rekgs.js";
42
42
  export {
@@ -41,16 +41,16 @@ import {
41
41
  sweepStaleDelegations,
42
42
  updateCoderSettlement,
43
43
  writeDelegationFallback
44
- } from "./index-s1v0wza5.js";
44
+ } from "./index-nse60anv.js";
45
45
  import"./index-k46me75h.js";
46
46
  import"./index-ee3x66a5.js";
47
- import"./index-912qz4y0.js";
47
+ import"./index-zbj3yrrd.js";
48
48
  import"./index-7g4c7s5r.js";
49
49
  import"./index-ed5ykebp.js";
50
50
  import"./index-4nt52yr9.js";
51
51
  import"./index-zgwm4ryv.js";
52
52
  import"./index-zjygnfay.js";
53
- import"./index-epvhf50h.js";
53
+ import"./index-9d4gck4e.js";
54
54
  import"./index-bpmtbmy9.js";
55
55
  import"./index-a76rekgs.js";
56
56
  export {
@@ -9,16 +9,16 @@ import {
9
9
  sweepStale,
10
10
  unsubscribe,
11
11
  updateSnapshot
12
- } from "./index-m9xrdjn0.js";
12
+ } from "./index-qskz8j2z.js";
13
13
  import"./index-k46me75h.js";
14
14
  import"./index-ee3x66a5.js";
15
- import"./index-912qz4y0.js";
15
+ import"./index-zbj3yrrd.js";
16
16
  import"./index-7g4c7s5r.js";
17
17
  import"./index-ed5ykebp.js";
18
18
  import"./index-4nt52yr9.js";
19
19
  import"./index-zgwm4ryv.js";
20
20
  import"./index-zjygnfay.js";
21
- import"./index-epvhf50h.js";
21
+ import"./index-9d4gck4e.js";
22
22
  import"./index-bpmtbmy9.js";
23
23
  import"./index-a76rekgs.js";
24
24
  export {
@@ -3,16 +3,16 @@ import {
3
3
  _internals,
4
4
  createModelEvaluationExecutor,
5
5
  runEvaluation
6
- } from "./index-c432knmy.js";
7
- import"./index-t5pytnca.js";
6
+ } from "./index-f1hsrgw1.js";
7
+ import"./index-q4vaar2b.js";
8
8
  import"./index-y8552snf.js";
9
- import"./index-p8kk34am.js";
10
- import"./index-912qz4y0.js";
9
+ import"./index-c2hczjhp.js";
10
+ import"./index-zbj3yrrd.js";
11
11
  import"./index-7g4c7s5r.js";
12
12
  import"./index-ed5ykebp.js";
13
13
  import"./index-4nt52yr9.js";
14
14
  import"./index-zgwm4ryv.js";
15
- import"./index-epvhf50h.js";
15
+ import"./index-9d4gck4e.js";
16
16
  import"./index-bpmtbmy9.js";
17
17
  import"./index-a76rekgs.js";
18
18
  export {
@@ -4,18 +4,18 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-h01wb18g.js";
8
- import"./index-fejfzy2j.js";
7
+ } from "./index-mr397tze.js";
8
+ import"./index-w9613ace.js";
9
9
  import"./index-ae75rja9.js";
10
- import"./index-vh05t3w5.js";
11
- import"./index-p8kk34am.js";
12
- import"./index-912qz4y0.js";
10
+ import"./index-kq5p3nm3.js";
11
+ import"./index-c2hczjhp.js";
12
+ import"./index-zbj3yrrd.js";
13
13
  import"./index-7g4c7s5r.js";
14
14
  import"./index-ed5ykebp.js";
15
15
  import"./index-4nt52yr9.js";
16
16
  import"./index-zgwm4ryv.js";
17
17
  import"./index-bk5tah7q.js";
18
- import"./index-epvhf50h.js";
18
+ import"./index-9d4gck4e.js";
19
19
  import"./index-bpmtbmy9.js";
20
20
  import"./index-a76rekgs.js";
21
21
  export {
@@ -96,7 +96,7 @@ import {
96
96
  resolveGeneratedAgentRole,
97
97
  resolveGuardrailsConfig,
98
98
  stripKnownSwarmPrefix
99
- } from "./index-thp186x0.js";
99
+ } from "./index-pkxt2rg2.js";
100
100
  import"./index-jqsfsqbx.js";
101
101
  import"./index-zjygnfay.js";
102
102
  import"./index-bk5tah7q.js";
@@ -23,20 +23,20 @@ import {
23
23
  tombstoneScopeBinding,
24
24
  writeScopeBindingToDisk,
25
25
  writeScopeToDisk
26
- } from "./index-bjqpdr83.js";
26
+ } from "./index-8056f16v.js";
27
27
  import"./index-556ja8an.js";
28
- import"./index-4zxrkk1h.js";
29
- import"./index-912qz4y0.js";
28
+ import"./index-zqshpey0.js";
29
+ import"./index-zbj3yrrd.js";
30
30
  import"./index-7g4c7s5r.js";
31
31
  import"./index-4nt52yr9.js";
32
- import"./index-zd4qhnr7.js";
32
+ import"./index-z8yr1yra.js";
33
33
  import"./index-4rhhvd1a.js";
34
34
  import"./index-zgwm4ryv.js";
35
- import"./index-thp186x0.js";
35
+ import"./index-pkxt2rg2.js";
36
36
  import"./index-jqsfsqbx.js";
37
37
  import"./index-zjygnfay.js";
38
38
  import"./index-bk5tah7q.js";
39
- import"./index-epvhf50h.js";
39
+ import"./index-9d4gck4e.js";
40
40
  import"./index-bpmtbmy9.js";
41
41
  import"./index-a76rekgs.js";
42
42
  export {
@@ -33,32 +33,32 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-z3s0a44b.js";
37
- import"./index-92n3d5ky.js";
36
+ } from "./index-hjf8pjd4.js";
37
+ import"./index-ry609ctr.js";
38
38
  import"./index-k46me75h.js";
39
39
  import"./index-ee3x66a5.js";
40
- import"./index-y9q9f6ms.js";
41
- import"./index-qy1nq52t.js";
40
+ import"./index-8s4vnqts.js";
41
+ import"./index-v250345n.js";
42
42
  import"./index-rtry5xyf.js";
43
- import"./index-fejfzy2j.js";
43
+ import"./index-w9613ace.js";
44
44
  import"./index-ae75rja9.js";
45
- import"./index-vh05t3w5.js";
46
- import"./index-p8kk34am.js";
47
- import"./index-912qz4y0.js";
45
+ import"./index-kq5p3nm3.js";
46
+ import"./index-c2hczjhp.js";
47
+ import"./index-zbj3yrrd.js";
48
48
  import"./index-7g4c7s5r.js";
49
49
  import"./index-ed5ykebp.js";
50
50
  import"./index-4nt52yr9.js";
51
- import"./index-p04qrwck.js";
51
+ import"./index-ysapwztd.js";
52
52
  import"./index-gprxjmm7.js";
53
53
  import"./index-n832052r.js";
54
- import"./index-zd4qhnr7.js";
54
+ import"./index-z8yr1yra.js";
55
55
  import"./index-4rhhvd1a.js";
56
56
  import"./index-zgwm4ryv.js";
57
- import"./index-thp186x0.js";
57
+ import"./index-pkxt2rg2.js";
58
58
  import"./index-jqsfsqbx.js";
59
59
  import"./index-zjygnfay.js";
60
60
  import"./index-bk5tah7q.js";
61
- import"./index-epvhf50h.js";
61
+ import"./index-9d4gck4e.js";
62
62
  import"./index-bpmtbmy9.js";
63
63
  import"./index-a76rekgs.js";
64
64
  export {
@@ -13,7 +13,7 @@ import {
13
13
  startHeartbeatTracking,
14
14
  stopHeartbeatTracking,
15
15
  telemetry
16
- } from "./index-epvhf50h.js";
16
+ } from "./index-9d4gck4e.js";
17
17
  import"./index-bpmtbmy9.js";
18
18
  import"./index-a76rekgs.js";
19
19
  export {
@@ -10,10 +10,10 @@ import {
10
10
  import {
11
11
  scanDelegationFallbacksForRecovery,
12
12
  scanDelegationsForRecovery
13
- } from "./index-s1v0wza5.js";
13
+ } from "./index-nse60anv.js";
14
14
  import"./index-k46me75h.js";
15
15
  import"./index-ee3x66a5.js";
16
- import"./index-912qz4y0.js";
16
+ import"./index-zbj3yrrd.js";
17
17
  import"./index-7g4c7s5r.js";
18
18
  import"./index-ed5ykebp.js";
19
19
  import {
@@ -21,7 +21,7 @@ import {
21
21
  } from "./index-4nt52yr9.js";
22
22
  import"./index-zgwm4ryv.js";
23
23
  import"./index-zjygnfay.js";
24
- import"./index-epvhf50h.js";
24
+ import"./index-9d4gck4e.js";
25
25
  import"./index-bpmtbmy9.js";
26
26
  import"./index-a76rekgs.js";
27
27
 
@@ -20,61 +20,61 @@ import {
20
20
  sanitizeWorktreeTaskId,
21
21
  standardWorktreeByCallID,
22
22
  standardWorktreeSerializationSessions
23
- } from "./index-nakkgkkt.js";
23
+ } from "./index-dx1mdsrj.js";
24
24
  import"./index-4905hd2m.js";
25
- import"./index-41hkt36g.js";
26
- import"./index-c432knmy.js";
27
- import"./index-1p72dtym.js";
25
+ import"./index-ebwznsfy.js";
26
+ import"./index-f1hsrgw1.js";
27
+ import"./index-39xs96mk.js";
28
28
  import"./index-c8s9a3zh.js";
29
- import"./index-p2ty3eee.js";
30
- import"./index-56rqw2hs.js";
29
+ import"./index-3gfdb0t9.js";
30
+ import"./index-c6m3t5n2.js";
31
31
  import"./index-134d35c1.js";
32
- import"./index-t5pytnca.js";
32
+ import"./index-q4vaar2b.js";
33
33
  import"./index-y8552snf.js";
34
34
  import"./index-9ss2m4rs.js";
35
35
  import"./index-74hpm6sh.js";
36
- import"./index-z3s0a44b.js";
37
- import"./index-z0z9pe7b.js";
38
- import"./index-h01wb18g.js";
39
- import"./index-v2xrer41.js";
40
- import"./index-m9xrdjn0.js";
41
- import"./index-bjqpdr83.js";
36
+ import"./index-hjf8pjd4.js";
37
+ import"./index-2ygp3pnx.js";
38
+ import"./index-mr397tze.js";
39
+ import"./index-xmzmeknp.js";
40
+ import"./index-qskz8j2z.js";
41
+ import"./index-8056f16v.js";
42
42
  import"./index-556ja8an.js";
43
- import"./index-4zxrkk1h.js";
43
+ import"./index-zqshpey0.js";
44
44
  import"./index-zsrtt42s.js";
45
- import"./index-dtqjxfw9.js";
45
+ import"./index-wbf8sv70.js";
46
46
  import"./index-qwm6vdyv.js";
47
- import"./index-tjqzr3jc.js";
48
- import"./index-s1v0wza5.js";
47
+ import"./index-3d13jkzq.js";
48
+ import"./index-nse60anv.js";
49
49
  import"./index-8fwhhayc.js";
50
50
  import"./index-q1exe2b3.js";
51
- import"./index-92n3d5ky.js";
51
+ import"./index-ry609ctr.js";
52
52
  import"./index-k46me75h.js";
53
53
  import"./index-ee3x66a5.js";
54
- import"./index-y9q9f6ms.js";
55
- import"./index-qy1nq52t.js";
54
+ import"./index-8s4vnqts.js";
55
+ import"./index-v250345n.js";
56
56
  import"./index-rtry5xyf.js";
57
- import"./index-fejfzy2j.js";
57
+ import"./index-w9613ace.js";
58
58
  import"./index-ae75rja9.js";
59
- import"./index-vh05t3w5.js";
60
- import"./index-p8kk34am.js";
61
- import"./index-912qz4y0.js";
59
+ import"./index-kq5p3nm3.js";
60
+ import"./index-c2hczjhp.js";
61
+ import"./index-zbj3yrrd.js";
62
62
  import"./index-7g4c7s5r.js";
63
63
  import"./index-ed5ykebp.js";
64
64
  import"./index-4nt52yr9.js";
65
65
  import {
66
66
  resolveWorktreeIsolationConfig
67
- } from "./index-p04qrwck.js";
67
+ } from "./index-ysapwztd.js";
68
68
  import"./index-gprxjmm7.js";
69
69
  import"./index-n832052r.js";
70
- import"./index-zd4qhnr7.js";
70
+ import"./index-z8yr1yra.js";
71
71
  import"./index-4rhhvd1a.js";
72
72
  import"./index-zgwm4ryv.js";
73
- import"./index-thp186x0.js";
73
+ import"./index-pkxt2rg2.js";
74
74
  import"./index-jqsfsqbx.js";
75
75
  import"./index-zjygnfay.js";
76
76
  import"./index-bk5tah7q.js";
77
- import"./index-epvhf50h.js";
77
+ import"./index-9d4gck4e.js";
78
78
  import"./index-bpmtbmy9.js";
79
79
  import"./index-a76rekgs.js";
80
80
  export {
@@ -346,6 +346,11 @@ export declare function resolveDelegatedPlanTaskId(args: Record<string, unknown>
346
346
  * rejected by the membership gate in prepareCoderScope with their own message).
347
347
  */
348
348
  declare function describeCoderScopeFailure(args: Record<string, unknown>, planTaskIds: ReadonlySet<string>): string;
349
+ type FileDirectiveExtractionMode = 'enforce' | 'observe';
350
+ declare function extractTaskFileDirectives(args: Record<string, unknown>, mode?: FileDirectiveExtractionMode): {
351
+ present: boolean;
352
+ files: string[] | null;
353
+ };
349
354
  /**
350
355
  * Parses structured per-task verdict lines from agent dispatch output.
351
356
  *
@@ -396,6 +401,7 @@ export declare const _internals: {
396
401
  describeCoderScopeFailure: typeof describeCoderScopeFailure;
397
402
  parsePerTaskVerdicts: typeof parsePerTaskVerdicts;
398
403
  buildParallelExecutionGuidance: typeof buildParallelExecutionGuidance;
404
+ extractTaskFileDirectives: typeof extractTaskFileDirectives;
399
405
  loadPlanJsonOnly: typeof loadPlanJsonOnly;
400
406
  recordPendingDelegationForBackground: typeof import("../background/pending-delegations.js").recordPendingDelegationDetailed;
401
407
  writeDelegationFallbackForBackground: typeof import("../background/pending-delegations.js").writeDelegationFallback;
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * 1. `experimental.chat.messages.transform` — scans the latest
7
7
  * architect-authored message for
8
- * `KNOWLEDGE_APPLIED|IGNORED|CONTRADICTED|VIOLATED`
8
+ * `KNOWLEDGE_APPLIED|IGNORED|N_A|CONTRADICTED|VIOLATED`
9
9
  * markers and records them via `recordAcknowledgmentDeduped`. This
10
10
  * runs BEFORE the architect's next tool call so the toolBefore gate
11
11
  * sees the ack.
@@ -22,7 +22,7 @@
22
22
  * from the process working directory.
23
23
  */
24
24
  import { resolveHiveEventsPath as resolveHiveEventsPathImpl } from '../knowledge/hive-paths.js';
25
- import { queryHistoricalOutcomes } from './knowledge-receipt-ledger.js';
25
+ import { queryHistoricalOutcomes, type ReceiptSourceCode } from './knowledge-receipt-ledger.js';
26
26
  import type { ConfidenceFloorOptions } from './knowledge-store.js';
27
27
  import type { KnowledgeApplicationRecord, RetrievalOutcome } from './knowledge-types.js';
28
28
  /** Current event-log record schema version. Bump when the on-disk shape changes. */
@@ -111,8 +111,11 @@ export interface ReceiptEvent {
111
111
  * (`'reviewer'`) from delegate self-acks (`'delegate'`) without changing the
112
112
  * `type`, so existing counter rollups (which switch on `type`) stay intact.
113
113
  * A reviewer VERIFIED maps to type:'applied' with source:'reviewer'.
114
+ * Canonical closed set: `ReceiptSourceCode` (issue #2032); the `| string`
115
+ * tail keeps legacy records with unrecognized source values loadable, and
116
+ * a MISSING legacy source is never inferred — it stays absent/`'unknown'`.
114
117
  */
115
- source?: 'delegate' | 'reviewer' | string;
118
+ source?: ReceiptSourceCode | (string & {});
116
119
  /** Result of executing a directive's verification_predicate (Change 2). */
117
120
  predicate_check?: {
118
121
  predicate: string;
@@ -1,6 +1,44 @@
1
1
  import { atomicWriteFsynced, type ReceiptLedgerPaths, type ReceiptStoreErrorCode } from './knowledge-receipt-ledger-storage.js';
2
2
  import { type KnowledgeReceiptTransitionObservation } from './knowledge-receipt-observability.js';
3
+ /**
4
+ * Canonical terminal-outcome vocabulary for the authoritative receipt ledger
5
+ * (issue #2032). This is the single declaration the outcome-aware consumers
6
+ * import and derive from: the shared validator (`VALID_OUTCOMES`), the
7
+ * collectors, the application and phase gates, the counter rollups, the
8
+ * scoring signal, and the diagnostics. (The curator consumes outcomes only
9
+ * through the derived signal and counter rollups — it does not switch on
10
+ * this set directly.) Semantics: `applied` = followed (positive signal;
11
+ * reviewer VERIFIED maps here); `ignored` = judged relevant but deliberately
12
+ * not followed (negative signal, policy consequences retained);
13
+ * `contradicted` = current authority disproves (negative); `violated` =
14
+ * runtime violation (negative, blocks phase completion until remediated);
15
+ * `n_a` = not applicable to the current action (neutral — clears only the
16
+ * acknowledgement/applicability obligation, never proves application, never
17
+ * feeds promotion evidence).
18
+ */
3
19
  export type ReceiptOutcome = 'applied' | 'ignored' | 'contradicted' | 'violated' | 'n_a';
20
+ /** Runtime set form of {@link ReceiptOutcome} — derive, never redeclare. */
21
+ export declare const RECEIPT_TERMINAL_OUTCOMES: ReadonlySet<ReceiptOutcome>;
22
+ /**
23
+ * Canonical terminal-source taxonomy (issue #2032). `source` answers WHO
24
+ * produced the terminal as a provenance class, while the separate `agent`
25
+ * field records the agent identity. Storage stays permissive (`string`) for
26
+ * legacy tolerance: a legacy record with an absent or ambiguous source is
27
+ * preserved as `'unknown'` and is never coerced to delegate, ignored, or any
28
+ * other class. New producers must stamp one of the closed values below.
29
+ */
30
+ export type ReceiptSourceCode = 'delegate' | 'reviewer' | 'architect' | 'architect_marker' | 'test_engineer' | 'phase_override' | 'application_gate_staleness_clear' | 'application_gate_denial_limit_clear' | 'manual' | 'migration' | 'unknown';
31
+ /** Closed set form of {@link ReceiptSourceCode}. */
32
+ export declare const CANONICAL_RECEIPT_SOURCES: ReadonlySet<string>;
33
+ /**
34
+ * Normalize a would-be terminal source to the canonical taxonomy (issue
35
+ * #2032 review F-001): a canonical value passes through verbatim; anything
36
+ * else (absent, whitespace, out-of-taxonomy string such as a legacy agent
37
+ * name) becomes the honest `'unknown'` class. Deliberately NOT a hard
38
+ * reject — storage stays permissive for legacy tolerance, and reads of the
39
+ * historical journal remain unchanged; only NEW commit boundaries normalize.
40
+ */
41
+ export declare function normalizeReceiptSource(value: unknown): string;
4
42
  export interface ReceiptPredicateCheck {
5
43
  predicate: string;
6
44
  result: 'pass' | 'fail' | 'error';