opencode-swarm 7.140.0 → 7.140.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 (49) hide show
  1. package/.opencode/skills/commit-pr/SKILL.md +7 -0
  2. package/.opencode/skills/issue-ingest/SKILL.md +32 -1
  3. package/.opencode/skills/swarm-pr-feedback/SKILL.md +2 -2
  4. package/.opencode/skills/swarm-pr-review/SKILL.md +14 -3
  5. package/dist/cli/{config-doctor-3bm8pvnb.js → config-doctor-0b5z13vq.js} +3 -3
  6. package/dist/cli/{core-jtj9j6z5.js → core-m5y25n0j.js} +2 -2
  7. package/dist/cli/{curation-policy-zkvkg4np.js → curation-policy-bn7g8n40.js} +2 -2
  8. package/dist/cli/{curator-78ejknh2.js → curator-b7f6nt8h.js} +14 -14
  9. package/dist/cli/{curator-llm-factory-kbqtk2wm.js → curator-llm-factory-0mkbw2hg.js} +14 -14
  10. package/dist/cli/{guardrail-explain-d6emse0z.js → guardrail-explain-p2htdqkz.js} +15 -15
  11. package/dist/cli/{guardrail-log-27d6r2xq.js → guardrail-log-rqt9wrzw.js} +4 -4
  12. package/dist/cli/{hive-promoter-r5x4a2ta.js → hive-promoter-61sjdrgt.js} +14 -14
  13. package/dist/cli/{index-43k8ntw7.js → index-0an7an2s.js} +2 -2
  14. package/dist/cli/{index-6d7jkk1s.js → index-6fwr2w8v.js} +2 -2
  15. package/dist/cli/{index-mb34t6w9.js → index-7f72x6nv.js} +71 -53
  16. package/dist/cli/{index-bdnrrx3w.js → index-7nhrn9sy.js} +1 -1
  17. package/dist/cli/{index-6ykm2eha.js → index-a98msw3z.js} +1 -1
  18. package/dist/cli/{index-0jbhmm8b.js → index-acc18zrj.js} +2 -2
  19. package/dist/cli/{index-s38e38qy.js → index-dbg3agxz.js} +4 -4
  20. package/dist/cli/{index-6yv6wda9.js → index-dn3nkwbc.js} +1 -1
  21. package/dist/cli/{index-scbp2d32.js → index-ff7b0cr5.js} +16 -16
  22. package/dist/cli/{index-chycpf9y.js → index-hgrzjhsf.js} +3 -3
  23. package/dist/cli/{index-ma8vk3v1.js → index-hnprx6qv.js} +2 -2
  24. package/dist/cli/{index-0pqh1710.js → index-jq7n7w9y.js} +2 -2
  25. package/dist/cli/{index-zebb6yw0.js → index-m9csth1h.js} +2 -2
  26. package/dist/cli/{index-fxw0zvxc.js → index-r7tg8kjh.js} +5 -5
  27. package/dist/cli/{index-r4t92q32.js → index-v1d4qz8y.js} +8 -0
  28. package/dist/cli/{index-hbnsmnb0.js → index-vw75bhf3.js} +1 -1
  29. package/dist/cli/{index-p6h8f59v.js → index-wysn7pcz.js} +1 -1
  30. package/dist/cli/{index-f8dhh53t.js → index-yf6p4wc5.js} +3 -3
  31. package/dist/cli/index.js +14 -14
  32. package/dist/cli/{knowledge-escalator-qjdfv9sj.js → knowledge-escalator-twwz5a0d.js} +3 -3
  33. package/dist/cli/{knowledge-events-7szzg70x.js → knowledge-events-hgaz06m8.js} +1 -1
  34. package/dist/cli/{knowledge-store-9mr7a9n8.js → knowledge-store-46jrzgvm.js} +1 -1
  35. package/dist/cli/{knowledge-validator-58s2j0dp.js → knowledge-validator-7vnqwjtv.js} +4 -4
  36. package/dist/cli/{scan-cursor-h3j1egky.js → scan-cursor-acsjpv2n.js} +2 -2
  37. package/dist/cli/{schema-9ryqandr.js → schema-4dy7emnw.js} +2 -2
  38. package/dist/cli/{skill-generator-66ez26yh.js → skill-generator-a48t83hf.js} +5 -5
  39. package/dist/hooks/issue-trace-reducer.d.ts +37 -13
  40. package/dist/hooks/issue-trace-state.d.ts +38 -9
  41. package/dist/hooks/issue-trace.d.ts +15 -2
  42. package/dist/hooks/pr-workflow-gate.d.ts +9 -1
  43. package/dist/index.js +47 -42
  44. package/dist/tools/index.d.ts +2 -0
  45. package/dist/tools/manifest.d.ts +2 -0
  46. package/dist/tools/record-issue-publication.d.ts +16 -0
  47. package/dist/tools/record-issue-reproduction.d.ts +22 -0
  48. package/dist/tools/tool-metadata.d.ts +8 -0
  49. package/package.json +1 -1
@@ -106,6 +106,8 @@ export { lean_turbo_status } from './lean-turbo-status';
106
106
  export { lint_spec } from './lint-spec';
107
107
  export { mutation_test } from './mutation-test';
108
108
  export { executePreparePrWorkflowCheckout, prepare_pr_workflow_checkout, } from './prepare-pr-workflow-checkout';
109
+ export { executeRecordIssuePublication, record_issue_publication, } from './record-issue-publication';
110
+ export { executeRecordIssueReproduction, record_issue_reproduction, } from './record-issue-reproduction';
109
111
  export { executeRunPrFeedbackStageA, run_pr_feedback_stage_a, } from './run-pr-feedback-stage-a';
110
112
  export { symbols } from './symbols';
111
113
  export { type SyntaxCheckFileResult, type SyntaxCheckInput, type SyntaxCheckResult, syntax_check, syntaxCheck, } from './syntax-check';
@@ -46,6 +46,8 @@ export declare const TOOL_MANIFEST: {
46
46
  abort_pr_workflow: () => ToolDefinition;
47
47
  approve_plan_critic: () => ToolDefinition;
48
48
  prepare_pr_workflow_checkout: () => ToolDefinition;
49
+ record_issue_publication: () => ToolDefinition;
50
+ record_issue_reproduction: () => ToolDefinition;
49
51
  run_pr_feedback_stage_a: () => ToolDefinition;
50
52
  submit_council_verdicts: () => ToolDefinition;
51
53
  submit_phase_council_verdicts: () => ToolDefinition;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * record_issue_publication — persist an issue-bound publication receipt for the
3
+ * issue-trace workflow (issue #2131 finding 2.4).
4
+ *
5
+ * The issue-trace reducer reaches `publication_handoff` when all implementation
6
+ * phases are complete and the commit-pr directive has been emitted, but that is
7
+ * NOT a terminal "issue resolved" state. The trace reaches `published` (the only
8
+ * terminal state) only after an issue-bound publication receipt is observed.
9
+ * commit-pr invokes this tool after PR creation/update. The reader
10
+ * (`publicationReceiptExists` in issue-trace-state.ts) accepts the receipt only
11
+ * when `published === true` AND `issueNumber` matches the traced issue — so a
12
+ * prior issue's receipt cannot satisfy a new trace.
13
+ */
14
+ import { createSwarmTool } from './create-tool';
15
+ export declare function executeRecordIssuePublication(args: unknown, directory: string): Promise<string>;
16
+ export declare const record_issue_publication: ReturnType<typeof createSwarmTool>;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * record_issue_reproduction — persist an issue-bound reproduction receipt for
3
+ * the issue-trace workflow (issue #2131 finding 2.6).
4
+ *
5
+ * The issue-trace reducer requires reproduction evidence (OR a typed waiver)
6
+ * before the localization → PLAN transition can fire. The noRepro flag/waiver
7
+ * path is set by `/swarm issue --no-repro`; this tool is the writer for the
8
+ * case where reproduction was actually performed. The reader
9
+ * (`reproductionReceiptExists` in issue-trace-state.ts) accepts the receipt only
10
+ * when `performed === true` and `issueNumber` matches the traced issue.
11
+ *
12
+ * Note: this is an agent self-attestation, not an independently verified
13
+ * reproduction — it records the commands the agent ran and the output summary it
14
+ * observed. It raises the bar from unchecked prose to a structured, issue-bound
15
+ * artifact with a session provenance stamp, but does not itself prove the
16
+ * reproduction exercises the defect.
17
+ */
18
+ import { createSwarmTool } from './create-tool';
19
+ export declare function executeRecordIssueReproduction(args: unknown, directory: string, context?: {
20
+ sessionID?: string;
21
+ }): Promise<string>;
22
+ export declare const record_issue_reproduction: ReturnType<typeof createSwarmTool>;
@@ -164,6 +164,14 @@ export declare const TOOL_METADATA: {
164
164
  description: string;
165
165
  agents: "architect"[];
166
166
  };
167
+ record_issue_publication: {
168
+ description: string;
169
+ agents: "architect"[];
170
+ };
171
+ record_issue_reproduction: {
172
+ description: string;
173
+ agents: "architect"[];
174
+ };
167
175
  run_pr_feedback_stage_a: {
168
176
  description: string;
169
177
  agents: "architect"[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.140.0",
3
+ "version": "7.140.1",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",