opencode-swarm 7.124.0 → 7.125.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.
- package/.opencode/skills/critic-gate/SKILL.md +8 -0
- package/.opencode/skills/swarm/SKILL.md +12 -8
- package/.opencode/skills/swarm-pr-feedback/SKILL.md +245 -171
- package/.opencode/skills/swarm-pr-feedback/references/bot-claim-verification.md +71 -0
- package/.opencode/skills/swarm-pr-feedback/references/operational-gotchas.md +49 -0
- package/.opencode/skills/swarm-pr-review/SKILL.md +238 -412
- package/.opencode/skills/swarm-pr-review/references/parser-dry-run.md +235 -0
- package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +103 -0
- package/.opencode/skills/writing-tests/SKILL.md +4 -123
- package/.opencode/skills/writing-tests/references/mock-and-seam-inventory.md +43 -0
- package/README.md +3 -1
- package/dist/background/lane-output-store.d.ts +10 -0
- package/dist/background/pending-delegations.d.ts +3 -0
- package/dist/background/workspace-snapshot.d.ts +59 -0
- package/dist/cli/{config-doctor-53mnpeke.js → config-doctor-g3m2q646.js} +2 -2
- package/dist/cli/{curation-policy-ny033330.js → curation-policy-vgbx8530.js} +2 -2
- package/dist/cli/{curator-llm-factory-e0tjz8qq.js → curator-llm-factory-7pvqy94w.js} +15 -14
- package/dist/cli/{curator-nvn1pdq6.js → curator-xk4g1nx2.js} +15 -14
- package/dist/cli/{evidence-summary-service-9hq7n9k9.js → evidence-summary-service-v4h2w487.js} +1 -1
- package/dist/cli/{guardrail-explain-d3dd57nf.js → guardrail-explain-wfk16bpr.js} +16 -15
- package/dist/cli/{guardrail-log-3q2z9axs.js → guardrail-log-5zz9xx6z.js} +3 -3
- package/dist/cli/{hive-promoter-9gbpepgm.js → hive-promoter-njwc5rt0.js} +15 -14
- package/dist/cli/{pending-delegations-e3bcqj77.js → index-0cz1ws47.js} +4 -18
- package/dist/cli/{index-3yyr4ynk.js → index-3k8pg467.js} +1 -1
- package/dist/cli/{index-x2mmnrnx.js → index-83rwq7pb.js} +1 -1
- package/dist/cli/{index-c6crt5rs.js → index-8yvqkbw7.js} +12 -2
- package/dist/cli/{index-z0m4angq.js → index-93cq8t5b.js} +5 -5
- package/dist/cli/{index-8pz0ypxz.js → index-cz6fv84h.js} +17 -16
- package/dist/cli/{index-mkkx1a4f.js → index-dsf1yv4s.js} +1588 -891
- package/dist/cli/{index-4rzzzjtg.js → index-fs02c7tz.js} +277 -16
- package/dist/cli/{index-zjedv2bd.js → index-ghteqdy1.js} +2 -2
- package/dist/cli/{index-13d2g7k9.js → index-kvrk3h8p.js} +1 -1
- package/dist/cli/{index-eeg04r0x.js → index-kws8zn6y.js} +1 -1
- package/dist/cli/index-mg54y5gc.js +564 -0
- package/dist/cli/{index-qd77aft9.js → index-mhhmecsw.js} +2 -2
- package/dist/cli/{index-2x4maxte.js → index-mwdcvh0e.js} +4 -4
- package/dist/cli/{index-e19mxn9f.js → index-pbjenws7.js} +1 -1
- package/dist/cli/{index-wqwpzhv1.js → index-rpg8qqjs.js} +2 -2
- package/dist/cli/{index-tyg0zezw.js → index-tn3shyqj.js} +3 -3
- package/dist/cli/{index-htbjqftb.js → index-txragda9.js} +1 -1
- package/dist/cli/{index-v5ecczts.js → index-z4sc6yxc.js} +1 -1
- package/dist/cli/index.js +15 -14
- package/dist/cli/{knowledge-escalator-r1s01m3z.js → knowledge-escalator-jtyykzqc.js} +3 -3
- package/dist/cli/{knowledge-events-a9hmxvke.js → knowledge-events-qhr97sy9.js} +1 -1
- package/dist/cli/{knowledge-store-jt31br5k.js → knowledge-store-332x3pjv.js} +1 -1
- package/dist/cli/{knowledge-validator-9vrwxr3z.js → knowledge-validator-3t8tgzsz.js} +4 -4
- package/dist/cli/pending-delegations-7j8xqg5f.js +34 -0
- package/dist/cli/{scan-cursor-bkjtsawg.js → scan-cursor-q21c9k9q.js} +2 -2
- package/dist/cli/{schema-y3z416z7.js → schema-y2d7j2jk.js} +1 -1
- package/dist/cli/{skill-generator-794hyndw.js → skill-generator-3gkxx98d.js} +5 -5
- package/dist/cli/workspace-snapshot-c9pxxt9a.js +48 -0
- package/dist/commands/close.d.ts +4 -2
- package/dist/commands/registry.d.ts +1 -1
- package/dist/config/schema.d.ts +4 -0
- package/dist/evidence/documents-retention.d.ts +116 -0
- package/dist/evidence/manager.d.ts +17 -0
- package/dist/hooks/pr-workflow-gate.d.ts +211 -0
- package/dist/hooks/pr-workflow-response-gate.d.ts +23 -0
- package/dist/hooks/pr-workflow-session-resolver.d.ts +14 -0
- package/dist/index.js +563 -523
- package/dist/tools/complete-pr-workflow.d.ts +5 -0
- package/dist/tools/dispatch-lanes.d.ts +44 -0
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/manifest.d.ts +2 -0
- package/dist/tools/run-pr-feedback-stage-a.d.ts +69 -0
- package/dist/tools/tool-metadata.d.ts +8 -0
- package/dist/tools/write-pr-review-trigger-eval.d.ts +56 -46
- package/package.json +1 -1
- package/dist/cli/index-dqh3zhhc.js +0 -133
- package/dist/cli/workspace-snapshot-eyf6gd0d.js +0 -22
|
@@ -25,6 +25,14 @@ Delegate plan to the active swarm's critic agent for review BEFORE any implement
|
|
|
25
25
|
|
|
26
26
|
You MUST NOT proceed to MODE: EXECUTE without printing this checklist with filled values.
|
|
27
27
|
|
|
28
|
+
**Post-approval verification:** Before dispatching the first coder in
|
|
29
|
+
MODE: EXECUTE, call `get_approved_plan` to confirm the critic's APPROVED
|
|
30
|
+
verdict was recorded. The approval-recording heuristic can fail silently
|
|
31
|
+
if the dispatch prompt didn't contain the expected keywords. Dispatching
|
|
32
|
+
coders without a recorded approval wastes cycles — the coder gate will
|
|
33
|
+
reject with `PLAN_CRITIC_GATE_VIOLATION`. One read-only call prevents
|
|
34
|
+
this entire failure class.
|
|
35
|
+
|
|
28
36
|
CRITIC-GATE TRIGGER: Run ONCE when you first write the complete .swarm/plan.md.
|
|
29
37
|
Do NOT re-run CRITIC-GATE before every project phase.
|
|
30
38
|
If resuming a project with an existing approved plan, CRITIC-GATE is already satisfied.
|
|
@@ -5,7 +5,8 @@ description: Cross-agent swarm-mode behavior model — a higher-rigor workflow u
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## Goal
|
|
8
|
-
Turn the host agent into a swarm-like orchestrator
|
|
8
|
+
Turn the host agent into a swarm-like orchestrator that prioritizes complete,
|
|
9
|
+
evidence-backed results over elapsed time, token count, or dispatch count.
|
|
9
10
|
|
|
10
11
|
## What this mode changes
|
|
11
12
|
When enabled, the agent should:
|
|
@@ -16,22 +17,25 @@ When enabled, the agent should:
|
|
|
16
17
|
- keep quality as the only metric that matters
|
|
17
18
|
- treat time pressure as nonexistent
|
|
18
19
|
- preserve normal host-agent strengths: parallel subagents, scoped exploration, and fast synthesis
|
|
19
|
-
-
|
|
20
|
+
- spend the deepest validation effort where it materially reduces ship risk,
|
|
21
|
+
without using time, token, or dispatch cost to waive a required gate
|
|
20
22
|
|
|
21
|
-
## Quality
|
|
23
|
+
## Quality policy
|
|
22
24
|
Code quality and pre-ship defect detection are paramount.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
Elapsed time, token count, dispatch count, and perceived repository simplicity
|
|
26
|
+
are never reasons to weaken a required workflow step. Parallelism is used to
|
|
27
|
+
reduce wall-clock latency without reducing coverage or independence.
|
|
26
28
|
|
|
27
29
|
That means:
|
|
28
30
|
- parallelize breadth aggressively
|
|
29
31
|
- validate in depth selectively based on risk
|
|
30
|
-
-
|
|
32
|
+
- run every reviewer or critic loop required by the active workflow; optional
|
|
33
|
+
extra scrutiny may still be risk-targeted
|
|
31
34
|
- spend the most time on correctness, security, edge cases, regressions, and claimed-vs-actual mismatches
|
|
32
35
|
- keep low-risk nits cheap
|
|
33
36
|
|
|
34
|
-
|
|
37
|
+
Only explicitly optional workflow steps may be skipped. A required step remains
|
|
38
|
+
required even when the architect predicts that it will find nothing.
|
|
35
39
|
If a workflow step prevents real bugs from shipping, keep it even if it costs time.
|
|
36
40
|
|
|
37
41
|
## Default triage model
|