opencode-swarm 7.200.0 → 7.200.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 (100) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{attest-task-8ekwny8v.js → attest-task-sg8b5a5j.js} +42 -42
  4. package/dist/cli/{auto-checkpoint-dqjk82s7.js → auto-checkpoint-bywgxh27.js} +7 -7
  5. package/dist/cli/{checkpoint-2ahps2sp.js → checkpoint-k2092cbw.js} +17 -15
  6. package/dist/cli/{coder-settlement-1dk37pa9.js → coder-settlement-y0hkcngn.js} +10 -10
  7. package/dist/cli/{config-doctor-73rctg85.js → config-doctor-0fnrwkga.js} +13 -13
  8. package/dist/cli/{core-y5mfws8v.js → core-mfyaj8b4.js} +3 -3
  9. package/dist/cli/{curation-policy-43gq6t0y.js → curation-policy-fth5n93x.js} +4 -4
  10. package/dist/cli/{curator-m278hyrq.js → curator-1s64jkc3.js} +41 -41
  11. package/dist/cli/{curator-drift-k7j9rcgp.js → curator-drift-famx6p6s.js} +8 -8
  12. package/dist/cli/curator-llm-factory-vya4epq6.js +82 -0
  13. package/dist/cli/{doctor-knowledge-receipt-phase-id-1m7pkzvt.js → doctor-knowledge-receipt-phase-id-v4y6pbek.js} +7 -7
  14. package/dist/cli/{evidence-summary-service-19k8x1g9.js → evidence-summary-service-rd7y6yjq.js} +17 -17
  15. package/dist/cli/{gate-evidence-hche0hf8.js → gate-evidence-kama66h5.js} +5 -5
  16. package/dist/cli/guardrail-explain-8fkhq0cg.js +83 -0
  17. package/dist/cli/{guardrail-log-tvbgnxns.js → guardrail-log-gdj19fq5.js} +6 -6
  18. package/dist/cli/{guardrail-reset-v8kvh9cn.js → guardrail-reset-bmg6czzk.js} +41 -41
  19. package/dist/cli/{hive-promoter-bqfa763z.js → hive-promoter-ychygdgc.js} +41 -41
  20. package/dist/cli/{index-1rfgzsaw.js → index-0ptf66x5.js} +4 -4
  21. package/dist/cli/{index-rfvnq6wd.js → index-0tygsk8b.js} +8 -8
  22. package/dist/cli/{index-qnst0jwc.js → index-12h2rtdj.js} +3 -3
  23. package/dist/cli/{index-bp476gwc.js → index-1v277wxc.js} +2 -2
  24. package/dist/cli/{index-511hw14d.js → index-2dm42tgp.js} +43 -43
  25. package/dist/cli/{index-hg4qa0aq.js → index-2hnnkj64.js} +1892 -2354
  26. package/dist/cli/{index-pyv8vzkx.js → index-2m740hyt.js} +5 -5
  27. package/dist/cli/{index-wfb6vrc2.js → index-2w5grmmj.js} +2 -2
  28. package/dist/cli/{index-gwc7jahh.js → index-3020n6d9.js} +1 -1
  29. package/dist/cli/{index-m9j9varx.js → index-3exe6k66.js} +3 -3
  30. package/dist/cli/{index-sk1rva12.js → index-3zspah3v.js} +2 -2
  31. package/dist/cli/{index-hxp5jgd8.js → index-51dw4bjc.js} +2 -2
  32. package/dist/cli/{index-0wg5q595.js → index-5snwc3dz.js} +1 -1
  33. package/dist/cli/{index-kwfhr3mz.js → index-b0d8ra32.js} +1 -1
  34. package/dist/cli/{index-r02aqt0a.js → index-b4kdms7x.js} +2 -2
  35. package/dist/cli/{index-n5k81wym.js → index-bn3aa5q1.js} +7 -7
  36. package/dist/cli/{index-md2180vx.js → index-c9g3hkjz.js} +3 -3
  37. package/dist/cli/{index-qnabg1wp.js → index-dgyddtje.js} +6 -6
  38. package/dist/cli/{index-q1x73nnd.js → index-epzadpmm.js} +1 -1
  39. package/dist/cli/{index-jbm301bq.js → index-f6nrw8am.js} +41 -41
  40. package/dist/cli/{index-dng8z8me.js → index-g57p8p1k.js} +1 -1
  41. package/dist/cli/{index-vmevv6my.js → index-na6ph1fp.js} +1 -1
  42. package/dist/cli/{index-tv9c3b3q.js → index-nawp90n7.js} +3 -3
  43. package/dist/cli/{index-wr0n2w3z.js → index-nzfq1ms2.js} +1 -1
  44. package/dist/cli/{index-yvv0my1a.js → index-p6v544jn.js} +1 -1
  45. package/dist/cli/{index-x25rhkmk.js → index-parkaa70.js} +4 -4
  46. package/dist/cli/{index-yss701b3.js → index-pe77h482.js} +4 -4
  47. package/dist/cli/{index-71bqn1nn.js → index-qaqyq25k.js} +7 -7
  48. package/dist/cli/{index-8rrs1nc0.js → index-qzakbjcg.js} +2 -2
  49. package/dist/cli/{index-22atsy06.js → index-rzkmg02a.js} +918 -154
  50. package/dist/cli/{index-nq3zcrhm.js → index-s3w41p1x.js} +1 -1
  51. package/dist/cli/{index-7v74n9a1.js → index-s8eac99p.js} +3 -3
  52. package/dist/cli/{index-99zt998b.js → index-s9y49avf.js} +1 -1
  53. package/dist/cli/{index-58cr1xg0.js → index-sva5swrs.js} +3 -3
  54. package/dist/cli/{index-p5m71yph.js → index-sz67z90q.js} +4 -4
  55. package/dist/cli/{index-e8m8bb1r.js → index-th667k1y.js} +4 -4
  56. package/dist/cli/{index-ac8vdmgv.js → index-traz987v.js} +1 -1
  57. package/dist/cli/{index-jy0mgzjq.js → index-v1h70r3y.js} +1 -1
  58. package/dist/cli/{index-d083d1q7.js → index-ves1rtqt.js} +1 -1
  59. package/dist/cli/{index-9nmrw7ek.js → index-vtkgg2qn.js} +3 -3
  60. package/dist/cli/{index-35tf03js.js → index-w2bhrp6z.js} +10 -10
  61. package/dist/cli/{index-8a3aasag.js → index-wgf1780e.js} +5 -5
  62. package/dist/cli/{index-x1z5d5kj.js → index-xyvsdn07.js} +1 -1
  63. package/dist/cli/{index-1tpz99db.js → index-ypxq0x7r.js} +1 -1
  64. package/dist/cli/{index-vqtca3xv.js → index-z9mysg5m.js} +2 -2
  65. package/dist/cli/index.js +42 -42
  66. package/dist/cli/{knowledge-escalator-qcra58bx.js → knowledge-escalator-zxd76jna.js} +12 -12
  67. package/dist/cli/{knowledge-events-9mnx1a3f.js → knowledge-events-z8h0wmaw.js} +10 -10
  68. package/dist/cli/{knowledge-link-2jsn9f6a.js → knowledge-link-wfhsfyn2.js} +3 -3
  69. package/dist/cli/{knowledge-store-fdneqf7z.js → knowledge-store-g2gm13s8.js} +4 -4
  70. package/dist/cli/{knowledge-validator-7nj987ga.js → knowledge-validator-2sech2sx.js} +6 -6
  71. package/dist/cli/{mcp-0g34wmz4.js → mcp-t88363gj.js} +1 -1
  72. package/dist/cli/{model-preflight-g11ykgc0.js → model-preflight-akj8g1m2.js} +41 -41
  73. package/dist/cli/{pending-delegations-5vme18wx.js → pending-delegations-bqp6b6as.js} +11 -11
  74. package/dist/cli/{pr-subscriptions-cbx5p838.js → pr-subscriptions-wxjvkg56.js} +10 -10
  75. package/dist/cli/{pr-workflow-gate-376gw6yj.js → pr-workflow-gate-2wcrfa6g.js} +41 -41
  76. package/dist/cli/{runner-vvd26z2z.js → runner-s1a73y5h.js} +4 -4
  77. package/dist/cli/{scan-cursor-x3j5wvfm.js → scan-cursor-8br4x41t.js} +5 -5
  78. package/dist/cli/{schema-d98zzrpn.js → schema-mc419qh8.js} +1 -1
  79. package/dist/cli/{scope-persistence-vkb8z4hc.js → scope-persistence-5gyjt70q.js} +13 -13
  80. package/dist/cli/{server-25svy6cb.js → server-bp247fqe.js} +41 -41
  81. package/dist/cli/{skill-generator-ktz33dt6.js → skill-generator-q4afafh3.js} +14 -14
  82. package/dist/cli/{snapshot-coordination-init-74x3psxc.js → snapshot-coordination-init-b4kmrgh7.js} +41 -41
  83. package/dist/cli/{speckit-checkoff-9t6cdn4a.js → speckit-checkoff-1v02b2dt.js} +4 -4
  84. package/dist/cli/{workspace-snapshot-afqvh9bq.js → workspace-snapshot-93gzfac2.js} +3 -3
  85. package/dist/cli/{worktree-collision-ownership-7a1n1f9j.js → worktree-collision-ownership-84m9f5an.js} +12 -12
  86. package/dist/cli/{worktree-isolation-8snw7w34.js → worktree-isolation-xwbszhja.js} +41 -41
  87. package/dist/commands/close/internals.d.ts +1 -1
  88. package/dist/commands/close/orchestrator.d.ts +7 -0
  89. package/dist/commands/destructive-purge.d.ts +15 -0
  90. package/dist/commands/git-status-read.d.ts +23 -0
  91. package/dist/commands/registry.d.ts +1 -1
  92. package/dist/commands/rollback-gate.d.ts +77 -10
  93. package/dist/git/branch.d.ts +22 -0
  94. package/dist/index.js +26 -22
  95. package/dist/session/snapshot-coordination-init.d.ts +34 -0
  96. package/dist/session/snapshot-writer.d.ts +5 -1
  97. package/dist/tools/checkpoint.d.ts +17 -0
  98. package/package.json +1 -1
  99. package/dist/cli/curator-llm-factory-rke0964p.js +0 -82
  100. package/dist/cli/guardrail-explain-jg5png4a.js +0 -83
@@ -8,77 +8,77 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-hg4qa0aq.js";
12
- import"./index-nq3zcrhm.js";
13
- import"./index-8rrs1nc0.js";
14
- import"./index-md2180vx.js";
15
- import"./index-yss701b3.js";
16
- import"./index-0wg5q595.js";
11
+ } from "./index-2hnnkj64.js";
12
+ import"./index-s3w41p1x.js";
13
+ import"./index-qzakbjcg.js";
14
+ import"./index-c9g3hkjz.js";
15
+ import"./index-pe77h482.js";
16
+ import"./index-5snwc3dz.js";
17
17
  import"./index-axqyjreb.js";
18
18
  import"./index-txdagbh7.js";
19
- import"./index-qnabg1wp.js";
20
- import"./index-vqtca3xv.js";
19
+ import"./index-dgyddtje.js";
20
+ import"./index-z9mysg5m.js";
21
21
  import"./index-rdec0y3z.js";
22
- import"./index-qnst0jwc.js";
23
- import"./index-71bqn1nn.js";
24
- import"./index-e8m8bb1r.js";
25
- import"./index-bp476gwc.js";
26
- import"./index-8a3aasag.js";
22
+ import"./index-12h2rtdj.js";
23
+ import"./index-qaqyq25k.js";
24
+ import"./index-th667k1y.js";
25
+ import"./index-1v277wxc.js";
26
+ import"./index-wgf1780e.js";
27
27
  import"./index-x5jwegqw.js";
28
- import"./index-r02aqt0a.js";
29
- import"./index-rfvnq6wd.js";
30
- import"./index-8mrentmw.js";
28
+ import"./index-b4kdms7x.js";
29
+ import"./index-0tygsk8b.js";
31
30
  import"./index-pt7h91zc.js";
32
31
  import"./index-q7sjgr1y.js";
33
- import"./index-22atsy06.js";
34
- import"./index-35tf03js.js";
32
+ import"./index-rzkmg02a.js";
33
+ import"./index-w2bhrp6z.js";
35
34
  import"./index-6b295cas.js";
36
35
  import"./index-9nyqt3kb.js";
37
- import"./index-9nmrw7ek.js";
36
+ import"./index-vtkgg2qn.js";
38
37
  import"./index-v3bmwmqw.js";
39
- import"./index-sk1rva12.js";
40
- import"./index-58cr1xg0.js";
41
- import"./index-m9j9varx.js";
38
+ import"./index-8mrentmw.js";
39
+ import"./index-3zspah3v.js";
40
+ import"./index-sva5swrs.js";
41
+ import"./index-3exe6k66.js";
42
42
  import"./index-spggmr30.js";
43
- import"./index-1rfgzsaw.js";
44
- import"./index-x25rhkmk.js";
43
+ import"./index-0ptf66x5.js";
44
+ import"./index-parkaa70.js";
45
45
  import"./index-m9zzj4ee.js";
46
- import"./index-x1z5d5kj.js";
47
- import"./index-p5m71yph.js";
48
- import"./index-jy0mgzjq.js";
46
+ import"./index-xyvsdn07.js";
47
+ import"./index-sz67z90q.js";
48
+ import"./index-v1h70r3y.js";
49
49
  import"./index-rtry5xyf.js";
50
- import"./index-hxp5jgd8.js";
50
+ import"./index-51dw4bjc.js";
51
51
  import"./index-g22dps7x.js";
52
52
  import"./index-0725jpp7.js";
53
- import"./index-pyv8vzkx.js";
54
- import"./index-99zt998b.js";
55
- import"./index-7v74n9a1.js";
56
- import"./index-vmevv6my.js";
57
- import"./index-d083d1q7.js";
53
+ import"./index-2m740hyt.js";
54
+ import"./index-s9y49avf.js";
55
+ import"./index-s8eac99p.js";
56
+ import"./index-na6ph1fp.js";
57
+ import"./index-ves1rtqt.js";
58
58
  import"./index-ry16d01s.js";
59
59
  import"./index-rdm3px0g.js";
60
- import"./index-wr0n2w3z.js";
60
+ import"./index-nzfq1ms2.js";
61
61
  import"./index-7pmbnjvj.js";
62
62
  import"./index-9rwhas09.js";
63
- import"./index-1tpz99db.js";
64
- import"./index-n5k81wym.js";
63
+ import"./index-ypxq0x7r.js";
64
+ import"./index-bn3aa5q1.js";
65
65
  import"./index-vzm6zre7.js";
66
66
  import"./index-ae75rja9.js";
67
- import"./index-dng8z8me.js";
68
- import"./index-ac8vdmgv.js";
67
+ import"./index-g57p8p1k.js";
68
+ import"./index-traz987v.js";
69
69
  import"./index-q8vfw61p.js";
70
70
  import"./index-t7hmqgjy.js";
71
71
  import"./index-c2k7q723.js";
72
72
  import"./index-te9hq2f4.js";
73
73
  import"./index-ejhxgyvm.js";
74
74
  import"./index-7g4c7s5r.js";
75
- import"./index-q1x73nnd.js";
75
+ import"./index-epzadpmm.js";
76
76
  import"./index-3t46mez1.js";
77
- import"./index-gwc7jahh.js";
77
+ import"./index-3020n6d9.js";
78
78
  import"./index-sp2cxpaq.js";
79
79
  import"./index-qbxk2rn6.js";
80
80
  import"./index-zgwm4ryv.js";
81
- import"./index-yvv0my1a.js";
81
+ import"./index-p6v544jn.js";
82
82
  import"./index-xfzkq1k4.js";
83
83
  import"./index-bk5tah7q.js";
84
84
  import"./index-gknz3bv1.js";
@@ -7,15 +7,15 @@ import {
7
7
  parseSpeckitTasksContent,
8
8
  propagateSpeckitCheckoff,
9
9
  writeSpeckitCheckoffLedger
10
- } from "./index-sk1rva12.js";
10
+ } from "./index-3zspah3v.js";
11
11
  import"./index-ejhxgyvm.js";
12
12
  import"./index-7g4c7s5r.js";
13
- import"./index-q1x73nnd.js";
14
- import"./index-gwc7jahh.js";
13
+ import"./index-epzadpmm.js";
14
+ import"./index-3020n6d9.js";
15
15
  import"./index-sp2cxpaq.js";
16
16
  import"./index-qbxk2rn6.js";
17
17
  import"./index-zgwm4ryv.js";
18
- import"./index-yvv0my1a.js";
18
+ import"./index-p6v544jn.js";
19
19
  import"./index-xfzkq1k4.js";
20
20
  import"./index-bk5tah7q.js";
21
21
  import"./index-gknz3bv1.js";
@@ -52,10 +52,10 @@ import {
52
52
  shouldSkipSnapshot,
53
53
  switchPrFeedbackTrackingCandidateAsync,
54
54
  workspaceSnapshotMatches
55
- } from "./index-bp476gwc.js";
56
- import"./index-x1z5d5kj.js";
55
+ } from "./index-1v277wxc.js";
56
+ import"./index-xyvsdn07.js";
57
57
  import"./index-te9hq2f4.js";
58
- import"./index-q1x73nnd.js";
58
+ import"./index-epzadpmm.js";
59
59
  import"./index-sp2cxpaq.js";
60
60
  import"./index-qbxk2rn6.js";
61
61
  import"./index-zgwm4ryv.js";
@@ -6,28 +6,28 @@ import {
6
6
  WORKTREE_PROVISIONING_OWNER_LEASE_MS,
7
7
  removeWorktreeProvisioningOwner,
8
8
  scanWorktreeProvisioningOwnersForRecovery
9
- } from "./index-r02aqt0a.js";
9
+ } from "./index-b4kdms7x.js";
10
10
  import {
11
11
  scanDelegationFallbacksForRecovery,
12
12
  scanDelegationsForRecovery
13
- } from "./index-rfvnq6wd.js";
13
+ } from "./index-0tygsk8b.js";
14
14
  import {
15
15
  scanWorktreeMergeFailuresForRecovery
16
16
  } from "./index-v3bmwmqw.js";
17
- import"./index-x1z5d5kj.js";
18
- import"./index-99zt998b.js";
19
- import"./index-vmevv6my.js";
20
- import"./index-d083d1q7.js";
17
+ import"./index-xyvsdn07.js";
18
+ import"./index-s9y49avf.js";
19
+ import"./index-na6ph1fp.js";
20
+ import"./index-ves1rtqt.js";
21
21
  import"./index-ry16d01s.js";
22
22
  import"./index-rdm3px0g.js";
23
- import"./index-wr0n2w3z.js";
23
+ import"./index-nzfq1ms2.js";
24
24
  import"./index-7pmbnjvj.js";
25
- import"./index-1tpz99db.js";
26
- import"./index-n5k81wym.js";
25
+ import"./index-ypxq0x7r.js";
26
+ import"./index-bn3aa5q1.js";
27
27
  import"./index-vzm6zre7.js";
28
28
  import"./index-ae75rja9.js";
29
- import"./index-dng8z8me.js";
30
- import"./index-ac8vdmgv.js";
29
+ import"./index-g57p8p1k.js";
30
+ import"./index-traz987v.js";
31
31
  import"./index-q8vfw61p.js";
32
32
  import"./index-t7hmqgjy.js";
33
33
  import"./index-c2k7q723.js";
@@ -36,7 +36,7 @@ import {
36
36
  } from "./index-te9hq2f4.js";
37
37
  import"./index-ejhxgyvm.js";
38
38
  import"./index-7g4c7s5r.js";
39
- import"./index-q1x73nnd.js";
39
+ import"./index-epzadpmm.js";
40
40
  import"./index-sp2cxpaq.js";
41
41
  import"./index-qbxk2rn6.js";
42
42
  import"./index-zgwm4ryv.js";
@@ -25,79 +25,79 @@ import {
25
25
  sanitizeWorktreeTaskId,
26
26
  standardWorktreeByCallID,
27
27
  standardWorktreeSerializationSessions
28
- } from "./index-hg4qa0aq.js";
29
- import"./index-nq3zcrhm.js";
30
- import"./index-8rrs1nc0.js";
31
- import"./index-md2180vx.js";
32
- import"./index-yss701b3.js";
33
- import"./index-0wg5q595.js";
28
+ } from "./index-2hnnkj64.js";
29
+ import"./index-s3w41p1x.js";
30
+ import"./index-qzakbjcg.js";
31
+ import"./index-c9g3hkjz.js";
32
+ import"./index-pe77h482.js";
33
+ import"./index-5snwc3dz.js";
34
34
  import"./index-axqyjreb.js";
35
35
  import"./index-txdagbh7.js";
36
- import"./index-qnabg1wp.js";
37
- import"./index-vqtca3xv.js";
36
+ import"./index-dgyddtje.js";
37
+ import"./index-z9mysg5m.js";
38
38
  import"./index-rdec0y3z.js";
39
- import"./index-qnst0jwc.js";
40
- import"./index-71bqn1nn.js";
41
- import"./index-e8m8bb1r.js";
42
- import"./index-bp476gwc.js";
43
- import"./index-8a3aasag.js";
39
+ import"./index-12h2rtdj.js";
40
+ import"./index-qaqyq25k.js";
41
+ import"./index-th667k1y.js";
42
+ import"./index-1v277wxc.js";
43
+ import"./index-wgf1780e.js";
44
44
  import"./index-x5jwegqw.js";
45
- import"./index-r02aqt0a.js";
46
- import"./index-rfvnq6wd.js";
47
- import"./index-8mrentmw.js";
45
+ import"./index-b4kdms7x.js";
46
+ import"./index-0tygsk8b.js";
48
47
  import"./index-pt7h91zc.js";
49
48
  import"./index-q7sjgr1y.js";
50
- import"./index-22atsy06.js";
51
- import"./index-35tf03js.js";
49
+ import"./index-rzkmg02a.js";
50
+ import"./index-w2bhrp6z.js";
52
51
  import"./index-6b295cas.js";
53
52
  import"./index-9nyqt3kb.js";
54
- import"./index-9nmrw7ek.js";
53
+ import"./index-vtkgg2qn.js";
55
54
  import"./index-v3bmwmqw.js";
56
- import"./index-sk1rva12.js";
57
- import"./index-58cr1xg0.js";
58
- import"./index-m9j9varx.js";
55
+ import"./index-8mrentmw.js";
56
+ import"./index-3zspah3v.js";
57
+ import"./index-sva5swrs.js";
58
+ import"./index-3exe6k66.js";
59
59
  import"./index-spggmr30.js";
60
- import"./index-1rfgzsaw.js";
61
- import"./index-x25rhkmk.js";
60
+ import"./index-0ptf66x5.js";
61
+ import"./index-parkaa70.js";
62
62
  import"./index-m9zzj4ee.js";
63
- import"./index-x1z5d5kj.js";
64
- import"./index-p5m71yph.js";
65
- import"./index-jy0mgzjq.js";
63
+ import"./index-xyvsdn07.js";
64
+ import"./index-sz67z90q.js";
65
+ import"./index-v1h70r3y.js";
66
66
  import"./index-rtry5xyf.js";
67
67
  import {
68
68
  resolveWorktreeIsolationConfig
69
- } from "./index-hxp5jgd8.js";
69
+ } from "./index-51dw4bjc.js";
70
70
  import"./index-g22dps7x.js";
71
71
  import"./index-0725jpp7.js";
72
- import"./index-pyv8vzkx.js";
73
- import"./index-99zt998b.js";
74
- import"./index-7v74n9a1.js";
75
- import"./index-vmevv6my.js";
76
- import"./index-d083d1q7.js";
72
+ import"./index-2m740hyt.js";
73
+ import"./index-s9y49avf.js";
74
+ import"./index-s8eac99p.js";
75
+ import"./index-na6ph1fp.js";
76
+ import"./index-ves1rtqt.js";
77
77
  import"./index-ry16d01s.js";
78
78
  import"./index-rdm3px0g.js";
79
- import"./index-wr0n2w3z.js";
79
+ import"./index-nzfq1ms2.js";
80
80
  import"./index-7pmbnjvj.js";
81
81
  import"./index-9rwhas09.js";
82
- import"./index-1tpz99db.js";
83
- import"./index-n5k81wym.js";
82
+ import"./index-ypxq0x7r.js";
83
+ import"./index-bn3aa5q1.js";
84
84
  import"./index-vzm6zre7.js";
85
85
  import"./index-ae75rja9.js";
86
- import"./index-dng8z8me.js";
87
- import"./index-ac8vdmgv.js";
86
+ import"./index-g57p8p1k.js";
87
+ import"./index-traz987v.js";
88
88
  import"./index-q8vfw61p.js";
89
89
  import"./index-t7hmqgjy.js";
90
90
  import"./index-c2k7q723.js";
91
91
  import"./index-te9hq2f4.js";
92
92
  import"./index-ejhxgyvm.js";
93
93
  import"./index-7g4c7s5r.js";
94
- import"./index-q1x73nnd.js";
94
+ import"./index-epzadpmm.js";
95
95
  import"./index-3t46mez1.js";
96
- import"./index-gwc7jahh.js";
96
+ import"./index-3020n6d9.js";
97
97
  import"./index-sp2cxpaq.js";
98
98
  import"./index-qbxk2rn6.js";
99
99
  import"./index-zgwm4ryv.js";
100
- import"./index-yvv0my1a.js";
100
+ import"./index-p6v544jn.js";
101
101
  import"./index-xfzkq1k4.js";
102
102
  import"./index-bk5tah7q.js";
103
103
  import"./index-gknz3bv1.js";
@@ -26,7 +26,7 @@ export declare const _internals: {
26
26
  CLOSE_REFLECTION_TIMEOUT_MS: number;
27
27
  detectFullAuto: typeof import("./orchestrator.js").detectFullAuto;
28
28
  guaranteeAllPlansComplete: typeof import("./finalize-stage.js").guaranteeAllPlansComplete;
29
- getGitRepositoryStatus: typeof import("../../git/branch.js").getGitRepositoryStatus;
29
+ getGitRepositoryStatus: typeof import("../../commands/git-status-read.js").readGitRepositoryStatusDetailedAsync;
30
30
  resetToMainAfterMerge: (cwd: string, options?: import("./align-stage.js").GuardedResetToMainOptions) => Promise<import("./align-stage.js").GuardedResetToMainResult>;
31
31
  resetToRemoteBranch: typeof import("../../git/branch.js").resetToRemoteBranch;
32
32
  copyDirRecursive: typeof import("./fs-helpers.js").copyDirRecursive;
@@ -36,6 +36,13 @@ export interface ClosePurgeGate {
36
36
  status: number | null;
37
37
  stderrTail: string;
38
38
  };
39
+ /**
40
+ * #3434: porcelain records whose path normalized outside the project
41
+ * root — excluded from `dirtyPaths`/`candidates` (and therefore from the
42
+ * confirm-token digest) and surfaced as a bounded warning instead of
43
+ * being joined into the scope unvalidated.
44
+ */
45
+ excludedOutOfRoot: string[];
39
46
  }
40
47
  /** Test seam for the #2508 gate (simulate git-status read failures). The
41
48
  * default routes through the #3317 async reader; legacy sync stubs returning
@@ -84,6 +84,18 @@ export declare const GIT_STATUS_ARGS: readonly ["--no-optional-locks", "status",
84
84
  * `src/commands/rollback-gate.ts` exports a same-named parser for
85
85
  * NUL-terminated `--porcelain -z` output (J1/#2946); the two are deliberately
86
86
  * not consolidated in this PR.
87
+ *
88
+ * #3434: `../`-bearing (or absolute) records are excluded from the dirty
89
+ * set and recorded in `excludedOutOfRoot` — the legacy `string[]` export
90
+ * below returns only the in-root paths. The containment predicate itself is
91
+ * the rollback-gate module's `isOutOfRootRelativePath` (single shared
92
+ * definition; the parsers stay separate by design).
93
+ */
94
+ export declare function parseTrackedDirtyPathsWithExclusions(statusOutput: string): import('./rollback-gate.js').TrackedDirtyParseResult;
95
+ /**
96
+ * Legacy `string[]` view of the newline-form parser (in-root paths only) —
97
+ * the export existing suites pin. New consumers that need the exclusion
98
+ * diagnostic use `parseTrackedDirtyPathsWithExclusions`.
87
99
  */
88
100
  export declare function parseTrackedDirtyPaths(statusOutput: string): string[];
89
101
  /**
@@ -94,10 +106,13 @@ export declare function parseTrackedDirtyPaths(statusOutput: string): string[];
94
106
  * helper, so its existing #2508 fail-closed tests keep their injection point.
95
107
  * #3317: async — the read is bounded and killable, and legacy sync stubs
96
108
  * keep working (awaiting a plain value is a no-op).
109
+ * #3434: the ok arm carries `excludedOutOfRoot` so the #2953 re-check
110
+ * compares against the SAME filtered set the operator confirmed.
97
111
  */
98
112
  export declare function readTrackedDirtyPaths(directory: string): Promise<{
99
113
  ok: true;
100
114
  dirtyPaths: string[];
115
+ excludedOutOfRoot: string[];
101
116
  } | {
102
117
  ok: false;
103
118
  /** Structured cause when the reader could tell (absent for legacy `null` stubs). */
@@ -74,3 +74,26 @@ export declare function readGitStatusAsync(args: readonly string[], cwd: string,
74
74
  * non-blocking preview, with no transient-retry chain.
75
75
  */
76
76
  export declare function readGitRepositoryStatusAsync(cwd: string): Promise<boolean>;
77
+ /**
78
+ * Detailed twin of `readGitRepositoryStatusAsync` (issue #3427): the same
79
+ * single-attempt `rev-parse --git-dir` read, mapped to the SAME
80
+ * `GitRepositoryStatus` vocabulary the sync `branch.getGitRepositoryStatus`
81
+ * produces — `{isRepo:true}` / `not_git_repo` / `git_unavailable` /
82
+ * `git_error` with a message — so the finalize align stage can move off the
83
+ * blocking sync probe without losing its reason-specific skip diagnostics.
84
+ *
85
+ * Classification parity with `src/git/branch.ts`:
86
+ * - ENOENT goes through the shared #2236 `classifySpawnFailure` split — a
87
+ * cwd fault is `git_error` NAMING the cwd (never `git_unavailable`);
88
+ * binary-missing keeps the full `gitBinaryMissingMessage` remediation text.
89
+ * - A nonzero child exit is `not_git_repo` only when the bounded stderr
90
+ * matches the shared `isNotGitRepositoryMessage` vocabulary; every other
91
+ * nonzero exit is `git_error` carrying the status.
92
+ * - Spawn-class failures (ETIMEDOUT/ESIGNAL/…) are `git_error` with the
93
+ * failure code ALWAYS carried in the message — empty stderr never
94
+ * discards the class.
95
+ *
96
+ * `ignoreOutput` is deliberately NOT set: the bounded stderr feeds the
97
+ * repo-detection classification.
98
+ */
99
+ export declare function readGitRepositoryStatusDetailedAsync(cwd: string): Promise<import('../git/branch.js').GitRepositoryStatus>;
@@ -1077,7 +1077,7 @@ export declare const COMMAND_REGISTRY: {
1077
1077
  readonly 'reset-session': {
1078
1078
  readonly handler: (ctx: CommandContext) => Promise<string>;
1079
1079
  readonly description: "Clear session state while preserving plan, evidence, and knowledge";
1080
- readonly details: "Deletes only .swarm/session/state.json and other session files. Clears in-memory agent sessions, delegation chains, and active-agent mappings. Preserves plan, evidence, and knowledge. Also releases this session's pending knowledge-gate obligations (#2398) and recovers stale coder settlements so dispatches cannot wedge on CODER_DISPATCH_IN_PROGRESS (#2268). Auto-backs up removed files to .swarm/reset-backups/ (newest 5 kept).";
1080
+ readonly details: "Deletes .swarm/session/state.json plus other session files; clears in-memory sessions, chains, and active-agent maps. Preserves plan, evidence, and knowledge; releases this session's pending knowledge-gate obligations (#2398); recovers coder settlements wedged on CODER_DISPATCH_IN_PROGRESS (#2268); backs up to .swarm/reset-backups/ (newest 5 kept). If a cleanup step fails, the closing guard stays closed by design, writes pause (an advisory says why), and a reset re-run or restart recovers.";
1081
1081
  readonly args: "--confirm=<token> (purge dirty/live lanes)";
1082
1082
  readonly category: "utility";
1083
1083
  readonly toolPolicy: "restricted";
@@ -23,6 +23,18 @@ export declare const _rollbackGateInternals: {
23
23
  * repositories; git tracks nothing there.
24
24
  */
25
25
  export declare function isRealGitRepository(directory: string): boolean;
26
+ /** #3434: a parsed porcelain record whose path normalizes outside the repo root. */
27
+ export declare function isOutOfRootRelativePath(rel: string): boolean;
28
+ /**
29
+ * The NUL-form parser's result contract (#3434): the in-root dirty paths that
30
+ * feed the destroy scope, plus any records whose path normalized outside the
31
+ * project root — excluded from the scope and surfaced for the diagnostic
32
+ * instead of being joined into the confirm-token digest unvalidated.
33
+ */
34
+ export interface TrackedDirtyParseResult {
35
+ dirtyPaths: string[];
36
+ excludedOutOfRoot: string[];
37
+ }
26
38
  /**
27
39
  * Parse `git status --porcelain -z` output into repo-relative tracked-dirty
28
40
  * paths. The -z form is NUL-terminated and NEVER quotes paths (core.quotepath
@@ -36,6 +48,16 @@ export declare function isRealGitRepository(directory: string): boolean;
36
48
  * (intent-to-add) — so the test must not anchor to the first column, or the
37
49
  * ORIG_PATH token of an R/C-initial file (README.md, CHANGELOG.md, …) is
38
50
  * misread as the start of a new record and swallows the next real entry.
51
+ *
52
+ * #3434: `../`-bearing (or absolute) records are excluded from the dirty
53
+ * set and recorded in `excludedOutOfRoot` — the legacy `string[]` export
54
+ * below returns only the in-root paths.
55
+ */
56
+ export declare function parseTrackedDirtyPathsWithExclusions(statusOutput: string): TrackedDirtyParseResult;
57
+ /**
58
+ * Legacy `string[]` view of the NUL-form parser (in-root paths only) — the
59
+ * export existing suites pin. New consumers that need the exclusion
60
+ * diagnostic use `parseTrackedDirtyPathsWithExclusions`.
39
61
  */
40
62
  export declare function parseTrackedDirtyPaths(statusOutput: string): string[];
41
63
  /**
@@ -43,11 +65,23 @@ export declare function parseTrackedDirtyPaths(statusOutput: string): string[];
43
65
  * index while a file sits on disk at that path. `git reset --hard` silently
44
66
  * overwrites exactly these untracked (or since-ignored) files when it
45
67
  * materializes the target tree, so they belong in the destruction scope
46
- * alongside tracked-dirty paths (#2976 review F-1). Returns [] when either
47
- * listing cannot be read — the tracked-dirty gate above still applies, and
48
- * the caller's unreadable-status refusal covers real-repo failures.
68
+ * alongside tracked-dirty paths (#2976 review F-1).
69
+ *
70
+ * #3434 fail-closed contract: `failure` is set when either listing cannot
71
+ * be read, carrying the reader's structured cause when it could tell. The
72
+ * caller must REFUSE on it — an unreadable enumeration may not read as a
73
+ * measured "nothing in the way" (the same class #3317 closed for the status
74
+ * reads). A non-git or bare-marker root returns empty paths with NO failure:
75
+ * nothing tracked can be in the way there (#2127 convention).
49
76
  */
50
- export declare function untrackedPathsInTargetTree(directory: string, targetSha: string): Promise<string[]>;
77
+ export declare function untrackedPathsInTargetTree(directory: string, targetSha: string): Promise<{
78
+ paths: string[];
79
+ failure: {
80
+ code: string | null;
81
+ status: number | null;
82
+ stderrTail: string;
83
+ } | null;
84
+ }>;
51
85
  /**
52
86
  * The git-kind candidate set: the absolute paths of tracked-dirty files that
53
87
  * `git reset --hard` would destroy. This is the ONLY derivation for
@@ -63,30 +97,63 @@ export declare function swarmOverwriteCandidates(directory: string, overwriteRel
63
97
  /**
64
98
  * #3317: cause-matched wording for an unreadable destruction measurement —
65
99
  * single source shared by the /swarm rollback command and the checkpoint
66
- * tool sink so the two refusal texts cannot drift.
100
+ * tool sink so the two refusal texts cannot drift. `source` (#3434
101
+ * feedback round) names WHICH read failed: the default 'status' keeps the
102
+ * historical wording BYTE-IDENTICAL (pinned by the #3317 round-2 trace
103
+ * suite checkpoint-restore-cause-3275); 'enumeration' rewords the arms to
104
+ * name the ls-tree/ls-files listing so the operator is pointed at the read
105
+ * that actually failed.
67
106
  */
68
107
  export declare function describeUnreadableCause(measurement: {
69
108
  code?: string | null;
70
109
  status?: number | null;
71
110
  stderrTail?: string;
72
- }): string;
111
+ }, source?: 'status' | 'enumeration'): string;
112
+ /**
113
+ * Sanitize a repo-controlled porcelain record for operator/agent-facing
114
+ * diagnostic text (#3434 feedback round): collapse control characters
115
+ * (ANSI/CR/LF/NUL cannot smuggle terminal escapes or forged lines) and
116
+ * bound the excerpt — the same house discipline as the reader's
117
+ * `stderrTail` and `excerptProbeOutput`. Excluded records never enter the
118
+ * scope digest, so the digest's own NUL/newline rejection does not cover
119
+ * the one place their bytes are rendered.
120
+ */
121
+ export declare function formatExcludedRecord(rel: string): string;
73
122
  /**
74
123
  * Measure the destruction scope for a git checkpoint restore. When
75
124
  * `targetSha` is provided, files that are untracked (or since-ignored) on
76
125
  * disk but tracked in the TARGET tree are included: `git reset --hard`
77
126
  * overwrites them silently, so they are part of the destruction set
78
- * (#2976 review F-1). `unreadable` means git status could not be read
79
- * inside a real repository — callers must fail closed on it (never treat
80
- * it as a clean tree). A non-git or bare-marker root returns an empty
81
- * dirty set: nothing tracked to destroy.
127
+ * (#2976 review F-1). `unreadable` means git status — or, #3434, the
128
+ * ls-tree/ls-files enumeration of the target tree — could not be read
129
+ * inside a real repository; callers must fail closed on it (never treat it
130
+ * as a clean tree, and never let a failed enumeration shrink the measured
131
+ * scope). A non-git or bare-marker root returns an empty dirty set: nothing
132
+ * tracked to destroy. `excludedOutOfRoot` carries porcelain records whose
133
+ * path normalized outside the project root (#3434) — excluded from the
134
+ * scope and surfaced for the preview diagnostic.
82
135
  */
83
136
  export declare function measureGitDestruction(directory: string, targetSha?: string): Promise<{
84
137
  kind: 'ok';
85
138
  dirtyRelPaths: string[];
139
+ /** #3434: out-of-root porcelain records excluded from the scope. */
140
+ excludedOutOfRoot: string[];
86
141
  } | {
87
142
  kind: 'unreadable';
88
143
  /** #3317: why the read failed, when the async reader could tell. */
89
144
  code?: string | null;
90
145
  status?: number | null;
91
146
  stderrTail?: string;
147
+ /**
148
+ * #3434 feedback: WHICH read failed — the status read or the
149
+ * ls-tree/ls-files enumeration. Consumers word the refusal
150
+ * accordingly instead of always blaming git status.
151
+ */
152
+ source: 'status' | 'enumeration';
153
+ /**
154
+ * Out-of-root records already parsed from a SUCCESSFUL status
155
+ * read before the enumeration failed — carried so the refusal
156
+ * can still disclose them instead of dropping them silently.
157
+ */
158
+ excludedOutOfRoot?: string[];
92
159
  }>;
@@ -7,6 +7,13 @@ export type GitRepositoryStatus = {
7
7
  reason: 'not_git_repo' | 'git_unavailable' | 'git_error';
8
8
  message: string;
9
9
  };
10
+ /**
11
+ * Repo-detection vocabulary shared with the async detailed reader
12
+ * (`src/commands/git-status-read.ts`, #3427): the same case-folded phrases
13
+ * classify a nonzero `rev-parse` exit as `not_git_repo` on the sync and
14
+ * async probe paths alike, so the two probes cannot drift apart.
15
+ */
16
+ export declare function isNotGitRepositoryMessage(message: string): boolean;
10
17
  /**
11
18
  * Seam that calls child_process.spawnSync dynamically.
12
19
  * Uses getChildProcessSpawnSync() to resolve at call time, allowing
@@ -71,6 +78,21 @@ declare const __spawnSyncSeam: {
71
78
  * looks sufficient but is not — that gap is exactly what #2263 reported.
72
79
  */
73
80
  export declare function readLaneEnvFileFromDiskSync(worktreePath: string, laneIndex: number): Record<string, string>;
81
+ /**
82
+ * Issue #2236 F5: builds the *actionable* "git is not available" message.
83
+ *
84
+ * `describeGitResolution()` (src/utils/git-executable.ts) is the production
85
+ * source of truth for what the resolver actually tried — every candidate path,
86
+ * its source (`override`/`platform`/`path`), and why each was rejected. A bare
87
+ * "git executable is not available on PATH" is what sent the original report
88
+ * down a four-day PATH investigation while git was present the whole time, so
89
+ * the thrown message names the candidates and the override escape hatch.
90
+ *
91
+ * `cwd` is named too: reaching this function means the cwd was positively
92
+ * classified as present-and-a-directory, which is the fact that rules the
93
+ * #2236 misdiagnosis out rather than leaving it implied.
94
+ */
95
+ export declare function gitBinaryMissingMessage(cwd: string): string;
74
96
  declare function gitExec(args: string[], cwd: string, laneEnv?: Record<string, string>, laneIndex?: number): string;
75
97
  export declare function getGitRepositoryStatus(cwd: string): GitRepositoryStatus;
76
98
  /**