opencode-swarm 7.113.3 → 7.114.0

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.
@@ -6,7 +6,7 @@ description: Protocol for splitting test files that exceed the FR-006 500-line h
6
6
 
7
7
  # Test File Split Protocol (FR-006)
8
8
 
9
- CI enforces a **hard 500-line limit** per test file (FR-006 / SC-006.1). Files exceeding this limit fail the quality gate and block PR merge. This skill covers the complete splitting protocol.
9
+ `scripts/check-test-file-cap.sh` enforces the **500-line cap** per test file (FR-006 / SC-006.1) as a **diff-scoped ratchet**: new test files over 500 lines and existing over-cap files that grew fail the quality gate and block PR merge. Pre-existing over-cap files not touched by the PR are non-blocking. Escape hatch: `TEST_CAP_ENFORCE=0` soft-warns. This skill covers the complete splitting protocol.
10
10
 
11
11
  Read first: `.opencode/skills/writing-tests/SKILL.md` (or `.claude/skills/writing-tests/SKILL.md`) for bun:test framework rules, mock isolation patterns, and file placement conventions.
12
12
 
@@ -613,7 +613,7 @@ authority checks:
613
613
 
614
614
  ## FR-006: Test File Size Limit (500 lines)
615
615
 
616
- CI enforces a **hard 500-line limit** per test file (FR-006). Files exceeding this limit fail the quality gate and block PR merge.
616
+ `scripts/check-test-file-cap.sh` enforces the **500-line cap** per test file (FR-006) as a **diff-scoped ratchet**: new test files over 500 lines and existing over-cap files that grew fail the quality gate and block PR merge. Pre-existing over-cap files not touched by the PR are non-blocking. Escape hatch: `TEST_CAP_ENFORCE=0` soft-warns (use only for a deliberate growth PR).
617
617
 
618
618
  ### Checking file length
619
619
 
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  createCuratorLLMDelegate
4
- } from "./index-dh87tpc5.js";
4
+ } from "./index-zezjy05g.js";
5
5
  import"./index-g6va6n3t.js";
6
6
  import"./index-c8s9a3zh.js";
7
7
  import"./index-2148358e.js";
@@ -1,9 +1,11 @@
1
1
  // @bun
2
2
  import {
3
3
  _internals,
4
+ appendCuratorRecommendation,
4
5
  applyCuratorKnowledgeUpdates,
5
6
  checkPhaseCompliance,
6
7
  filterPhaseEvents,
8
+ mergeCuratorPhaseSummary,
7
9
  normalizeRecommendationEntryIdToken,
8
10
  parseKnowledgeRecommendations,
9
11
  parseKnowledgeRecommendationsWithDiagnostics,
@@ -12,7 +14,7 @@ import {
12
14
  runCuratorInit,
13
15
  runCuratorPhase,
14
16
  writeCuratorSummary
15
- } from "./index-dh87tpc5.js";
17
+ } from "./index-zezjy05g.js";
16
18
  import"./index-g6va6n3t.js";
17
19
  import"./index-c8s9a3zh.js";
18
20
  import"./index-2148358e.js";
@@ -56,8 +58,10 @@ export {
56
58
  parseKnowledgeRecommendationsWithDiagnostics,
57
59
  parseKnowledgeRecommendations,
58
60
  normalizeRecommendationEntryIdToken,
61
+ mergeCuratorPhaseSummary,
59
62
  filterPhaseEvents,
60
63
  checkPhaseCompliance,
61
64
  applyCuratorKnowledgeUpdates,
65
+ appendCuratorRecommendation,
62
66
  _internals
63
67
  };
@@ -1,8 +1,8 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-srvqfcyj.js";
5
- import"./index-dh87tpc5.js";
4
+ } from "./index-jhdv0jdf.js";
5
+ import"./index-zezjy05g.js";
6
6
  import"./index-g6va6n3t.js";
7
7
  import"./index-c8s9a3zh.js";
8
8
  import"./index-2148358e.js";
@@ -1,11 +1,12 @@
1
1
  // @bun
2
2
  import {
3
+ _internals1 as _internals,
3
4
  checkHivePromotions,
4
5
  createHivePromoterHook,
5
6
  isHiveEligible,
6
7
  promoteFromSwarm,
7
8
  promoteToHive
8
- } from "./index-dh87tpc5.js";
9
+ } from "./index-zezjy05g.js";
9
10
  import"./index-g6va6n3t.js";
10
11
  import"./index-c8s9a3zh.js";
11
12
  import"./index-2148358e.js";
@@ -45,5 +46,6 @@ export {
45
46
  promoteFromSwarm,
46
47
  isHiveEligible,
47
48
  createHivePromoterHook,
48
- checkHivePromotions
49
+ checkHivePromotions,
50
+ _internals
49
51
  };
@@ -12,7 +12,7 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-dh87tpc5.js";
15
+ } from "./index-zezjy05g.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-srvqfcyj.js";
4
+ } from "./index-jhdv0jdf.js";
5
5
  import {
6
6
  handleGuardrailLog
7
7
  } from "./index-xbe1wtme.js";
@@ -10,7 +10,7 @@ import {
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
11
11
  SWARM_COMMAND_TOOL_COMMANDS,
12
12
  VALID_COMMANDS,
13
- _internals1 as _internals,
13
+ _internals2 as _internals,
14
14
  canonicalCommandKey,
15
15
  classifySwarmCommandChatFallbackUse,
16
16
  classifySwarmCommandToolUse,
@@ -81,7 +81,7 @@ import {
81
81
  handleWriteRetroCommand,
82
82
  normalizeSwarmCommandInput,
83
83
  resolveCommand
84
- } from "./index-dh87tpc5.js";
84
+ } from "./index-zezjy05g.js";
85
85
  import"./index-g6va6n3t.js";
86
86
  import"./index-c8s9a3zh.js";
87
87
  import"./index-2148358e.js";