opencode-swarm 7.178.1 → 7.179.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 (96) hide show
  1. package/.opencode/skills/deep-dive/SKILL.md +1 -1
  2. package/.opencode/skills/running-tests/SKILL.md +30 -24
  3. package/.opencode/skills/swarm-plan/SKILL.md +1 -1
  4. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  5. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  6. package/dist/agents/critic.d.ts +6 -6
  7. package/dist/agents/explorer.d.ts +1 -1
  8. package/dist/cli/{coder-settlement-m03dfyec.js → coder-settlement-7pt3a0y0.js} +8 -8
  9. package/dist/cli/{config-doctor-x8b260sh.js → config-doctor-82w4bp4b.js} +3 -3
  10. package/dist/cli/{core-2d0xcyby.js → core-9rqzs794.js} +2 -2
  11. package/dist/cli/{curation-policy-7am15ht9.js → curation-policy-c7mdsf7m.js} +4 -4
  12. package/dist/cli/{curator-llm-factory-rgdb2ee5.js → curator-llm-factory-cbm1ny30.js} +33 -33
  13. package/dist/cli/{curator-5kfkqzc9.js → curator-m8act07j.js} +33 -33
  14. package/dist/cli/{dispatch-9yqqqfr6.js → dispatch-3rwdxpp2.js} +1 -1
  15. package/dist/cli/{evidence-summary-service-959pwbwb.js → evidence-summary-service-a99bgje1.js} +13 -13
  16. package/dist/cli/{explorer-2cv64zfj.js → explorer-z0cf5cz0.js} +1 -1
  17. package/dist/cli/{gate-evidence-66kjx6zj.js → gate-evidence-yssmxba5.js} +5 -5
  18. package/dist/cli/{guardrail-explain-rre9ntq3.js → guardrail-explain-ffwmhf7s.js} +34 -34
  19. package/dist/cli/{guardrail-log-t0ydqz5s.js → guardrail-log-j2wtq7p2.js} +7 -7
  20. package/dist/cli/{guardrail-reset-6gad352a.js → guardrail-reset-07byr7nr.js} +33 -33
  21. package/dist/cli/{hive-promoter-zgnagx67.js → hive-promoter-ewrz7vh1.js} +33 -33
  22. package/dist/cli/{index-ksq6cqg0.js → index-09wm3963.js} +5 -5
  23. package/dist/cli/{index-6e8fpjdg.js → index-0bc8jdnv.js} +2 -2
  24. package/dist/cli/{index-xr9n0vjv.js → index-0h3cr7pn.js} +1 -1
  25. package/dist/cli/{index-fyfbpz4f.js → index-1c1dbwze.js} +1 -0
  26. package/dist/cli/{index-1zrrerev.js → index-1rwyfvq2.js} +2 -2
  27. package/dist/cli/{index-qbs49vge.js → index-1sz02k85.js} +1 -1
  28. package/dist/cli/{index-t8dqe4ns.js → index-34bwqcea.js} +1 -1
  29. package/dist/cli/{index-7kty6f59.js → index-3hne91yd.js} +5 -5
  30. package/dist/cli/{index-yew23624.js → index-6r92fw88.js} +4 -4
  31. package/dist/cli/{index-j7w16s92.js → index-6tnkvqr9.js} +2 -2
  32. package/dist/cli/{index-x1m1nnry.js → index-7zmbtxw1.js} +4 -4
  33. package/dist/cli/{index-kj599831.js → index-80q47hpw.js} +2 -2
  34. package/dist/cli/{index-r78kphsr.js → index-8815e95e.js} +3 -3
  35. package/dist/cli/{index-pyxs697r.js → index-9p1pqykb.js} +5 -5
  36. package/dist/cli/{index-whjrhatw.js → index-a11ztzs5.js} +18 -1
  37. package/dist/cli/{index-eq1n57tg.js → index-amf88k1e.js} +1 -1
  38. package/dist/cli/{index-bb148vht.js → index-cvg402ha.js} +1 -1
  39. package/dist/cli/{index-wajcx84s.js → index-d66zb40k.js} +651 -179
  40. package/dist/cli/{index-1jcy4gc6.js → index-etmwjgre.js} +33 -33
  41. package/dist/cli/{index-kz9pcqn9.js → index-f2v90gfc.js} +1 -1
  42. package/dist/cli/{index-7n4dtzk4.js → index-g6nyk713.js} +1 -1
  43. package/dist/cli/{index-w1b5qqnp.js → index-h59vsbch.js} +2 -2
  44. package/dist/cli/{index-xr3eye3f.js → index-hwcra3y9.js} +7 -7
  45. package/dist/cli/{index-2e6txjp7.js → index-kanxpgf8.js} +3 -3
  46. package/dist/cli/{index-1hgqs8j8.js → index-kmhnkn6t.js} +3 -3
  47. package/dist/cli/{index-2pyba37z.js → index-ndwbb3xm.js} +6 -6
  48. package/dist/cli/{index-nrfjjqm4.js → index-pskba939.js} +1 -1
  49. package/dist/cli/{index-1qnykdaw.js → index-pxtye2ng.js} +35 -35
  50. package/dist/cli/{index-pk97v7b8.js → index-qt0793qm.js} +4 -4
  51. package/dist/cli/{index-x54339yd.js → index-qxk5qkfh.js} +5 -5
  52. package/dist/cli/{index-4e4zsj2g.js → index-sv4y1cma.js} +5 -5
  53. package/dist/cli/{index-byfrearz.js → index-tmy46dtd.js} +4 -4
  54. package/dist/cli/{index-zv3j0v08.js → index-twtez316.js} +2 -2
  55. package/dist/cli/{index-m2n1rhgv.js → index-w872yykk.js} +1 -1
  56. package/dist/cli/{index-h0kyy9rd.js → index-wvpsm8ja.js} +9 -9
  57. package/dist/cli/{index-b50qevsm.js → index-yagqxt2p.js} +4 -4
  58. package/dist/cli/{index-0pmh1kks.js → index-yfpswnjt.js} +1 -1
  59. package/dist/cli/{index-hnvmj9wx.js → index-zgvzbz48.js} +14 -4
  60. package/dist/cli/index.js +34 -34
  61. package/dist/cli/{knowledge-escalator-5r6mww64.js → knowledge-escalator-yx97q9c1.js} +11 -11
  62. package/dist/cli/{knowledge-events-typjw0sd.js → knowledge-events-p269fyvv.js} +9 -9
  63. package/dist/cli/{knowledge-link-mvykydxg.js → knowledge-link-gfz47ves.js} +3 -3
  64. package/dist/cli/{knowledge-store-9qcf3emn.js → knowledge-store-36zemyqa.js} +4 -4
  65. package/dist/cli/{knowledge-validator-k6ydsxzy.js → knowledge-validator-rd20yq41.js} +6 -6
  66. package/dist/cli/{mcp-tedxsgey.js → mcp-sg9zrkz2.js} +1 -1
  67. package/dist/cli/{model-preflight-kh9dwts2.js → model-preflight-61xgqwcs.js} +1 -1
  68. package/dist/cli/{pending-delegations-d20fnrzv.js → pending-delegations-8p2gf4kt.js} +8 -8
  69. package/dist/cli/{pr-subscriptions-awwhg139.js → pr-subscriptions-4dj9r71h.js} +8 -8
  70. package/dist/cli/{pr-workflow-gate-ke79bb9c.js → pr-workflow-gate-8dgz5z1h.js} +35 -33
  71. package/dist/cli/{runner-y3sydwtj.js → runner-16b691ba.js} +4 -4
  72. package/dist/cli/{scan-cursor-16s6dp7f.js → scan-cursor-nx0jv9ya.js} +5 -5
  73. package/dist/cli/{schema-nqjp43vq.js → schema-q6gsrxwz.js} +2 -2
  74. package/dist/cli/{scope-persistence-8z1hwdr2.js → scope-persistence-1k4xsyh7.js} +13 -13
  75. package/dist/cli/{server-x16hp9aq.js → server-shhxq34t.js} +33 -33
  76. package/dist/cli/{skill-generator-xadg43ph.js → skill-generator-6j7tq2tb.js} +13 -13
  77. package/dist/cli/{snapshot-coordination-init-3yyzb2c4.js → snapshot-coordination-init-h8n8w1cm.js} +33 -33
  78. package/dist/cli/{telemetry-c9wv2cfw.js → telemetry-qxav5cdk.js} +1 -1
  79. package/dist/cli/{worktree-collision-ownership-drqhmmtd.js → worktree-collision-ownership-97jzh4ra.js} +8 -8
  80. package/dist/cli/{worktree-isolation-aebdyb1m.js → worktree-isolation-g4w74ccb.js} +33 -33
  81. package/dist/commands/registry.d.ts +3 -3
  82. package/dist/db/coordination-store.d.ts +10 -0
  83. package/dist/hooks/pr-workflow-gate.d.ts +15 -6
  84. package/dist/index.js +77 -64
  85. package/dist/mutation/engine.d.ts +6 -0
  86. package/dist/mutation/equivalence.d.ts +12 -1
  87. package/dist/pr-review/circuit.d.ts +3 -3
  88. package/dist/pr-review/legacy-transcript-adapter.d.ts +7 -10
  89. package/dist/pr-review/persistence.d.ts +36 -0
  90. package/dist/retention/sweep.d.ts +4 -0
  91. package/dist/tools/mutation-test.d.ts +6 -0
  92. package/dist/tools/prepare-pr-workflow-checkout.d.ts +19 -0
  93. package/dist/tools/repo-map-action-dispositions.d.ts +23 -0
  94. package/dist/tools/test-runner.d.ts +17 -2
  95. package/package.json +1 -1
  96. package/dist/pr-review/guardrails.d.ts +0 -67
@@ -25,26 +25,26 @@ import {
25
25
  redactSecrets,
26
26
  resolveWriteTargets,
27
27
  symbols
28
- } from "./index-wajcx84s.js";
28
+ } from "./index-d66zb40k.js";
29
29
  import {
30
30
  getProfileForFile
31
- } from "./index-hnvmj9wx.js";
31
+ } from "./index-zgvzbz48.js";
32
32
  import {
33
33
  pLimit
34
- } from "./index-nrfjjqm4.js";
34
+ } from "./index-pskba939.js";
35
35
  import {
36
36
  checkFileAuthority,
37
37
  checkWriteTargetForSymlink
38
- } from "./index-x1m1nnry.js";
38
+ } from "./index-7zmbtxw1.js";
39
39
  import"./index-h4nh6s8b.js";
40
- import"./index-6e8fpjdg.js";
40
+ import"./index-0bc8jdnv.js";
41
41
  import {
42
42
  _internals,
43
43
  loadPlan,
44
44
  loadPlanJsonOnly,
45
45
  saveEvidence
46
- } from "./index-h0kyy9rd.js";
47
- import"./index-7n4dtzk4.js";
46
+ } from "./index-wvpsm8ja.js";
47
+ import"./index-g6nyk713.js";
48
48
  import"./index-txdagbh7.js";
49
49
  import"./index-n1tcj1q7.js";
50
50
  import {
@@ -55,16 +55,16 @@ import {
55
55
  validateTargetWithinRoot,
56
56
  validateWorkspaceRoot
57
57
  } from "./index-6b295cas.js";
58
- import"./index-r78kphsr.js";
59
- import"./index-x54339yd.js";
58
+ import"./index-8815e95e.js";
59
+ import"./index-qxk5qkfh.js";
60
60
  import {
61
61
  resolveCohortId
62
- } from "./index-1zrrerev.js";
63
- import"./index-fyfbpz4f.js";
64
- import"./index-yew23624.js";
62
+ } from "./index-1rwyfvq2.js";
63
+ import"./index-1c1dbwze.js";
64
+ import"./index-6r92fw88.js";
65
65
  import"./index-549wxbe1.js";
66
66
  import"./index-zsrtt42s.js";
67
- import"./index-7kty6f59.js";
67
+ import"./index-3hne91yd.js";
68
68
  import"./index-2b0ktpbf.js";
69
69
  import"./index-3pzwsesm.js";
70
70
  import {
@@ -72,15 +72,15 @@ import {
72
72
  getParserForFile
73
73
  } from "./index-pt7h91zc.js";
74
74
  import"./index-q7sjgr1y.js";
75
- import"./index-1hgqs8j8.js";
76
- import"./index-j7w16s92.js";
77
- import"./index-4e4zsj2g.js";
75
+ import"./index-kmhnkn6t.js";
76
+ import"./index-6tnkvqr9.js";
77
+ import"./index-sv4y1cma.js";
78
78
  import {
79
79
  effectiveRetrievalOutcomes,
80
80
  newTraceId,
81
81
  readAuthoritativeKnowledgeCounterRollups,
82
82
  recordKnowledgeEvent
83
- } from "./index-xr3eye3f.js";
83
+ } from "./index-hwcra3y9.js";
84
84
  import"./index-s4bkey0q.js";
85
85
  import"./index-2s7dvzff.js";
86
86
  import {
@@ -88,25 +88,25 @@ import {
88
88
  validateActionability,
89
89
  validateActionableFields,
90
90
  validateLesson
91
- } from "./index-b50qevsm.js";
91
+ } from "./index-yagqxt2p.js";
92
92
  import {
93
93
  resolveWorktreeId
94
- } from "./index-xr9n0vjv.js";
94
+ } from "./index-0h3cr7pn.js";
95
95
  import"./index-rtry5xyf.js";
96
- import"./index-2e6txjp7.js";
96
+ import"./index-kanxpgf8.js";
97
97
  import"./index-frcemc0b.js";
98
98
  import"./index-wrt875kh.js";
99
99
  import {
100
100
  normalizeScopeFiles
101
- } from "./index-pyxs697r.js";
102
- import"./index-ksq6cqg0.js";
103
- import"./index-w1b5qqnp.js";
104
- import"./index-bb148vht.js";
105
- import"./index-whjrhatw.js";
101
+ } from "./index-9p1pqykb.js";
102
+ import"./index-09wm3963.js";
103
+ import"./index-h59vsbch.js";
104
+ import"./index-cvg402ha.js";
105
+ import"./index-a11ztzs5.js";
106
106
  import"./index-nzekzzs2.js";
107
107
  import"./index-ry16d01s.js";
108
108
  import"./index-rdm3px0g.js";
109
- import"./index-0pmh1kks.js";
109
+ import"./index-yfpswnjt.js";
110
110
  import {
111
111
  computeContentHash,
112
112
  computeOutcomeSignal,
@@ -123,15 +123,15 @@ import {
123
123
  resolveSwarmKnowledgePath,
124
124
  transactKnowledge,
125
125
  wordBigrams
126
- } from "./index-2pyba37z.js";
126
+ } from "./index-ndwbb3xm.js";
127
127
  import"./index-vzm6zre7.js";
128
128
  import"./index-ae75rja9.js";
129
- import"./index-t8dqe4ns.js";
129
+ import"./index-34bwqcea.js";
130
130
  import {
131
131
  tryAcquireLock
132
- } from "./index-kz9pcqn9.js";
132
+ } from "./index-f2v90gfc.js";
133
133
  import"./index-7g4c7s5r.js";
134
- import"./index-pk97v7b8.js";
134
+ import"./index-qt0793qm.js";
135
135
  import {
136
136
  assertSwarmContainedTarget,
137
137
  atomicWriteSwarmFile
@@ -145,7 +145,7 @@ import {
145
145
  import {
146
146
  loadGateOverrides,
147
147
  loadPluginConfigWithMeta
148
- } from "./index-qbs49vge.js";
148
+ } from "./index-1sz02k85.js";
149
149
  import {
150
150
  init_git_executable,
151
151
  resolveGitExecutableAsync
@@ -155,11 +155,11 @@ import {
155
155
  KnowledgeConfigSchema,
156
156
  init_schema,
157
157
  stripKnownSwarmPrefix
158
- } from "./index-zv3j0v08.js";
158
+ } from "./index-twtez316.js";
159
159
  import {
160
160
  TOOL_METADATA,
161
161
  init_tool_metadata
162
- } from "./index-m2n1rhgv.js";
162
+ } from "./index-w872yykk.js";
163
163
  import {
164
164
  KNOWLEDGE_SCHEMA_VERSION,
165
165
  init_knowledge_types,
@@ -33,33 +33,33 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-r78kphsr.js";
36
+ } from "./index-8815e95e.js";
37
37
  import"./index-q7sjgr1y.js";
38
- import"./index-xr3eye3f.js";
38
+ import"./index-hwcra3y9.js";
39
39
  import"./index-s4bkey0q.js";
40
40
  import"./index-2s7dvzff.js";
41
- import"./index-b50qevsm.js";
42
- import"./index-xr9n0vjv.js";
41
+ import"./index-yagqxt2p.js";
42
+ import"./index-0h3cr7pn.js";
43
43
  import"./index-rtry5xyf.js";
44
- import"./index-2e6txjp7.js";
44
+ import"./index-kanxpgf8.js";
45
45
  import"./index-frcemc0b.js";
46
46
  import"./index-wrt875kh.js";
47
- import"./index-0pmh1kks.js";
48
- import"./index-2pyba37z.js";
47
+ import"./index-yfpswnjt.js";
48
+ import"./index-ndwbb3xm.js";
49
49
  import"./index-vzm6zre7.js";
50
50
  import"./index-ae75rja9.js";
51
- import"./index-t8dqe4ns.js";
52
- import"./index-kz9pcqn9.js";
51
+ import"./index-34bwqcea.js";
52
+ import"./index-f2v90gfc.js";
53
53
  import"./index-7g4c7s5r.js";
54
- import"./index-pk97v7b8.js";
54
+ import"./index-qt0793qm.js";
55
55
  import"./index-ne9zamcs.js";
56
56
  import"./index-1xnse449.js";
57
57
  import"./index-c1ggtmpm.js";
58
- import"./index-qbs49vge.js";
58
+ import"./index-1sz02k85.js";
59
59
  import"./index-zz7gzw57.js";
60
60
  import"./index-4ddpvd5c.js";
61
- import"./index-zv3j0v08.js";
62
- import"./index-m2n1rhgv.js";
61
+ import"./index-twtez316.js";
62
+ import"./index-w872yykk.js";
63
63
  import"./index-bk5tah7q.js";
64
64
  import"./index-gknz3bv1.js";
65
65
  import"./index-zpsr8rpc.js";
@@ -8,65 +8,65 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-wajcx84s.js";
12
- import"./index-hnvmj9wx.js";
13
- import"./index-nrfjjqm4.js";
14
- import"./index-x1m1nnry.js";
11
+ } from "./index-d66zb40k.js";
12
+ import"./index-zgvzbz48.js";
13
+ import"./index-pskba939.js";
14
+ import"./index-7zmbtxw1.js";
15
15
  import"./index-h4nh6s8b.js";
16
- import"./index-6e8fpjdg.js";
17
- import"./index-h0kyy9rd.js";
18
- import"./index-7n4dtzk4.js";
16
+ import"./index-0bc8jdnv.js";
17
+ import"./index-wvpsm8ja.js";
18
+ import"./index-g6nyk713.js";
19
19
  import"./index-txdagbh7.js";
20
20
  import"./index-n1tcj1q7.js";
21
21
  import"./index-6b295cas.js";
22
- import"./index-r78kphsr.js";
23
- import"./index-x54339yd.js";
24
- import"./index-1zrrerev.js";
25
- import"./index-fyfbpz4f.js";
26
- import"./index-yew23624.js";
22
+ import"./index-8815e95e.js";
23
+ import"./index-qxk5qkfh.js";
24
+ import"./index-1rwyfvq2.js";
25
+ import"./index-1c1dbwze.js";
26
+ import"./index-6r92fw88.js";
27
27
  import"./index-549wxbe1.js";
28
28
  import"./index-zsrtt42s.js";
29
- import"./index-7kty6f59.js";
29
+ import"./index-3hne91yd.js";
30
30
  import"./index-2b0ktpbf.js";
31
31
  import"./index-3pzwsesm.js";
32
32
  import"./index-pt7h91zc.js";
33
33
  import"./index-q7sjgr1y.js";
34
- import"./index-1hgqs8j8.js";
35
- import"./index-j7w16s92.js";
36
- import"./index-4e4zsj2g.js";
37
- import"./index-xr3eye3f.js";
34
+ import"./index-kmhnkn6t.js";
35
+ import"./index-6tnkvqr9.js";
36
+ import"./index-sv4y1cma.js";
37
+ import"./index-hwcra3y9.js";
38
38
  import"./index-s4bkey0q.js";
39
39
  import"./index-2s7dvzff.js";
40
- import"./index-b50qevsm.js";
41
- import"./index-xr9n0vjv.js";
40
+ import"./index-yagqxt2p.js";
41
+ import"./index-0h3cr7pn.js";
42
42
  import"./index-rtry5xyf.js";
43
- import"./index-2e6txjp7.js";
43
+ import"./index-kanxpgf8.js";
44
44
  import"./index-frcemc0b.js";
45
45
  import"./index-wrt875kh.js";
46
- import"./index-pyxs697r.js";
47
- import"./index-ksq6cqg0.js";
48
- import"./index-w1b5qqnp.js";
49
- import"./index-bb148vht.js";
50
- import"./index-whjrhatw.js";
46
+ import"./index-9p1pqykb.js";
47
+ import"./index-09wm3963.js";
48
+ import"./index-h59vsbch.js";
49
+ import"./index-cvg402ha.js";
50
+ import"./index-a11ztzs5.js";
51
51
  import"./index-nzekzzs2.js";
52
52
  import"./index-ry16d01s.js";
53
53
  import"./index-rdm3px0g.js";
54
- import"./index-0pmh1kks.js";
55
- import"./index-2pyba37z.js";
54
+ import"./index-yfpswnjt.js";
55
+ import"./index-ndwbb3xm.js";
56
56
  import"./index-vzm6zre7.js";
57
57
  import"./index-ae75rja9.js";
58
- import"./index-t8dqe4ns.js";
59
- import"./index-kz9pcqn9.js";
58
+ import"./index-34bwqcea.js";
59
+ import"./index-f2v90gfc.js";
60
60
  import"./index-7g4c7s5r.js";
61
- import"./index-pk97v7b8.js";
61
+ import"./index-qt0793qm.js";
62
62
  import"./index-ne9zamcs.js";
63
63
  import"./index-1xnse449.js";
64
64
  import"./index-c1ggtmpm.js";
65
- import"./index-qbs49vge.js";
65
+ import"./index-1sz02k85.js";
66
66
  import"./index-zz7gzw57.js";
67
67
  import"./index-4ddpvd5c.js";
68
- import"./index-zv3j0v08.js";
69
- import"./index-m2n1rhgv.js";
68
+ import"./index-twtez316.js";
69
+ import"./index-w872yykk.js";
70
70
  import"./index-bk5tah7q.js";
71
71
  import"./index-gknz3bv1.js";
72
72
  import"./index-zpsr8rpc.js";
@@ -14,7 +14,7 @@ import {
14
14
  startHeartbeatTracking,
15
15
  stopHeartbeatTracking,
16
16
  telemetry
17
- } from "./index-pk97v7b8.js";
17
+ } from "./index-qt0793qm.js";
18
18
  import"./index-1xnse449.js";
19
19
  import"./index-c1ggtmpm.js";
20
20
  import"./index-gknz3bv1.js";
@@ -13,22 +13,22 @@ import {
13
13
  import {
14
14
  scanDelegationFallbacksForRecovery,
15
15
  scanDelegationsForRecovery
16
- } from "./index-4e4zsj2g.js";
16
+ } from "./index-sv4y1cma.js";
17
17
  import"./index-s4bkey0q.js";
18
18
  import"./index-2s7dvzff.js";
19
- import"./index-bb148vht.js";
20
- import"./index-whjrhatw.js";
19
+ import"./index-cvg402ha.js";
20
+ import"./index-a11ztzs5.js";
21
21
  import"./index-nzekzzs2.js";
22
22
  import"./index-ry16d01s.js";
23
23
  import"./index-rdm3px0g.js";
24
- import"./index-0pmh1kks.js";
25
- import"./index-2pyba37z.js";
24
+ import"./index-yfpswnjt.js";
25
+ import"./index-ndwbb3xm.js";
26
26
  import"./index-vzm6zre7.js";
27
27
  import"./index-ae75rja9.js";
28
- import"./index-t8dqe4ns.js";
29
- import"./index-kz9pcqn9.js";
28
+ import"./index-34bwqcea.js";
29
+ import"./index-f2v90gfc.js";
30
30
  import"./index-7g4c7s5r.js";
31
- import"./index-pk97v7b8.js";
31
+ import"./index-qt0793qm.js";
32
32
  import"./index-ne9zamcs.js";
33
33
  import {
34
34
  canonicalRootKeyFresh
@@ -21,67 +21,67 @@ import {
21
21
  sanitizeWorktreeTaskId,
22
22
  standardWorktreeByCallID,
23
23
  standardWorktreeSerializationSessions
24
- } from "./index-wajcx84s.js";
25
- import"./index-hnvmj9wx.js";
26
- import"./index-nrfjjqm4.js";
27
- import"./index-x1m1nnry.js";
24
+ } from "./index-d66zb40k.js";
25
+ import"./index-zgvzbz48.js";
26
+ import"./index-pskba939.js";
27
+ import"./index-7zmbtxw1.js";
28
28
  import"./index-h4nh6s8b.js";
29
- import"./index-6e8fpjdg.js";
30
- import"./index-h0kyy9rd.js";
31
- import"./index-7n4dtzk4.js";
29
+ import"./index-0bc8jdnv.js";
30
+ import"./index-wvpsm8ja.js";
31
+ import"./index-g6nyk713.js";
32
32
  import"./index-txdagbh7.js";
33
33
  import"./index-n1tcj1q7.js";
34
34
  import"./index-6b295cas.js";
35
- import"./index-r78kphsr.js";
36
- import"./index-x54339yd.js";
37
- import"./index-1zrrerev.js";
38
- import"./index-fyfbpz4f.js";
39
- import"./index-yew23624.js";
35
+ import"./index-8815e95e.js";
36
+ import"./index-qxk5qkfh.js";
37
+ import"./index-1rwyfvq2.js";
38
+ import"./index-1c1dbwze.js";
39
+ import"./index-6r92fw88.js";
40
40
  import"./index-549wxbe1.js";
41
41
  import"./index-zsrtt42s.js";
42
- import"./index-7kty6f59.js";
42
+ import"./index-3hne91yd.js";
43
43
  import"./index-2b0ktpbf.js";
44
44
  import"./index-3pzwsesm.js";
45
45
  import"./index-pt7h91zc.js";
46
46
  import"./index-q7sjgr1y.js";
47
- import"./index-1hgqs8j8.js";
48
- import"./index-j7w16s92.js";
49
- import"./index-4e4zsj2g.js";
50
- import"./index-xr3eye3f.js";
47
+ import"./index-kmhnkn6t.js";
48
+ import"./index-6tnkvqr9.js";
49
+ import"./index-sv4y1cma.js";
50
+ import"./index-hwcra3y9.js";
51
51
  import"./index-s4bkey0q.js";
52
52
  import"./index-2s7dvzff.js";
53
- import"./index-b50qevsm.js";
54
- import"./index-xr9n0vjv.js";
53
+ import"./index-yagqxt2p.js";
54
+ import"./index-0h3cr7pn.js";
55
55
  import"./index-rtry5xyf.js";
56
56
  import {
57
57
  resolveWorktreeIsolationConfig
58
- } from "./index-2e6txjp7.js";
58
+ } from "./index-kanxpgf8.js";
59
59
  import"./index-frcemc0b.js";
60
60
  import"./index-wrt875kh.js";
61
- import"./index-pyxs697r.js";
62
- import"./index-ksq6cqg0.js";
63
- import"./index-w1b5qqnp.js";
64
- import"./index-bb148vht.js";
65
- import"./index-whjrhatw.js";
61
+ import"./index-9p1pqykb.js";
62
+ import"./index-09wm3963.js";
63
+ import"./index-h59vsbch.js";
64
+ import"./index-cvg402ha.js";
65
+ import"./index-a11ztzs5.js";
66
66
  import"./index-nzekzzs2.js";
67
67
  import"./index-ry16d01s.js";
68
68
  import"./index-rdm3px0g.js";
69
- import"./index-0pmh1kks.js";
70
- import"./index-2pyba37z.js";
69
+ import"./index-yfpswnjt.js";
70
+ import"./index-ndwbb3xm.js";
71
71
  import"./index-vzm6zre7.js";
72
72
  import"./index-ae75rja9.js";
73
- import"./index-t8dqe4ns.js";
74
- import"./index-kz9pcqn9.js";
73
+ import"./index-34bwqcea.js";
74
+ import"./index-f2v90gfc.js";
75
75
  import"./index-7g4c7s5r.js";
76
- import"./index-pk97v7b8.js";
76
+ import"./index-qt0793qm.js";
77
77
  import"./index-ne9zamcs.js";
78
78
  import"./index-1xnse449.js";
79
79
  import"./index-c1ggtmpm.js";
80
- import"./index-qbs49vge.js";
80
+ import"./index-1sz02k85.js";
81
81
  import"./index-zz7gzw57.js";
82
82
  import"./index-4ddpvd5c.js";
83
- import"./index-zv3j0v08.js";
84
- import"./index-m2n1rhgv.js";
83
+ import"./index-twtez316.js";
84
+ import"./index-w872yykk.js";
85
85
  import"./index-bk5tah7q.js";
86
86
  import"./index-gknz3bv1.js";
87
87
  import"./index-zpsr8rpc.js";
@@ -804,9 +804,9 @@ export declare const COMMAND_REGISTRY: {
804
804
  };
805
805
  readonly 'abort-pr-workflow': {
806
806
  readonly handler: (ctx: CommandContext) => Promise<string>;
807
- readonly description: "Clear a stuck PR_REVIEW/PR_FEEDBACK mechanical gate and stop the auto-resume loop [mode] [reason]";
808
- readonly args: "[PR_REVIEW|PR_FEEDBACK] [reason...]";
809
- readonly details: "Human-only escape hatch for an unrecoverable PR_REVIEW or PR_FEEDBACK mechanical gate. When the architect cannot reach complete_pr_workflow — for example a compound `git fetch && git checkout` was rejected as read-only shell syntax, the PR head cannot be fetched, or the working tree is on the wrong branch — running this clears the durable gate state for the current session and stops the auto-resume loop without depending on the trapped model. The agent itself cannot run this command; it must call the abort_pr_workflow tool (or ask you to run this command). Both paths funnel into the same fail-closed abortPrWorkflow hook, which refuses while the workflow is armed for publication or while PR workflow lanes are still in flight. Issue #2108 adds the two audited exits from an armed publication window: the invalidate_pr_feedback_publication tool (change approved content every approval of the generation is superseded and the full ladder re-runs) and the abort_pr_workflow tool kind \"cancel-publication\" with cancel_publication: true and a reason (terminal no-publish cancellation; never grants push authority). A plain recovery or force abort never clears an armed window. This human-only force path has exactly one exception to the lane refusal (issue #2251): when the ONLY lanes still blocking are ones past the 30-minute staleness horizon that the liveness probe reports as still running — a lane nothing will ever settle on a schedule — it clears the gate anyway, names exactly which lanes it overrode, and finalizes their delegation records so the session can start a new PR workflow. Those sessions are NOT stopped and their output is NOT collected. A lane with a fresh updatedAt still blocks even under force, and any delegation record that still keeps the session blocked is named in the warning. When checkout preparation preserved a stash, the result instructs the caller to run prepare_pr_workflow_checkout operation=restore after the clear. An audit event is appended to .swarm/events.jsonl.";
807
+ readonly description: "Clear a stuck PR_REVIEW/PR_FEEDBACK mechanical gate and stop the auto-resume loop [mode] [reason] or PR_FEEDBACK --cancel-publication <reason...> (cancelled_without_publication)";
808
+ readonly args: "[PR_REVIEW|PR_FEEDBACK] [reason...] | PR_FEEDBACK --cancel-publication <reason...>";
809
+ readonly details: "Human-only escape hatch for an unrecoverable PR_REVIEW or PR_FEEDBACK mechanical gate. When the architect cannot reach complete_pr_workflow — for example a compound `git fetch && git checkout` was rejected as read-only shell syntax, the PR head cannot be fetched, or the working tree is on the wrong branch — running this clears the durable gate state for the current session and stops the auto-resume loop without depending on the trapped model. The agent itself cannot run this command; it must call the abort_pr_workflow tool (or ask you to run this command). Both paths funnel into the same fail-closed abortPrWorkflow hook, which refuses while the workflow is armed for publication or while PR workflow lanes are still in flight. To cancel an armed PR_FEEDBACK publication without publishing, use the exact human syntax `PR_FEEDBACK --cancel-publication <reason...>`; it requires a non-empty reason, records the terminal `cancelled_without_publication` status with the observed remote head, and never grants push authority. A plain recovery or force abort never clears an armed window. This human-only force path has exactly one exception to the lane refusal (issue #2251): when the ONLY lanes still blocking are ones past the 30-minute staleness horizon that the liveness probe reports as still running — a lane nothing will ever settle on a schedule — it clears the gate anyway, names exactly which lanes it overrode, and finalizes their delegation records so the session can start a new PR workflow. Those sessions are NOT stopped and their output is NOT collected. A lane with a fresh updatedAt still blocks even under force, and any delegation record that still keeps the session blocked is named in the warning. When checkout preparation preserved a stash, the result instructs the caller to run prepare_pr_workflow_checkout operation=restore after the clear. An audit event is appended to .swarm/events.jsonl.";
810
810
  readonly category: "utility";
811
811
  readonly toolPolicy: "restricted";
812
812
  };
@@ -40,6 +40,16 @@ export interface CoordinationTransitionResult {
40
40
  outcome: CoordinationTransitionOutcome;
41
41
  state: CoordinationState | null;
42
42
  }
43
+ /**
44
+ * Read one coordination row without validating its payload.
45
+ *
46
+ * Normal coordination reads deliberately remain strict (`getCoordinationState`
47
+ * calls `readState`). Recovery code uses this narrow escape hatch only after a
48
+ * successful database read so it can inspect the row revision/generation and
49
+ * perform an exact CAS cleanup without trusting corrupt payload bytes. Database
50
+ * open/query failures are intentionally allowed to propagate unchanged.
51
+ */
52
+ export declare function getCoordinationStateRaw(directory: string, namespace: string, entityKey: string): CoordinationState | null;
43
53
  export declare function withCoordinationTransaction<T>(directory: string, fn: () => T): T;
44
54
  export declare function getCoordinationState(directory: string, namespace: string, entityKey: string): CoordinationState | null;
45
55
  export declare function listCoordinationStates(directory: string, namespace: string, limit?: number): CoordinationState[];
@@ -638,6 +638,12 @@ export declare function withInactivePrWorkflowCheckoutRestoreLock<T>(directory:
638
638
  export declare function clearPrWorkflowGateState(directory: string, sessionID: string, expectedRevision?: number, options?: {
639
639
  allowSalvagedRead?: boolean;
640
640
  }): Promise<void>;
641
+ /**
642
+ * Exact-owner lifecycle terminalization for session.deleted/removed wiring.
643
+ * This bypasses abort authorization and removes only the requested session's
644
+ * coordination row, shadow projection, and in-process cache entry.
645
+ */
646
+ export declare function terminalizePrWorkflowGateForSession(directory: string, sessionID: string): Promise<void>;
641
647
  /**
642
648
  * The single session operation the liveness probe needs.
643
649
  *
@@ -1833,12 +1839,15 @@ export interface PrWorkflowGateRecoveryRead {
1833
1839
  *
1834
1840
  * Policy, mirroring the file-wide "unavailability degrades with disclosure;
1835
1841
  * contradiction fails closed" invariant:
1836
- * - **Unparseable bytes fail everywhere**, recovery included. There is nothing
1837
- * to salvage and guessing would be fabrication.
1838
- * - **Schema-validation failure on parseable JSON** salvages the fields abort
1839
- * actually reads `{sessionID, mode, prHeadSha}` plus `revision`,
1840
- * `prFeedbackReadyToPublish` and `checkoutRecovery` when each is
1841
- * individually well-formed with a loud disclosure naming the schema
1842
+ * - **Unparseable shadow bytes fail everywhere**, recovery included. There
1843
+ * is nothing to salvage from that projection and guessing would be
1844
+ * fabrication. A coordination payload that is unparseable or otherwise
1845
+ * corrupt is recoverable only when this exact shadow has the same revision
1846
+ * as the row generation, and the disclosure names that degraded source.
1847
+ * - **Schema-validation failure on parseable shadow JSON** salvages the
1848
+ * fields abort actually reads — `{sessionID, mode, prHeadSha}` plus
1849
+ * `revision`, `prFeedbackReadyToPublish` and `checkoutRecovery` when each
1850
+ * is individually well-formed — with a loud disclosure naming the schema
1842
1851
  * errors. Everything else is dropped rather than guessed.
1843
1852
  * - **Identity is not salvageable ⇒ nothing is.** Without a readable
1844
1853
  * `sessionID` and `mode` there is no provable subject to act on, so the