opencode-swarm 7.160.0 → 7.160.2

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 (97) hide show
  1. package/.opencode/skills/critic-gate/SKILL.md +8 -1
  2. package/.opencode/skills/execute/SKILL.md +4 -3
  3. package/.opencode/skills/phase-wrap/SKILL.md +2 -0
  4. package/.opencode/skills/running-tests/SKILL.md +6 -0
  5. package/.opencode/skills/swarm-implement/SKILL.md +2 -0
  6. package/.opencode/skills/swarm-pr-review/SKILL.md +29 -29
  7. package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +21 -5
  8. package/dist/agents/architect.d.ts +1 -1
  9. package/dist/background/pending-delegations.d.ts +46 -1
  10. package/dist/background/pr-review-contract.d.ts +245 -2
  11. package/dist/build/command-resolution.d.ts +13 -0
  12. package/dist/build/discovery.d.ts +11 -4
  13. package/dist/cli/{coder-settlement-zn552sp9.js → coder-settlement-gzar5ypz.js} +9 -9
  14. package/dist/cli/{config-doctor-ddtdz2g0.js → config-doctor-ancn1sj7.js} +3 -3
  15. package/dist/cli/{core-embasn2j.js → core-bhmqtxev.js} +2 -2
  16. package/dist/cli/{curation-policy-agr6ga1s.js → curation-policy-47przjwg.js} +4 -4
  17. package/dist/cli/curator-llm-factory-6mw01jx1.js +67 -0
  18. package/dist/cli/{curator-dgp6dxxn.js → curator-sgmynbpm.js} +32 -32
  19. package/dist/cli/{dispatch-7r46tfr9.js → dispatch-q4v8x2pk.js} +1 -1
  20. package/dist/cli/{evidence-summary-service-sbnyann4.js → evidence-summary-service-1pcfsqhv.js} +13 -13
  21. package/dist/cli/{gate-evidence-5v67a1dz.js → gate-evidence-w0kjqmew.js} +5 -5
  22. package/dist/cli/guardrail-explain-k99eje1y.js +68 -0
  23. package/dist/cli/{guardrail-log-zbnbff1y.js → guardrail-log-md5gcpk7.js} +7 -7
  24. package/dist/cli/{guardrail-reset-3cnz54hx.js → guardrail-reset-3385eqmq.js} +32 -32
  25. package/dist/cli/{hive-promoter-7cr7t2kg.js → hive-promoter-r0ekyn5m.js} +32 -32
  26. package/dist/cli/{index-wzx6atbv.js → index-2123hwbj.js} +3 -3
  27. package/dist/cli/{index-nj6rmyeh.js → index-3146wmgv.js} +352 -149
  28. package/dist/cli/{index-5m7qjj29.js → index-3a35tt6a.js} +6 -6
  29. package/dist/cli/{index-q6gjwy7m.js → index-497a3hhj.js} +2 -2
  30. package/dist/cli/{index-7qv869f0.js → index-4d8cq6e1.js} +5 -5
  31. package/dist/cli/{index-w699ekk9.js → index-4dcz9fpn.js} +2 -2
  32. package/dist/cli/{index-zjvf7edj.js → index-5th50g17.js} +1 -1
  33. package/dist/cli/{index-va1edd2n.js → index-5xfx5sbw.js} +5 -5
  34. package/dist/cli/{index-1f4n43yz.js → index-6scakreq.js} +5 -4
  35. package/dist/cli/{index-962jgzdq.js → index-717pmdce.js} +1 -1
  36. package/dist/cli/{index-rq7k03rk.js → index-7ezv5j23.js} +1 -1
  37. package/dist/cli/{index-4mm22fzj.js → index-7h2armwf.js} +1 -1
  38. package/dist/cli/{index-gt8cxfbp.js → index-am5bz6mf.js} +2 -2
  39. package/dist/cli/{index-cn233hsy.js → index-awjx0wgk.js} +1 -1
  40. package/dist/cli/{index-h3re5c78.js → index-c9zp4xwc.js} +12 -1
  41. package/dist/cli/{index-p39xem8b.js → index-dh5q6z7y.js} +3 -3
  42. package/dist/cli/{index-xs15netk.js → index-j3ss86kf.js} +1 -1
  43. package/dist/cli/{index-d9s5hb0m.js → index-k0qy284k.js} +5 -5
  44. package/dist/cli/{index-sy5aeegg.js → index-k50kxd3w.js} +866 -37
  45. package/dist/cli/{index-fzkx24q5.js → index-kqzba6ex.js} +2 -2
  46. package/dist/cli/{index-e75bzfgd.js → index-mmr96pwr.js} +1 -1
  47. package/dist/cli/{index-85qjc7b2.js → index-nk498mx6.js} +1 -1
  48. package/dist/cli/{index-9fspg1xw.js → index-prv20xq6.js} +1 -1
  49. package/dist/cli/{index-ebz97mks.js → index-q8hm27yj.js} +8 -1
  50. package/dist/cli/{index-8bjv01t8.js → index-re338hf1.js} +4 -4
  51. package/dist/cli/{index-rnyt2z5r.js → index-s7w6ntw6.js} +321 -448
  52. package/dist/cli/{index-jmths6jj.js → index-vsy942dt.js} +34 -34
  53. package/dist/cli/{index-rhc8jve7.js → index-vv760pbg.js} +2 -2
  54. package/dist/cli/{index-3yh737hc.js → index-war2dt6a.js} +6 -6
  55. package/dist/cli/{index-yrar1ask.js → index-xkmzsfg5.js} +3 -3
  56. package/dist/cli/{index-3055dgzp.js → index-xsd7y4hp.js} +4 -4
  57. package/dist/cli/{index-py6bqwnb.js → index-xtwny1ae.js} +16 -2
  58. package/dist/cli/{index-9q6w7kke.js → index-yd6y4qr7.js} +1 -1
  59. package/dist/cli/{index-kkfgygvn.js → index-yp81ebrx.js} +4 -4
  60. package/dist/cli/{index-9k3zc2t8.js → index-zbnf26br.js} +6 -6
  61. package/dist/cli/{index-s7w428r3.js → index-znf683sm.js} +1 -1
  62. package/dist/cli/index.js +32 -32
  63. package/dist/cli/{knowledge-escalator-zksm9833.js → knowledge-escalator-saekqp8t.js} +12 -12
  64. package/dist/cli/{knowledge-events-ayta750w.js → knowledge-events-ej8yz3yq.js} +10 -10
  65. package/dist/cli/{knowledge-link-7c7fjnzc.js → knowledge-link-xezm8hr3.js} +3 -3
  66. package/dist/cli/{knowledge-store-q5axge8b.js → knowledge-store-3jamj5n4.js} +4 -4
  67. package/dist/cli/{knowledge-validator-3rrbva2p.js → knowledge-validator-26w2mvqv.js} +6 -6
  68. package/dist/cli/{model-preflight-x9szw1v4.js → model-preflight-yqqchzjn.js} +1 -1
  69. package/dist/cli/{pending-delegations-kc7tzxg9.js → pending-delegations-7xak7g59.js} +5 -3
  70. package/dist/cli/{pr-review-reentry-authorization-vag5gh50.js → pr-review-reentry-authorization-v97q63q4.js} +34 -33
  71. package/dist/cli/{pr-subscriptions-wbdw9a82.js → pr-subscriptions-asjevc5p.js} +3 -3
  72. package/dist/cli/{runner-p9wg6z34.js → runner-wsdcy2d6.js} +4 -4
  73. package/dist/cli/{scan-cursor-4fjwtt1k.js → scan-cursor-1agr50f8.js} +5 -5
  74. package/dist/cli/{schema-d0nbzj5k.js → schema-z0ygrqgy.js} +4 -2
  75. package/dist/cli/{scope-persistence-bckcbc8h.js → scope-persistence-tncg38by.js} +8 -8
  76. package/dist/cli/{skill-generator-kebhevet.js → skill-generator-jq20a09m.js} +14 -14
  77. package/dist/cli/{worktree-collision-ownership-h8qswnrp.js → worktree-collision-ownership-b9cp9zvw.js} +4 -4
  78. package/dist/cli/{worktree-isolation-q0kbmadz.js → worktree-isolation-dzyxf8hn.js} +32 -32
  79. package/dist/config/constants.d.ts +8 -0
  80. package/dist/config/evidence-schema.d.ts +21 -0
  81. package/dist/config/schema.d.ts +8 -0
  82. package/dist/hooks/pr-workflow-gate.d.ts +25 -1
  83. package/dist/index.js +333 -319
  84. package/dist/lang/default-backend.d.ts +1 -13
  85. package/dist/tools/build-check.d.ts +4 -0
  86. package/dist/tools/dispatch-lanes.d.ts +27 -3
  87. package/dist/tools/index.d.ts +1 -0
  88. package/dist/tools/manifest.d.ts +1 -0
  89. package/dist/tools/sast-baseline.d.ts +2 -0
  90. package/dist/tools/sast-scan.d.ts +2 -2
  91. package/dist/tools/submit-pr-review-result.d.ts +5 -0
  92. package/dist/tools/test-runner.d.ts +2 -0
  93. package/dist/tools/tool-metadata.d.ts +8 -0
  94. package/opencode-swarm.schema.json +4 -0
  95. package/package.json +1 -1
  96. package/dist/cli/curator-llm-factory-7cwvmc46.js +0 -67
  97. package/dist/cli/guardrail-explain-2gwarnca.js +0 -68
@@ -1,65 +1,66 @@
1
1
  // @bun
2
2
  import {
3
- PrReviewRunIdSchema,
4
3
  prWorkflowSessionFileStem,
5
4
  readPrReviewReentryBindingContext
6
- } from "./index-rnyt2z5r.js";
7
- import"./index-xs15netk.js";
8
- import"./index-wzx6atbv.js";
9
- import"./index-py6bqwnb.js";
10
- import"./index-9k3zc2t8.js";
11
- import"./index-85qjc7b2.js";
5
+ } from "./index-s7w6ntw6.js";
6
+ import"./index-j3ss86kf.js";
7
+ import"./index-2123hwbj.js";
8
+ import"./index-xtwny1ae.js";
9
+ import"./index-zbnf26br.js";
10
+ import"./index-nk498mx6.js";
12
11
  import"./index-txdagbh7.js";
13
12
  import"./index-134d35c1.js";
14
- import"./index-nj6rmyeh.js";
15
- import"./index-8bjv01t8.js";
16
- import"./index-va1edd2n.js";
17
- import"./index-gt8cxfbp.js";
13
+ import"./index-3146wmgv.js";
14
+ import"./index-re338hf1.js";
15
+ import"./index-5xfx5sbw.js";
16
+ import"./index-am5bz6mf.js";
18
17
  import"./index-70ha9e09.js";
19
18
  import"./index-c8s9a3zh.js";
20
19
  import"./index-9ss2m4rs.js";
21
- import"./index-q6gjwy7m.js";
20
+ import"./index-497a3hhj.js";
22
21
  import"./index-zsrtt42s.js";
23
- import"./index-7qv869f0.js";
22
+ import"./index-4d8cq6e1.js";
24
23
  import"./index-3f7hqtgg.js";
25
- import"./index-cn233hsy.js";
26
- import"./index-kkfgygvn.js";
27
- import"./index-s7w428r3.js";
24
+ import"./index-awjx0wgk.js";
25
+ import"./index-yp81ebrx.js";
26
+ import"./index-znf683sm.js";
28
27
  import"./index-rtry5xyf.js";
29
- import"./index-w699ekk9.js";
30
- import"./index-fzkx24q5.js";
31
- import"./index-sy5aeegg.js";
28
+ import"./index-4dcz9fpn.js";
29
+ import"./index-kqzba6ex.js";
30
+ import {
31
+ PrReviewRunIdSchema
32
+ } from "./index-k50kxd3w.js";
32
33
  import"./index-ddszzne4.js";
33
- import"./index-3055dgzp.js";
34
- import"./index-zjvf7edj.js";
35
- import"./index-4mm22fzj.js";
34
+ import"./index-xsd7y4hp.js";
35
+ import"./index-5th50g17.js";
36
+ import"./index-7h2armwf.js";
36
37
  import"./index-556ja8an.js";
37
38
  import"./index-4fwbbad3.js";
38
39
  import"./index-b43rt5ph.js";
39
40
  import"./index-q7sjgr1y.js";
40
- import"./index-3yh737hc.js";
41
- import"./index-5m7qjj29.js";
42
- import"./index-yrar1ask.js";
43
- import"./index-ebz97mks.js";
41
+ import"./index-war2dt6a.js";
42
+ import"./index-3a35tt6a.js";
43
+ import"./index-xkmzsfg5.js";
44
+ import"./index-q8hm27yj.js";
44
45
  import"./index-n832052r.js";
45
46
  import {
46
47
  validateSwarmPath
47
48
  } from "./index-dtn0pne5.js";
48
49
  import"./index-z6xqpmqg.js";
49
50
  import"./index-r3mvsbtq.js";
50
- import"./index-962jgzdq.js";
51
- import"./index-1f4n43yz.js";
51
+ import"./index-717pmdce.js";
52
+ import"./index-6scakreq.js";
52
53
  import"./index-9e6fdz2h.js";
53
54
  import"./index-4rhhvd1a.js";
54
- import"./index-e75bzfgd.js";
55
- import"./index-h3re5c78.js";
55
+ import"./index-mmr96pwr.js";
56
+ import"./index-c9zp4xwc.js";
56
57
  import"./index-zjygnfay.js";
57
58
  import"./index-ae75rja9.js";
58
- import"./index-9fspg1xw.js";
59
- import"./index-rq7k03rk.js";
59
+ import"./index-prv20xq6.js";
60
+ import"./index-7ezv5j23.js";
60
61
  import"./index-bk5tah7q.js";
61
62
  import"./index-b5adxpy6.js";
62
- import"./index-p39xem8b.js";
63
+ import"./index-dh5q6z7y.js";
63
64
  import"./index-ed5ykebp.js";
64
65
  import"./index-dke4wzkn.js";
65
66
  import {
@@ -14,14 +14,14 @@ import {
14
14
  sweepStale,
15
15
  unsubscribe,
16
16
  updateSnapshot
17
- } from "./index-q6gjwy7m.js";
17
+ } from "./index-497a3hhj.js";
18
18
  import"./index-dtn0pne5.js";
19
19
  import"./index-z6xqpmqg.js";
20
20
  import"./index-r3mvsbtq.js";
21
- import"./index-e75bzfgd.js";
21
+ import"./index-mmr96pwr.js";
22
22
  import"./index-zjygnfay.js";
23
23
  import"./index-b5adxpy6.js";
24
- import"./index-p39xem8b.js";
24
+ import"./index-dh5q6z7y.js";
25
25
  import"./index-ed5ykebp.js";
26
26
  import"./index-dke4wzkn.js";
27
27
  import"./index-7g4c7s5r.js";
@@ -3,13 +3,13 @@ import {
3
3
  _internals,
4
4
  createModelEvaluationExecutor,
5
5
  runEvaluation
6
- } from "./index-xs15netk.js";
7
- import"./index-85qjc7b2.js";
6
+ } from "./index-j3ss86kf.js";
7
+ import"./index-nk498mx6.js";
8
8
  import"./index-txdagbh7.js";
9
9
  import"./index-r3mvsbtq.js";
10
- import"./index-rq7k03rk.js";
10
+ import"./index-7ezv5j23.js";
11
11
  import"./index-b5adxpy6.js";
12
- import"./index-p39xem8b.js";
12
+ import"./index-dh5q6z7y.js";
13
13
  import"./index-ed5ykebp.js";
14
14
  import"./index-dke4wzkn.js";
15
15
  import"./index-7g4c7s5r.js";
@@ -4,16 +4,16 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-gt8cxfbp.js";
8
- import"./index-3yh737hc.js";
7
+ } from "./index-am5bz6mf.js";
8
+ import"./index-war2dt6a.js";
9
9
  import"./index-9e6fdz2h.js";
10
10
  import"./index-4rhhvd1a.js";
11
11
  import"./index-ae75rja9.js";
12
- import"./index-9fspg1xw.js";
13
- import"./index-rq7k03rk.js";
12
+ import"./index-prv20xq6.js";
13
+ import"./index-7ezv5j23.js";
14
14
  import"./index-bk5tah7q.js";
15
15
  import"./index-b5adxpy6.js";
16
- import"./index-p39xem8b.js";
16
+ import"./index-dh5q6z7y.js";
17
17
  import"./index-ed5ykebp.js";
18
18
  import"./index-dke4wzkn.js";
19
19
  import"./index-7g4c7s5r.js";
@@ -27,6 +27,7 @@ import {
27
27
  DEFAULT_EXTERNAL_SKILLS_CONFIG,
28
28
  DEFAULT_HARNESS_EVOLUTION_CONFIG,
29
29
  DEFAULT_MODEL_CONTEXT_TOKENS,
30
+ DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY,
30
31
  DEFAULT_PR_REVIEW_RESILIENCE_CONFIG,
31
32
  DEFAULT_SKILLS_CONFIG,
32
33
  DEFAULT_SKILL_OPT_CONFIG,
@@ -101,8 +102,8 @@ import {
101
102
  resolveGeneratedAgentRole,
102
103
  resolveGuardrailsConfig,
103
104
  stripKnownSwarmPrefix
104
- } from "./index-1f4n43yz.js";
105
- import"./index-h3re5c78.js";
105
+ } from "./index-6scakreq.js";
106
+ import"./index-c9zp4xwc.js";
106
107
  import"./index-zjygnfay.js";
107
108
  import"./index-bk5tah7q.js";
108
109
  import"./index-bpmtbmy9.js";
@@ -183,6 +184,7 @@ export {
183
184
  DEFAULT_SKILL_OPT_CONFIG,
184
185
  DEFAULT_SKILLS_CONFIG,
185
186
  DEFAULT_PR_REVIEW_RESILIENCE_CONFIG,
187
+ DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY,
186
188
  DEFAULT_MODEL_CONTEXT_TOKENS,
187
189
  DEFAULT_HARNESS_EVOLUTION_CONFIG,
188
190
  DEFAULT_EXTERNAL_SKILLS_CONFIG,
@@ -23,20 +23,20 @@ import {
23
23
  tombstoneScopeBinding,
24
24
  writeScopeBindingToDisk,
25
25
  writeScopeToDisk
26
- } from "./index-3055dgzp.js";
27
- import"./index-zjvf7edj.js";
28
- import"./index-4mm22fzj.js";
26
+ } from "./index-xsd7y4hp.js";
27
+ import"./index-5th50g17.js";
28
+ import"./index-7h2armwf.js";
29
29
  import"./index-556ja8an.js";
30
- import"./index-962jgzdq.js";
31
- import"./index-1f4n43yz.js";
30
+ import"./index-717pmdce.js";
31
+ import"./index-6scakreq.js";
32
32
  import"./index-9e6fdz2h.js";
33
33
  import"./index-4rhhvd1a.js";
34
- import"./index-e75bzfgd.js";
35
- import"./index-h3re5c78.js";
34
+ import"./index-mmr96pwr.js";
35
+ import"./index-c9zp4xwc.js";
36
36
  import"./index-zjygnfay.js";
37
37
  import"./index-bk5tah7q.js";
38
38
  import"./index-b5adxpy6.js";
39
- import"./index-p39xem8b.js";
39
+ import"./index-dh5q6z7y.js";
40
40
  import"./index-ed5ykebp.js";
41
41
  import"./index-dke4wzkn.js";
42
42
  import"./index-7g4c7s5r.js";
@@ -33,32 +33,32 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-8bjv01t8.js";
37
- import"./index-kkfgygvn.js";
38
- import"./index-s7w428r3.js";
36
+ } from "./index-re338hf1.js";
37
+ import"./index-yp81ebrx.js";
38
+ import"./index-znf683sm.js";
39
39
  import"./index-rtry5xyf.js";
40
40
  import"./index-q7sjgr1y.js";
41
- import"./index-3yh737hc.js";
42
- import"./index-5m7qjj29.js";
43
- import"./index-yrar1ask.js";
44
- import"./index-ebz97mks.js";
41
+ import"./index-war2dt6a.js";
42
+ import"./index-3a35tt6a.js";
43
+ import"./index-xkmzsfg5.js";
44
+ import"./index-q8hm27yj.js";
45
45
  import"./index-n832052r.js";
46
46
  import"./index-dtn0pne5.js";
47
47
  import"./index-z6xqpmqg.js";
48
48
  import"./index-r3mvsbtq.js";
49
- import"./index-962jgzdq.js";
50
- import"./index-1f4n43yz.js";
49
+ import"./index-717pmdce.js";
50
+ import"./index-6scakreq.js";
51
51
  import"./index-9e6fdz2h.js";
52
52
  import"./index-4rhhvd1a.js";
53
- import"./index-e75bzfgd.js";
54
- import"./index-h3re5c78.js";
53
+ import"./index-mmr96pwr.js";
54
+ import"./index-c9zp4xwc.js";
55
55
  import"./index-zjygnfay.js";
56
56
  import"./index-ae75rja9.js";
57
- import"./index-9fspg1xw.js";
58
- import"./index-rq7k03rk.js";
57
+ import"./index-prv20xq6.js";
58
+ import"./index-7ezv5j23.js";
59
59
  import"./index-bk5tah7q.js";
60
60
  import"./index-b5adxpy6.js";
61
- import"./index-p39xem8b.js";
61
+ import"./index-dh5q6z7y.js";
62
62
  import"./index-ed5ykebp.js";
63
63
  import"./index-dke4wzkn.js";
64
64
  import"./index-7g4c7s5r.js";
@@ -6,11 +6,11 @@ import {
6
6
  WORKTREE_PROVISIONING_OWNER_LEASE_MS,
7
7
  removeWorktreeProvisioningOwner,
8
8
  scanWorktreeProvisioningOwnersForRecovery
9
- } from "./index-cn233hsy.js";
9
+ } from "./index-awjx0wgk.js";
10
10
  import {
11
11
  scanDelegationFallbacksForRecovery,
12
12
  scanDelegationsForRecovery
13
- } from "./index-sy5aeegg.js";
13
+ } from "./index-k50kxd3w.js";
14
14
  import"./index-ddszzne4.js";
15
15
  import"./index-dtn0pne5.js";
16
16
  import"./index-z6xqpmqg.js";
@@ -22,10 +22,10 @@ import {
22
22
  resolveGitExecutable
23
23
  } from "./index-9e6fdz2h.js";
24
24
  import"./index-4rhhvd1a.js";
25
- import"./index-e75bzfgd.js";
25
+ import"./index-mmr96pwr.js";
26
26
  import"./index-zjygnfay.js";
27
27
  import"./index-b5adxpy6.js";
28
- import"./index-p39xem8b.js";
28
+ import"./index-dh5q6z7y.js";
29
29
  import"./index-ed5ykebp.js";
30
30
  import"./index-dke4wzkn.js";
31
31
  import"./index-7g4c7s5r.js";
@@ -21,63 +21,63 @@ import {
21
21
  sanitizeWorktreeTaskId,
22
22
  standardWorktreeByCallID,
23
23
  standardWorktreeSerializationSessions
24
- } from "./index-rnyt2z5r.js";
25
- import"./index-xs15netk.js";
26
- import"./index-wzx6atbv.js";
27
- import"./index-py6bqwnb.js";
28
- import"./index-9k3zc2t8.js";
29
- import"./index-85qjc7b2.js";
24
+ } from "./index-s7w6ntw6.js";
25
+ import"./index-j3ss86kf.js";
26
+ import"./index-2123hwbj.js";
27
+ import"./index-xtwny1ae.js";
28
+ import"./index-zbnf26br.js";
29
+ import"./index-nk498mx6.js";
30
30
  import"./index-txdagbh7.js";
31
31
  import"./index-134d35c1.js";
32
- import"./index-nj6rmyeh.js";
33
- import"./index-8bjv01t8.js";
34
- import"./index-va1edd2n.js";
35
- import"./index-gt8cxfbp.js";
32
+ import"./index-3146wmgv.js";
33
+ import"./index-re338hf1.js";
34
+ import"./index-5xfx5sbw.js";
35
+ import"./index-am5bz6mf.js";
36
36
  import"./index-70ha9e09.js";
37
37
  import"./index-c8s9a3zh.js";
38
38
  import"./index-9ss2m4rs.js";
39
- import"./index-q6gjwy7m.js";
39
+ import"./index-497a3hhj.js";
40
40
  import"./index-zsrtt42s.js";
41
- import"./index-7qv869f0.js";
41
+ import"./index-4d8cq6e1.js";
42
42
  import"./index-3f7hqtgg.js";
43
- import"./index-cn233hsy.js";
44
- import"./index-kkfgygvn.js";
45
- import"./index-s7w428r3.js";
43
+ import"./index-awjx0wgk.js";
44
+ import"./index-yp81ebrx.js";
45
+ import"./index-znf683sm.js";
46
46
  import"./index-rtry5xyf.js";
47
- import"./index-w699ekk9.js";
48
- import"./index-fzkx24q5.js";
49
- import"./index-sy5aeegg.js";
47
+ import"./index-4dcz9fpn.js";
48
+ import"./index-kqzba6ex.js";
49
+ import"./index-k50kxd3w.js";
50
50
  import"./index-ddszzne4.js";
51
- import"./index-3055dgzp.js";
52
- import"./index-zjvf7edj.js";
53
- import"./index-4mm22fzj.js";
51
+ import"./index-xsd7y4hp.js";
52
+ import"./index-5th50g17.js";
53
+ import"./index-7h2armwf.js";
54
54
  import"./index-556ja8an.js";
55
55
  import"./index-4fwbbad3.js";
56
56
  import"./index-b43rt5ph.js";
57
57
  import"./index-q7sjgr1y.js";
58
- import"./index-3yh737hc.js";
59
- import"./index-5m7qjj29.js";
58
+ import"./index-war2dt6a.js";
59
+ import"./index-3a35tt6a.js";
60
60
  import {
61
61
  resolveWorktreeIsolationConfig
62
- } from "./index-yrar1ask.js";
63
- import"./index-ebz97mks.js";
62
+ } from "./index-xkmzsfg5.js";
63
+ import"./index-q8hm27yj.js";
64
64
  import"./index-n832052r.js";
65
65
  import"./index-dtn0pne5.js";
66
66
  import"./index-z6xqpmqg.js";
67
67
  import"./index-r3mvsbtq.js";
68
- import"./index-962jgzdq.js";
69
- import"./index-1f4n43yz.js";
68
+ import"./index-717pmdce.js";
69
+ import"./index-6scakreq.js";
70
70
  import"./index-9e6fdz2h.js";
71
71
  import"./index-4rhhvd1a.js";
72
- import"./index-e75bzfgd.js";
73
- import"./index-h3re5c78.js";
72
+ import"./index-mmr96pwr.js";
73
+ import"./index-c9zp4xwc.js";
74
74
  import"./index-zjygnfay.js";
75
75
  import"./index-ae75rja9.js";
76
- import"./index-9fspg1xw.js";
77
- import"./index-rq7k03rk.js";
76
+ import"./index-prv20xq6.js";
77
+ import"./index-7ezv5j23.js";
78
78
  import"./index-bk5tah7q.js";
79
79
  import"./index-b5adxpy6.js";
80
- import"./index-p39xem8b.js";
80
+ import"./index-dh5q6z7y.js";
81
81
  import"./index-ed5ykebp.js";
82
82
  import"./index-dke4wzkn.js";
83
83
  import"./index-7g4c7s5r.js";
@@ -17,6 +17,14 @@ export declare const TURBO_TOOL_NAMES: readonly ["lean_turbo_plan_lanes", "lean_
17
17
  export declare const TURBO_AGENT_TOOL_MAP: Partial<Record<AgentName, ToolName[]>>;
18
18
  export declare const SKILL_TOOL_NAMES: readonly ["skill_generate", "skill_list", "skill_apply", "skill_inspect", "skill_regenerate", "skill_retire", "skill_improve"];
19
19
  export declare const SKILL_AGENT_TOOL_MAP: Partial<Record<AgentName, ToolName[]>>;
20
+ export declare const PR_REVIEW_CHILD_TOOL_NAMES: readonly ["submit_pr_review_result"];
21
+ /**
22
+ * This map documents the role ownership required by the registry invariant.
23
+ * It is deliberately consumed only by dispatch_lanes' base/micro child tool
24
+ * overlay; merging it into ordinary agent configs would expose the submission
25
+ * capability outside an exact controller-bound delegation.
26
+ */
27
+ export declare const PR_REVIEW_CHILD_AGENT_TOOL_MAP: Partial<Record<AgentName, ToolName[]>>;
20
28
  /**
21
29
  * Human-readable descriptions for tools shown in the architect Available Tools block.
22
30
  * Used to generate the Available Tools section of the architect prompt at construction time.
@@ -424,6 +424,7 @@ export declare const SastEvidenceSchema: z.ZodObject<{
424
424
  remediation: z.ZodOptional<z.ZodString>;
425
425
  }, z.core.$strip>>>;
426
426
  baseline_used: z.ZodOptional<z.ZodBoolean>;
427
+ truncated_pre_existing: z.ZodOptional<z.ZodBoolean>;
427
428
  truncated_moved_findings: z.ZodOptional<z.ZodBoolean>;
428
429
  }, z.core.$strip>;
429
430
  export type SastEvidence = z.infer<typeof SastEvidenceSchema>;
@@ -496,6 +497,12 @@ export declare const BuildEvidenceSchema: z.ZodObject<{
496
497
  runs_count: z.ZodNumber;
497
498
  failed_count: z.ZodNumber;
498
499
  skipped_reason: z.ZodOptional<z.ZodString>;
500
+ environment_unavailable: z.ZodOptional<z.ZodArray<z.ZodObject<{
501
+ ecosystem: z.ZodString;
502
+ reason: z.ZodString;
503
+ code: z.ZodLiteral<"environment_unavailable">;
504
+ required_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
505
+ }, z.core.$strip>>>;
499
506
  }, z.core.$strip>;
500
507
  export type BuildEvidence = z.infer<typeof BuildEvidenceSchema>;
501
508
  export declare const QualityBudgetEvidenceSchema: z.ZodObject<{
@@ -942,6 +949,7 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
942
949
  remediation: z.ZodOptional<z.ZodString>;
943
950
  }, z.core.$strip>>>;
944
951
  baseline_used: z.ZodOptional<z.ZodBoolean>;
952
+ truncated_pre_existing: z.ZodOptional<z.ZodBoolean>;
945
953
  truncated_moved_findings: z.ZodOptional<z.ZodBoolean>;
946
954
  }, z.core.$strip>, z.ZodObject<{
947
955
  task_id: z.ZodString;
@@ -1010,6 +1018,12 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1010
1018
  runs_count: z.ZodNumber;
1011
1019
  failed_count: z.ZodNumber;
1012
1020
  skipped_reason: z.ZodOptional<z.ZodString>;
1021
+ environment_unavailable: z.ZodOptional<z.ZodArray<z.ZodObject<{
1022
+ ecosystem: z.ZodString;
1023
+ reason: z.ZodString;
1024
+ code: z.ZodLiteral<"environment_unavailable">;
1025
+ required_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
1026
+ }, z.core.$strip>>>;
1013
1027
  }, z.core.$strip>, z.ZodObject<{
1014
1028
  task_id: z.ZodString;
1015
1029
  timestamp: z.ZodString;
@@ -1449,6 +1463,7 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
1449
1463
  remediation: z.ZodOptional<z.ZodString>;
1450
1464
  }, z.core.$strip>>>;
1451
1465
  baseline_used: z.ZodOptional<z.ZodBoolean>;
1466
+ truncated_pre_existing: z.ZodOptional<z.ZodBoolean>;
1452
1467
  truncated_moved_findings: z.ZodOptional<z.ZodBoolean>;
1453
1468
  }, z.core.$strip>, z.ZodObject<{
1454
1469
  task_id: z.ZodString;
@@ -1517,6 +1532,12 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
1517
1532
  runs_count: z.ZodNumber;
1518
1533
  failed_count: z.ZodNumber;
1519
1534
  skipped_reason: z.ZodOptional<z.ZodString>;
1535
+ environment_unavailable: z.ZodOptional<z.ZodArray<z.ZodObject<{
1536
+ ecosystem: z.ZodString;
1537
+ reason: z.ZodString;
1538
+ code: z.ZodLiteral<"environment_unavailable">;
1539
+ required_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
1540
+ }, z.core.$strip>>>;
1520
1541
  }, z.core.$strip>, z.ZodObject<{
1521
1542
  task_id: z.ZodString;
1522
1543
  timestamp: z.ZodString;
@@ -1813,6 +1813,13 @@ export declare const PrReviewResilienceConfigSchema: z.ZodObject<{
1813
1813
  max_retry_attempts_after_initial: z.ZodDefault<z.ZodNumber>;
1814
1814
  circuit_open_duration_ms: z.ZodDefault<z.ZodNumber>;
1815
1815
  }, z.core.$strict>;
1816
+ /**
1817
+ * Issue #2384: deprecated transcript-row settlement for Profile A PR-review
1818
+ * base/micro discovery lanes is an explicit compatibility opt-in. Omitted
1819
+ * config resolves false in consumers; legacy transcript parsing remains a
1820
+ * migration-only path rather than the default authority.
1821
+ */
1822
+ export declare const DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false;
1816
1823
  export declare const PluginConfigSchema: z.ZodObject<{
1817
1824
  $schema: z.ZodCatch<z.ZodOptional<z.ZodString>>;
1818
1825
  config_format_version: z.ZodDefault<z.ZodNumber>;
@@ -1911,6 +1918,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
1911
1918
  max_retry_attempts_after_initial: z.ZodDefault<z.ZodNumber>;
1912
1919
  circuit_open_duration_ms: z.ZodDefault<z.ZodNumber>;
1913
1920
  }, z.core.$strict>>;
1921
+ pr_review_legacy_transcript_compatibility: z.ZodOptional<z.ZodBoolean>;
1914
1922
  gates: z.ZodOptional<z.ZodObject<{
1915
1923
  syntax_check: z.ZodDefault<z.ZodObject<{
1916
1924
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  import { type CandidateSeverity, type FindingsSeverity, type RowFormatFamily } from '../background/candidate-contract.js';
4
4
  import { type LaneOutputArtifact } from '../background/lane-output-store.js';
5
5
  import { type BackgroundDelegationRecord, type BackgroundDelegationResult, type BackgroundDelegationWorkflowLaneFailureClass, type BackgroundDelegationWorkflowLaneRecovery, findByBatchId, sweepStaleDelegations } from '../background/pending-delegations.js';
6
- import { PR_REVIEW_BASE_DIMENSION_IDS, type PrReviewRiskImpact, type PrReviewRiskTag } from '../background/pr-review-contract.js';
6
+ import { PR_REVIEW_BASE_DIMENSION_IDS, type PrReviewLaneResultEnvelope, type PrReviewRiskImpact, type PrReviewRiskTag } from '../background/pr-review-contract.js';
7
7
  import { type PrReviewInlineTriggerRow } from '../background/pr-review-trigger-contract.js';
8
8
  import { type RevisionDigestResult, resolveCommitCountSince, resolveCommitCountSinceAsync, resolveCurrentGitHead, resolveCurrentGitHeadAsync, resolveCurrentLocalHeadRefAsync, resolveCurrentUpstreamPushTarget, resolveCurrentUpstreamPushTargetAsync, resolveCurrentUpstreamRemoteRef, resolveExactRemoteBranchHead, resolveExactRemoteBranchHeadAsync, resolveIsExactSingleChildCommit, resolveIsExactSingleChildCommitAsync, resolveIsWorkingTreeClean, resolveIsWorkingTreeCleanAsync, resolvePrReviewDiffStats, resolvePrReviewDiffStatsAsync, resolvePrWorkflowRevisionDigest, resolvePrWorkflowRevisionDigestDetailed, resolveRemoteRefsContainingHead, resolveRemoteRefsContainingHeadAsync, resolveRemoteUrlIdentity, resolveRemoteUrlIdentityAsync } from '../background/workspace-snapshot.js';
9
9
  import { type PrReviewResilienceConfig } from '../config/schema.js';
@@ -50,6 +50,9 @@ export interface PrReviewDiscoveryLaneValidationInput {
50
50
  prHeadSha: string;
51
51
  gitHead: string;
52
52
  revisionDigest: string;
53
+ workflowInstanceId?: string;
54
+ workflowRevision?: number;
55
+ baseSha?: string;
53
56
  reviewScope?: string;
54
57
  checkWorkflowLane?: boolean;
55
58
  };
@@ -666,6 +669,25 @@ export declare function activatePrWorkflow(directory: string, sessionID: string,
666
669
  prUrl?: string;
667
670
  }): Promise<PrWorkflowGateState>;
668
671
  export declare function readPrWorkflowGateState(directory: string, sessionID: string): Promise<PrWorkflowGateState | null>;
672
+ export type SubmitPrReviewResultOutcome = {
673
+ status: 'recorded' | 'duplicate';
674
+ receiptDigest: string;
675
+ } | {
676
+ status: 'rejected';
677
+ reason: string;
678
+ };
679
+ /**
680
+ * Publish one structured base/micro discovery result from the exact child
681
+ * session that owns the live delegation. Lock order is deliberately
682
+ * workflow-session -> delegation-evidence; clear/abort takes the same outer
683
+ * lock and terminalization takes the same inner lock.
684
+ */
685
+ export declare function submitPrReviewResult(directory: string, childSessionId: string, input: {
686
+ batchId: string;
687
+ laneId: string;
688
+ revisionDigest: string;
689
+ result: PrReviewLaneResultEnvelope;
690
+ }): Promise<SubmitPrReviewResultOutcome>;
669
691
  /**
670
692
  * Serialize a pre-bind checkout-preservation controller with every terminal
671
693
  * PR-workflow transition for the raw parent session. The caller's action may
@@ -1128,6 +1150,7 @@ export declare function assertPrFeedbackGatePhaseSettled(directory: string, sess
1128
1150
  export declare function assertPrFeedbackReadyToPublish(directory: string, sessionID: string): Promise<PrWorkflowGateState>;
1129
1151
  /** Build the evidence join for a freshly armed generation. */
1130
1152
  declare function buildPublicationEvidenceJoin(state: PrWorkflowGateState, currentDigest: string): PrFeedbackPublicationEvidenceJoin | null;
1153
+ declare function boundPublicationDiagnostic(text: string): string;
1131
1154
  /**
1132
1155
  * Snapshot of the publication container with bounded history trimming.
1133
1156
  * History keeps the last {@link MAX_PUBLICATION_HISTORY_GENERATIONS}
@@ -1379,6 +1402,7 @@ export declare const _test_exports: {
1379
1402
  parseCanonicalCandidateRows: typeof parseCanonicalCandidateRows;
1380
1403
  resolvePrReviewRowFamily: typeof resolvePrReviewRowFamily;
1381
1404
  pipeFieldsCapped: typeof pipeFieldsCapped;
1405
+ boundPublicationDiagnostic: typeof boundPublicationDiagnostic;
1382
1406
  indexVerdictRows: typeof indexVerdictRows;
1383
1407
  reviewerVerdictRowDigest: typeof reviewerVerdictRowDigest;
1384
1408
  workflowGateStateRelativePath: typeof workflowGateStateRelativePath;