opencode-swarm 7.140.5 → 7.140.6

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 (45) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +2 -4
  2. package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +54 -0
  3. package/dist/background/candidate-contract.d.ts +1 -1
  4. package/dist/background/pr-review-trigger-contract.d.ts +36 -0
  5. package/dist/cli/{config-doctor-5vzpq4qa.js → config-doctor-y5qeh18c.js} +2 -2
  6. package/dist/cli/{core-xjzdc56e.js → core-pwd9604e.js} +1 -1
  7. package/dist/cli/{curator-llm-factory-rds75zhj.js → curator-llm-factory-96pnc23w.js} +16 -16
  8. package/dist/cli/{curator-5nytvg7p.js → curator-q1nchgpg.js} +16 -16
  9. package/dist/cli/{evidence-summary-service-zq4gyx6g.js → evidence-summary-service-18142mr3.js} +4 -4
  10. package/dist/cli/{guardrail-explain-an7jvam1.js → guardrail-explain-kyd89z8z.js} +17 -17
  11. package/dist/cli/{guardrail-log-0hnd2k9v.js → guardrail-log-cahp1ews.js} +3 -3
  12. package/dist/cli/{hive-promoter-qe8pqg79.js → hive-promoter-vcbcvcsh.js} +16 -16
  13. package/dist/cli/{index-ptn13xjn.js → index-1p72dtym.js} +1 -1
  14. package/dist/cli/{index-ex7r16gc.js → index-2778hhh7.js} +2 -2
  15. package/dist/cli/{index-0rx9t9w8.js → index-4s7xgzbm.js} +1 -1
  16. package/dist/cli/{index-wrb0gykj.js → index-4zxrkk1h.js} +1 -1
  17. package/dist/cli/{index-2bg901qt.js → index-56rqw2hs.js} +2 -2
  18. package/dist/cli/{index-mm2egvdt.js → index-5qd5vt2d.js} +18 -18
  19. package/dist/cli/{index-affh1gtg.js → index-92n3d5ky.js} +3 -3
  20. package/dist/cli/{index-wkt9fj06.js → index-bjqpdr83.js} +2 -2
  21. package/dist/cli/{index-8rp1y4ab.js → index-dtqjxfw9.js} +1 -1
  22. package/dist/cli/{index-0r2m0vbq.js → index-e58e3v0v.js} +3 -3
  23. package/dist/cli/{index-01ggt2mj.js → index-fejfzy2j.js} +4 -4
  24. package/dist/cli/{index-ztgn70jz.js → index-h01wb18g.js} +1 -1
  25. package/dist/cli/{index-z90nvqj3.js → index-nakkgkkt.js} +151 -63
  26. package/dist/cli/{index-nyjtzmsj.js → index-p04qrwck.js} +2 -2
  27. package/dist/cli/{index-z7h37d63.js → index-p2ty3eee.js} +1 -1
  28. package/dist/cli/{index-jm4cpp4n.js → index-thp186x0.js} +1 -1
  29. package/dist/cli/{index-386ts4tm.js → index-y9q9f6ms.js} +1 -1
  30. package/dist/cli/{index-e0mpz2j3.js → index-z0z9pe7b.js} +5 -5
  31. package/dist/cli/{index-kb5q9v34.js → index-z3s0a44b.js} +3 -3
  32. package/dist/cli/{index-nwrwy8eb.js → index-zd4qhnr7.js} +1 -1
  33. package/dist/cli/index.js +16 -16
  34. package/dist/cli/{knowledge-escalator-4pfrc902.js → knowledge-escalator-gj58za4g.js} +6 -6
  35. package/dist/cli/{knowledge-events-3zkfnksk.js → knowledge-events-3m5jnnv6.js} +4 -4
  36. package/dist/cli/{knowledge-store-dpqgvvjt.js → knowledge-store-0vy8wbzd.js} +1 -1
  37. package/dist/cli/{knowledge-validator-2c7w87dk.js → knowledge-validator-mvcs8wf6.js} +2 -2
  38. package/dist/cli/{scan-cursor-1z60gwrw.js → scan-cursor-wznc7p7p.js} +2 -2
  39. package/dist/cli/{schema-vpnkwvez.js → schema-k596bhds.js} +1 -1
  40. package/dist/cli/{scope-persistence-p9dmprry.js → scope-persistence-0ny5fn07.js} +4 -4
  41. package/dist/cli/{skill-generator-yx7ka1cj.js → skill-generator-vrks0jjj.js} +7 -7
  42. package/dist/cli/{worktree-isolation-bwc6ra8e.js → worktree-isolation-zgk7314k.js} +16 -16
  43. package/dist/hooks/pr-workflow-gate.d.ts +20 -0
  44. package/dist/index.js +12 -10
  45. package/package.json +1 -1
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  effectiveRetrievalOutcomes,
4
4
  readAuthoritativeKnowledgeCounterRollups
5
- } from "./index-affh1gtg.js";
5
+ } from "./index-92n3d5ky.js";
6
6
  import {
7
7
  ALLOWED_SKILL_PATH_PREFIXES,
8
8
  validateSkillPath
9
- } from "./index-386ts4tm.js";
9
+ } from "./index-y9q9f6ms.js";
10
10
  import {
11
11
  computeOutcomeSignal,
12
12
  readKnowledge,
13
13
  resolveHiveKnowledgePath,
14
14
  resolveSwarmKnowledgePath,
15
15
  transactKnowledge
16
- } from "./index-01ggt2mj.js";
16
+ } from "./index-fejfzy2j.js";
17
17
  import {
18
18
  advisoryWarn,
19
19
  init_warning_buffer
@@ -10,7 +10,7 @@ import {
10
10
  PluginConfigSchema,
11
11
  init_schema,
12
12
  resolveExternalSkillsConfig
13
- } from "./index-jm4cpp4n.js";
13
+ } from "./index-thp186x0.js";
14
14
  import {
15
15
  MAX_MERGE_DEPTH,
16
16
  deepMerge,
package/dist/cli/index.js CHANGED
@@ -6,41 +6,41 @@ import {
6
6
  getPluginConfigDir,
7
7
  getPluginLockFilePaths,
8
8
  resolveCommand
9
- } from "./index-z90nvqj3.js";
9
+ } from "./index-nakkgkkt.js";
10
10
  import"./index-4905hd2m.js";
11
11
  import"./index-41hkt36g.js";
12
12
  import"./index-c432knmy.js";
13
- import"./index-ptn13xjn.js";
13
+ import"./index-1p72dtym.js";
14
14
  import"./index-c8s9a3zh.js";
15
- import"./index-z7h37d63.js";
16
- import"./index-2bg901qt.js";
15
+ import"./index-p2ty3eee.js";
16
+ import"./index-56rqw2hs.js";
17
17
  import"./index-134d35c1.js";
18
18
  import"./index-t5pytnca.js";
19
19
  import"./index-y8552snf.js";
20
20
  import"./index-9ss2m4rs.js";
21
21
  import"./index-74hpm6sh.js";
22
- import"./index-kb5q9v34.js";
23
- import"./index-e0mpz2j3.js";
24
- import"./index-ztgn70jz.js";
22
+ import"./index-z3s0a44b.js";
23
+ import"./index-z0z9pe7b.js";
24
+ import"./index-h01wb18g.js";
25
25
  import"./index-v2xrer41.js";
26
26
  import"./index-m9xrdjn0.js";
27
- import"./index-wkt9fj06.js";
27
+ import"./index-bjqpdr83.js";
28
28
  import"./index-556ja8an.js";
29
- import"./index-wrb0gykj.js";
29
+ import"./index-4zxrkk1h.js";
30
30
  import"./index-zsrtt42s.js";
31
- import"./index-8rp1y4ab.js";
31
+ import"./index-dtqjxfw9.js";
32
32
  import"./index-qwm6vdyv.js";
33
33
  import"./index-tjqzr3jc.js";
34
34
  import"./index-s1v0wza5.js";
35
35
  import"./index-8fwhhayc.js";
36
36
  import"./index-q1exe2b3.js";
37
- import"./index-affh1gtg.js";
37
+ import"./index-92n3d5ky.js";
38
38
  import"./index-k46me75h.js";
39
39
  import"./index-ee3x66a5.js";
40
- import"./index-386ts4tm.js";
40
+ import"./index-y9q9f6ms.js";
41
41
  import"./index-qy1nq52t.js";
42
42
  import"./index-rtry5xyf.js";
43
- import"./index-01ggt2mj.js";
43
+ import"./index-fejfzy2j.js";
44
44
  import"./index-ae75rja9.js";
45
45
  import"./index-vh05t3w5.js";
46
46
  import"./index-p8kk34am.js";
@@ -48,16 +48,16 @@ import"./index-912qz4y0.js";
48
48
  import"./index-7g4c7s5r.js";
49
49
  import"./index-ed5ykebp.js";
50
50
  import"./index-4nt52yr9.js";
51
- import"./index-nyjtzmsj.js";
51
+ import"./index-p04qrwck.js";
52
52
  import"./index-gprxjmm7.js";
53
53
  import"./index-n832052r.js";
54
- import"./index-nwrwy8eb.js";
54
+ import"./index-zd4qhnr7.js";
55
55
  import"./index-4rhhvd1a.js";
56
56
  import"./index-zgwm4ryv.js";
57
57
  import {
58
58
  init_package,
59
59
  package_default
60
- } from "./index-jm4cpp4n.js";
60
+ } from "./index-thp186x0.js";
61
61
  import {
62
62
  DEFAULT_AGENT_CONFIGS,
63
63
  init_constants
@@ -9,11 +9,11 @@ import {
9
9
  maybeEscalateOnViolation,
10
10
  maybeQuarantineOnContradiction,
11
11
  readRecentEscalations
12
- } from "./index-e0mpz2j3.js";
13
- import"./index-affh1gtg.js";
12
+ } from "./index-z0z9pe7b.js";
13
+ import"./index-92n3d5ky.js";
14
14
  import"./index-k46me75h.js";
15
15
  import"./index-ee3x66a5.js";
16
- import"./index-01ggt2mj.js";
16
+ import"./index-fejfzy2j.js";
17
17
  import"./index-ae75rja9.js";
18
18
  import"./index-vh05t3w5.js";
19
19
  import"./index-p8kk34am.js";
@@ -21,13 +21,13 @@ import"./index-912qz4y0.js";
21
21
  import"./index-7g4c7s5r.js";
22
22
  import"./index-ed5ykebp.js";
23
23
  import"./index-4nt52yr9.js";
24
- import"./index-nyjtzmsj.js";
24
+ import"./index-p04qrwck.js";
25
25
  import"./index-gprxjmm7.js";
26
26
  import"./index-n832052r.js";
27
- import"./index-nwrwy8eb.js";
27
+ import"./index-zd4qhnr7.js";
28
28
  import"./index-4rhhvd1a.js";
29
29
  import"./index-zgwm4ryv.js";
30
- import"./index-jm4cpp4n.js";
30
+ import"./index-thp186x0.js";
31
31
  import"./index-jqsfsqbx.js";
32
32
  import"./index-zjygnfay.js";
33
33
  import"./index-bk5tah7q.js";
@@ -29,7 +29,7 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-affh1gtg.js";
32
+ } from "./index-92n3d5ky.js";
33
33
  import"./index-k46me75h.js";
34
34
  import"./index-ee3x66a5.js";
35
35
  import"./index-ae75rja9.js";
@@ -39,13 +39,13 @@ import"./index-912qz4y0.js";
39
39
  import"./index-7g4c7s5r.js";
40
40
  import"./index-ed5ykebp.js";
41
41
  import"./index-4nt52yr9.js";
42
- import"./index-nyjtzmsj.js";
42
+ import"./index-p04qrwck.js";
43
43
  import"./index-gprxjmm7.js";
44
44
  import"./index-n832052r.js";
45
- import"./index-nwrwy8eb.js";
45
+ import"./index-zd4qhnr7.js";
46
46
  import"./index-4rhhvd1a.js";
47
47
  import"./index-zgwm4ryv.js";
48
- import"./index-jm4cpp4n.js";
48
+ import"./index-thp186x0.js";
49
49
  import"./index-jqsfsqbx.js";
50
50
  import"./index-zjygnfay.js";
51
51
  import"./index-bk5tah7q.js";
@@ -41,7 +41,7 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-01ggt2mj.js";
44
+ } from "./index-fejfzy2j.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
@@ -23,10 +23,10 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-386ts4tm.js";
26
+ } from "./index-y9q9f6ms.js";
27
27
  import"./index-qy1nq52t.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-01ggt2mj.js";
29
+ import"./index-fejfzy2j.js";
30
30
  import"./index-ae75rja9.js";
31
31
  import"./index-vh05t3w5.js";
32
32
  import"./index-p8kk34am.js";
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-ztgn70jz.js";
8
- import"./index-01ggt2mj.js";
7
+ } from "./index-h01wb18g.js";
8
+ import"./index-fejfzy2j.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-vh05t3w5.js";
11
11
  import"./index-p8kk34am.js";
@@ -96,7 +96,7 @@ import {
96
96
  resolveGeneratedAgentRole,
97
97
  resolveGuardrailsConfig,
98
98
  stripKnownSwarmPrefix
99
- } from "./index-jm4cpp4n.js";
99
+ } from "./index-thp186x0.js";
100
100
  import"./index-jqsfsqbx.js";
101
101
  import"./index-zjygnfay.js";
102
102
  import"./index-bk5tah7q.js";
@@ -23,16 +23,16 @@ import {
23
23
  tombstoneScopeBinding,
24
24
  writeScopeBindingToDisk,
25
25
  writeScopeToDisk
26
- } from "./index-wkt9fj06.js";
26
+ } from "./index-bjqpdr83.js";
27
27
  import"./index-556ja8an.js";
28
- import"./index-wrb0gykj.js";
28
+ import"./index-4zxrkk1h.js";
29
29
  import"./index-912qz4y0.js";
30
30
  import"./index-7g4c7s5r.js";
31
31
  import"./index-4nt52yr9.js";
32
- import"./index-nwrwy8eb.js";
32
+ import"./index-zd4qhnr7.js";
33
33
  import"./index-4rhhvd1a.js";
34
34
  import"./index-zgwm4ryv.js";
35
- import"./index-jm4cpp4n.js";
35
+ import"./index-thp186x0.js";
36
36
  import"./index-jqsfsqbx.js";
37
37
  import"./index-zjygnfay.js";
38
38
  import"./index-bk5tah7q.js";
@@ -33,14 +33,14 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-kb5q9v34.js";
37
- import"./index-affh1gtg.js";
36
+ } from "./index-z3s0a44b.js";
37
+ import"./index-92n3d5ky.js";
38
38
  import"./index-k46me75h.js";
39
39
  import"./index-ee3x66a5.js";
40
- import"./index-386ts4tm.js";
40
+ import"./index-y9q9f6ms.js";
41
41
  import"./index-qy1nq52t.js";
42
42
  import"./index-rtry5xyf.js";
43
- import"./index-01ggt2mj.js";
43
+ import"./index-fejfzy2j.js";
44
44
  import"./index-ae75rja9.js";
45
45
  import"./index-vh05t3w5.js";
46
46
  import"./index-p8kk34am.js";
@@ -48,13 +48,13 @@ import"./index-912qz4y0.js";
48
48
  import"./index-7g4c7s5r.js";
49
49
  import"./index-ed5ykebp.js";
50
50
  import"./index-4nt52yr9.js";
51
- import"./index-nyjtzmsj.js";
51
+ import"./index-p04qrwck.js";
52
52
  import"./index-gprxjmm7.js";
53
53
  import"./index-n832052r.js";
54
- import"./index-nwrwy8eb.js";
54
+ import"./index-zd4qhnr7.js";
55
55
  import"./index-4rhhvd1a.js";
56
56
  import"./index-zgwm4ryv.js";
57
- import"./index-jm4cpp4n.js";
57
+ import"./index-thp186x0.js";
58
58
  import"./index-jqsfsqbx.js";
59
59
  import"./index-zjygnfay.js";
60
60
  import"./index-bk5tah7q.js";
@@ -20,41 +20,41 @@ import {
20
20
  sanitizeWorktreeTaskId,
21
21
  standardWorktreeByCallID,
22
22
  standardWorktreeSerializationSessions
23
- } from "./index-z90nvqj3.js";
23
+ } from "./index-nakkgkkt.js";
24
24
  import"./index-4905hd2m.js";
25
25
  import"./index-41hkt36g.js";
26
26
  import"./index-c432knmy.js";
27
- import"./index-ptn13xjn.js";
27
+ import"./index-1p72dtym.js";
28
28
  import"./index-c8s9a3zh.js";
29
- import"./index-z7h37d63.js";
30
- import"./index-2bg901qt.js";
29
+ import"./index-p2ty3eee.js";
30
+ import"./index-56rqw2hs.js";
31
31
  import"./index-134d35c1.js";
32
32
  import"./index-t5pytnca.js";
33
33
  import"./index-y8552snf.js";
34
34
  import"./index-9ss2m4rs.js";
35
35
  import"./index-74hpm6sh.js";
36
- import"./index-kb5q9v34.js";
37
- import"./index-e0mpz2j3.js";
38
- import"./index-ztgn70jz.js";
36
+ import"./index-z3s0a44b.js";
37
+ import"./index-z0z9pe7b.js";
38
+ import"./index-h01wb18g.js";
39
39
  import"./index-v2xrer41.js";
40
40
  import"./index-m9xrdjn0.js";
41
- import"./index-wkt9fj06.js";
41
+ import"./index-bjqpdr83.js";
42
42
  import"./index-556ja8an.js";
43
- import"./index-wrb0gykj.js";
43
+ import"./index-4zxrkk1h.js";
44
44
  import"./index-zsrtt42s.js";
45
- import"./index-8rp1y4ab.js";
45
+ import"./index-dtqjxfw9.js";
46
46
  import"./index-qwm6vdyv.js";
47
47
  import"./index-tjqzr3jc.js";
48
48
  import"./index-s1v0wza5.js";
49
49
  import"./index-8fwhhayc.js";
50
50
  import"./index-q1exe2b3.js";
51
- import"./index-affh1gtg.js";
51
+ import"./index-92n3d5ky.js";
52
52
  import"./index-k46me75h.js";
53
53
  import"./index-ee3x66a5.js";
54
- import"./index-386ts4tm.js";
54
+ import"./index-y9q9f6ms.js";
55
55
  import"./index-qy1nq52t.js";
56
56
  import"./index-rtry5xyf.js";
57
- import"./index-01ggt2mj.js";
57
+ import"./index-fejfzy2j.js";
58
58
  import"./index-ae75rja9.js";
59
59
  import"./index-vh05t3w5.js";
60
60
  import"./index-p8kk34am.js";
@@ -64,13 +64,13 @@ import"./index-ed5ykebp.js";
64
64
  import"./index-4nt52yr9.js";
65
65
  import {
66
66
  resolveWorktreeIsolationConfig
67
- } from "./index-nyjtzmsj.js";
67
+ } from "./index-p04qrwck.js";
68
68
  import"./index-gprxjmm7.js";
69
69
  import"./index-n832052r.js";
70
- import"./index-nwrwy8eb.js";
70
+ import"./index-zd4qhnr7.js";
71
71
  import"./index-4rhhvd1a.js";
72
72
  import"./index-zgwm4ryv.js";
73
- import"./index-jm4cpp4n.js";
73
+ import"./index-thp186x0.js";
74
74
  import"./index-jqsfsqbx.js";
75
75
  import"./index-zjygnfay.js";
76
76
  import"./index-bk5tah7q.js";
@@ -555,6 +555,8 @@ export declare const _test_exports: {
555
555
  extractCandidateIds: typeof extractCandidateIds;
556
556
  parseCanonicalCandidateRows: typeof parseCanonicalCandidateRows;
557
557
  resolvePrReviewRowFamily: typeof resolvePrReviewRowFamily;
558
+ pipeFieldsCapped: typeof pipeFieldsCapped;
559
+ reviewerVerdictRowDigest: typeof reviewerVerdictRowDigest;
558
560
  workflowGateStateRelativePath: typeof workflowGateStateRelativePath;
559
561
  workflowGateStateLockRelativePath: typeof workflowGateStateLockRelativePath;
560
562
  workflowCheckoutMutationLockRelativePath: typeof workflowCheckoutMutationLockRelativePath;
@@ -843,10 +845,28 @@ declare function analyzePrReviewBatchRecordIntegrity(args: {
843
845
  export declare function validatePrReviewDiscoveryLaneCompletion(input: PrReviewDiscoveryLaneValidationInput): PrReviewLaneValidationResult;
844
846
  /** Require at least one semantically valid discovery row or CLEAN attestation. */
845
847
  export declare function prReviewDiscoveryArtifactCoversLane(text: string, expectedWorkflowLane: string, ownedWorkflowLanes?: readonly string[], mode?: string): boolean;
848
+ /**
849
+ * Digest of the FULL canonical reviewer row, not the classification/severity
850
+ * pair a reviewer verdict projects to. Only 2 of the 10 required fields survive
851
+ * that projection, so a tuple binding would still match a row whose evidence,
852
+ * file:line and root cause all changed. Fields are joined on NUL, which
853
+ * `pipeFields` can never produce, so no field boundary is forgeable.
854
+ */
855
+ declare function reviewerVerdictRowDigest(fields: readonly string[]): string;
846
856
  declare function parseCriticVerdict(text: string, itemId: string, reviewerSeverity?: string): {
847
857
  status: string;
848
858
  severity: string;
849
859
  } | null;
860
+ /**
861
+ * `pipeFields` capped at the row's canonical field count: separators beyond the
862
+ * expected count merge back into the trailing (free-text) field. Verdict rows
863
+ * ([REVIEWED], [CRITIC], [FEEDBACK-VERIFIED]) carry prose evidence in their
864
+ * last field, and prose containing literal pipes (regex text, `,;|`, shell
865
+ * snippets) otherwise splits the row past its strict field-count check and the
866
+ * whole verdict becomes unparseable. Deterministic: the enumerated leading
867
+ * fields are never merged.
868
+ */
869
+ declare function pipeFieldsCapped(line: string, expectedFieldCount: number): string[];
850
870
  declare function workflowCheckoutMutationLockRelativePath(): string;
851
871
  declare function openCheckoutLockFile(lockPath: string): Promise<fsp.FileHandle>;
852
872
  declare function removeCheckoutLockFile(lockPath: string): Promise<void>;