wicked-crew 0.7.34 → 0.7.36

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 (185) hide show
  1. package/dist/api/chat-scope.d.ts +29 -1
  2. package/dist/api/chat-scope.d.ts.map +1 -1
  3. package/dist/api/chat-scope.js +67 -12
  4. package/dist/api/chat-scope.js.map +1 -1
  5. package/dist/api/chat-transcripts.d.ts +60 -0
  6. package/dist/api/chat-transcripts.d.ts.map +1 -0
  7. package/dist/api/chat-transcripts.js +139 -0
  8. package/dist/api/chat-transcripts.js.map +1 -0
  9. package/dist/api/chat-turns.d.ts +43 -4
  10. package/dist/api/chat-turns.d.ts.map +1 -1
  11. package/dist/api/chat-turns.js +73 -6
  12. package/dist/api/chat-turns.js.map +1 -1
  13. package/dist/api/delivery-cache.d.ts +23 -6
  14. package/dist/api/delivery-cache.d.ts.map +1 -1
  15. package/dist/api/delivery-cache.js +27 -17
  16. package/dist/api/delivery-cache.js.map +1 -1
  17. package/dist/api/delivery-index.d.ts +45 -3
  18. package/dist/api/delivery-index.d.ts.map +1 -1
  19. package/dist/api/delivery-index.js +79 -4
  20. package/dist/api/delivery-index.js.map +1 -1
  21. package/dist/api/requirements.d.ts +3 -5
  22. package/dist/api/requirements.d.ts.map +1 -1
  23. package/dist/api/requirements.js +30 -146
  24. package/dist/api/requirements.js.map +1 -1
  25. package/dist/api/retry-index.d.ts +14 -0
  26. package/dist/api/retry-index.d.ts.map +1 -1
  27. package/dist/api/retry-index.js +29 -0
  28. package/dist/api/retry-index.js.map +1 -1
  29. package/dist/api/roster-standing.d.ts +4 -4
  30. package/dist/api/roster-standing.d.ts.map +1 -1
  31. package/dist/api/roster-standing.js +24 -12
  32. package/dist/api/roster-standing.js.map +1 -1
  33. package/dist/api/routes.d.ts +142 -10
  34. package/dist/api/routes.d.ts.map +1 -1
  35. package/dist/api/routes.js +292 -44
  36. package/dist/api/routes.js.map +1 -1
  37. package/dist/api/run-timing-index.d.ts +22 -0
  38. package/dist/api/run-timing-index.d.ts.map +1 -1
  39. package/dist/api/run-timing-index.js +34 -0
  40. package/dist/api/run-timing-index.js.map +1 -1
  41. package/dist/api/seat-health.d.ts +2 -46
  42. package/dist/api/seat-health.d.ts.map +1 -1
  43. package/dist/api/seat-health.js +28 -111
  44. package/dist/api/seat-health.js.map +1 -1
  45. package/dist/api/seat-standing.d.ts +9 -8
  46. package/dist/api/seat-standing.d.ts.map +1 -1
  47. package/dist/api/seat-standing.js +22 -32
  48. package/dist/api/seat-standing.js.map +1 -1
  49. package/dist/api/server.d.ts.map +1 -1
  50. package/dist/api/server.js +114 -12
  51. package/dist/api/server.js.map +1 -1
  52. package/dist/api/skills.d.ts +2 -2
  53. package/dist/api/skills.d.ts.map +1 -1
  54. package/dist/api/skills.js +5 -2
  55. package/dist/api/skills.js.map +1 -1
  56. package/dist/api/stall-frame-index.d.ts +68 -0
  57. package/dist/api/stall-frame-index.d.ts.map +1 -0
  58. package/dist/api/stall-frame-index.js +106 -0
  59. package/dist/api/stall-frame-index.js.map +1 -0
  60. package/dist/api/stall-watchdog.d.ts +22 -2
  61. package/dist/api/stall-watchdog.d.ts.map +1 -1
  62. package/dist/api/stall-watchdog.js +41 -11
  63. package/dist/api/stall-watchdog.js.map +1 -1
  64. package/dist/campaigns/plan.d.ts +12 -2
  65. package/dist/campaigns/plan.d.ts.map +1 -1
  66. package/dist/campaigns/plan.js +3 -0
  67. package/dist/campaigns/plan.js.map +1 -1
  68. package/dist/campaigns/rollup.d.ts +5 -0
  69. package/dist/campaigns/rollup.d.ts.map +1 -1
  70. package/dist/campaigns/rollup.js +3 -2
  71. package/dist/campaigns/rollup.js.map +1 -1
  72. package/dist/campaigns/routes.d.ts +5 -2
  73. package/dist/campaigns/routes.d.ts.map +1 -1
  74. package/dist/campaigns/routes.js +13 -3
  75. package/dist/campaigns/routes.js.map +1 -1
  76. package/dist/cli/index.js +137 -23
  77. package/dist/cli/index.js.map +1 -1
  78. package/dist/cli/port.d.ts +19 -0
  79. package/dist/cli/port.d.ts.map +1 -0
  80. package/dist/cli/port.js +39 -0
  81. package/dist/cli/port.js.map +1 -0
  82. package/dist/core/adapter.d.ts +68 -2
  83. package/dist/core/adapter.d.ts.map +1 -1
  84. package/dist/core/adapter.js +176 -23
  85. package/dist/core/adapter.js.map +1 -1
  86. package/dist/core/bridge-reaper.d.ts +57 -1
  87. package/dist/core/bridge-reaper.d.ts.map +1 -1
  88. package/dist/core/bridge-reaper.js +143 -21
  89. package/dist/core/bridge-reaper.js.map +1 -1
  90. package/dist/core/cursor.d.ts +7 -0
  91. package/dist/core/cursor.d.ts.map +1 -1
  92. package/dist/core/cursor.js +7 -1
  93. package/dist/core/cursor.js.map +1 -1
  94. package/dist/core/deliver-text.d.ts +35 -2
  95. package/dist/core/deliver-text.d.ts.map +1 -1
  96. package/dist/core/deliver-text.js +127 -17
  97. package/dist/core/deliver-text.js.map +1 -1
  98. package/dist/core/deliver-triage.d.ts.map +1 -1
  99. package/dist/core/deliver-triage.js +5 -2
  100. package/dist/core/deliver-triage.js.map +1 -1
  101. package/dist/core/deliver.d.ts +76 -2
  102. package/dist/core/deliver.d.ts.map +1 -1
  103. package/dist/core/deliver.js +209 -16
  104. package/dist/core/deliver.js.map +1 -1
  105. package/dist/core/engine-roster.d.ts +4 -3
  106. package/dist/core/engine-roster.d.ts.map +1 -1
  107. package/dist/core/engine-roster.js +10 -14
  108. package/dist/core/engine-roster.js.map +1 -1
  109. package/dist/core/types.d.ts +30 -0
  110. package/dist/core/types.d.ts.map +1 -1
  111. package/dist/core/types.js +6 -4
  112. package/dist/core/types.js.map +1 -1
  113. package/dist/core/versions.d.ts +17 -0
  114. package/dist/core/versions.d.ts.map +1 -0
  115. package/dist/core/versions.js +35 -0
  116. package/dist/core/versions.js.map +1 -0
  117. package/dist/interactive/bridge-pool.d.ts +66 -14
  118. package/dist/interactive/bridge-pool.d.ts.map +1 -1
  119. package/dist/interactive/bridge-pool.js +130 -17
  120. package/dist/interactive/bridge-pool.js.map +1 -1
  121. package/dist/interactive/bridge-root.d.ts +47 -16
  122. package/dist/interactive/bridge-root.d.ts.map +1 -1
  123. package/dist/interactive/bridge-root.js +102 -31
  124. package/dist/interactive/bridge-root.js.map +1 -1
  125. package/dist/interactive/doc-delete-routes.d.ts +3 -1
  126. package/dist/interactive/doc-delete-routes.d.ts.map +1 -1
  127. package/dist/interactive/doc-delete-routes.js.map +1 -1
  128. package/dist/interactive/doc-list-routes.d.ts +3 -1
  129. package/dist/interactive/doc-list-routes.d.ts.map +1 -1
  130. package/dist/interactive/doc-list-routes.js.map +1 -1
  131. package/dist/interactive/docs-index.d.ts +3 -1
  132. package/dist/interactive/docs-index.d.ts.map +1 -1
  133. package/dist/interactive/docs-index.js +1 -1
  134. package/dist/interactive/docs-index.js.map +1 -1
  135. package/dist/interactive/project-root.d.ts +8 -2
  136. package/dist/interactive/project-root.d.ts.map +1 -1
  137. package/dist/interactive/project-root.js +1 -1
  138. package/dist/interactive/project-root.js.map +1 -1
  139. package/dist/interactive/proxy-routes.d.ts +3 -1
  140. package/dist/interactive/proxy-routes.d.ts.map +1 -1
  141. package/dist/interactive/proxy-routes.js.map +1 -1
  142. package/dist/projects/graph.d.ts +4 -0
  143. package/dist/projects/graph.d.ts.map +1 -1
  144. package/dist/projects/graph.js +4 -2
  145. package/dist/projects/graph.js.map +1 -1
  146. package/dist/projects/routes.d.ts +2 -2
  147. package/dist/projects/state-home-preflight.d.ts +30 -7
  148. package/dist/projects/state-home-preflight.d.ts.map +1 -1
  149. package/dist/projects/state-home-preflight.js +59 -16
  150. package/dist/projects/state-home-preflight.js.map +1 -1
  151. package/dist/projects/state-home-registry.d.ts.map +1 -1
  152. package/dist/projects/state-home-registry.js +2 -0
  153. package/dist/projects/state-home-registry.js.map +1 -1
  154. package/dist/qe/acceptance.d.ts +9 -0
  155. package/dist/qe/acceptance.d.ts.map +1 -1
  156. package/dist/qe/acceptance.js +16 -1
  157. package/dist/qe/acceptance.js.map +1 -1
  158. package/dist/qe/author-workflow.d.ts.map +1 -1
  159. package/dist/qe/author-workflow.js +2 -1
  160. package/dist/qe/author-workflow.js.map +1 -1
  161. package/dist/skills/base-skill.d.ts +32 -10
  162. package/dist/skills/base-skill.d.ts.map +1 -1
  163. package/dist/skills/base-skill.js +36 -27
  164. package/dist/skills/base-skill.js.map +1 -1
  165. package/dist/skills/guards.d.ts.map +1 -1
  166. package/dist/skills/guards.js +3 -0
  167. package/dist/skills/guards.js.map +1 -1
  168. package/dist/skills/runtime.d.ts +9 -5
  169. package/dist/skills/runtime.d.ts.map +1 -1
  170. package/dist/skills/runtime.js +11 -7
  171. package/dist/skills/runtime.js.map +1 -1
  172. package/dist/skills/store.d.ts +30 -0
  173. package/dist/skills/store.d.ts.map +1 -1
  174. package/dist/skills/store.js +159 -3
  175. package/dist/skills/store.js.map +1 -1
  176. package/dist/skills/tree.d.ts +12 -0
  177. package/dist/skills/tree.d.ts.map +1 -1
  178. package/dist/skills/tree.js +26 -0
  179. package/dist/skills/tree.js.map +1 -1
  180. package/dist/studio/assets/index-Dk98qXKv.js +546 -0
  181. package/dist/studio/index.html +1 -1
  182. package/dist/studio/testid-inventory.json +89 -5
  183. package/endpoint-manifest.json +13 -1
  184. package/package.json +4 -4
  185. package/dist/studio/assets/index-DhojBZ1T.js +0 -544
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../src/core/adapter.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,SAAS,EACT,cAAc,EACd,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,cAAc,EACd,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,aAAa,EACb,kBAAkB,EAClB,QAAQ,EACR,WAAW,EACZ,MAAM,Y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lC;;;;;;;;;;;;OAYG;YACW,kBAAkB;IAgBhC;;;;;OAKG;IACG,gBAAgB,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAiDzD;;;OAGG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;IAkBhG;;;;;OAKG;IACH,YAAY,CACV,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EAAE,GAAG,SAAS,EACzB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC;IAIlB,2FAA2F;IAC3F,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzD,mFAAmF;IACnF,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvE,0FAA0F;IAC1F,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAMpC,WAAW,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAwH1C,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;IASrF;;;OAGG;IACH,KAAK,IAAI,IAAI;CAMd"}
@@ -8,7 +8,7 @@ import { randomUUID } from 'node:crypto';
8
8
  import { DEFAULT_SETTINGS } from './types.js';
9
9
  import { BASE_SKILL_REF_SHAPE } from '../skills/base-skill.js';
10
10
  import { execCapped } from './exec.js';
11
- import { composeDeliverWorkflow, DELIVER_PHASE_ID, EVIDENCE_FLOOR_PIN } from './deliver.js';
11
+ import { BUG_FIX_SWEEP_INSTRUCTIONS, composeDeliverWorkflow, DELIVER_PHASE_ID, EVIDENCE_FLOOR_PIN } from './deliver.js';
12
12
  import { engineCampaignDef, engineRosterJson } from './engine-roster.js';
13
13
  import { QE_AUTHOR_TESTS_WORKFLOW_DEF } from '../qe/author-workflow.js';
14
14
  import { CAMPAIGN_WORKFLOW_PREFIX } from '../campaigns/plan.js';
@@ -115,12 +115,62 @@ export function readOverlayWorkflows(dir, builtinIds) {
115
115
  }
116
116
  return out;
117
117
  }
118
+ // The native addon is a CommonJS cdylib (`index.node`); load it with a CJS
119
+ // require even though this daemon is ESM. This module is the ONLY place that
120
+ // touches wicked-core-ts (DES-STUDIO-001 §5.2/§5.3), so the FINALIZING
121
+ // `subscribe` seam has a blast radius of exactly one file. Declared ABOVE the
122
+ // helpers that use it (review-L10-593 nit 3: a default parameter read it before
123
+ // its declaration in source order — fine at call time, a reader trap).
124
+ const require = createRequire(import.meta.url);
125
+ /** The gate-hook binary's file name on this host. */
126
+ export const WICKED_CORE_EXE_NAME = process.platform === 'win32' ? 'wicked-core.exe' : 'wicked-core';
127
+ /**
128
+ * The `wicked-core-ts` platform package for this host — the five names `napi-release.yml` publishes
129
+ * (`wicked-core-ts-darwin-arm64`, `-darwin-x64`, `-linux-x64-gnu`, `-linux-arm64-gnu`,
130
+ * `-win32-x64-msvc`); `undefined` for a platform/arch pair no package exists for.
131
+ */
132
+ export function wickedCoreTsPlatformPackage(platform = process.platform, arch = process.arch) {
133
+ const abi = platform === 'darwin' && arch === 'arm64' ? 'darwin-arm64'
134
+ : platform === 'darwin' && arch === 'x64' ? 'darwin-x64'
135
+ : platform === 'linux' && arch === 'x64' ? 'linux-x64-gnu'
136
+ : platform === 'linux' && arch === 'arm64' ? 'linux-arm64-gnu'
137
+ : platform === 'win32' && arch === 'x64' ? 'win32-x64-msvc'
138
+ : undefined;
139
+ return abi === undefined ? undefined : `wicked-core-ts-${abi}`;
140
+ }
141
+ /**
142
+ * The `wicked-core` hook binary BUNDLED inside this install's platform package (core#405, F-009 —
143
+ * FIX-IT-ALL L10-9 crew half; core-ts ≥ 0.7.26 ships it beside the `.node`, stamped
144
+ * `wickedCoreVersion` = the engine semver the addon's gate compares against `--version`). ONE lookup
145
+ * (review-L10-593 nit 2, D2): the resolver's candidate `node_modules` dirs for this module — the
146
+ * same sidestep `installedPackageVersion` uses, because a platform package's exports map may not
147
+ * expose `./package.json` — checked for `<dir>/<pkg>/<exe>`. The binary found is the one that shipped
148
+ * WITH this addon, never a stale copy in the operator's home. `undefined` when no platform package
149
+ * resolves or it carries no binary (a pre-0.7.26 package).
150
+ */
151
+ export function bundledWickedCoreExe(exeName = WICKED_CORE_EXE_NAME, pkg = wickedCoreTsPlatformPackage(), resolvePaths = (id) => require.resolve.paths(id)) {
152
+ if (pkg === undefined)
153
+ return undefined;
154
+ for (const dir of resolvePaths(pkg) ?? []) {
155
+ const p = join(dir, pkg, exeName);
156
+ if (existsSync(p))
157
+ return p;
158
+ }
159
+ return undefined;
160
+ }
118
161
  /** Find the wicked-core standalone binary for the gate-hook command.
119
162
  * Checks common install locations so the Rust actor can build a correct
120
163
  * hook command even when loaded as a napi addon (where current_exe() = node).
164
+ * Order (core#405): the binary bundled in THIS install's platform package first — it shipped with
165
+ * the addon that will check its semver — then the home-dir installs (the stale-copy class: a
166
+ * `.local/bin` symlink once held an old build), the monorepo dev build, PATH. `WICKED_CORE_EXE`
167
+ * set by the operator still wins (the caller only fills it when unset).
121
168
  */
122
169
  function locateWickedCoreExe() {
123
- const exeName = process.platform === 'win32' ? 'wicked-core.exe' : 'wicked-core';
170
+ const exeName = WICKED_CORE_EXE_NAME;
171
+ const bundled = bundledWickedCoreExe(exeName);
172
+ if (bundled !== undefined)
173
+ return bundled;
124
174
  const candidates = [];
125
175
  // User-local install (cargo install / manual).
126
176
  const home = process.env.HOME ?? process.env.USERPROFILE;
@@ -135,14 +185,8 @@ function locateWickedCoreExe() {
135
185
  for (const dir of pathDirs) {
136
186
  candidates.push(join(dir, exeName));
137
187
  }
138
- const { existsSync } = require('node:fs');
139
188
  return candidates.find((p) => existsSync(p));
140
189
  }
141
- // The native addon is a CommonJS cdylib (`index.node`); load it with a CJS
142
- // require even though this daemon is ESM. This module is the ONLY place that
143
- // touches wicked-core-ts (DES-STUDIO-001 §5.2/§5.3), so the FINALIZING
144
- // `subscribe` seam has a blast radius of exactly one file.
145
- const require = createRequire(import.meta.url);
146
190
  const { Core } = require('wicked-core-ts');
147
191
  /**
148
192
  * Does the installed wicked-core-ts addon understand `LaunchOptions.extraWriteRoots` (≥ 0.6.1)?
@@ -176,6 +220,32 @@ function addonSupportsProjectGraph() {
176
220
  * the numeric MAJOR.MINOR.PATCH prefix fixes that, and a second copy of the fix is a second chance
177
221
  * to lose it. No match ⇒ unparseable ⇒ fail closed.
178
222
  */
223
+ /**
224
+ * The wave-3 arms (wicked-core PR-1B `action` / `amendScope`, PR-1D `denial_gate`) need an addon of
225
+ * at least 0.7.27. ONE fail-closed rule for all of them (review-L1-598 M1): a napi call silently
226
+ * DROPS a field the addon does not declare — a `request_changes` would run as a plain reject, an
227
+ * `auto_reject` campaign would `hold` forever exactly when told not to — so a caller that asked for
228
+ * an arm the installed engine lacks is REFUSED with a named reason (the routes answer 409), never
229
+ * served a silent no-op. `null` ⇒ the addon carries the arms. `supported` is injectable so the
230
+ * old-addon path is unit-testable without booting an engine.
231
+ */
232
+ export function armsUnsupportedReason(feature, remedy, supported = addonAtLeast(0, 7, 27)) {
233
+ return supported
234
+ ? null
235
+ : `${feature} needs wicked-core-ts >= 0.7.27 (installed engine is older) — ${remedy}`;
236
+ }
237
+ /** The recogniser the routes map to 409: the engine-too-old refusal above, by its fixed phrase. */
238
+ export const ENGINE_TOO_OLD_RE = /needs wicked-core-ts >= /;
239
+ /**
240
+ * Does the installed engine bench a seat whose ballots fail PERSISTENTLY without a recognised
241
+ * reason (wicked-core #523's unclassified arm, 3D')? From 0.7.27 only. crew deleted its own
242
+ * cross-run bench in the same release (BC-15) on the strength of that arm, and the runtime pin
243
+ * still allows 0.7.26 — so the one place that matters (the daemon's boot log) says which engine it
244
+ * has. `supported` is injectable so the old-engine path is unit-testable without an addon.
245
+ */
246
+ export function engineBenchesUnclassifiedSeats(supported = addonAtLeast(0, 7, 27)) {
247
+ return supported;
248
+ }
179
249
  function addonAtLeast(maj, min, pat) {
180
250
  try {
181
251
  const pkg = require('wicked-core-ts/package.json');
@@ -278,7 +348,10 @@ export const BUILTIN_WORKFLOWS = [
278
348
  phases: [
279
349
  { id: 'triage', kind: 'recon', gate_type: 'value', gate: 'auto', executes_code: false, verified_evidence: false, required_deliverables: [], depends_on: [], role: 'neutral', skill_ref: null, allowed_skills: [], validator_pin: null },
280
350
  { id: 'reproduce', kind: 'test', gate_type: 'value', gate: 'auto', executes_code: false, verified_evidence: false, required_deliverables: [], depends_on: ['triage'], role: 'neutral', skill_ref: null, allowed_skills: [], validator_pin: null },
281
- { id: 'fix', kind: 'build', gate_type: 'execution', gate: 'auto', executes_code: true, verified_evidence: false, required_deliverables: [], depends_on: ['reproduce'], role: 'creator', skill_ref: null, allowed_skills: [], validator_pin: EVIDENCE_FLOOR_PIN },
351
+ // DES-L9 (BC-60, core#432): the retired-behaviour sweep — the SAME literal core's `bug_def()` carries (wicked-core #522); pinned by a test
352
+ // so the two carriers cannot drift. `builtin-overlay-shadow.test.ts` tolerates exactly this one field while core MAIN has not merged #522
353
+ // (crew CI compares this mirror with core main); row 6.9 (the `^0.7.27` pin) removes that tolerance.
354
+ { id: 'fix', kind: 'build', instructions: BUG_FIX_SWEEP_INSTRUCTIONS, gate_type: 'execution', gate: 'auto', executes_code: true, verified_evidence: false, required_deliverables: [], depends_on: ['reproduce'], role: 'creator', skill_ref: null, allowed_skills: [], validator_pin: EVIDENCE_FLOOR_PIN },
282
355
  { id: 'verify', kind: 'test', gate_type: 'execution', gate: { human_confirm_if: 'verdict_not_pass' }, executes_code: false, verified_evidence: true, required_deliverables: [], depends_on: ['fix'], role: 'evaluator', skill_ref: null, allowed_skills: [], validator_pin: EVIDENCE_FLOOR_PIN },
283
356
  ],
284
357
  },
@@ -311,7 +384,7 @@ export const BUILTIN_WORKFLOWS = [
311
384
  {
312
385
  // capture-learnings (DES-MEM-FACETED-001 write side, onboarding): survey a just-indexed repo,
313
386
  // then propose its durable learnings — BOTH faceted MEMORIES and repo POLICIES — as inert estate
314
- // MCP `proposal.submit` proposals a human later reviews.
387
+ // `proposal.submit` proposals (through garden's estate shim) a human later reviews.
315
388
  //
316
389
  // ONE workflow, not four. "Go multi-workflow" is realized as multi-PHASE composition inside a
317
390
  // single governed run, NOT as separate churn-analysis / hotspot-read / derive-memories /
@@ -332,7 +405,7 @@ export const BUILTIN_WORKFLOWS = [
332
405
  // The METHOD lives in the garden skill `wicked-garden-repo-learn`, referenced per-phase by
333
406
  // `skill_ref` — the engine emits only a short `Invoke your skill "wicked-garden:repo-learn"…`
334
407
  // directive and the worker loads SKILL.md from the installed plugin. The bounded git-churn
335
- // sampling, the estate MCP tool names, and the proposal payload schemas that used to sit inline as
408
+ // sampling, the estate tool names (reached through the shim), and the proposal payload schemas that used to sit inline as
336
409
  // ~600-column prose now live in that skill; the inline `instructions` here are a one-line phase
337
410
  // ORIENTATION only. That matters because a governed worker's prompt rides a single PTY line capped
338
411
  // at 1022 bytes (>=1023B is SILENTLY discarded — wicked-core execute_wrapped.rs), and the planner
@@ -340,16 +413,17 @@ export const BUILTIN_WORKFLOWS = [
340
413
  // the line. Crew-only (NOT core-seeded), so the overlay write is the only def the engine resolves
341
414
  // — no core mirror, and deliberately NOT in builtin-overlay-shadow's MIRRORED_IDS.
342
415
  //
343
- // The worker's estate MCP already opens the operator GLOBAL memory store and permits
344
- // `proposal.submit` under `--readonly` (a safe write, provenance server-stamped from WICKED_RUN_*),
416
+ // The shim's `wicked-estate-mcp --readonly` opens the operator GLOBAL memory store and permits
417
+ // `proposal.submit` (a safe write, provenance server-stamped from the WICKED_RUN_* markers on the
418
+ // worker env — DES-L4 PR-③/⑦; there is no CLI-registered estate MCP on the worker any more),
345
419
  // so proposals land in the same queue the studio Memories/Policies surfaces review. Onboarding IS
346
420
  // about the repo, so the skill tags learnings `repo:`/`project:`.
347
421
  id: 'capture-learnings',
348
422
  is_system: true,
349
423
  phases: [
350
424
  { id: 'churn', kind: 'recon', instructions: "Phase 1/3 CHURN: produce a ranked list of this repo's most actively-changed files and directories over the last ~12 months, plus the repo's real name (manifest or git remote) and parent project. Use the skill's bounded/sampled git-churn method — never stream the whole history. Do not read code deeply yet; the next phase targets these areas.", gate_type: 'value', gate: 'auto', executes_code: false, verified_evidence: false, required_deliverables: [], depends_on: [], role: 'neutral', skill_ref: 'wicked-garden-repo-learn', allowed_skills: [], validator_pin: null },
351
- { id: 'hotspots', kind: 'recon', instructions: 'Phase 2/3 HOTSPOTS: cross-reference the prior churn ranking with wicked-estate hotspot / blast-radius signals to find the load-bearing code, then READ it via the estate MCP to build a real technical understanding of how the system fits together — not a file listing. Reuse wicked-garden-search for the hotspot signals; follow the skill.', gate_type: 'value', gate: 'auto', executes_code: false, verified_evidence: false, required_deliverables: [], depends_on: ['churn'], role: 'neutral', skill_ref: 'wicked-garden-repo-learn', allowed_skills: [], validator_pin: null },
352
- { id: 'capture', kind: 'build', instructions: "Phase 3/3 CAPTURE: from the prior churn + hotspot understanding, submit durable learnings as estate MCP proposals per the skill's capture contract — BOTH memories (facts / how-it-works) and policies (enforced conventions), one proposal per item, tagged repo/project. Each is inert until human review; never include secrets or personal data; capturing nothing is acceptable.", gate_type: 'value', gate: 'auto', executes_code: false, verified_evidence: false, required_deliverables: [], depends_on: ['hotspots'], role: 'creator', skill_ref: 'wicked-garden-repo-learn', allowed_skills: [], validator_pin: null },
425
+ { id: 'hotspots', kind: 'recon', instructions: "Phase 2/3 HOTSPOTS: cross-reference the prior churn ranking with wicked-estate hotspot / blast-radius signals to find the load-bearing code, then READ it through the estate shim (`wicked-garden run scripts/_estate_client.py --readonly call …`, the skill's grounding path) to build a real technical understanding of how the system fits together — not a file listing. Reuse wicked-garden-search for the hotspot signals; follow the skill.", gate_type: 'value', gate: 'auto', executes_code: false, verified_evidence: false, required_deliverables: [], depends_on: ['churn'], role: 'neutral', skill_ref: 'wicked-garden-repo-learn', allowed_skills: [], validator_pin: null },
426
+ { id: 'capture', kind: 'build', instructions: "Phase 3/3 CAPTURE: from the prior churn + hotspot understanding, submit durable learnings as estate proposals through the shim's `propose` per the skill's capture contract — BOTH memories (facts / how-it-works) and policies (enforced conventions), one proposal per item, tagged repo/project. Each is inert until human review; never include secrets or personal data; capturing nothing is acceptable.", gate_type: 'value', gate: 'auto', executes_code: false, verified_evidence: false, required_deliverables: [], depends_on: ['hotspots'], role: 'creator', skill_ref: 'wicked-garden-repo-learn', allowed_skills: [], validator_pin: null },
353
427
  ],
354
428
  },
355
429
  {
@@ -691,6 +765,21 @@ export class CoreAdapter {
691
765
  setDeliverApiOrigin(get) {
692
766
  this.deliverApiOrigin = get;
693
767
  }
768
+ /**
769
+ * Called once per run THIS adapter launches OFF the `POST /runs` path — today the onboarding run
770
+ * (`_doOnboardingLaunch`, the one site `POST /repos`, `POST /repos/:id/onboard` and the
771
+ * clone-then-register path all reach; the last is adapter-internal, which is why this cannot live
772
+ * in the routes) — after the engine accepted the launch. `createServer` wires it to
773
+ * `recordRunLaunched`, so those runs gain a `run.launched` trail entry and a `created_at`
774
+ * (crew#496 / studio#230; DES-L8 §5 PR-8B). `null` = a CLI-driven adapter with no daemon:
775
+ * nothing recorded, the pre-field answer. Best-effort: a recorder that throws never fails the
776
+ * launch the engine already accepted.
777
+ */
778
+ onRunLaunched = null;
779
+ /** Hand the adapter the daemon's launch recorder (see `onRunLaunched`). */
780
+ setOnRunLaunched(record) {
781
+ this.onRunLaunched = record;
782
+ }
694
783
  /**
695
784
  * The roster a launch THIS adapter originates should carry — the daemon's roster WITH crew's
696
785
  * standing (`api/roster-standing.ts`) once `createServer` wires it, else the raw registry.
@@ -920,7 +1009,13 @@ export class CoreAdapter {
920
1009
  * signal until the field lands.
921
1010
  */
922
1011
  engineCapabilities() {
923
- return { deliverGate: addonAtLeast(0, 7, 24) };
1012
+ return {
1013
+ deliverGate: addonAtLeast(0, 7, 24),
1014
+ // DES-L9 / crew#550: `LaunchRunBody.revisesPr` needs the engine's `LaunchSpec.base_ref`
1015
+ // (wicked-core-ts ≥ 0.7.27) — an older addon would base on the default branch and push a
1016
+ // duplicate PR, so the route fails closed and the composer hides the affordance.
1017
+ revisesPr: addonAtLeast(0, 7, 27),
1018
+ };
924
1019
  }
925
1020
  /** Launch an interactive, resumable run → the run id. */
926
1021
  async launchRun(input) {
@@ -948,6 +1043,16 @@ export class CoreAdapter {
948
1043
  }
949
1044
  if (input.repoRef !== undefined)
950
1045
  opts.repoRef = input.repoRef;
1046
+ if (input.baseRef !== undefined) {
1047
+ // DES-L9 / crew#550: the revised PR's head branch as the run's base (`LaunchSpec.base_ref`,
1048
+ // wicked-core-ts ≥ 0.7.27). Fail CLOSED on an older addon — napi ignores undeclared fields,
1049
+ // and a run silently based on the default branch would push a DUPLICATE pull request.
1050
+ if (!addonAtLeast(0, 7, 27)) {
1051
+ throw new Error('revisesPr needs wicked-core-ts >= 0.7.27; the installed addon would silently ignore the ' +
1052
+ 'base and the run would open a second pull request instead of revising the first');
1053
+ }
1054
+ opts.baseRef = input.baseRef;
1055
+ }
951
1056
  if (input.projectId !== undefined) {
952
1057
  // Fail CLOSED on an old addon: silently dropping projectId would launch an unfiled run the
953
1058
  // caller believed was filed — the exact failure §2.2 exists to prevent.
@@ -1065,6 +1170,11 @@ export class CoreAdapter {
1065
1170
  composed = composeDeliverWorkflow(composed, input.sessionId, input.problem, {
1066
1171
  repoRef: input.repoRef ?? null,
1067
1172
  apiOrigin: this.deliverApiOrigin?.() ?? null,
1173
+ // DES-L9: the revised PR (push target) and the push identity for the gate card —
1174
+ // GH_ACCOUNT's value and whether GH_TOKEN is exported (presence only, never the value).
1175
+ revisesPr: input.revisesPr ?? null,
1176
+ ghAccount: process.env['GH_ACCOUNT'] ?? null,
1177
+ ghTokenPinned: typeof process.env['GH_TOKEN'] === 'string' && process.env['GH_TOKEN'] !== '',
1068
1178
  });
1069
1179
  }
1070
1180
  }
@@ -1116,9 +1226,23 @@ export class CoreAdapter {
1116
1226
  resumeRun(runId) {
1117
1227
  return this.handedToEngine('run', runId, () => this.core.resumeRun(runId));
1118
1228
  }
1119
- /** Resolve a human gate: approve (optional amend) or reject → the status token. */
1120
- confirmGate(runId, approve, amend) {
1121
- return this.handedToEngine('run', runId, () => this.core.confirmGate(runId, approve, amend));
1229
+ /** Resolve a human gate: approve (optional amend) / request changes / reject → the status token.
1230
+ * (DES-L1 PR-2) `action` and `amendScope` are the 0.7.27 arms: on an older addon a napi call
1231
+ * would silently DROP them — a `request_changes` would run as a plain reject — so they fail
1232
+ * CLOSED on version (the `extraWriteRoots` / `projectGraph` doctrine); absent, the call is the
1233
+ * three-arg one every engine understands. */
1234
+ confirmGate(runId, approve, amend, action, amendScope) {
1235
+ return this.handedToEngine('run', runId, () => {
1236
+ if (action === undefined && amendScope === undefined) {
1237
+ return this.core.confirmGate(runId, approve, amend);
1238
+ }
1239
+ const why = armsUnsupportedReason('the gate arms `action` / `amendScope`', 'approve or reject without them');
1240
+ if (why !== null)
1241
+ throw new Error(why);
1242
+ // The 0.7.27 binding takes the two trailing optionals; typed here until the pin moves.
1243
+ const core = this.core;
1244
+ return core.confirmGate(runId, approve, amend, action, amendScope);
1245
+ });
1122
1246
  }
1123
1247
  /** Cancel a run → the status token. */
1124
1248
  cancelRun(runId) {
@@ -1156,6 +1280,14 @@ export class CoreAdapter {
1156
1280
  * `readOverlayWorkflows` skips the `campaign-` prefix). */
1157
1281
  async launchCampaign(def, workflows = []) {
1158
1282
  const surface = this._campaigns('Launching a campaign');
1283
+ // (review-L1-598 M1) `denial_gate` is a 0.7.27 def field; an older addon's serde IGNORES it and
1284
+ // the operator who asked for `auto_reject` would get `hold` — refuse by name instead (same rule
1285
+ // as the gate arms), before any workflow is armed.
1286
+ if (def.denial_gate !== undefined) {
1287
+ const why = armsUnsupportedReason('the campaign knob `denialGate`', 'launch without it (the engine then holds every escalation gate for a human)');
1288
+ if (why !== null)
1289
+ throw new Error(why);
1290
+ }
1159
1291
  for (const wf of workflows) {
1160
1292
  await this._armCampaignWorkflow(wf);
1161
1293
  }
@@ -1635,6 +1767,17 @@ export class CoreAdapter {
1635
1767
  repoRef: repoId,
1636
1768
  });
1637
1769
  this.repoOnboardRunIds.set(repoId, runId);
1770
+ // The launch record the daemon keeps for every POST /runs launch, for THIS path too (crew#496):
1771
+ // it dates the run (`created_at`) and files it with the others. After the engine accepted the
1772
+ // launch, never before; a failing recorder is logged, not a launch failure.
1773
+ if (this.onRunLaunched !== null) {
1774
+ try {
1775
+ this.onRunLaunched(runId, { workflow: 'onboarding', repoRef: repoId, repoName, deliver: 'none' });
1776
+ }
1777
+ catch (err) {
1778
+ console.warn(`[crew] onboarding run ${runId} launched but its launch record failed (reads undated): ${err instanceof Error ? err.message : String(err)}`);
1779
+ }
1780
+ }
1638
1781
  }
1639
1782
  /**
1640
1783
  * The roster a run of `workflowId` should carry as its seat pool. A workflow whose every phase
@@ -2170,9 +2313,13 @@ export class CoreAdapter {
2170
2313
  delete parsed.deliverDefault;
2171
2314
  }
2172
2315
  // baseSkillRef / baseSkillPolicy (crew#554): the same shapes PUT /settings admits — a string
2173
- // skill name (`""` = off) and `'warn' | 'require'`. A hand-edited anything-else falls back to
2174
- // the shipped default rather than exporting garbage as the engine's `WICKED_BASE_SKILL_REF`
2175
- // (which would refuse every launch at intake by a name nobody typed).
2316
+ // skill name (`""` = off) and `'require'`, the ONLY policy. A hand-edited baseSkillRef of any
2317
+ // other shape falls back to the shipped default rather than exporting garbage as the engine's
2318
+ // `WICKED_BASE_SKILL_REF` (which would refuse every launch at intake by a name nobody typed).
2319
+ // baseSkillPolicy is different: the `'warn'` rung is DELETED, not disabled (DES-L4 PR-⑧, D-8b),
2320
+ // and a settings.json written by crew ≤ 0.7.34 carries `warn` once its first PUT /settings
2321
+ // merged the old default into the file. That value is REFUSED by name, loudly — the daemon must
2322
+ // never boot reporting `warn` while behaving `require` — and the shipped default applies.
2176
2323
  if ('baseSkillRef' in parsed) {
2177
2324
  const r = parsed.baseSkillRef;
2178
2325
  if (typeof r !== 'string' || !BASE_SKILL_REF_SHAPE.test(r.trim()))
@@ -2180,8 +2327,14 @@ export class CoreAdapter {
2180
2327
  }
2181
2328
  if ('baseSkillPolicy' in parsed) {
2182
2329
  const p = parsed.baseSkillPolicy;
2183
- if (p !== 'warn' && p !== 'require')
2330
+ if (p !== 'require') {
2184
2331
  delete parsed.baseSkillPolicy;
2332
+ console.error(`[settings] refused baseSkillPolicy ${JSON.stringify(p)} in ${settingsFilePath()}: 'require' is the ` +
2333
+ `only accepted value. The 'warn' rung was deleted in crew 0.7.35 — it ran seats UNGROUNDED — and a ` +
2334
+ `settings.json written by an earlier crew carries it once PUT /settings merged the old default in. ` +
2335
+ `The daemon reads 'require' (the base skill is required at intake); remove the key from the file, ` +
2336
+ `or set baseSkillRef "" to turn the base skill off explicitly. Nothing else in settings.json is affected.`);
2337
+ }
2185
2338
  }
2186
2339
  // Skin-owned `studio.*` blobs (crew#325): the same per-key cap the PUT /settings route
2187
2340
  // enforces. The write cap alone cannot hold it — `updateSettings` reads through here, so a