opencode-swarm 7.187.0 → 7.187.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 (94) 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/background/pr-review-contract.d.ts +2 -2
  4. package/dist/cli/{auto-checkpoint-r69e82bh.js → auto-checkpoint-fcp7srhd.js} +8 -8
  5. package/dist/cli/{checkpoint-1sqwbgra.js → checkpoint-69m1xg5q.js} +14 -13
  6. package/dist/cli/{coder-settlement-b9qx0732.js → coder-settlement-adx7vsa9.js} +9 -9
  7. package/dist/cli/{config-doctor-s4fr5qwr.js → config-doctor-eaqk3erw.js} +13 -12
  8. package/dist/cli/{core-bezezjy9.js → core-fb33hf6w.js} +2 -2
  9. package/dist/cli/{curation-policy-2x2w3b57.js → curation-policy-sr29thf5.js} +5 -5
  10. package/dist/cli/{curator-w4hp7a10.js → curator-5xcy10z7.js} +37 -35
  11. package/dist/cli/{curator-drift-785xnxdv.js → curator-drift-kz0s2dk3.js} +6 -6
  12. package/dist/cli/{curator-llm-factory-p0wwyswg.js → curator-llm-factory-pc17p6kq.js} +37 -35
  13. package/dist/cli/doctor-knowledge-receipt-phase-id-dwtppe04.js +83 -0
  14. package/dist/cli/{evidence-summary-service-33qcm9xc.js → evidence-summary-service-1k2syb6b.js} +17 -16
  15. package/dist/cli/{gate-evidence-9ehj968e.js → gate-evidence-4vvj9bhj.js} +6 -6
  16. package/dist/cli/{guardrail-explain-5715fdzv.js → guardrail-explain-rxsda43z.js} +38 -36
  17. package/dist/cli/{guardrail-log-k1dfzfzm.js → guardrail-log-1619tcny.js} +7 -7
  18. package/dist/cli/{guardrail-reset-nt88n9dm.js → guardrail-reset-72zryht1.js} +37 -35
  19. package/dist/cli/{hive-promoter-c8fjn186.js → hive-promoter-yc3xvvq8.js} +37 -35
  20. package/dist/cli/{index-akt0arnt.js → index-0cpa8rnc.js} +105 -185
  21. package/dist/cli/{index-knbjtqwt.js → index-1hg62y01.js} +8 -6
  22. package/dist/cli/{index-df2p0k0s.js → index-26zs9wsj.js} +2 -2
  23. package/dist/cli/{index-en7vzpeq.js → index-2jxyzerw.js} +4 -4
  24. package/dist/cli/{index-r7gt2w1b.js → index-319qcbg7.js} +1 -1
  25. package/dist/cli/{index-bbqxt1p5.js → index-36y60mjx.js} +3 -3
  26. package/dist/cli/{index-ycz8z2db.js → index-3y0nr248.js} +3 -3
  27. package/dist/cli/{index-2s8wdagg.js → index-4pbp654j.js} +37 -35
  28. package/dist/cli/{index-t3hcd6zz.js → index-6t7ygevg.js} +1 -1
  29. package/dist/cli/{index-xs96nry2.js → index-868tmqy5.js} +4 -4
  30. package/dist/cli/{index-yw1g78v9.js → index-bstjg81q.js} +1 -1
  31. package/dist/cli/{index-zzxnssy3.js → index-c44vm8tc.js} +4 -4
  32. package/dist/cli/{index-jtncfvhe.js → index-dx6bhbd6.js} +1 -1
  33. package/dist/cli/{index-ww8payq9.js → index-e9ry78z5.js} +2 -2
  34. package/dist/cli/index-f1dxxa1n.js +748 -0
  35. package/dist/cli/{index-4g6sw4eq.js → index-fgbm0x7d.js} +1 -1
  36. package/dist/cli/{index-cx4s7cak.js → index-gathbynn.js} +39 -37
  37. package/dist/cli/{index-v08ksq0b.js → index-hjdeawyp.js} +2 -2
  38. package/dist/cli/{index-0yj79yk1.js → index-jyxgkp4a.js} +1 -1
  39. package/dist/cli/{index-6ersmqjd.js → index-kaf9mtpc.js} +318 -767
  40. package/dist/cli/{index-sztx0vyt.js → index-m2xfxk4e.js} +3 -3
  41. package/dist/cli/index-m9zzj4ee.js +10 -0
  42. package/dist/cli/{index-ectvhv8e.js → index-my8wgyqg.js} +2 -2
  43. package/dist/cli/{index-rm676s0p.js → index-n45kz69m.js} +1 -1
  44. package/dist/cli/{index-dypmvvga.js → index-n55exns2.js} +1 -1
  45. package/dist/cli/{index-pfpnzf6w.js → index-n8kqhxay.js} +1 -1
  46. package/dist/cli/{index-cppqxjw9.js → index-p9xke6h7.js} +1 -1
  47. package/dist/cli/{index-evy5yrsw.js → index-prqjveey.js} +3 -3
  48. package/dist/cli/{index-5m56c5r6.js → index-qmmzyymt.js} +4 -4
  49. package/dist/cli/{index-469xmpd6.js → index-r37b4crx.js} +1 -1
  50. package/dist/cli/{index-1vvr69ka.js → index-r7d49haj.js} +1 -1
  51. package/dist/cli/{index-ta48pe8j.js → index-rcmgbtxf.js} +3 -3
  52. package/dist/cli/{index-d6kvatwp.js → index-rs23yv3h.js} +11 -16
  53. package/dist/cli/{index-pymr99as.js → index-t0xcsrsf.js} +4 -4
  54. package/dist/cli/{index-2wgvjwpr.js → index-thx02zpn.js} +3 -3
  55. package/dist/cli/{index-yf0cc6c5.js → index-tv84mkce.js} +2 -2
  56. package/dist/cli/{index-hvr82s1t.js → index-v51qveq8.js} +4 -4
  57. package/dist/cli/{index-c8ffgcvz.js → index-v9y0230d.js} +1 -1
  58. package/dist/cli/{index-b2je0z0t.js → index-wy6wzwb3.js} +4 -4
  59. package/dist/cli/{index-krqq8kbq.js → index-ywwreanf.js} +6 -6
  60. package/dist/cli/{index-pts38j6x.js → index-z4c6bfd5.js} +2 -2
  61. package/dist/cli/{index-qzgfheb4.js → index-zftyb94k.js} +2 -2
  62. package/dist/cli/index.js +38 -36
  63. package/dist/cli/{knowledge-escalator-qttydcx2.js → knowledge-escalator-q60ghp3z.js} +14 -12
  64. package/dist/cli/{knowledge-events-4vf0vj82.js → knowledge-events-hadasxqm.js} +12 -10
  65. package/dist/cli/{knowledge-link-p2c8agc8.js → knowledge-link-93nzznwd.js} +4 -4
  66. package/dist/cli/{knowledge-store-bw1dk2eb.js → knowledge-store-y7vvwa7p.js} +5 -5
  67. package/dist/cli/{knowledge-validator-gefcc36h.js → knowledge-validator-3tqat3wm.js} +7 -7
  68. package/dist/cli/{mcp-d5p0k3p1.js → mcp-ek3wf04s.js} +1 -1
  69. package/dist/cli/{model-preflight-fmx49pwy.js → model-preflight-gzcmdvs7.js} +37 -35
  70. package/dist/cli/{pending-delegations-8333cb3y.js → pending-delegations-54k1mysp.js} +7 -7
  71. package/dist/cli/{pr-subscriptions-p42ny2sn.js → pr-subscriptions-sx9ch5ra.js} +7 -7
  72. package/dist/cli/{pr-workflow-gate-csy32z8w.js → pr-workflow-gate-yehzpb9x.js} +37 -35
  73. package/dist/cli/{runner-cbpr45cs.js → runner-verr6er5.js} +5 -5
  74. package/dist/cli/{scan-cursor-14mwymtz.js → scan-cursor-0ws87fe6.js} +6 -6
  75. package/dist/cli/{schema-6426g0gw.js → schema-hns0x91t.js} +2 -2
  76. package/dist/cli/{scope-persistence-avkv3s4m.js → scope-persistence-ct6etvdy.js} +12 -12
  77. package/dist/cli/{server-d9rk2zeb.js → server-hh4vy28k.js} +37 -35
  78. package/dist/cli/{skill-generator-epdvdsh5.js → skill-generator-9fy1nmhb.js} +16 -14
  79. package/dist/cli/{snapshot-coordination-init-35f7wrqb.js → snapshot-coordination-init-xjdy80bq.js} +37 -35
  80. package/dist/cli/{speckit-checkoff-erwa7fbj.js → speckit-checkoff-06104jte.js} +4 -4
  81. package/dist/cli/{telemetry-2vwb3n42.js → telemetry-xwj899pd.js} +1 -1
  82. package/dist/cli/{worktree-collision-ownership-3tqkw81h.js → worktree-collision-ownership-3jefgmkc.js} +7 -7
  83. package/dist/cli/{worktree-isolation-0rrjqypt.js → worktree-isolation-76wbgtpk.js} +37 -35
  84. package/dist/commands/doctor-knowledge-receipt-phase-id.d.ts +16 -0
  85. package/dist/hooks/extractors.d.ts +15 -0
  86. package/dist/hooks/knowledge-injector.d.ts +5 -0
  87. package/dist/hooks/knowledge-receipt-ledger.d.ts +50 -4
  88. package/dist/hooks/knowledge-receipt-observability.d.ts +1 -1
  89. package/dist/hooks/phase-complete-directive-gate.d.ts +18 -1
  90. package/dist/hooks/phase-directives.d.ts +7 -3
  91. package/dist/index.js +57 -48
  92. package/dist/tools/phase-complete.d.ts +2 -2
  93. package/dist/tools/repair-knowledge-receipt-ledger.d.ts +26 -0
  94. package/package.json +1 -1
@@ -22,34 +22,34 @@ import {
22
22
  resolveWriteTargets,
23
23
  searchKnowledge,
24
24
  symbols
25
- } from "./index-akt0arnt.js";
25
+ } from "./index-0cpa8rnc.js";
26
26
  import {
27
27
  checkFileAuthority,
28
28
  checkWriteTargetForSymlink
29
- } from "./index-b2je0z0t.js";
30
- import"./index-bbqxt1p5.js";
29
+ } from "./index-wy6wzwb3.js";
30
+ import"./index-36y60mjx.js";
31
31
  import {
32
32
  _internals,
33
33
  saveEvidence
34
- } from "./index-sztx0vyt.js";
34
+ } from "./index-m2xfxk4e.js";
35
35
  import {
36
36
  getProfileForFile
37
37
  } from "./index-vx8a8w3b.js";
38
38
  import {
39
39
  pLimit
40
- } from "./index-dypmvvga.js";
41
- import"./index-df2p0k0s.js";
40
+ } from "./index-n55exns2.js";
41
+ import"./index-26zs9wsj.js";
42
42
  import"./index-txdagbh7.js";
43
43
  import {
44
44
  resolveCohortId
45
- } from "./index-v08ksq0b.js";
45
+ } from "./index-hjdeawyp.js";
46
46
  import"./index-rdec0y3z.js";
47
- import"./index-r7gt2w1b.js";
48
- import"./index-pymr99as.js";
49
- import"./index-2wgvjwpr.js";
50
- import"./index-knbjtqwt.js";
47
+ import"./index-319qcbg7.js";
48
+ import"./index-t0xcsrsf.js";
49
+ import"./index-thx02zpn.js";
50
+ import"./index-1hg62y01.js";
51
51
  import"./index-mf19yqss.js";
52
- import"./index-ycz8z2db.js";
52
+ import"./index-3y0nr248.js";
53
53
  import"./index-cjapb4hy.js";
54
54
  import"./index-a8gvszr2.js";
55
55
  import {
@@ -59,11 +59,11 @@ import {
59
59
  import"./index-q7sjgr1y.js";
60
60
  import {
61
61
  createSwarmTool
62
- } from "./index-hvr82s1t.js";
62
+ } from "./index-v51qveq8.js";
63
63
  import {
64
64
  loadPlan,
65
65
  loadPlanJsonOnly
66
- } from "./index-d6kvatwp.js";
66
+ } from "./index-rs23yv3h.js";
67
67
  import {
68
68
  containsControlChars,
69
69
  createTargetWithinRootValidator,
@@ -73,14 +73,16 @@ import {
73
73
  validateWorkspaceRoot
74
74
  } from "./index-6b295cas.js";
75
75
  import"./index-9nyqt3kb.js";
76
- import"./index-1vvr69ka.js";
76
+ import"./index-r7d49haj.js";
77
77
  import"./index-zsrtt42s.js";
78
- import"./index-cppqxjw9.js";
79
- import"./index-evy5yrsw.js";
80
- import"./index-pts38j6x.js";
78
+ import"./index-p9xke6h7.js";
79
+ import"./index-prqjveey.js";
80
+ import"./index-z4c6bfd5.js";
81
81
  import"./index-g4fs6z4e.js";
82
- import"./index-xs96nry2.js";
83
- import"./index-6ersmqjd.js";
82
+ import"./index-868tmqy5.js";
83
+ import"./index-f1dxxa1n.js";
84
+ import"./index-kaf9mtpc.js";
85
+ import"./index-m9zzj4ee.js";
84
86
  import"./index-bejxkee0.js";
85
87
  import"./index-2s7dvzff.js";
86
88
  import {
@@ -88,26 +90,26 @@ import {
88
90
  validateActionability,
89
91
  validateActionableFields,
90
92
  validateLesson
91
- } from "./index-zzxnssy3.js";
93
+ } from "./index-c44vm8tc.js";
92
94
  import {
93
95
  resolveWorktreeId
94
- } from "./index-pfpnzf6w.js";
96
+ } from "./index-n8kqhxay.js";
95
97
  import"./index-rtry5xyf.js";
96
- import"./index-ta48pe8j.js";
98
+ import"./index-rcmgbtxf.js";
97
99
  import"./index-kbkk7vnh.js";
98
100
  import"./index-0725jpp7.js";
99
101
  import {
100
102
  normalizeScopeFiles
101
- } from "./index-ectvhv8e.js";
102
- import"./index-5m56c5r6.js";
103
- import"./index-ww8payq9.js";
103
+ } from "./index-my8wgyqg.js";
104
+ import"./index-qmmzyymt.js";
105
+ import"./index-e9ry78z5.js";
104
106
  import"./index-m1qy7f1e.js";
105
107
  import"./index-cc1vzq4m.js";
106
108
  import"./index-9hag235h.js";
107
109
  import"./index-ry16d01s.js";
108
110
  import"./index-rdm3px0g.js";
109
111
  import"./index-7pmbnjvj.js";
110
- import"./index-c8ffgcvz.js";
112
+ import"./index-v9y0230d.js";
111
113
  import {
112
114
  computeContentHash,
113
115
  dedupeCapped,
@@ -117,14 +119,14 @@ import {
117
119
  reinforceSwarmKnowledgeEntry,
118
120
  resolveSwarmKnowledgePath,
119
121
  transactKnowledge
120
- } from "./index-krqq8kbq.js";
122
+ } from "./index-ywwreanf.js";
121
123
  import"./index-vzm6zre7.js";
122
124
  import"./index-ae75rja9.js";
123
- import"./index-rm676s0p.js";
124
- import"./index-t3hcd6zz.js";
125
- import"./index-0yj79yk1.js";
125
+ import"./index-n45kz69m.js";
126
+ import"./index-6t7ygevg.js";
127
+ import"./index-jyxgkp4a.js";
126
128
  import"./index-t7hmqgjy.js";
127
- import"./index-jtncfvhe.js";
129
+ import"./index-dx6bhbd6.js";
128
130
  import {
129
131
  canonicalRootKeyFresh,
130
132
  escapeRegex
@@ -141,7 +143,7 @@ import"./index-gx2vp8gx.js";
141
143
  import {
142
144
  loadGateOverrides,
143
145
  loadPluginConfigWithMeta
144
- } from "./index-469xmpd6.js";
146
+ } from "./index-r37b4crx.js";
145
147
  import {
146
148
  init_git_executable,
147
149
  resolveGitExecutableAsync
@@ -149,11 +151,11 @@ import {
149
151
  import {
150
152
  KnowledgeConfigSchema,
151
153
  init_schema
152
- } from "./index-qzgfheb4.js";
154
+ } from "./index-zftyb94k.js";
153
155
  import {
154
156
  TOOL_METADATA,
155
157
  init_tool_metadata
156
- } from "./index-yw1g78v9.js";
158
+ } from "./index-bstjg81q.js";
157
159
  import {
158
160
  KNOWLEDGE_SCHEMA_VERSION,
159
161
  init_knowledge_types
@@ -33,35 +33,37 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-2wgvjwpr.js";
36
+ } from "./index-thx02zpn.js";
37
37
  import"./index-q7sjgr1y.js";
38
- import"./index-6ersmqjd.js";
38
+ import"./index-f1dxxa1n.js";
39
+ import"./index-kaf9mtpc.js";
40
+ import"./index-m9zzj4ee.js";
39
41
  import"./index-bejxkee0.js";
40
42
  import"./index-2s7dvzff.js";
41
- import"./index-zzxnssy3.js";
42
- import"./index-pfpnzf6w.js";
43
+ import"./index-c44vm8tc.js";
44
+ import"./index-n8kqhxay.js";
43
45
  import"./index-rtry5xyf.js";
44
- import"./index-ta48pe8j.js";
46
+ import"./index-rcmgbtxf.js";
45
47
  import"./index-kbkk7vnh.js";
46
48
  import"./index-0725jpp7.js";
47
- import"./index-c8ffgcvz.js";
48
- import"./index-krqq8kbq.js";
49
+ import"./index-v9y0230d.js";
50
+ import"./index-ywwreanf.js";
49
51
  import"./index-vzm6zre7.js";
50
52
  import"./index-ae75rja9.js";
51
- import"./index-rm676s0p.js";
52
- import"./index-t3hcd6zz.js";
53
- import"./index-0yj79yk1.js";
53
+ import"./index-n45kz69m.js";
54
+ import"./index-6t7ygevg.js";
55
+ import"./index-jyxgkp4a.js";
54
56
  import"./index-t7hmqgjy.js";
55
- import"./index-jtncfvhe.js";
57
+ import"./index-dx6bhbd6.js";
56
58
  import"./index-fzpt2djt.js";
57
59
  import"./index-ejhxgyvm.js";
58
60
  import"./index-7g4c7s5r.js";
59
61
  import"./index-r6e8syr3.js";
60
62
  import"./index-gx2vp8gx.js";
61
- import"./index-469xmpd6.js";
63
+ import"./index-r37b4crx.js";
62
64
  import"./index-zxdawwc7.js";
63
- import"./index-qzgfheb4.js";
64
- import"./index-yw1g78v9.js";
65
+ import"./index-zftyb94k.js";
66
+ import"./index-bstjg81q.js";
65
67
  import"./index-bk5tah7q.js";
66
68
  import"./index-gknz3bv1.js";
67
69
  import"./index-zpsr8rpc.js";
@@ -8,73 +8,75 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-akt0arnt.js";
12
- import"./index-b2je0z0t.js";
13
- import"./index-bbqxt1p5.js";
14
- import"./index-sztx0vyt.js";
11
+ } from "./index-0cpa8rnc.js";
12
+ import"./index-wy6wzwb3.js";
13
+ import"./index-36y60mjx.js";
14
+ import"./index-m2xfxk4e.js";
15
15
  import"./index-vx8a8w3b.js";
16
- import"./index-dypmvvga.js";
17
- import"./index-df2p0k0s.js";
16
+ import"./index-n55exns2.js";
17
+ import"./index-26zs9wsj.js";
18
18
  import"./index-txdagbh7.js";
19
- import"./index-v08ksq0b.js";
19
+ import"./index-hjdeawyp.js";
20
20
  import"./index-rdec0y3z.js";
21
- import"./index-r7gt2w1b.js";
22
- import"./index-pymr99as.js";
23
- import"./index-2wgvjwpr.js";
24
- import"./index-knbjtqwt.js";
21
+ import"./index-319qcbg7.js";
22
+ import"./index-t0xcsrsf.js";
23
+ import"./index-thx02zpn.js";
24
+ import"./index-1hg62y01.js";
25
25
  import"./index-mf19yqss.js";
26
- import"./index-ycz8z2db.js";
26
+ import"./index-3y0nr248.js";
27
27
  import"./index-cjapb4hy.js";
28
28
  import"./index-a8gvszr2.js";
29
29
  import"./index-pt7h91zc.js";
30
30
  import"./index-q7sjgr1y.js";
31
- import"./index-hvr82s1t.js";
32
- import"./index-d6kvatwp.js";
31
+ import"./index-v51qveq8.js";
32
+ import"./index-rs23yv3h.js";
33
33
  import"./index-6b295cas.js";
34
34
  import"./index-9nyqt3kb.js";
35
- import"./index-1vvr69ka.js";
35
+ import"./index-r7d49haj.js";
36
36
  import"./index-zsrtt42s.js";
37
- import"./index-cppqxjw9.js";
38
- import"./index-evy5yrsw.js";
39
- import"./index-pts38j6x.js";
37
+ import"./index-p9xke6h7.js";
38
+ import"./index-prqjveey.js";
39
+ import"./index-z4c6bfd5.js";
40
40
  import"./index-g4fs6z4e.js";
41
- import"./index-xs96nry2.js";
42
- import"./index-6ersmqjd.js";
41
+ import"./index-868tmqy5.js";
42
+ import"./index-f1dxxa1n.js";
43
+ import"./index-kaf9mtpc.js";
44
+ import"./index-m9zzj4ee.js";
43
45
  import"./index-bejxkee0.js";
44
46
  import"./index-2s7dvzff.js";
45
- import"./index-zzxnssy3.js";
46
- import"./index-pfpnzf6w.js";
47
+ import"./index-c44vm8tc.js";
48
+ import"./index-n8kqhxay.js";
47
49
  import"./index-rtry5xyf.js";
48
- import"./index-ta48pe8j.js";
50
+ import"./index-rcmgbtxf.js";
49
51
  import"./index-kbkk7vnh.js";
50
52
  import"./index-0725jpp7.js";
51
- import"./index-ectvhv8e.js";
52
- import"./index-5m56c5r6.js";
53
- import"./index-ww8payq9.js";
53
+ import"./index-my8wgyqg.js";
54
+ import"./index-qmmzyymt.js";
55
+ import"./index-e9ry78z5.js";
54
56
  import"./index-m1qy7f1e.js";
55
57
  import"./index-cc1vzq4m.js";
56
58
  import"./index-9hag235h.js";
57
59
  import"./index-ry16d01s.js";
58
60
  import"./index-rdm3px0g.js";
59
61
  import"./index-7pmbnjvj.js";
60
- import"./index-c8ffgcvz.js";
61
- import"./index-krqq8kbq.js";
62
+ import"./index-v9y0230d.js";
63
+ import"./index-ywwreanf.js";
62
64
  import"./index-vzm6zre7.js";
63
65
  import"./index-ae75rja9.js";
64
- import"./index-rm676s0p.js";
65
- import"./index-t3hcd6zz.js";
66
- import"./index-0yj79yk1.js";
66
+ import"./index-n45kz69m.js";
67
+ import"./index-6t7ygevg.js";
68
+ import"./index-jyxgkp4a.js";
67
69
  import"./index-t7hmqgjy.js";
68
- import"./index-jtncfvhe.js";
70
+ import"./index-dx6bhbd6.js";
69
71
  import"./index-fzpt2djt.js";
70
72
  import"./index-ejhxgyvm.js";
71
73
  import"./index-7g4c7s5r.js";
72
74
  import"./index-r6e8syr3.js";
73
75
  import"./index-gx2vp8gx.js";
74
- import"./index-469xmpd6.js";
76
+ import"./index-r37b4crx.js";
75
77
  import"./index-zxdawwc7.js";
76
- import"./index-qzgfheb4.js";
77
- import"./index-yw1g78v9.js";
78
+ import"./index-zftyb94k.js";
79
+ import"./index-bstjg81q.js";
78
80
  import"./index-bk5tah7q.js";
79
81
  import"./index-gknz3bv1.js";
80
82
  import"./index-zpsr8rpc.js";
@@ -7,14 +7,14 @@ import {
7
7
  parseSpeckitTasksContent,
8
8
  propagateSpeckitCheckoff,
9
9
  writeSpeckitCheckoffLedger
10
- } from "./index-cppqxjw9.js";
10
+ } from "./index-p9xke6h7.js";
11
11
  import"./index-ejhxgyvm.js";
12
12
  import"./index-7g4c7s5r.js";
13
13
  import"./index-r6e8syr3.js";
14
- import"./index-469xmpd6.js";
14
+ import"./index-r37b4crx.js";
15
15
  import"./index-zxdawwc7.js";
16
- import"./index-qzgfheb4.js";
17
- import"./index-yw1g78v9.js";
16
+ import"./index-zftyb94k.js";
17
+ import"./index-bstjg81q.js";
18
18
  import"./index-bk5tah7q.js";
19
19
  import"./index-gknz3bv1.js";
20
20
  import"./index-zpsr8rpc.js";
@@ -14,7 +14,7 @@ import {
14
14
  startHeartbeatTracking,
15
15
  stopHeartbeatTracking,
16
16
  telemetry
17
- } from "./index-jtncfvhe.js";
17
+ } from "./index-dx6bhbd6.js";
18
18
  import"./index-fzpt2djt.js";
19
19
  import"./index-gknz3bv1.js";
20
20
  import"./index-zpsr8rpc.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  scanDelegationFallbacksForRecovery,
15
15
  scanDelegationsForRecovery
16
- } from "./index-xs96nry2.js";
16
+ } from "./index-868tmqy5.js";
17
17
  import"./index-bejxkee0.js";
18
18
  import"./index-2s7dvzff.js";
19
19
  import"./index-m1qy7f1e.js";
@@ -22,15 +22,15 @@ import"./index-9hag235h.js";
22
22
  import"./index-ry16d01s.js";
23
23
  import"./index-rdm3px0g.js";
24
24
  import"./index-7pmbnjvj.js";
25
- import"./index-c8ffgcvz.js";
26
- import"./index-krqq8kbq.js";
25
+ import"./index-v9y0230d.js";
26
+ import"./index-ywwreanf.js";
27
27
  import"./index-vzm6zre7.js";
28
28
  import"./index-ae75rja9.js";
29
- import"./index-rm676s0p.js";
30
- import"./index-t3hcd6zz.js";
31
- import"./index-0yj79yk1.js";
29
+ import"./index-n45kz69m.js";
30
+ import"./index-6t7ygevg.js";
31
+ import"./index-jyxgkp4a.js";
32
32
  import"./index-t7hmqgjy.js";
33
- import"./index-jtncfvhe.js";
33
+ import"./index-dx6bhbd6.js";
34
34
  import {
35
35
  canonicalRootKeyFresh
36
36
  } from "./index-fzpt2djt.js";
@@ -21,75 +21,77 @@ import {
21
21
  sanitizeWorktreeTaskId,
22
22
  standardWorktreeByCallID,
23
23
  standardWorktreeSerializationSessions
24
- } from "./index-akt0arnt.js";
25
- import"./index-b2je0z0t.js";
26
- import"./index-bbqxt1p5.js";
27
- import"./index-sztx0vyt.js";
24
+ } from "./index-0cpa8rnc.js";
25
+ import"./index-wy6wzwb3.js";
26
+ import"./index-36y60mjx.js";
27
+ import"./index-m2xfxk4e.js";
28
28
  import"./index-vx8a8w3b.js";
29
- import"./index-dypmvvga.js";
30
- import"./index-df2p0k0s.js";
29
+ import"./index-n55exns2.js";
30
+ import"./index-26zs9wsj.js";
31
31
  import"./index-txdagbh7.js";
32
- import"./index-v08ksq0b.js";
32
+ import"./index-hjdeawyp.js";
33
33
  import"./index-rdec0y3z.js";
34
- import"./index-r7gt2w1b.js";
35
- import"./index-pymr99as.js";
36
- import"./index-2wgvjwpr.js";
37
- import"./index-knbjtqwt.js";
34
+ import"./index-319qcbg7.js";
35
+ import"./index-t0xcsrsf.js";
36
+ import"./index-thx02zpn.js";
37
+ import"./index-1hg62y01.js";
38
38
  import"./index-mf19yqss.js";
39
- import"./index-ycz8z2db.js";
39
+ import"./index-3y0nr248.js";
40
40
  import"./index-cjapb4hy.js";
41
41
  import"./index-a8gvszr2.js";
42
42
  import"./index-pt7h91zc.js";
43
43
  import"./index-q7sjgr1y.js";
44
- import"./index-hvr82s1t.js";
45
- import"./index-d6kvatwp.js";
44
+ import"./index-v51qveq8.js";
45
+ import"./index-rs23yv3h.js";
46
46
  import"./index-6b295cas.js";
47
47
  import"./index-9nyqt3kb.js";
48
- import"./index-1vvr69ka.js";
48
+ import"./index-r7d49haj.js";
49
49
  import"./index-zsrtt42s.js";
50
- import"./index-cppqxjw9.js";
51
- import"./index-evy5yrsw.js";
52
- import"./index-pts38j6x.js";
50
+ import"./index-p9xke6h7.js";
51
+ import"./index-prqjveey.js";
52
+ import"./index-z4c6bfd5.js";
53
53
  import"./index-g4fs6z4e.js";
54
- import"./index-xs96nry2.js";
55
- import"./index-6ersmqjd.js";
54
+ import"./index-868tmqy5.js";
55
+ import"./index-f1dxxa1n.js";
56
+ import"./index-kaf9mtpc.js";
57
+ import"./index-m9zzj4ee.js";
56
58
  import"./index-bejxkee0.js";
57
59
  import"./index-2s7dvzff.js";
58
- import"./index-zzxnssy3.js";
59
- import"./index-pfpnzf6w.js";
60
+ import"./index-c44vm8tc.js";
61
+ import"./index-n8kqhxay.js";
60
62
  import"./index-rtry5xyf.js";
61
63
  import {
62
64
  resolveWorktreeIsolationConfig
63
- } from "./index-ta48pe8j.js";
65
+ } from "./index-rcmgbtxf.js";
64
66
  import"./index-kbkk7vnh.js";
65
67
  import"./index-0725jpp7.js";
66
- import"./index-ectvhv8e.js";
67
- import"./index-5m56c5r6.js";
68
- import"./index-ww8payq9.js";
68
+ import"./index-my8wgyqg.js";
69
+ import"./index-qmmzyymt.js";
70
+ import"./index-e9ry78z5.js";
69
71
  import"./index-m1qy7f1e.js";
70
72
  import"./index-cc1vzq4m.js";
71
73
  import"./index-9hag235h.js";
72
74
  import"./index-ry16d01s.js";
73
75
  import"./index-rdm3px0g.js";
74
76
  import"./index-7pmbnjvj.js";
75
- import"./index-c8ffgcvz.js";
76
- import"./index-krqq8kbq.js";
77
+ import"./index-v9y0230d.js";
78
+ import"./index-ywwreanf.js";
77
79
  import"./index-vzm6zre7.js";
78
80
  import"./index-ae75rja9.js";
79
- import"./index-rm676s0p.js";
80
- import"./index-t3hcd6zz.js";
81
- import"./index-0yj79yk1.js";
81
+ import"./index-n45kz69m.js";
82
+ import"./index-6t7ygevg.js";
83
+ import"./index-jyxgkp4a.js";
82
84
  import"./index-t7hmqgjy.js";
83
- import"./index-jtncfvhe.js";
85
+ import"./index-dx6bhbd6.js";
84
86
  import"./index-fzpt2djt.js";
85
87
  import"./index-ejhxgyvm.js";
86
88
  import"./index-7g4c7s5r.js";
87
89
  import"./index-r6e8syr3.js";
88
90
  import"./index-gx2vp8gx.js";
89
- import"./index-469xmpd6.js";
91
+ import"./index-r37b4crx.js";
90
92
  import"./index-zxdawwc7.js";
91
- import"./index-qzgfheb4.js";
92
- import"./index-yw1g78v9.js";
93
+ import"./index-zftyb94k.js";
94
+ import"./index-bstjg81q.js";
93
95
  import"./index-bk5tah7q.js";
94
96
  import"./index-gknz3bv1.js";
95
97
  import"./index-zpsr8rpc.js";
@@ -0,0 +1,16 @@
1
+ /**
2
+ * #2947 `/swarm doctor` section: `knowledge-receipt-phase-id`.
3
+ *
4
+ * Detection is always-on and takes the ledger lock like every ledger read;
5
+ * on a legacy store that has not completed cutover yet, a detection call can
6
+ * append the standard `legacy_unverifiable`/`cutover_completed` bootstrap
7
+ * records (base-identical behavior of every `runLocked` read — no phase-data
8
+ * mutation). The journaled backfill runs ONLY under the interactive `--fix`
9
+ * flag. Fail-open on lock or store errors — the doctor is advisory and must
10
+ * still produce its structural report. INVARIANT 1 (AGENTS.md): this section
11
+ * is wired exclusively into the interactive `handleDoctorCommand` and is
12
+ * deliberately absent from `runConfigDoctor`/`runConfigDoctorWithFixes`, so
13
+ * no receipt-journal scan or backfill write can execute on the plugin startup
14
+ * path (src/index.ts registers the startup doctor via those services only).
15
+ */
16
+ export declare function renderKnowledgeReceiptPhaseIdSection(directory: string, enableAutoFix: boolean): Promise<string>;
@@ -63,6 +63,21 @@ export declare function extractPatterns(contextContent: string, maxChars?: numbe
63
63
  * never suppress the summary — the honest active phase is reported instead.
64
64
  */
65
65
  export declare function extractCurrentPhaseFromPlan(plan: Plan): string | null;
66
+ /**
67
+ * Parse the stable numeric phase id embedded in a stored phase label.
68
+ *
69
+ * Membership labels are immutable once committed, so the embedded id is a
70
+ * stable identity even for legacy records that predate the explicit
71
+ * `phase_id` field (#2947). Accepts BOTH live label shapes — the composed
72
+ * `Phase 2: Name [STATUS]` form and the short architect form `Phase 2` —
73
+ * using the same loose canonical regex as `phaseNumberOf` in
74
+ * knowledge-injector.ts (which delegates here). Returns undefined for labels
75
+ * that carry no `Phase N` prefix AND for `Phase 0`: real plan phases are
76
+ * >= 1 (PhaseSchema), and the architect no-plan fallback label `Phase 0` is a
77
+ * synthetic marker that must never become a membership phase_id. Callers must
78
+ * treat undefined as "no id" and fall back to verbatim-label matching.
79
+ */
80
+ export declare function extractPhaseIdFromLabel(label: string | undefined): number | undefined;
66
81
  /**
67
82
  * Extracts the first incomplete task from the current phase of a Plan object.
68
83
  *
@@ -71,6 +71,11 @@ export interface InjectForDelegateParams {
71
71
  * and the phase-complete gate window directives by phase (Change 2).
72
72
  */
73
73
  phase?: string;
74
+ /**
75
+ * #2947: stable numeric phase id persisted on the membership so the
76
+ * phase-complete gate can key on it when the label legitimately drifts.
77
+ */
78
+ phase_id?: number;
74
79
  /** Test seam: override the search function. Defaults to the live one. */
75
80
  searchFn?: typeof searchKnowledge;
76
81
  }