opencode-swarm 7.196.0 → 7.197.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 (129) hide show
  1. package/.opencode/skills/brainstorm/SKILL.md +2 -1
  2. package/.opencode/skills/ci-failure-batching/SKILL.md +2 -1
  3. package/.opencode/skills/ci-fix-monitor/SKILL.md +2 -1
  4. package/.opencode/skills/clarify/SKILL.md +2 -1
  5. package/.opencode/skills/clarify-spec/SKILL.md +2 -1
  6. package/.opencode/skills/codebase-review-swarm/SKILL.md +1 -1
  7. package/.opencode/skills/commit-pr/SKILL.md +3 -2
  8. package/.opencode/skills/consult/SKILL.md +2 -1
  9. package/.opencode/skills/council/SKILL.md +2 -1
  10. package/.opencode/skills/critic-gate/SKILL.md +2 -1
  11. package/.opencode/skills/deep-dive/SKILL.md +2 -1
  12. package/.opencode/skills/deep-research/SKILL.md +2 -1
  13. package/.opencode/skills/design-docs/SKILL.md +2 -1
  14. package/.opencode/skills/discover/SKILL.md +2 -1
  15. package/.opencode/skills/durable-session-state/SKILL.md +2 -1
  16. package/.opencode/skills/engineering-conventions/SKILL.md +2 -1
  17. package/.opencode/skills/execute/SKILL.md +2 -1
  18. package/.opencode/skills/fork-pr-operations/SKILL.md +2 -1
  19. package/.opencode/skills/gate-attribution/SKILL.md +2 -1
  20. package/.opencode/skills/issue-ingest/SKILL.md +2 -1
  21. package/.opencode/skills/issue-tracer/SKILL.md +1 -1
  22. package/.opencode/skills/loop/SKILL.md +2 -1
  23. package/.opencode/skills/merge-queue-readiness/SKILL.md +2 -1
  24. package/.opencode/skills/orchestrating-subagents/SKILL.md +2 -1
  25. package/.opencode/skills/parallel-work-check/SKILL.md +17 -16
  26. package/.opencode/skills/phase-wrap/SKILL.md +2 -1
  27. package/.opencode/skills/pre-phase-briefing/SKILL.md +2 -1
  28. package/.opencode/skills/running-tests/SKILL.md +2 -1
  29. package/.opencode/skills/skill-edit-validation/SKILL.md +2 -1
  30. package/.opencode/skills/specify/SKILL.md +2 -1
  31. package/.opencode/skills/swarm/SKILL.md +2 -1
  32. package/.opencode/skills/swarm-ci-monitor/SKILL.md +3 -2
  33. package/.opencode/skills/swarm-implement/SKILL.md +2 -1
  34. package/.opencode/skills/swarm-plan/SKILL.md +2 -1
  35. package/.opencode/skills/swarm-pr-feedback/SKILL.md +9 -162
  36. package/.opencode/skills/swarm-pr-feedback/references/gate-evidence-scope.md +20 -0
  37. package/.opencode/skills/swarm-pr-feedback/references/intake-surfaces.md +107 -0
  38. package/.opencode/skills/swarm-pr-feedback/references/preflight-checkout.md +67 -0
  39. package/.opencode/skills/swarm-pr-review/SKILL.md +12 -344
  40. package/.opencode/skills/swarm-pr-review/references/council-mode.md +38 -0
  41. package/.opencode/skills/swarm-pr-review/references/explorer-output-format.md +54 -0
  42. package/.opencode/skills/swarm-pr-review/references/findings-persistence-detail.md +15 -0
  43. package/.opencode/skills/swarm-pr-review/references/parser-candidate-extraction.md +75 -0
  44. package/.opencode/skills/swarm-pr-review/references/phase0a-intake.md +61 -0
  45. package/.opencode/skills/swarm-pr-review/references/scope-detection.md +103 -0
  46. package/.opencode/skills/swarm-pr-review/references/writeback-phases.md +68 -0
  47. package/.opencode/skills/swarm-pr-subscribe/SKILL.md +3 -2
  48. package/.opencode/skills/swarm-resume/SKILL.md +2 -1
  49. package/.opencode/skills/test-file-split/SKILL.md +2 -1
  50. package/.opencode/skills/worktree-retry-cleanup/SKILL.md +2 -1
  51. package/.opencode/skills/writing-tests/SKILL.md +7 -437
  52. package/.opencode/skills/writing-tests/references/cross-platform-patterns.md +237 -0
  53. package/.opencode/skills/writing-tests/references/mock-tiers.md +207 -0
  54. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  55. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  56. package/dist/cli/{auto-checkpoint-f00tk7sc.js → auto-checkpoint-1dv9a1w5.js} +4 -4
  57. package/dist/cli/{checkpoint-acztxqga.js → checkpoint-rkjb6kpr.js} +8 -8
  58. package/dist/cli/{coder-settlement-0ka4n1xf.js → coder-settlement-eavtvg8d.js} +3 -3
  59. package/dist/cli/{config-doctor-qv7wc6fa.js → config-doctor-4ck8e1fq.js} +7 -7
  60. package/dist/cli/{core-dmn3arr1.js → core-cyj0vphv.js} +1 -1
  61. package/dist/cli/{curator-drift-sxzs48ew.js → curator-drift-15mcxawb.js} +5 -5
  62. package/dist/cli/{curator-llm-factory-cvrt4bf9.js → curator-llm-factory-k0yebhsk.js} +25 -25
  63. package/dist/cli/{curator-891pc8b7.js → curator-p1r777m5.js} +25 -25
  64. package/dist/cli/{doctor-knowledge-receipt-phase-id-mvbj576e.js → doctor-knowledge-receipt-phase-id-k204028d.js} +4 -4
  65. package/dist/cli/{evidence-summary-service-x9nxvmn5.js → evidence-summary-service-4mx5ge81.js} +9 -9
  66. package/dist/cli/{gate-evidence-dxd20wrc.js → gate-evidence-pa8qadxh.js} +2 -2
  67. package/dist/cli/{guardrail-explain-fga9bnvt.js → guardrail-explain-pba5em4h.js} +26 -26
  68. package/dist/cli/{guardrail-log-y84b9m8n.js → guardrail-log-24fbykv3.js} +3 -3
  69. package/dist/cli/{guardrail-reset-xpcsxyt0.js → guardrail-reset-rfnr2vnn.js} +25 -25
  70. package/dist/cli/{hive-promoter-w1vchgfr.js → hive-promoter-0ht8jafr.js} +25 -25
  71. package/dist/cli/{index-hjma52c8.js → index-0sw6gjtn.js} +3 -3
  72. package/dist/cli/{index-mt5t492g.js → index-3h4tajza.js} +2 -2
  73. package/dist/cli/{index-t5med3ga.js → index-528gk6k1.js} +1 -1
  74. package/dist/cli/{index-nrqyc8pr.js → index-56n6nb7p.js} +25 -25
  75. package/dist/cli/{index-bjaef5zn.js → index-57g7yqx9.js} +390 -233
  76. package/dist/cli/{index-jnjvghgp.js → index-6g81mmmy.js} +4 -4
  77. package/dist/cli/{index-8bsnnnj2.js → index-9rqvm5sk.js} +2 -2
  78. package/dist/cli/{index-ryjp0wmq.js → index-9vwsvgzp.js} +1 -1
  79. package/dist/cli/{index-knxq5byr.js → index-a9bs0c71.js} +1 -1
  80. package/dist/cli/{index-3hpjqa6y.js → index-d0m3snqt.js} +1 -1
  81. package/dist/cli/{index-7zkgdefv.js → index-d483e4gz.js} +3 -3
  82. package/dist/cli/{index-sgt1d7ez.js → index-efen9p4c.js} +1 -1
  83. package/dist/cli/{index-w3mav870.js → index-f0d3z2ha.js} +2 -2
  84. package/dist/cli/{index-wscg5ryb.js → index-fmgkemn9.js} +1 -1
  85. package/dist/cli/{index-svbh91pz.js → index-h69nppa3.js} +1 -1
  86. package/dist/cli/{index-391ydd25.js → index-hyxw4j9t.js} +1 -1
  87. package/dist/cli/{index-41p9zzpe.js → index-kah11mjw.js} +153 -52
  88. package/dist/cli/{index-nqxbqb50.js → index-mwh6srje.js} +1 -1
  89. package/dist/cli/{index-psqfkgav.js → index-pek9gmwm.js} +3 -3
  90. package/dist/cli/{index-31b55cq9.js → index-pywrvjxj.js} +3 -3
  91. package/dist/cli/{index-2grr37ry.js → index-qae4572e.js} +1 -1
  92. package/dist/cli/{index-tzasccpd.js → index-qqe9tt5y.js} +1 -1
  93. package/dist/cli/{index-4cazf4kb.js → index-r9ab1sat.js} +27 -27
  94. package/dist/cli/{index-174j0g38.js → index-rqbhn0mh.js} +2 -2
  95. package/dist/cli/{index-te61qv0q.js → index-syrktqz9.js} +2 -2
  96. package/dist/cli/{index-3drq02r1.js → index-t4nxee8x.js} +1 -1
  97. package/dist/cli/{index-ppnpkww2.js → index-tstk9xx7.js} +1 -1
  98. package/dist/cli/{index-tjc68trf.js → index-vanjqbhp.js} +5 -5
  99. package/dist/cli/{index-vsa05smc.js → index-xtb61w73.js} +1 -1
  100. package/dist/cli/{index-7gqmqhzj.js → index-z5rkkhng.js} +6 -6
  101. package/dist/cli/index.js +26 -26
  102. package/dist/cli/{knowledge-escalator-2dy96d0j.js → knowledge-escalator-89crpby4.js} +7 -7
  103. package/dist/cli/{knowledge-events-70kb745b.js → knowledge-events-eyratqdp.js} +5 -5
  104. package/dist/cli/{knowledge-store-hvq03g0j.js → knowledge-store-kkwds05z.js} +1 -1
  105. package/dist/cli/{knowledge-validator-eaatcnkr.js → knowledge-validator-fww6p37v.js} +2 -2
  106. package/dist/cli/{mcp-bj3awdfy.js → mcp-8t3m998m.js} +1 -1
  107. package/dist/cli/{model-preflight-skhq4xtr.js → model-preflight-98g183my.js} +25 -25
  108. package/dist/cli/{pending-delegations-yamzv468.js → pending-delegations-qj5e0hh2.js} +2 -2
  109. package/dist/cli/{pr-subscriptions-hkzd0nr4.js → pr-subscriptions-edwd3syw.js} +1 -1
  110. package/dist/cli/{pr-workflow-gate-2gmznmj4.js → pr-workflow-gate-t8veygyh.js} +25 -25
  111. package/dist/cli/{scan-cursor-arezehhk.js → scan-cursor-0ffhpz79.js} +2 -2
  112. package/dist/cli/{schema-emx6r32d.js → schema-zytt0t7a.js} +1 -1
  113. package/dist/cli/{scope-persistence-tvr8w7ea.js → scope-persistence-p8a9a2xb.js} +5 -5
  114. package/dist/cli/{server-ez03wdw9.js → server-q4b9s64v.js} +25 -25
  115. package/dist/cli/{skill-generator-w0jy1mpc.js → skill-generator-wt7d640t.js} +8 -8
  116. package/dist/cli/{snapshot-coordination-init-2x56ds8a.js → snapshot-coordination-init-ywxyf130.js} +25 -25
  117. package/dist/cli/{speckit-checkoff-c2e5wezr.js → speckit-checkoff-y8na83hj.js} +3 -3
  118. package/dist/cli/{worktree-collision-ownership-1bgcea0v.js → worktree-collision-ownership-kssmhrpk.js} +2 -2
  119. package/dist/cli/{worktree-isolation-9xp4dz41.js → worktree-isolation-w6np680v.js} +25 -25
  120. package/dist/config/skill-contract-digest.d.ts +6 -0
  121. package/dist/hooks/pr-workflow-gate.d.ts +12 -0
  122. package/dist/hooks/pr-workflow-response-gate.d.ts +8 -0
  123. package/dist/hooks/skill-scoring.d.ts +1 -1
  124. package/dist/hooks/skill-usage-log.d.ts +2 -0
  125. package/dist/index.js +30 -28
  126. package/dist/pr-review/persistence.d.ts +18 -1
  127. package/dist/services/skill-evaluator.d.ts +2 -0
  128. package/dist/services/skill-generator.d.ts +13 -0
  129. package/package.json +1 -1
@@ -22,16 +22,16 @@ import {
22
22
  resolveWriteTargets,
23
23
  searchKnowledge,
24
24
  symbols
25
- } from "./index-bjaef5zn.js";
25
+ } from "./index-57g7yqx9.js";
26
26
  import {
27
27
  checkFileAuthority,
28
28
  checkWriteTargetForSymlink
29
- } from "./index-t5med3ga.js";
30
- import"./index-hjma52c8.js";
29
+ } from "./index-528gk6k1.js";
30
+ import"./index-0sw6gjtn.js";
31
31
  import {
32
32
  _internals,
33
33
  saveEvidence
34
- } from "./index-2grr37ry.js";
34
+ } from "./index-qae4572e.js";
35
35
  import {
36
36
  getProfileForFile
37
37
  } from "./index-j2vv0h13.js";
@@ -42,12 +42,12 @@ import"./index-necqa5bj.js";
42
42
  import"./index-txdagbh7.js";
43
43
  import {
44
44
  resolveCohortId
45
- } from "./index-knxq5byr.js";
45
+ } from "./index-a9bs0c71.js";
46
46
  import"./index-rdec0y3z.js";
47
- import"./index-sgt1d7ez.js";
48
- import"./index-7zkgdefv.js";
49
- import"./index-41p9zzpe.js";
50
- import"./index-7gqmqhzj.js";
47
+ import"./index-efen9p4c.js";
48
+ import"./index-d483e4gz.js";
49
+ import"./index-kah11mjw.js";
50
+ import"./index-z5rkkhng.js";
51
51
  import"./index-ghckhk16.js";
52
52
  import"./index-ypkfhqbc.js";
53
53
  import"./index-cjapb4hy.js";
@@ -59,11 +59,11 @@ import {
59
59
  import"./index-q7sjgr1y.js";
60
60
  import {
61
61
  createSwarmTool
62
- } from "./index-31b55cq9.js";
62
+ } from "./index-pywrvjxj.js";
63
63
  import {
64
64
  loadPlan,
65
65
  loadPlanJsonOnly
66
- } from "./index-tjc68trf.js";
66
+ } from "./index-vanjqbhp.js";
67
67
  import {
68
68
  containsControlChars,
69
69
  createTargetWithinRootValidator,
@@ -73,15 +73,15 @@ import {
73
73
  validateWorkspaceRoot
74
74
  } from "./index-6b295cas.js";
75
75
  import"./index-9nyqt3kb.js";
76
- import"./index-ryjp0wmq.js";
76
+ import"./index-9vwsvgzp.js";
77
77
  import"./index-v3bmwmqw.js";
78
- import"./index-svbh91pz.js";
79
- import"./index-3drq02r1.js";
80
- import"./index-391ydd25.js";
78
+ import"./index-h69nppa3.js";
79
+ import"./index-t4nxee8x.js";
80
+ import"./index-hyxw4j9t.js";
81
81
  import"./index-g4fs6z4e.js";
82
- import"./index-vsa05smc.js";
83
- import"./index-mt5t492g.js";
84
- import"./index-te61qv0q.js";
82
+ import"./index-xtb61w73.js";
83
+ import"./index-3h4tajza.js";
84
+ import"./index-syrktqz9.js";
85
85
  import"./index-m9zzj4ee.js";
86
86
  import"./index-kphy4we7.js";
87
87
  import"./index-2s7dvzff.js";
@@ -90,18 +90,18 @@ import {
90
90
  validateActionability,
91
91
  validateActionableFields,
92
92
  validateLesson
93
- } from "./index-wscg5ryb.js";
93
+ } from "./index-fmgkemn9.js";
94
94
  import {
95
95
  resolveWorktreeId
96
96
  } from "./index-hy2fqapm.js";
97
97
  import"./index-rtry5xyf.js";
98
- import"./index-8bsnnnj2.js";
98
+ import"./index-9rqvm5sk.js";
99
99
  import"./index-g22dps7x.js";
100
100
  import"./index-0725jpp7.js";
101
101
  import {
102
102
  normalizeScopeFiles
103
- } from "./index-tzasccpd.js";
104
- import"./index-174j0g38.js";
103
+ } from "./index-qqe9tt5y.js";
104
+ import"./index-rqbhn0mh.js";
105
105
  import"./index-6183at3v.js";
106
106
  import"./index-j8t1g5qd.js";
107
107
  import"./index-crz772sx.js";
@@ -119,7 +119,7 @@ import {
119
119
  reinforceSwarmKnowledgeEntry,
120
120
  resolveSwarmKnowledgePath,
121
121
  transactKnowledge
122
- } from "./index-jnjvghgp.js";
122
+ } from "./index-6g81mmmy.js";
123
123
  import"./index-vzm6zre7.js";
124
124
  import"./index-ae75rja9.js";
125
125
  import"./index-ry5g9s8d.js";
@@ -143,7 +143,7 @@ import"./index-gx2vp8gx.js";
143
143
  import {
144
144
  loadGateOverrides,
145
145
  loadPluginConfigWithMeta
146
- } from "./index-ppnpkww2.js";
146
+ } from "./index-tstk9xx7.js";
147
147
  import {
148
148
  init_git_executable,
149
149
  resolveGitExecutableAsync
@@ -151,7 +151,7 @@ import {
151
151
  import {
152
152
  KnowledgeConfigSchema,
153
153
  init_schema
154
- } from "./index-nqxbqb50.js";
154
+ } from "./index-mwh6srje.js";
155
155
  import {
156
156
  TOOL_METADATA,
157
157
  init_tool_metadata
@@ -33,21 +33,21 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-41p9zzpe.js";
36
+ } from "./index-kah11mjw.js";
37
37
  import"./index-q7sjgr1y.js";
38
- import"./index-mt5t492g.js";
39
- import"./index-te61qv0q.js";
38
+ import"./index-3h4tajza.js";
39
+ import"./index-syrktqz9.js";
40
40
  import"./index-m9zzj4ee.js";
41
41
  import"./index-kphy4we7.js";
42
42
  import"./index-2s7dvzff.js";
43
- import"./index-wscg5ryb.js";
43
+ import"./index-fmgkemn9.js";
44
44
  import"./index-hy2fqapm.js";
45
45
  import"./index-rtry5xyf.js";
46
- import"./index-8bsnnnj2.js";
46
+ import"./index-9rqvm5sk.js";
47
47
  import"./index-g22dps7x.js";
48
48
  import"./index-0725jpp7.js";
49
49
  import"./index-gc0aeth5.js";
50
- import"./index-jnjvghgp.js";
50
+ import"./index-6g81mmmy.js";
51
51
  import"./index-vzm6zre7.js";
52
52
  import"./index-ae75rja9.js";
53
53
  import"./index-ry5g9s8d.js";
@@ -60,9 +60,9 @@ import"./index-ejhxgyvm.js";
60
60
  import"./index-7g4c7s5r.js";
61
61
  import"./index-yf2z4j7s.js";
62
62
  import"./index-gx2vp8gx.js";
63
- import"./index-ppnpkww2.js";
63
+ import"./index-tstk9xx7.js";
64
64
  import"./index-zxdawwc7.js";
65
- import"./index-nqxbqb50.js";
65
+ import"./index-mwh6srje.js";
66
66
  import"./index-hqrkr9ag.js";
67
67
  import"./index-bk5tah7q.js";
68
68
  import"./index-gknz3bv1.js";
@@ -8,50 +8,50 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-bjaef5zn.js";
12
- import"./index-t5med3ga.js";
13
- import"./index-hjma52c8.js";
14
- import"./index-2grr37ry.js";
11
+ } from "./index-57g7yqx9.js";
12
+ import"./index-528gk6k1.js";
13
+ import"./index-0sw6gjtn.js";
14
+ import"./index-qae4572e.js";
15
15
  import"./index-j2vv0h13.js";
16
16
  import"./index-c5xvm318.js";
17
17
  import"./index-necqa5bj.js";
18
18
  import"./index-txdagbh7.js";
19
- import"./index-knxq5byr.js";
19
+ import"./index-a9bs0c71.js";
20
20
  import"./index-rdec0y3z.js";
21
- import"./index-sgt1d7ez.js";
22
- import"./index-7zkgdefv.js";
23
- import"./index-41p9zzpe.js";
24
- import"./index-7gqmqhzj.js";
21
+ import"./index-efen9p4c.js";
22
+ import"./index-d483e4gz.js";
23
+ import"./index-kah11mjw.js";
24
+ import"./index-z5rkkhng.js";
25
25
  import"./index-ghckhk16.js";
26
26
  import"./index-ypkfhqbc.js";
27
27
  import"./index-cjapb4hy.js";
28
28
  import"./index-dfrcc46h.js";
29
29
  import"./index-pt7h91zc.js";
30
30
  import"./index-q7sjgr1y.js";
31
- import"./index-31b55cq9.js";
32
- import"./index-tjc68trf.js";
31
+ import"./index-pywrvjxj.js";
32
+ import"./index-vanjqbhp.js";
33
33
  import"./index-6b295cas.js";
34
34
  import"./index-9nyqt3kb.js";
35
- import"./index-ryjp0wmq.js";
35
+ import"./index-9vwsvgzp.js";
36
36
  import"./index-v3bmwmqw.js";
37
- import"./index-svbh91pz.js";
38
- import"./index-3drq02r1.js";
39
- import"./index-391ydd25.js";
37
+ import"./index-h69nppa3.js";
38
+ import"./index-t4nxee8x.js";
39
+ import"./index-hyxw4j9t.js";
40
40
  import"./index-g4fs6z4e.js";
41
- import"./index-vsa05smc.js";
42
- import"./index-mt5t492g.js";
43
- import"./index-te61qv0q.js";
41
+ import"./index-xtb61w73.js";
42
+ import"./index-3h4tajza.js";
43
+ import"./index-syrktqz9.js";
44
44
  import"./index-m9zzj4ee.js";
45
45
  import"./index-kphy4we7.js";
46
46
  import"./index-2s7dvzff.js";
47
- import"./index-wscg5ryb.js";
47
+ import"./index-fmgkemn9.js";
48
48
  import"./index-hy2fqapm.js";
49
49
  import"./index-rtry5xyf.js";
50
- import"./index-8bsnnnj2.js";
50
+ import"./index-9rqvm5sk.js";
51
51
  import"./index-g22dps7x.js";
52
52
  import"./index-0725jpp7.js";
53
- import"./index-tzasccpd.js";
54
- import"./index-174j0g38.js";
53
+ import"./index-qqe9tt5y.js";
54
+ import"./index-rqbhn0mh.js";
55
55
  import"./index-6183at3v.js";
56
56
  import"./index-j8t1g5qd.js";
57
57
  import"./index-crz772sx.js";
@@ -60,7 +60,7 @@ import"./index-ry16d01s.js";
60
60
  import"./index-rdm3px0g.js";
61
61
  import"./index-7pmbnjvj.js";
62
62
  import"./index-gc0aeth5.js";
63
- import"./index-jnjvghgp.js";
63
+ import"./index-6g81mmmy.js";
64
64
  import"./index-vzm6zre7.js";
65
65
  import"./index-ae75rja9.js";
66
66
  import"./index-ry5g9s8d.js";
@@ -73,9 +73,9 @@ import"./index-ejhxgyvm.js";
73
73
  import"./index-7g4c7s5r.js";
74
74
  import"./index-yf2z4j7s.js";
75
75
  import"./index-gx2vp8gx.js";
76
- import"./index-ppnpkww2.js";
76
+ import"./index-tstk9xx7.js";
77
77
  import"./index-zxdawwc7.js";
78
- import"./index-nqxbqb50.js";
78
+ import"./index-mwh6srje.js";
79
79
  import"./index-hqrkr9ag.js";
80
80
  import"./index-bk5tah7q.js";
81
81
  import"./index-gknz3bv1.js";
@@ -7,13 +7,13 @@ import {
7
7
  parseSpeckitTasksContent,
8
8
  propagateSpeckitCheckoff,
9
9
  writeSpeckitCheckoffLedger
10
- } from "./index-svbh91pz.js";
10
+ } from "./index-h69nppa3.js";
11
11
  import"./index-ejhxgyvm.js";
12
12
  import"./index-7g4c7s5r.js";
13
13
  import"./index-yf2z4j7s.js";
14
- import"./index-ppnpkww2.js";
14
+ import"./index-tstk9xx7.js";
15
15
  import"./index-zxdawwc7.js";
16
- import"./index-nqxbqb50.js";
16
+ import"./index-mwh6srje.js";
17
17
  import"./index-hqrkr9ag.js";
18
18
  import"./index-bk5tah7q.js";
19
19
  import"./index-gknz3bv1.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  scanDelegationFallbacksForRecovery,
15
15
  scanDelegationsForRecovery
16
- } from "./index-vsa05smc.js";
16
+ } from "./index-xtb61w73.js";
17
17
  import"./index-kphy4we7.js";
18
18
  import"./index-2s7dvzff.js";
19
19
  import"./index-j8t1g5qd.js";
@@ -23,7 +23,7 @@ import"./index-ry16d01s.js";
23
23
  import"./index-rdm3px0g.js";
24
24
  import"./index-7pmbnjvj.js";
25
25
  import"./index-gc0aeth5.js";
26
- import"./index-jnjvghgp.js";
26
+ import"./index-6g81mmmy.js";
27
27
  import"./index-vzm6zre7.js";
28
28
  import"./index-ae75rja9.js";
29
29
  import"./index-ry5g9s8d.js";
@@ -25,52 +25,52 @@ import {
25
25
  sanitizeWorktreeTaskId,
26
26
  standardWorktreeByCallID,
27
27
  standardWorktreeSerializationSessions
28
- } from "./index-bjaef5zn.js";
29
- import"./index-t5med3ga.js";
30
- import"./index-hjma52c8.js";
31
- import"./index-2grr37ry.js";
28
+ } from "./index-57g7yqx9.js";
29
+ import"./index-528gk6k1.js";
30
+ import"./index-0sw6gjtn.js";
31
+ import"./index-qae4572e.js";
32
32
  import"./index-j2vv0h13.js";
33
33
  import"./index-c5xvm318.js";
34
34
  import"./index-necqa5bj.js";
35
35
  import"./index-txdagbh7.js";
36
- import"./index-knxq5byr.js";
36
+ import"./index-a9bs0c71.js";
37
37
  import"./index-rdec0y3z.js";
38
- import"./index-sgt1d7ez.js";
39
- import"./index-7zkgdefv.js";
40
- import"./index-41p9zzpe.js";
41
- import"./index-7gqmqhzj.js";
38
+ import"./index-efen9p4c.js";
39
+ import"./index-d483e4gz.js";
40
+ import"./index-kah11mjw.js";
41
+ import"./index-z5rkkhng.js";
42
42
  import"./index-ghckhk16.js";
43
43
  import"./index-ypkfhqbc.js";
44
44
  import"./index-cjapb4hy.js";
45
45
  import"./index-dfrcc46h.js";
46
46
  import"./index-pt7h91zc.js";
47
47
  import"./index-q7sjgr1y.js";
48
- import"./index-31b55cq9.js";
49
- import"./index-tjc68trf.js";
48
+ import"./index-pywrvjxj.js";
49
+ import"./index-vanjqbhp.js";
50
50
  import"./index-6b295cas.js";
51
51
  import"./index-9nyqt3kb.js";
52
- import"./index-ryjp0wmq.js";
52
+ import"./index-9vwsvgzp.js";
53
53
  import"./index-v3bmwmqw.js";
54
- import"./index-svbh91pz.js";
55
- import"./index-3drq02r1.js";
56
- import"./index-391ydd25.js";
54
+ import"./index-h69nppa3.js";
55
+ import"./index-t4nxee8x.js";
56
+ import"./index-hyxw4j9t.js";
57
57
  import"./index-g4fs6z4e.js";
58
- import"./index-vsa05smc.js";
59
- import"./index-mt5t492g.js";
60
- import"./index-te61qv0q.js";
58
+ import"./index-xtb61w73.js";
59
+ import"./index-3h4tajza.js";
60
+ import"./index-syrktqz9.js";
61
61
  import"./index-m9zzj4ee.js";
62
62
  import"./index-kphy4we7.js";
63
63
  import"./index-2s7dvzff.js";
64
- import"./index-wscg5ryb.js";
64
+ import"./index-fmgkemn9.js";
65
65
  import"./index-hy2fqapm.js";
66
66
  import"./index-rtry5xyf.js";
67
67
  import {
68
68
  resolveWorktreeIsolationConfig
69
- } from "./index-8bsnnnj2.js";
69
+ } from "./index-9rqvm5sk.js";
70
70
  import"./index-g22dps7x.js";
71
71
  import"./index-0725jpp7.js";
72
- import"./index-tzasccpd.js";
73
- import"./index-174j0g38.js";
72
+ import"./index-qqe9tt5y.js";
73
+ import"./index-rqbhn0mh.js";
74
74
  import"./index-6183at3v.js";
75
75
  import"./index-j8t1g5qd.js";
76
76
  import"./index-crz772sx.js";
@@ -79,7 +79,7 @@ import"./index-ry16d01s.js";
79
79
  import"./index-rdm3px0g.js";
80
80
  import"./index-7pmbnjvj.js";
81
81
  import"./index-gc0aeth5.js";
82
- import"./index-jnjvghgp.js";
82
+ import"./index-6g81mmmy.js";
83
83
  import"./index-vzm6zre7.js";
84
84
  import"./index-ae75rja9.js";
85
85
  import"./index-ry5g9s8d.js";
@@ -92,9 +92,9 @@ import"./index-ejhxgyvm.js";
92
92
  import"./index-7g4c7s5r.js";
93
93
  import"./index-yf2z4j7s.js";
94
94
  import"./index-gx2vp8gx.js";
95
- import"./index-ppnpkww2.js";
95
+ import"./index-tstk9xx7.js";
96
96
  import"./index-zxdawwc7.js";
97
- import"./index-nqxbqb50.js";
97
+ import"./index-mwh6srje.js";
98
98
  import"./index-hqrkr9ag.js";
99
99
  import"./index-bk5tah7q.js";
100
100
  import"./index-gknz3bv1.js";
@@ -14,6 +14,12 @@ export declare function splitSkillFrontmatter(content: string): {
14
14
  export declare function skillContractDigest(body: string): string;
15
15
  /**
16
16
  * Read the stamped contract digest from a frontmatter block, if present.
17
+ * Accepts the spec shape (a two-space-indented child of the `metadata:` map,
18
+ * issue #2907) and the legacy column-0 form so consumer installs generated
19
+ * before the migration keep verifying. Deeper-indented lines (e.g. stamp-
20
+ * shaped text inside a `description: |` block scalar) do NOT match — the
21
+ * indent is anchored to exactly the two forms the stamp writer emits
22
+ * (PRR-020, PR #3207 review).
17
23
  * String.match rather than RegExp.exec: the SAST callee-binding classifier
18
24
  * (issue #2300) flags an unresolved .exec member call as exec-like.
19
25
  */
@@ -747,6 +747,12 @@ export type SubmitPrReviewResultOutcome = {
747
747
  * state. Observability only — never changes the rejection outcome, never
748
748
  * creates gate state for a parent that has none (the pre-read outside the
749
749
  * session-state lock means a non-gated parent gets no lock file either).
750
+ *
751
+ * Issue #3199: the journal write is a NON-TRANSITIONING append
752
+ * (`appendObservabilityStateWhileLocked`) — it does not advance the durable
753
+ * gate revision, so it cannot invalidate a concurrent gate operation's
754
+ * revision CAS, and state-machine writes preserve the journal
755
+ * durable-wins (it can never be clobbered by a stale snapshot).
750
756
  */
751
757
  export declare function recordPrReviewSubmitRejection(directory: string, childSessionId: string, message: string): Promise<void>;
752
758
  /**
@@ -763,6 +769,12 @@ export declare function latestPrReviewSubmitRejectionMessage(state: Pick<PrWorkf
763
769
  * Observability only — never changes the rejection outcome, never creates
764
770
  * gate state for a session that has none (the pre-read outside the
765
771
  * session-state lock means a non-gated caller gets no lock file either).
772
+ *
773
+ * Issue #3199: the journal write is a NON-TRANSITIONING append
774
+ * (`appendObservabilityStateWhileLocked`) — it does not advance the durable
775
+ * gate revision, so it cannot invalidate a concurrent gate operation's
776
+ * revision CAS, and state-machine writes preserve the journal
777
+ * durable-wins (it can never be clobbered by a stale snapshot).
766
778
  */
767
779
  export declare function recordPrReviewVerdictRejection(directory: string, sessionID: string, message: string, attribution?: {
768
780
  laneId?: string;
@@ -14,6 +14,7 @@ export declare const _internals: {
14
14
  observePrWorkflowAutoWakeEvent: typeof observePrWorkflowAutoWakeEvent;
15
15
  scanDelegationsForRecovery: typeof scanDelegationsForRecovery;
16
16
  ensurePrWorkflowSkillContractsFresh: typeof ensurePrWorkflowSkillContractsFresh;
17
+ workflowProgressSnapshot: typeof workflowProgressSnapshot;
17
18
  };
18
19
  /**
19
20
  * Maximum number of consecutive unproductive auto-resumes per gated session
@@ -124,6 +125,13 @@ interface WakeBudget {
124
125
  * {@link WakeBudget.totalWakes}). */
125
126
  suspendedReason: 'consecutive' | 'total';
126
127
  }
128
+ type WorkflowProgressSnapshot = {
129
+ kind: 'valid';
130
+ token: string;
131
+ } | {
132
+ kind: 'uncertain';
133
+ };
134
+ declare function workflowProgressSnapshot(directory: string, sessionID: string, state: NonNullable<Awaited<ReturnType<typeof readPrWorkflowGateState>>>): WorkflowProgressSnapshot;
127
135
  /**
128
136
  * Prevent an architect from masquerading a premature text output as a terminal
129
137
  * verdict. The text-complete hook prepends a workflow-active banner to the
@@ -67,7 +67,7 @@ export interface SkillMetadata {
67
67
  skillType?: 'directive' | 'workflow';
68
68
  /** Literal trigger phrases from frontmatter. */
69
69
  triggers?: string[];
70
- /** Bounded, top-level audience declaration and its parse status. */
70
+ /** Audience declaration (spec `metadata.audience` or legacy top-level) and its parse status. */
71
71
  audience?: SkillAudienceMetadata;
72
72
  }
73
73
  export declare const _internals: {
@@ -280,6 +280,8 @@ export declare function resolveSourceKnowledgeIds(directory: string, skillPath:
280
280
  * Pure helper: parse `generated_from_knowledge:` YAML list from frontmatter.
281
281
  * Uses a minimal regex-based parser — the SKILL.md format is well-known and narrow.
282
282
  * Does NOT use a full YAML parser to avoid adding a dependency.
283
+ * Accepts the spec shape (indented `metadata:` child; lists serialize as
284
+ * JSON-string arrays, issue #2907) and the legacy top-level block list.
283
285
  */
284
286
  declare function parseGeneratedFromKnowledge(content: string): string[];
285
287
  /**