opencode-swarm 7.184.6 → 7.184.7
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.
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{coder-settlement-cxe9fn9d.js → coder-settlement-2759zt77.js} +11 -11
- package/dist/cli/{config-doctor-f2semh9v.js → config-doctor-g48tz4kt.js} +3 -3
- package/dist/cli/{core-xf46e82t.js → core-1jfgxw72.js} +4 -4
- package/dist/cli/{curation-policy-49f8jx48.js → curation-policy-k43q6b91.js} +4 -4
- package/dist/cli/{curator-drift-8ez4czhj.js → curator-drift-5wc9jfmy.js} +9 -9
- package/dist/cli/curator-llm-factory-jjd0cxb2.js +75 -0
- package/dist/cli/{curator-n2gvb7rc.js → curator-m7sja3jp.js} +38 -38
- package/dist/cli/{evidence-summary-service-e2gt8tnz.js → evidence-summary-service-sx8x12w0.js} +17 -17
- package/dist/cli/{gate-evidence-9zpdk87c.js → gate-evidence-znfffz94.js} +8 -6
- package/dist/cli/guardrail-explain-x81m4s8q.js +76 -0
- package/dist/cli/{guardrail-log-e4ysdxag.js → guardrail-log-mcv4ad3t.js} +7 -7
- package/dist/cli/{guardrail-reset-1fxdaqwf.js → guardrail-reset-ksrr2r0n.js} +38 -38
- package/dist/cli/{hive-promoter-y81jkaj5.js → hive-promoter-06dzq5ms.js} +38 -38
- package/dist/cli/{index-jjdrhr7z.js → index-0prgjynb.js} +5 -5
- package/dist/cli/{index-ar2gsn6b.js → index-14j1jkyy.js} +6 -6
- package/dist/cli/{index-b5xcv0ec.js → index-16smfppa.js} +4 -4
- package/dist/cli/{index-skw3bgg1.js → index-1kz2repk.js} +4 -4
- package/dist/cli/{index-kx3hfpb8.js → index-1npynszx.js} +12 -12
- package/dist/cli/{index-gekvpzaf.js → index-1nwkzj24.js} +2 -2
- package/dist/cli/{index-ya32wfkp.js → index-1t2ctwkd.js} +1 -1
- package/dist/cli/{index-5j6g6kqj.js → index-2s0gy81b.js} +3 -3
- package/dist/cli/{index-k53a69vb.js → index-2t4zv1ag.js} +7 -14
- package/dist/cli/{index-g1aa3sdm.js → index-3h0f07e9.js} +2 -2
- package/dist/cli/{index-d4rhnvtf.js → index-42pchr9f.js} +1 -1
- package/dist/cli/{index-zm08qe68.js → index-4qmeshfa.js} +5 -5
- package/dist/cli/{index-3n5zsp31.js → index-7xv2hvr6.js} +2 -2
- package/dist/cli/{index-7136wpb2.js → index-82j1een1.js} +46 -19
- package/dist/cli/{index-ejk27p7n.js → index-8bvpcbk8.js} +40 -40
- package/dist/cli/{index-wy3zpwjy.js → index-98a0rxby.js} +1 -1
- package/dist/cli/{index-vyjped9g.js → index-b1v0zxnh.js} +2 -2
- package/dist/cli/{index-5p5tpj50.js → index-bf055zyw.js} +2 -2
- package/dist/cli/{index-8x0vtc05.js → index-c5c7hrz1.js} +3 -3
- package/dist/cli/{index-m62eysrr.js → index-dyddcx8h.js} +168 -105
- package/dist/cli/{index-xf69xty9.js → index-e1zrgvqg.js} +1 -1
- package/dist/cli/{index-3w3cssas.js → index-eecz2kna.js} +7 -7
- package/dist/cli/{index-y1xtkdys.js → index-enjsn68b.js} +7 -7
- package/dist/cli/{index-wzec3c4g.js → index-ezagem2g.js} +4 -0
- package/dist/cli/{index-zzvxj02e.js → index-fr6x6vn2.js} +1 -1
- package/dist/cli/{index-475bkab8.js → index-g2r6t7by.js} +1 -1
- package/dist/cli/{index-47wqppx9.js → index-kbd6apth.js} +38 -38
- package/dist/cli/{index-dtgj8d9k.js → index-m8rt7a3g.js} +4 -4
- package/dist/cli/{index-qksf7d8b.js → index-mp60wy1f.js} +4 -4
- package/dist/cli/{index-6g664sy8.js → index-q39ecyaq.js} +1 -1
- package/dist/cli/{index-9vbsarg2.js → index-q4a0j3nh.js} +5 -5
- package/dist/cli/{index-earq3mda.js → index-qeqn241m.js} +1 -1
- package/dist/cli/{index-k1p87csx.js → index-raj6y6d3.js} +2 -2
- package/dist/cli/{index-f0nj3d8z.js → index-rmspt7xm.js} +1 -1
- package/dist/cli/{index-77g30h6x.js → index-rwzrbcm9.js} +2 -2
- package/dist/cli/{index-jvk95e6y.js → index-s95ghsy1.js} +1 -1
- package/dist/cli/{index-h2vpqaf1.js → index-sxxj47cy.js} +6 -6
- package/dist/cli/{index-w9hxzcz4.js → index-t0mb5a9p.js} +1 -1
- package/dist/cli/{index-4b8997qs.js → index-x16a0c6b.js} +7 -7
- package/dist/cli/{index-456awy1p.js → index-xqxqepsy.js} +2 -2
- package/dist/cli/{index-p45t3c66.js → index-ywmknn6m.js} +1 -1
- package/dist/cli/{index-taw9b4v5.js → index-z1qs160n.js} +1 -1
- package/dist/cli/{index-kkj76rky.js → index-z7recmq5.js} +3 -3
- package/dist/cli/index.js +39 -39
- package/dist/cli/{knowledge-escalator-pw06n575.js → knowledge-escalator-ghx76dcv.js} +12 -12
- package/dist/cli/{knowledge-events-f4wgd8n2.js → knowledge-events-kpw6fbmc.js} +10 -10
- package/dist/cli/{knowledge-link-ap2274vm.js → knowledge-link-xw6vsbx3.js} +3 -3
- package/dist/cli/{knowledge-store-rttx0zb9.js → knowledge-store-fhdrpxdm.js} +4 -4
- package/dist/cli/{knowledge-validator-nakzbx9d.js → knowledge-validator-7jr0aka1.js} +6 -6
- package/dist/cli/{mcp-fdgfryxa.js → mcp-v7cgf5tn.js} +1 -1
- package/dist/cli/{model-preflight-wmm3tard.js → model-preflight-kn3xqvfk.js} +38 -38
- package/dist/cli/{pending-delegations-eswsasts.js → pending-delegations-z7mcbecn.js} +10 -10
- package/dist/cli/{pr-subscriptions-fvwnd217.js → pr-subscriptions-1sb07tx3.js} +10 -10
- package/dist/cli/{pr-workflow-gate-v4e8k3gn.js → pr-workflow-gate-ph4fvf47.js} +38 -38
- package/dist/cli/{runner-yz3ysehf.js → runner-pvdhxh74.js} +4 -4
- package/dist/cli/{scan-cursor-krrzh2x5.js → scan-cursor-7ny9bnmk.js} +5 -5
- package/dist/cli/{schema-wv7r4x4q.js → schema-pjkzvcw8.js} +2 -2
- package/dist/cli/{scope-persistence-d3jv0v2w.js → scope-persistence-mkb8yc5s.js} +14 -14
- package/dist/cli/{server-cxf8qmej.js → server-4e853cwk.js} +38 -38
- package/dist/cli/{skill-generator-gbs540wv.js → skill-generator-v6n0kwh0.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-p98yacqd.js → snapshot-coordination-init-agx2sn6h.js} +38 -38
- package/dist/cli/{speckit-checkoff-1zhq6dsh.js → speckit-checkoff-wfsbvt1b.js} +5 -5
- package/dist/cli/{workspace-snapshot-xwhhznt3.js → workspace-snapshot-553c6cd3.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-rm7ybyyc.js → worktree-collision-ownership-4znww3nt.js} +11 -11
- package/dist/cli/{worktree-isolation-vz6et0s2.js → worktree-isolation-w4k8q59z.js} +38 -38
- package/dist/commands/registry.d.ts +1 -1
- package/dist/gate-evidence.d.ts +51 -0
- package/dist/index.js +34 -34
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/record-branch-freshness.d.ts +6 -0
- package/dist/tools/record-trace-validation.d.ts +11 -0
- package/dist/tools/recover-stage-a-task.d.ts +5 -0
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/dist/workflow/settlement-recovery.d.ts +52 -0
- package/dist/workflow/stage-a-repair.d.ts +13 -8
- package/dist/workflow/task-recovery-status.d.ts +11 -2
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-smd5741x.js +0 -75
- package/dist/cli/guardrail-explain-e9kjxg97.js +0 -76
package/dist/gate-evidence.d.ts
CHANGED
|
@@ -66,6 +66,25 @@ export interface TaskWorkflowMetadata {
|
|
|
66
66
|
* `repair_idle` (which opens a new generation for genuinely new work).
|
|
67
67
|
*/
|
|
68
68
|
supervisedRecovery?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* True when this task's current generation entered `pre_check_passed`
|
|
71
|
+
* through a settlement-backed Stage A recovery (issue #2828) — the
|
|
72
|
+
* deterministic `/swarm recover` settlement-wedge repair or the audited
|
|
73
|
+
* `recover_stage_a_task` architect tool — rather than the mechanical
|
|
74
|
+
* pre_check_batch recorder.
|
|
75
|
+
*
|
|
76
|
+
* Same durability contract as `supervisedRecovery`: the reducer consumes
|
|
77
|
+
* the event-scoped flag transiently, so without a persisted marker the
|
|
78
|
+
* evidence file becomes byte-identical to a mechanically-earned Stage A
|
|
79
|
+
* pass as soon as the next transition overwrites `lastTransitionId`.
|
|
80
|
+
* Preserved across subsequent transitions in the same generation, cleared
|
|
81
|
+
* by `repair_idle` and by `accepted_mutation`'s generation rotation (a new
|
|
82
|
+
* generation invalidates the recovery mode). One flag serves both entry
|
|
83
|
+
* modes because the durable predicate (COMMITTED accepted settlement +
|
|
84
|
+
* green post-settlement pre-check) is identical; provenance between them
|
|
85
|
+
* rides the `stage_a_repair` audit event's `via` field.
|
|
86
|
+
*/
|
|
87
|
+
settlementRecovery?: boolean;
|
|
69
88
|
/**
|
|
70
89
|
* Exact proof that the generation-0 coder settlement declared no files and
|
|
71
90
|
* observed no mutation. This is deliberately separate from retry history and
|
|
@@ -153,6 +172,15 @@ export type TaskWorkflowTransitionEvent = {
|
|
|
153
172
|
* fail closed with TASK_WORKFLOW_CODER_MUTATION_REQUIRED from that state.
|
|
154
173
|
*/
|
|
155
174
|
supervisedRecovery?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Settlement-backed recovery only (issue #2828): the settlement-wedge
|
|
177
|
+
* repair paths (`/swarm recover`'s settlement scan and the
|
|
178
|
+
* recover_stage_a_task tool) set this to admit stage_a_passed from
|
|
179
|
+
* `idle`/`blocked` when a COMMITTED accepted coder settlement plus
|
|
180
|
+
* green post-settlement pre-check proof justify re-recording Stage A.
|
|
181
|
+
* Every other emitter leaves it unset and still fails closed.
|
|
182
|
+
*/
|
|
183
|
+
settlementRecovery?: boolean;
|
|
156
184
|
expectedGeneration: number;
|
|
157
185
|
transitionId?: string;
|
|
158
186
|
} | {
|
|
@@ -213,6 +241,17 @@ export interface TaskEvidenceTransaction {
|
|
|
213
241
|
taskId: string;
|
|
214
242
|
read(): TaskEvidence | null;
|
|
215
243
|
transition(event: TaskWorkflowTransitionEvent): Promise<TaskEvidence>;
|
|
244
|
+
/**
|
|
245
|
+
* Same as `transition`, plus whether the reducer treated the event as a
|
|
246
|
+
* duplicate no-op (the durable evidence already recorded this exact
|
|
247
|
+
* transitionId + outcome, so nothing changed). Optional for backward
|
|
248
|
+
* compatibility with older transaction implementations; callers of the
|
|
249
|
+
* plain `transition` cannot distinguish a fresh write from a duplicate.
|
|
250
|
+
*/
|
|
251
|
+
transitionWithStatus?(event: TaskWorkflowTransitionEvent): Promise<{
|
|
252
|
+
evidence: TaskEvidence;
|
|
253
|
+
duplicated: boolean;
|
|
254
|
+
}>;
|
|
216
255
|
}
|
|
217
256
|
export declare function parseTaskEvidence(raw: string, expectedTaskId: string): TaskEvidence;
|
|
218
257
|
export declare const DEFAULT_REQUIRED_GATES: string[];
|
|
@@ -261,6 +300,18 @@ export declare function deriveRequiredGates(agentType: string, context?: GateDer
|
|
|
261
300
|
*/
|
|
262
301
|
export declare function expandRequiredGates(existingGates: string[], newAgentType: string, context?: GateDerivationContext): string[];
|
|
263
302
|
export declare function transitionTaskWorkflowEvidence(directory: string, taskId: string, event: TaskWorkflowTransitionEvent): Promise<TaskEvidence>;
|
|
303
|
+
/**
|
|
304
|
+
* Same as `transitionTaskWorkflowEvidence`, plus whether the reducer treated
|
|
305
|
+
* the event as a duplicate no-op (the durable evidence already recorded this
|
|
306
|
+
* exact transitionId + outcome). Duplicate detection needs the locked pre-
|
|
307
|
+
* transition state, so it is only available from inside the transaction; a
|
|
308
|
+
* transaction implementation without `transitionWithStatus` reports
|
|
309
|
+
* `duplicated: false` (unknown, not proven-fresh).
|
|
310
|
+
*/
|
|
311
|
+
export declare function transitionTaskWorkflowEvidenceWithStatus(directory: string, taskId: string, event: TaskWorkflowTransitionEvent): Promise<{
|
|
312
|
+
evidence: TaskEvidence;
|
|
313
|
+
duplicated: boolean;
|
|
314
|
+
}>;
|
|
264
315
|
export declare function withTaskEvidenceTransaction<T>(directory: string, taskId: string, agent: string, callback: (transaction: TaskEvidenceTransaction) => Promise<T>): Promise<T>;
|
|
265
316
|
/**
|
|
266
317
|
* Re-publish a transition receipt after a caller has proven that its evidence
|