@orkestrel/scaffold 0.0.109 → 0.0.111

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 (51) hide show
  1. package/dist/agents/templates/brief.md +5 -1
  2. package/dist/bin/main.js +1 -1
  3. package/dist/bin/main.js.map +1 -1
  4. package/dist/host/agents/orchestration.md +45 -39
  5. package/dist/host/agents/platforms/windows.md +5 -0
  6. package/dist/host/agents/skills/orkestrel-dispatch/SKILL.md +6 -6
  7. package/dist/host/agents/skills/orkestrel-dispatch/references/launch.md +1 -1
  8. package/dist/host/agents/skills/orkestrel-falsify/SKILL.md +4 -4
  9. package/dist/host/agents/skills/orkestrel-falsify/references/brief.md +1 -0
  10. package/dist/host/agents/skills/orkestrel-falsify/references/reconcile.md +1 -0
  11. package/dist/host/agents/skills/orkestrel-harden/SKILL.md +18 -15
  12. package/dist/host/agents/skills/orkestrel-harden/references/hardening.md +27 -15
  13. package/dist/host/agents/skills/orkestrel-journey/SKILL.md +4 -0
  14. package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +5 -5
  15. package/dist/host/agents/skills/orkestrel-parallel/references/cloud.md +28 -0
  16. package/dist/host/agents/skills/orkestrel-parallel/references/t3.md +13 -13
  17. package/dist/host/agents/skills/orkestrel-publish/references/wave.md +3 -1
  18. package/dist/host/agents/skills/orkestrel-publish/references/window.md +1 -1
  19. package/dist/host/agents/templates/brief.md +5 -1
  20. package/dist/host/agents/transports/codex.md +1 -1
  21. package/dist/host/claude/AGENTS.md +1 -2
  22. package/dist/host/claude/agents/astra.md +2 -2
  23. package/dist/host/claude/agents/builder.md +3 -2
  24. package/dist/host/claude/agents/opus.md +2 -2
  25. package/dist/host/claude/agents/reviewer.md +2 -2
  26. package/dist/host/claude/agents/verifier.md +1 -1
  27. package/dist/host/claude/rules/campaign.md +1 -0
  28. package/dist/host/claude/rules/quality.md +3 -1
  29. package/dist/host/claude/rules/tests.md +11 -1
  30. package/dist/host/claude/rules/workspace.md +7 -8
  31. package/dist/host/claude/skills/orkestrel-harden/SKILL.md +1 -1
  32. package/dist/host/codex/agents/astra.toml +8 -4
  33. package/dist/host/codex/agents/builder.toml +3 -3
  34. package/dist/host/codex/agents/opus.toml +4 -3
  35. package/dist/host/codex/agents/reviewer.toml +2 -2
  36. package/dist/host/codex/agents/verifier.toml +3 -3
  37. package/dist/host/codex/config.toml +1 -1
  38. package/dist/host/cursor/rules/orchestration.mdc +1 -1
  39. package/dist/host/dotfiles/oxlintrc.json +1 -1
  40. package/dist/host/guides/scaffold.md +5 -5
  41. package/dist/host/manifest.json +46 -40
  42. package/dist/host/tests/config.test.ts +9 -2
  43. package/dist/host/tests/policy.test.ts +38 -0
  44. package/dist/host/tests/setupPolicy.ts +361 -8
  45. package/dist/src/core/index.cjs +10 -6
  46. package/dist/src/core/index.cjs.map +1 -1
  47. package/dist/src/core/index.d.cts +5 -3
  48. package/dist/src/core/index.d.ts +5 -3
  49. package/dist/src/core/index.js +10 -6
  50. package/dist/src/core/index.js.map +1 -1
  51. package/package.json +1 -1
@@ -39,6 +39,7 @@ import { stripPolicyCode, textToPolicyHits } from '../configs/policy.js'
39
39
  /** Names a rule the fleet sweep decides from workspace text and paths. */
40
40
  export type PolicyRule =
41
41
  | 'bridge'
42
+ | 'dist'
42
43
  | 'mirror'
43
44
  | 'portability'
44
45
  | 'prose'
@@ -906,6 +907,12 @@ export const POLICY_SUPPRESSION_GLOB: readonly string[] = Object.freeze([
906
907
  '.agents/skills/*/scripts/*.ts',
907
908
  ])
908
909
 
910
+ /** Matches the TypeScript files inspected for an import that resolves into the built output. */
911
+ export const POLICY_DIST_GLOB = '{src,app,tests,configs}/**/*.{cts,mts,ts,tsx}'
912
+
913
+ /** Names the workspace-relative directory the build writes and no tracked TypeScript imports. */
914
+ export const POLICY_DIST_ROOT = 'dist'
915
+
909
916
  /**
910
917
  * Matches the instruction, configuration, and root text files the text sweep reads beside the
911
918
  * authored Markdown and the suppression population.
@@ -2413,12 +2420,49 @@ export function inspectSkillImports(
2413
2420
  })
2414
2421
  }
2415
2422
 
2423
+ /**
2424
+ * Reads the text of a specifier source that names one literally.
2425
+ *
2426
+ * @remarks
2427
+ * A string literal names its value, and a template literal with no substitution names its cooked
2428
+ * text, which TypeScript resolves the same way. Any other source, a template literal with a
2429
+ * substitution included, names nothing.
2430
+ *
2431
+ * @param source - The `source` node of a declaration or an `import()` expression.
2432
+ * @returns The literal specifier, or `undefined` when the source is computed.
2433
+ */
2434
+ export function readPolicyLiteral(source: unknown): string | undefined {
2435
+ if (!isPolicyRecord(source)) return undefined
2436
+ const value: unknown = Object.getOwnPropertyDescriptor(source, 'value')?.value
2437
+ if (typeof value === 'string') return value
2438
+ const expressions: unknown = Object.getOwnPropertyDescriptor(source, 'expressions')?.value
2439
+ const quasis: unknown = Object.getOwnPropertyDescriptor(source, 'quasis')?.value
2440
+ if (
2441
+ Object.getOwnPropertyDescriptor(source, 'type')?.value !== 'TemplateLiteral' ||
2442
+ !Array.isArray(expressions) ||
2443
+ expressions.length > 0 ||
2444
+ !Array.isArray(quasis) ||
2445
+ quasis.length !== 1
2446
+ ) {
2447
+ return undefined
2448
+ }
2449
+ const [quasi]: readonly unknown[] = quasis
2450
+ const text: unknown = isPolicyRecord(quasi)
2451
+ ? Object.getOwnPropertyDescriptor(quasi, 'value')?.value
2452
+ : undefined
2453
+ const cooked: unknown = isPolicyRecord(text)
2454
+ ? Object.getOwnPropertyDescriptor(text, 'cooked')?.value
2455
+ : undefined
2456
+ return typeof cooked === 'string' ? cooked : undefined
2457
+ }
2458
+
2416
2459
  /**
2417
2460
  * Collects every module specifier a syntax tree names, in source order.
2418
2461
  *
2419
2462
  * @remarks
2420
2463
  * A specifier is the literal source of an `import` or `export … from` declaration, or of an
2421
- * `import()` expression anywhere in the tree. An `import()` whose source is no literal names none.
2464
+ * `import()` expression anywhere in the tree, a template literal with no substitution included. An
2465
+ * `import()` whose source is computed names none.
2422
2466
  *
2423
2467
  * @param node - The syntax tree, or any node or list of nodes within it.
2424
2468
  * @returns Each literal specifier the tree names.
@@ -2427,12 +2471,9 @@ export function collectPolicySpecifiers(node: unknown): readonly string[] {
2427
2471
  if (Array.isArray(node)) return node.flatMap((child: unknown) => collectPolicySpecifiers(child))
2428
2472
  if (!isPolicyRecord(node)) return []
2429
2473
  const type: unknown = Object.getOwnPropertyDescriptor(node, 'type')?.value
2430
- const source: unknown = Object.getOwnPropertyDescriptor(node, 'source')?.value
2431
- const value: unknown = isPolicyRecord(source)
2432
- ? Object.getOwnPropertyDescriptor(source, 'value')?.value
2433
- : undefined
2474
+ const value = readPolicyLiteral(Object.getOwnPropertyDescriptor(node, 'source')?.value)
2434
2475
  return [
2435
- ...(typeof value === 'string' &&
2476
+ ...(value !== undefined &&
2436
2477
  (type === 'ImportDeclaration' ||
2437
2478
  type === 'ExportAllDeclaration' ||
2438
2479
  type === 'ExportNamedDeclaration' ||
@@ -2443,6 +2484,117 @@ export function collectPolicySpecifiers(node: unknown): readonly string[] {
2443
2484
  ]
2444
2485
  }
2445
2486
 
2487
+ /** Names the asset extensions `vite/client` types through an ambient wildcard declaration. */
2488
+ export const POLICY_ASSET_EXTENSIONS: ReadonlySet<string> = new Set([
2489
+ '.css',
2490
+ '.scss',
2491
+ '.sass',
2492
+ '.less',
2493
+ '.styl',
2494
+ '.stylus',
2495
+ '.pcss',
2496
+ '.sss',
2497
+ '.apng',
2498
+ '.bmp',
2499
+ '.png',
2500
+ '.jpg',
2501
+ '.jpeg',
2502
+ '.jfif',
2503
+ '.pjpeg',
2504
+ '.pjp',
2505
+ '.gif',
2506
+ '.svg',
2507
+ '.ico',
2508
+ '.webp',
2509
+ '.avif',
2510
+ '.cur',
2511
+ '.jxl',
2512
+ '.mp4',
2513
+ '.webm',
2514
+ '.ogg',
2515
+ '.mp3',
2516
+ '.wav',
2517
+ '.flac',
2518
+ '.aac',
2519
+ '.opus',
2520
+ '.mov',
2521
+ '.m4a',
2522
+ '.vtt',
2523
+ '.woff',
2524
+ '.woff2',
2525
+ '.eot',
2526
+ '.ttf',
2527
+ '.otf',
2528
+ '.webmanifest',
2529
+ '.pdf',
2530
+ '.txt',
2531
+ '.wasm',
2532
+ ])
2533
+
2534
+ /**
2535
+ * Tells whether the type check resolves a relative specifier as a module on disk.
2536
+ *
2537
+ * @remarks
2538
+ * Every relative specifier resolves on disk (a script, a declaration, a `.json` file under
2539
+ * `resolveJsonModule`, or a dotted name the bundler resolution completes) unless an ambient wildcard
2540
+ * declaration types it: a specifier with a query or a fragment, or one whose final segment ends in an
2541
+ * asset extension `vite/client` declares.
2542
+ *
2543
+ * @param specifier - The relative import specifier.
2544
+ * @returns True when the type check resolves the specifier as a module on disk.
2545
+ */
2546
+ export function isPolicyCodeSpecifier(specifier: string): boolean {
2547
+ if (/[?#]/u.test(specifier)) return false
2548
+ const segment = specifier.slice(specifier.lastIndexOf('/') + 1)
2549
+ const dot = segment.lastIndexOf('.')
2550
+ return dot <= 0 || !POLICY_ASSET_EXTENSIONS.has(segment.slice(dot).toLowerCase())
2551
+ }
2552
+
2553
+ /**
2554
+ * Inspects the tracked TypeScript for an import that resolves into the workspace's built output.
2555
+ *
2556
+ * @remarks
2557
+ * `npm run check` runs before `npm run build`, so a clean clone holds no `dist/` for such an import to
2558
+ * resolve. Each relative specifier of a static `import`, an `export … from`, and an `import()` with a
2559
+ * literal source, a template literal with no substitution included, resolves against its file's
2560
+ * directory. An `import()` with a computed source names no specifier and is left out. A file the parser refuses reports a violation, because its
2561
+ * specifiers cannot be read.
2562
+ *
2563
+ * @param root - The workspace root to inspect.
2564
+ * @returns One violation per import into `dist/`, and one per unparsed file, in path order.
2565
+ */
2566
+ export function inspectPolicyDist(root: string): readonly PolicyViolation[] {
2567
+ // A specifier TypeScript types through an ambient wildcard declaration (an asset with a query or a
2568
+ // non-code extension, such as a built sheet read `?raw`) never resolves on disk during the check.
2569
+ return globSync(POLICY_DIST_GLOB, { cwd: root })
2570
+ .map(normalizePolicyPath)
2571
+ .sort()
2572
+ .flatMap((path) => {
2573
+ const source = parseSync(path, readFileSync(join(root, path), 'utf8'))
2574
+ const [failure] = source.errors
2575
+ if (failure !== undefined) {
2576
+ return [
2577
+ createPolicyViolation('dist', path, `tracked TypeScript parses: ${failure.message}`),
2578
+ ]
2579
+ }
2580
+ const directory = dirname(join(root, path))
2581
+ return collectPolicySpecifiers(source.program)
2582
+ .filter((specifier) => specifier.startsWith('.') && isPolicyCodeSpecifier(specifier))
2583
+ .flatMap((specifier) => {
2584
+ const target = normalizePolicyPath(relativePath(root, resolve(directory, specifier)))
2585
+ return target === POLICY_DIST_ROOT || target.startsWith(`${POLICY_DIST_ROOT}/`)
2586
+ ? [
2587
+ createPolicyViolation(
2588
+ 'dist',
2589
+ path,
2590
+ `tracked TypeScript imports nothing from dist, which exists only after npm run build: ${specifier}`,
2591
+ ),
2592
+ ]
2593
+ : []
2594
+ })
2595
+ })
2596
+ }
2597
+
2446
2598
  /**
2447
2599
  * Inspects one skill script proof for an import of a skill file other than the script it proves.
2448
2600
  *
@@ -3640,13 +3792,14 @@ export function inspectPolicySurface(root: string): readonly PolicyViolation[] {
3640
3792
  * Inspects every policy rule across one workspace.
3641
3793
  *
3642
3794
  * @param root - The workspace root to inspect.
3643
- * @returns Every mirror, suppression, text, skill, bridge, portability, prose, and surface
3644
- * violation.
3795
+ * @returns Every mirror, suppression, dist import, text, skill, bridge, portability, prose, and
3796
+ * surface violation.
3645
3797
  */
3646
3798
  export function inspectPolicyWorkspace(root: string): readonly PolicyViolation[] {
3647
3799
  return [
3648
3800
  ...inspectPolicyMirrors(root),
3649
3801
  ...inspectPolicySuppressions(root),
3802
+ ...inspectPolicyDist(root),
3650
3803
  ...inspectPolicyText(root),
3651
3804
  ...inspectSkillFamily(root),
3652
3805
  ...inspectSkillBridges(root),
@@ -5018,6 +5171,206 @@ export const PORTABILITY_POLICY_CONTROLS: readonly PolicyControl[] = Object.free
5018
5171
  },
5019
5172
  ])
5020
5173
 
5174
+ /**
5175
+ * Holds the message prefix a dist-import violation carries, written out so the controls read the
5176
+ * production message from a second copy.
5177
+ */
5178
+ export const DIST_POLICY_MESSAGE =
5179
+ 'tracked TypeScript imports nothing from dist, which exists only after npm run build'
5180
+
5181
+ /**
5182
+ * Lists the physical controls for every import into the built output the workspace route refuses
5183
+ * and admits.
5184
+ *
5185
+ * @remarks
5186
+ * Each refusal sits beside an admission drawn from outside its population, so a sweep that reports
5187
+ * nothing because it read nothing fails a refusal. The admissions cover a specifier the rule does
5188
+ * not read, a path that only resembles the output directory, and a directory the rule does not walk.
5189
+ */
5190
+ export const DIST_POLICY_CONTROLS: readonly PolicyControl[] = Object.freeze([
5191
+ {
5192
+ label: 'rejects a static import that resolves into dist',
5193
+ membership: 'static import specifiers of source, app, test, and config TypeScript',
5194
+ rule: 'dist',
5195
+ files: [
5196
+ {
5197
+ path: 'tests/src/server/control.ts',
5198
+ content:
5199
+ "import { createServer } from '../../../dist/src/server/index.js'\nvoid createServer\n",
5200
+ },
5201
+ ],
5202
+ violations: [
5203
+ {
5204
+ rule: 'dist',
5205
+ path: 'tests/src/server/control.ts',
5206
+ message: `${DIST_POLICY_MESSAGE}: ../../../dist/src/server/index.js`,
5207
+ },
5208
+ ],
5209
+ },
5210
+ {
5211
+ label: 'rejects a type import that resolves into dist',
5212
+ membership: 'static import specifiers of source, app, test, and config TypeScript',
5213
+ rule: 'dist',
5214
+ files: [
5215
+ {
5216
+ path: 'configs/control.ts',
5217
+ content:
5218
+ "import type { Sample } from '../dist/src/core/index.js'\nexport type Held = Sample\n",
5219
+ },
5220
+ ],
5221
+ violations: [
5222
+ {
5223
+ rule: 'dist',
5224
+ path: 'configs/control.ts',
5225
+ message: `${DIST_POLICY_MESSAGE}: ../dist/src/core/index.js`,
5226
+ },
5227
+ ],
5228
+ },
5229
+ {
5230
+ label: 'rejects a re-export that resolves into dist',
5231
+ membership: 'export-from specifiers of source, app, test, and config TypeScript',
5232
+ rule: 'dist',
5233
+ files: [
5234
+ {
5235
+ path: 'src/core/control.ts',
5236
+ content: "export * from '../../dist/src/core/index.js'\n",
5237
+ },
5238
+ ],
5239
+ violations: [
5240
+ {
5241
+ rule: 'dist',
5242
+ path: 'src/core/control.ts',
5243
+ message: `${DIST_POLICY_MESSAGE}: ../../dist/src/core/index.js`,
5244
+ },
5245
+ ],
5246
+ },
5247
+ {
5248
+ label: 'rejects a dynamic import with a literal specifier that resolves into dist',
5249
+ membership: 'import() expressions with a string-literal source',
5250
+ rule: 'dist',
5251
+ files: [
5252
+ {
5253
+ path: 'app/server/control.ts',
5254
+ content: "export const load = () => import('../../dist/app/server/main.js')\n",
5255
+ },
5256
+ ],
5257
+ violations: [
5258
+ {
5259
+ rule: 'dist',
5260
+ path: 'app/server/control.ts',
5261
+ message: `${DIST_POLICY_MESSAGE}: ../../dist/app/server/main.js`,
5262
+ },
5263
+ ],
5264
+ },
5265
+ {
5266
+ label: 'rejects a dynamic import whose template literal has no substitution',
5267
+ membership: 'import() expressions with a template-literal source and no substitution',
5268
+ rule: 'dist',
5269
+ files: [
5270
+ {
5271
+ path: 'app/server/control.ts',
5272
+ content: 'export const load = () => import(`../../dist/app/server/main.js`)\n',
5273
+ },
5274
+ ],
5275
+ violations: [
5276
+ {
5277
+ rule: 'dist',
5278
+ path: 'app/server/control.ts',
5279
+ message: `${DIST_POLICY_MESSAGE}: ../../dist/app/server/main.js`,
5280
+ },
5281
+ ],
5282
+ },
5283
+ {
5284
+ label: 'admits a dynamic import with a computed specifier',
5285
+ membership: 'import() expressions with a computed source',
5286
+ rule: 'dist',
5287
+ files: [
5288
+ {
5289
+ path: 'src/core/control.ts',
5290
+ content:
5291
+ "const entry = '../../dist/src/core/index.js'\nexport const load = () => import(entry)\nexport const select = (name: string) => import(`../../dist/${name}.js`)\n",
5292
+ },
5293
+ ],
5294
+ violations: [],
5295
+ },
5296
+ {
5297
+ label: 'admits a package specifier and a dist path held only as text',
5298
+ membership: 'specifiers the rule resolves, beside strings and comments it does not read',
5299
+ rule: 'dist',
5300
+ files: [
5301
+ {
5302
+ path: 'tests/control.ts',
5303
+ content:
5304
+ "// import '../dist/src/core/index.js'\nimport { it } from 'vitest'\nexport const path = '../dist/src/core/index.js'\nvoid it\n",
5305
+ },
5306
+ ],
5307
+ violations: [],
5308
+ },
5309
+ {
5310
+ label: 'admits a dist directory that is not the workspace output',
5311
+ membership: 'relative specifiers that resolve outside the root dist directory',
5312
+ rule: 'dist',
5313
+ files: [
5314
+ {
5315
+ path: 'src/core/control.ts',
5316
+ content:
5317
+ "import './dist/index.js'\nimport '../distribution/index.js'\nimport '../../../sibling/dist/index.js'\n",
5318
+ },
5319
+ ],
5320
+ violations: [],
5321
+ },
5322
+ {
5323
+ label: 'admits an import into dist from a directory the rule does not walk',
5324
+ membership: 'TypeScript outside src, app, tests, and configs',
5325
+ rule: 'dist',
5326
+ files: [
5327
+ {
5328
+ path: 'scripts/control.ts',
5329
+ content: "import '../dist/src/core/index.js'\n",
5330
+ },
5331
+ ],
5332
+ violations: [],
5333
+ },
5334
+ {
5335
+ label: 'rejects a JSON import and a dotted extensionless import that resolve into dist',
5336
+ membership:
5337
+ 'specifiers the type check reads from disk under resolveJsonModule and bundler resolution',
5338
+ rule: 'dist',
5339
+ files: [
5340
+ {
5341
+ path: 'tests/src/core/control.ts',
5342
+ content:
5343
+ "import meta from '../../../dist/meta.json'\nimport config from '../../../dist/configs/vite.journey.config'\nvoid meta\nvoid config\n",
5344
+ },
5345
+ ],
5346
+ violations: [
5347
+ {
5348
+ rule: 'dist',
5349
+ path: 'tests/src/core/control.ts',
5350
+ message: `${DIST_POLICY_MESSAGE}: ../../../dist/meta.json`,
5351
+ },
5352
+ {
5353
+ rule: 'dist',
5354
+ path: 'tests/src/core/control.ts',
5355
+ message: `${DIST_POLICY_MESSAGE}: ../../../dist/configs/vite.journey.config`,
5356
+ },
5357
+ ],
5358
+ },
5359
+ {
5360
+ label: 'admits a built asset an ambient declaration types',
5361
+ membership: 'specifiers with a query or a non-code extension',
5362
+ rule: 'dist',
5363
+ files: [
5364
+ {
5365
+ path: 'tests/src/styles/index.test.ts',
5366
+ content:
5367
+ "import sheet from '../../../dist/src/styles/index.css?raw'\nimport icon from '../../../dist/src/icon.svg'\nvoid sheet\nvoid icon\n",
5368
+ },
5369
+ ],
5370
+ violations: [],
5371
+ },
5372
+ ])
5373
+
5021
5374
  /**
5022
5375
  * Holds the message prefix a text violation carries, written out so the controls read the
5023
5376
  * production message from a second copy.
@@ -4,7 +4,7 @@ let _orkestrel_template = require("@orkestrel/template");
4
4
  let _orkestrel_emitter = require("@orkestrel/emitter");
5
5
  var package_default = {
6
6
  name: "@orkestrel/scaffold",
7
- version: "0.0.109",
7
+ version: "0.0.111",
8
8
  description: "Scaffold workspaces with commands: new, audit, repair, catalog, and overwrite.",
9
9
  keywords: [
10
10
  "audit",
@@ -681,7 +681,7 @@ var BASE_DEV_DEPENDENCIES = Object.freeze({
681
681
  var TOOLCHAIN_HOLDS = Object.freeze({ typescript: Object.freeze({
682
682
  framework: "vue",
683
683
  range: "^6.0.3",
684
- reason: "Vue workspaces require TypeScript 6.0.3 because no stable vue-tsc runs on TypeScript 7: @volar/typescript@2.4.30 declares peer typescript <7, and the TypeScript 7.0 announcement directs Vue projects to stay on TypeScript 6.0"
684
+ reason: "Vue workspaces require TypeScript 6.0.3 because no stable vue-tsc runs on TypeScript 7: vue-tsc resolves typescript/lib/tsc, which TypeScript 7.0.2 does not export, and the TypeScript 7.0 announcement directs Vue projects to stay on TypeScript 6.0"
685
685
  }) });
686
686
  /**
687
687
  * Lists the development dependencies that roll declarations up for published source.
@@ -1314,6 +1314,8 @@ export function appJourney(
1314
1314
  browser: {
1315
1315
  ...browser.test?.browser,
1316
1316
  enabled: true,
1317
+ // The runner UI CSS-scales the tester iframe, which scales observer root bounds and margins.
1318
+ ui: false,
1317
1319
  viewport: { width: variant.width, height: variant.height },
1318
1320
  instances: (browser.test?.browser?.instances ?? []).map(
1319
1321
  ({ name: _name, ...instance }) => instance,
@@ -4704,8 +4706,8 @@ skill itself ships with that package. Read the canonical \`SKILL.md\` completely
4704
4706
 
4705
4707
  Resolve every path the canonical skill names against the same root; under \`node_modules\` each
4706
4708
  segment drops its opening dot. Run a script the skill names through its built twin, as this
4707
- repository's \`AGENTS.md\` states. This pointer carries no process of its own; \`AGENTS.md\`, the applicable
4708
- rules, and the canonical skill remain authoritative in that order.
4709
+ repository's \`AGENTS.md\` states. This pointer carries no process of its own; the authority order is
4710
+ \`.agents/orchestration.md\` § Authority.
4709
4711
  `,
4710
4712
  service: `#!/usr/bin/env sh
4711
4713
  set -eu
@@ -7152,7 +7154,9 @@ function blueprintToScripts(blueprint) {
7152
7154
  *
7153
7155
  * `accepted` carries each generated predecessor the region can replace. The
7154
7156
  * guides entry accepts the generated command that invoked the guides project
7155
- * through Vitest alone. The pack hook accepts the build chain emitted before it
7157
+ * through Vitest alone. The benchmark entry accepts the one command that ran the
7158
+ * `probe` project through `vitest bench`, before the dedicated bench project
7159
+ * existed. The pack hook accepts the build chain emitted before it
7156
7160
  * delegated to `build`. The publication hook accepts the same gate chain without
7157
7161
  * {@link RELEASE_PROOF_COMMAND}. A workspace carrying studies also accepts the
7158
7162
  * chain without its study step and the chain without both its study step and
@@ -7182,7 +7186,7 @@ function blueprintToWritableScripts(blueprint) {
7182
7186
  return [{
7183
7187
  name,
7184
7188
  command,
7185
- accepted: name === "test:guides" ? ["vitest run --config vite.config.ts --no-cache --reporter=dot --project guides"] : name === "build:src:styles" && blueprint.themes ? ["vite build --config configs/src/vite.styles.config.ts"] : sheets.some((face) => name === `test:src:${face}`) ? [command.slice(command.indexOf(" && ") + 4)] : []
7189
+ accepted: name === "test:guides" ? ["vitest run --config vite.config.ts --no-cache --reporter=dot --project guides"] : name === "test:bench" ? ["vitest bench --config vite.config.ts --no-cache --project probe"] : name === "build:src:styles" && blueprint.themes ? ["vite build --config configs/src/vite.styles.config.ts"] : sheets.some((face) => name === `test:src:${face}`) ? [command.slice(command.indexOf(" && ") + 4)] : []
7186
7190
  }];
7187
7191
  });
7188
7192
  const prepack = scripts.prepack;