@orkestrel/scaffold 0.0.49 → 0.0.50

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.
@@ -22,7 +22,7 @@
22
22
  "storage": "agents/orchestration.md",
23
23
  "destination": ".agents/orchestration.md",
24
24
  "executable": false,
25
- "digest": "b60e6a415a925c2180a272614ef3cbb76ba983ce42e67e35d3d9252d75f4d51f"
25
+ "digest": "c8e9931f5cf30d0a5a94ea2a3008904b5833cd534036680ea0fd9618c64d6f54"
26
26
  },
27
27
  {
28
28
  "storage": "agents/skills/enterprise-bootstrap/SKILL.md",
@@ -268,7 +268,7 @@
268
268
  "storage": "claude/agents/orkestrel.md",
269
269
  "destination": ".claude/agents/orkestrel.md",
270
270
  "executable": false,
271
- "digest": "77480937c601404b11bb8b278ae962bd647f070b71882cf22a61a15af2b9f62e"
271
+ "digest": "dc6f528f27980569650b5d8fb3ec21e7adfd50eb815f1c0a4f48bf001b816707"
272
272
  },
273
273
  {
274
274
  "storage": "claude/agents/planner.md",
@@ -358,7 +358,7 @@
358
358
  "storage": "claude/rules/tests.md",
359
359
  "destination": ".claude/rules/tests.md",
360
360
  "executable": false,
361
- "digest": "4b4771652eb802b1bbac690f5a4aa4793e443d93fff70838853ec6cb45bdce16"
361
+ "digest": "6830aafb605cb7123c682b09a0b7cb8fbbb8d62437ac136c9c91d88b7c79149c"
362
362
  },
363
363
  {
364
364
  "storage": "claude/rules/typescript.md",
@@ -604,7 +604,7 @@
604
604
  "storage": "guides/scaffold.md",
605
605
  "destination": "guides/scaffold.md",
606
606
  "executable": false,
607
- "digest": "f9e174b1ef9bed763ccd2b4af73f041aebb766f889c48f086fbe538ed8e6e4fd"
607
+ "digest": "b3dec011e6ed02398d162ed2f5c83b1ffbdc834f4d2507f4a216bbe01cf0630f"
608
608
  },
609
609
  {
610
610
  "storage": "scripts/codex.sh",
@@ -634,7 +634,7 @@
634
634
  "storage": "tests/config.test.ts",
635
635
  "destination": "tests/config.test.ts",
636
636
  "executable": false,
637
- "digest": "c48dd9b1e4bdc03d058443846bef824ff2130f9f68fccf2690dfa5af954703c4"
637
+ "digest": "2627f98c2caf3c6a75f4c4659df41191054154ed36d8429c7c6b5c53284a91bf"
638
638
  },
639
639
  {
640
640
  "storage": "tests/policy.test.ts",
@@ -688,5 +688,5 @@
688
688
  ".codex/agents",
689
689
  ".cursor/rules"
690
690
  ],
691
- "digest": "41556ba3ebba126ae600a6e2e7f32cbd208f20f00fa14b7e9ec21f5554802c89"
691
+ "digest": "d9f1ee5c68e28ef445b74e697d0ce13e7a3dd201911962b77a685b1d29c88c80"
692
692
  }
File without changes
File without changes
File without changes
File without changes
@@ -152,11 +152,10 @@ describe('root configuration', () => {
152
152
  pool: 'threads',
153
153
  setup: ['./tests/setup.ts'],
154
154
  })
155
- // A row that is a configuration rather than a factory. A workspace with a
156
- // browser application emits one, because that factory refuses overrides and
157
- // so is not a value Vitest may call. It is required here, in a workspace that
158
- // has no browser application, so this proof exercises that resolution
159
- // wherever it runs instead of only where the shape happens to occur.
155
+ // A row that is a configuration rather than a factory. Every generated
156
+ // workspace registers the factory itself, so this shape is required here
157
+ // rather than observed: the proof exercises that resolution wherever it runs
158
+ // instead of only where a hand-written configuration happens to produce it.
160
159
  expected.set('concrete', { include: 'tests/concrete.test.ts', setup: ['./tests/setup.ts'] })
161
160
 
162
161
  const projects = configuration.test?.projects
@@ -297,6 +296,28 @@ describe('root configuration', () => {
297
296
  }).toThrow(/strictly equal/u)
298
297
  })
299
298
 
299
+ it('emits every project as a factory so the release mode reaches its proof', () => {
300
+ const projects = configuration.test?.projects
301
+ if (!Array.isArray(projects)) throw new Error('The root configuration carries no projects')
302
+ if (projects.length === 0) throw new Error('The root configuration registers no project')
303
+ // Measured: with `--mode release` on the command line, `import.meta.env.MODE` reads
304
+ // `release` inside a project Vitest calls and `test` inside an inline project
305
+ // configuration. `prepublishOnly` runs the distribution proof with `--mode release`, and
306
+ // that proof fails rather than skips only when it reads `release`, so converting these
307
+ // entries to inline configurations turns the publish gate into a skip while every suite
308
+ // stays green. The control is that conversion applied to one entry.
309
+ const inline = {
310
+ test: {
311
+ name: { label: 'inline' },
312
+ include: ['tests/inline.test.ts'],
313
+ setupFiles: ['./tests/setup.ts'],
314
+ },
315
+ }
316
+ const callable = projects.concat(inline).filter((entry) => typeof entry === 'function')
317
+ for (const entry of projects) expect(callable).toContain(entry)
318
+ expect(callable).not.toContain(inline)
319
+ })
320
+
300
321
  it('requires and validates every selected target wrapper', async () => {
301
322
  const required: string[] = []
302
323
  for (const axis of ['src', 'app']) {