opencode-swarm 7.73.1 → 7.73.3
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/swarm-pr-feedback/SKILL.md +19 -0
- package/dist/cli/index.js +282 -202
- package/dist/commands/_shared/url-security.d.ts +44 -0
- package/dist/commands/issue.d.ts +1 -1
- package/dist/commands/pr-ref.d.ts +2 -45
- package/dist/hooks/knowledge-curator.d.ts +1 -0
- package/dist/hooks/knowledge-reinforcement.d.ts +10 -0
- package/dist/hooks/skill-usage-log.d.ts +13 -1
- package/dist/index.js +345 -223
- package/package.json +1 -1
|
@@ -61,6 +61,25 @@ final state. Expect N rounds of review for N pushes, and budget for it.
|
|
|
61
61
|
each round's work is bounded by new findings + carried-forward items only.
|
|
62
62
|
This matches how the bot actually behaves and avoids wasted cycles.
|
|
63
63
|
|
|
64
|
+
### Bot Review Verification Traps
|
|
65
|
+
|
|
66
|
+
When a bot or pasted review cites a code fact, verify the fact against the
|
|
67
|
+
current branch before editing:
|
|
68
|
+
|
|
69
|
+
- **Import/export claims:** Check the exact import path used by the changed file.
|
|
70
|
+
A symbol may be missing from an internal submodule but correctly exported by the
|
|
71
|
+
public barrel the tests or runtime actually import.
|
|
72
|
+
- **Line numbers:** Treat bot line references as approximate after any follow-up
|
|
73
|
+
push or local edit. Re-locate the symbol or block with `rg` before patching.
|
|
74
|
+
- **Ordering claims:** If the concern is about rule precedence, add or run a
|
|
75
|
+
direct precedence test that would fail under the wrong ordering; comments alone
|
|
76
|
+
are not enough.
|
|
77
|
+
- **Disproved findings:** Do not change unrelated code to satisfy a false claim.
|
|
78
|
+
Keep the finding in the closure ledger with the source or test evidence that
|
|
79
|
+
disproves it.
|
|
80
|
+
- **Cache/state claims:** Test both relevant state orders when the behavior
|
|
81
|
+
depends on cache priming, singleton state, or prior calls.
|
|
82
|
+
|
|
64
83
|
## Operating Stance
|
|
65
84
|
|
|
66
85
|
Treat every review comment, CI failure, bot summary, PR body claim, and pasted note
|