@orkestrel/scaffold 0.0.119 → 0.0.120

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 (49) hide show
  1. package/dist/bin/main.js +15 -15
  2. package/dist/bin/main.js.map +1 -1
  3. package/dist/host/agents/skills/orkestrel-journey/references/layer.md +10 -10
  4. package/dist/host/agents/skills/orkestrel-journey/references/statechart.md +1 -1
  5. package/dist/host/agents/skills/orkestrel-journey/references/styles.md +3 -3
  6. package/dist/host/claude/agents/orkestrel.md +27 -26
  7. package/dist/host/claude/rules/tests.md +2 -2
  8. package/dist/host/claude/rules/typescript.md +2 -3
  9. package/dist/host/guides/abort.md +0 -4
  10. package/dist/host/guides/budget.md +1 -5
  11. package/dist/host/guides/codec.md +18 -3
  12. package/dist/host/guides/contract.md +23 -44
  13. package/dist/host/guides/csv.md +86 -93
  14. package/dist/host/guides/database.md +0 -4
  15. package/dist/host/guides/emitter.md +0 -2
  16. package/dist/host/guides/form.md +26 -47
  17. package/dist/host/guides/html.md +3 -7
  18. package/dist/host/guides/indexeddb.md +28 -32
  19. package/dist/host/guides/jsonrpc.md +187 -0
  20. package/dist/host/guides/markdown.md +132 -141
  21. package/dist/host/guides/msg.md +47 -63
  22. package/dist/host/guides/ndjson.md +0 -4
  23. package/dist/host/guides/pool.md +0 -4
  24. package/dist/host/guides/process.md +71 -79
  25. package/dist/host/guides/reason.md +30 -36
  26. package/dist/host/guides/router.md +11 -18
  27. package/dist/host/guides/scaffold.md +136 -136
  28. package/dist/host/guides/sqlite.md +0 -4
  29. package/dist/host/guides/sse.md +6 -10
  30. package/dist/host/guides/table.md +481 -493
  31. package/dist/host/guides/template.md +0 -4
  32. package/dist/host/guides/test.md +46 -66
  33. package/dist/host/guides/timeout.md +0 -6
  34. package/dist/host/guides/tool.md +2 -6
  35. package/dist/host/guides/websocket.md +0 -4
  36. package/dist/host/manifest.json +39 -464
  37. package/dist/src/core/index.cjs +162 -177
  38. package/dist/src/core/index.cjs.map +1 -1
  39. package/dist/src/core/index.d.cts +213 -213
  40. package/dist/src/core/index.d.ts +213 -213
  41. package/dist/src/core/index.js +151 -166
  42. package/dist/src/core/index.js.map +1 -1
  43. package/dist/src/server/index.cjs +25 -25
  44. package/dist/src/server/index.cjs.map +1 -1
  45. package/dist/src/server/index.d.cts +50 -50
  46. package/dist/src/server/index.d.ts +50 -50
  47. package/dist/src/server/index.js +26 -26
  48. package/dist/src/server/index.js.map +1 -1
  49. package/package.json +9 -9
@@ -1,9 +1,9 @@
1
- import { andOf, arrayOf, attempt, canonicalStringify, cloneJSONValue, compareValues, enumerableKeys, holds, isArray, isBoolean, isFunction, isInstance, isRecord, isString, limitEntries, literalOf, parseJSON, recordOf, sortValues, stringOf, unionOf } from "@orkestrel/contract";
1
+ import { andOf, arrayOf, attempt, canonicalStringify, cloneJSONValue, comparePrimitives, enumerableKeys, holds, isArray, isBoolean, isFunction, isInstance, isRecord, isString, limitEntries, literalOf, parseJSON, recordOf, sortValues, stringOf, unionOf } from "@orkestrel/contract";
2
2
  import { fillTemplate } from "@orkestrel/template";
3
3
  import { Emitter } from "@orkestrel/emitter";
4
4
  var package_default = {
5
5
  name: "@orkestrel/scaffold",
6
- version: "0.0.119",
6
+ version: "0.0.120",
7
7
  description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
8
8
  keywords: [
9
9
  "audit",
@@ -96,19 +96,19 @@ var package_default = {
96
96
  },
97
97
  dependencies: {
98
98
  "@orkestrel/console": "^0.0.17",
99
- "@orkestrel/contract": "^0.0.20",
100
- "@orkestrel/emitter": "^0.0.13",
101
- "@orkestrel/markdown": "^0.0.18",
102
- "@orkestrel/process": "^0.0.16",
103
- "@orkestrel/template": "^0.0.11"
99
+ "@orkestrel/contract": "^0.0.21",
100
+ "@orkestrel/emitter": "^0.0.14",
101
+ "@orkestrel/markdown": "^0.0.19",
102
+ "@orkestrel/process": "^0.0.17",
103
+ "@orkestrel/template": "^0.0.12"
104
104
  },
105
105
  devDependencies: {
106
- "@microsoft/api-extractor": "^7.60.0",
106
+ "@microsoft/api-extractor": "^7.60.1",
107
107
  "@orkestrel/browser": "^0.0.30",
108
108
  "@orkestrel/guide": "^0.0.28",
109
- "@orkestrel/html": "^0.0.13",
109
+ "@orkestrel/html": "^0.0.14",
110
110
  "@orkestrel/probe": "^0.0.26",
111
- "@orkestrel/test": "^0.0.31",
111
+ "@orkestrel/test": "^0.0.32",
112
112
  "@types/node": "^24.19.2",
113
113
  "@vitest/browser-playwright": "^5.0.5",
114
114
  "oxfmt": "^0.75.0",
@@ -174,14 +174,14 @@ var RESERVED_SHEET_NAMES = Object.freeze([
174
174
  ...FRAMEWORKS
175
175
  ]);
176
176
  /**
177
- * Lists the `Group` values in plan order, frozen.
177
+ * Lists the `ArtifactGroup` values in plan order, frozen.
178
178
  *
179
179
  * @remarks
180
180
  * A compile that names no groups covers every one of them, so this list is the
181
181
  * default selection as well as the accepted candidates for a rejected one. The
182
182
  * order is the order a plan lists its artifacts in.
183
183
  */
184
- var GROUPS = Object.freeze([
184
+ var ARTIFACT_GROUPS = Object.freeze([
185
185
  "manifest",
186
186
  "configs",
187
187
  "source",
@@ -370,61 +370,46 @@ var HOST_INVENTORY_PATH = "host.json";
370
370
  * whose keeper alone claims the name. `.claude/rules/names.md` § Fleet name ownership rule 5
371
371
  * governs when a transfer is declared and removed.
372
372
  */
373
- var SURFACE_TRANSFERS = Object.freeze([
374
- ...["BOM"].map((name) => ({
375
- name,
376
- keeper: "codec",
377
- item: 80
378
- })),
379
- ...[
380
- "CHOICE_LIMIT",
381
- "NAME_LIMIT",
382
- "NODE_LIMIT",
383
- "STRING_LIMIT",
384
- "TEXT_LIMIT",
385
- "errorToMessage",
386
- "escapeRegExp",
387
- "failure",
388
- "isFailure",
389
- "isSuccess",
390
- "success"
391
- ].map((name) => ({
392
- name,
393
- keeper: "contract",
394
- item: 79
395
- })),
396
- ...[
397
- "JSONRPCError",
398
- "JSONRPCErrorResponse",
399
- "JSONRPCId",
400
- "JSONRPCInvocation",
401
- "JSONRPCMessage",
402
- "JSONRPCNotification",
403
- "JSONRPCRequest",
404
- "JSONRPCResponse",
405
- "JSONRPCResultResponse",
406
- "JSONRPC_INTERNAL_ERROR",
407
- "JSONRPC_INVALID_PARAMS",
408
- "JSONRPC_INVALID_REQUEST",
409
- "JSONRPC_METHOD_NOT_FOUND",
410
- "JSONRPC_PARSE_ERROR",
411
- "buildJSONRPCError",
412
- "buildJSONRPCResult",
413
- "isJSONRPCError",
414
- "isJSONRPCErrorResponse",
415
- "isJSONRPCId",
416
- "isJSONRPCInvocation",
417
- "isJSONRPCMessage",
418
- "isJSONRPCNotification",
419
- "isJSONRPCRequest",
420
- "isJSONRPCResponse",
421
- "isJSONRPCResultResponse"
422
- ].map((name) => ({
423
- name,
424
- keeper: "jsonrpc",
425
- item: 81
426
- }))
427
- ].map((transfer) => Object.freeze(transfer)));
373
+ var SURFACE_TRANSFERS = Object.freeze([...[
374
+ "errorToMessage",
375
+ "escapeRegExp",
376
+ "failure",
377
+ "success"
378
+ ].map((name) => ({
379
+ name,
380
+ keeper: "contract",
381
+ item: 79
382
+ })), ...[
383
+ "JSONRPCError",
384
+ "JSONRPCErrorResponse",
385
+ "JSONRPCId",
386
+ "JSONRPCInvocation",
387
+ "JSONRPCMessage",
388
+ "JSONRPCNotification",
389
+ "JSONRPCRequest",
390
+ "JSONRPCResponse",
391
+ "JSONRPCResultResponse",
392
+ "JSONRPC_INTERNAL_ERROR",
393
+ "JSONRPC_INVALID_PARAMS",
394
+ "JSONRPC_INVALID_REQUEST",
395
+ "JSONRPC_METHOD_NOT_FOUND",
396
+ "JSONRPC_PARSE_ERROR",
397
+ "buildJSONRPCError",
398
+ "buildJSONRPCResult",
399
+ "isJSONRPCError",
400
+ "isJSONRPCErrorResponse",
401
+ "isJSONRPCId",
402
+ "isJSONRPCInvocation",
403
+ "isJSONRPCMessage",
404
+ "isJSONRPCNotification",
405
+ "isJSONRPCRequest",
406
+ "isJSONRPCResponse",
407
+ "isJSONRPCResultResponse"
408
+ ].map((name) => ({
409
+ name,
410
+ keeper: "jsonrpc",
411
+ item: 81
412
+ }))].map((transfer) => Object.freeze(transfer)));
428
413
  /**
429
414
  * Lists the vendored paths whose present bytes belong to each workspace, frozen.
430
415
  *
@@ -4895,13 +4880,13 @@ function isPath(value) {
4895
4880
  *
4896
4881
  * @example
4897
4882
  * ```ts
4898
- * import { isHex } from '@orkestrel/scaffold'
4883
+ * import { isHexContent } from '@orkestrel/scaffold'
4899
4884
  *
4900
- * isHex('68690a') // true
4901
- * isHex('68690A') // false
4885
+ * isHexContent('68690a') // true
4886
+ * isHexContent('68690A') // false
4902
4887
  * ```
4903
4888
  */
4904
- var isHex = stringOf({
4889
+ var isHexContent = stringOf({
4905
4890
  max: MAX_ARTIFACT_HEX_LENGTH,
4906
4891
  pattern: HEX_PATTERN
4907
4892
  });
@@ -5026,19 +5011,19 @@ var isStylesExtension = recordOf({
5026
5011
  */
5027
5012
  var isExtension = unionOf(isBrowserExtension, isStylesExtension);
5028
5013
  /**
5029
- * Narrows a value to one {@link Group} a plan selects over.
5014
+ * Narrows a value to one {@link ArtifactGroup} a plan selects over.
5030
5015
  *
5031
5016
  * @example
5032
5017
  * ```ts
5033
- * import { isGroup } from '@orkestrel/scaffold'
5018
+ * import { isArtifactGroup } from '@orkestrel/scaffold'
5034
5019
  *
5035
- * isGroup('manifest') // true
5036
- * isGroup('readme') // false
5020
+ * isArtifactGroup('manifest') // true
5021
+ * isArtifactGroup('readme') // false
5037
5022
  * ```
5038
5023
  */
5039
- var isGroup = literalOf(GROUPS);
5024
+ var isArtifactGroup = literalOf(ARTIFACT_GROUPS);
5040
5025
  /** Narrows a value to a bounded group selection. */
5041
- var isGroups = andOf(isCollection, arrayOf(isGroup));
5026
+ var isArtifactGroups = andOf(isCollection, arrayOf(isArtifactGroup));
5042
5027
  /**
5043
5028
  * Narrows a value to the scoped package name a runtime dependency carries.
5044
5029
  *
@@ -5204,7 +5189,7 @@ var isBlueprint = recordOf({
5204
5189
  */
5205
5190
  var isArtifact = unionOf(recordOf({
5206
5191
  path: isPath,
5207
- group: isGroup,
5192
+ group: isArtifactGroup,
5208
5193
  ownership: literalOf("presence", "birth"),
5209
5194
  environment: isEnvironment,
5210
5195
  origin: literalOf("host"),
@@ -5216,15 +5201,15 @@ var isArtifact = unionOf(recordOf({
5216
5201
  "pointer"
5217
5202
  ]), recordOf({
5218
5203
  path: isPath,
5219
- group: isGroup,
5204
+ group: isArtifactGroup,
5220
5205
  ownership: literalOf("content"),
5221
5206
  environment: isEnvironment,
5222
5207
  origin: literalOf("host"),
5223
5208
  source: isPath,
5224
- hex: isHex
5209
+ hex: isHexContent
5225
5210
  }, ["environment", "source"]), recordOf({
5226
5211
  path: isPath,
5227
- group: isGroup,
5212
+ group: isArtifactGroup,
5228
5213
  ownership: literalOf("content", "presence", "birth"),
5229
5214
  environment: isEnvironment,
5230
5215
  origin: literalOf("template", "computed"),
@@ -5242,9 +5227,9 @@ var isArtifact = unionOf(recordOf({
5242
5227
  */
5243
5228
  var isPlan = andOf(recordOf({
5244
5229
  blueprint: isBlueprint,
5245
- groups: isGroups,
5230
+ groups: isArtifactGroups,
5246
5231
  artifacts: andOf(isCollection, arrayOf(isArtifact)),
5247
- hash: isHex
5232
+ hash: isHexContent
5248
5233
  }, ["hash"]), (plan) => plan.artifacts.every((artifact) => artifact.path !== "package.json" || artifact.ownership === "birth"));
5249
5234
  /**
5250
5235
  * Narrows a value to a {@link Question}.
@@ -5263,7 +5248,7 @@ var isQuestion = recordOf({
5263
5248
  candidates: andOf(isCollection, arrayOf(isString))
5264
5249
  }, ["candidates"]);
5265
5250
  /**
5266
- * Narrows a value to a {@link Finding}.
5251
+ * Narrows a value to an {@link ArtifactFinding}.
5267
5252
  *
5268
5253
  * @remarks
5269
5254
  * `observed` is required exactly where the mutation it precedes is held to it,
@@ -5274,30 +5259,30 @@ var isQuestion = recordOf({
5274
5259
  * That is the whole claim. This guard proves the shape a reader may destructure
5275
5260
  * and nothing about whether the verdict is one an audit could have reached: the
5276
5261
  * correlation between `ownership`, `drift`, and `observed` belongs to
5277
- * {@link inferDrift}, and it is re-derived at the verb that acts on the finding.
5262
+ * {@link inferArtifactDrift}, and it is re-derived at the verb that acts on the finding.
5278
5263
  */
5279
- var isFinding = unionOf(recordOf({
5264
+ var isArtifactFinding = unionOf(recordOf({
5280
5265
  path: isPath,
5281
- group: isGroup,
5266
+ group: isArtifactGroup,
5282
5267
  ownership: literalOf("content", "presence", "birth"),
5283
5268
  drift: literalOf("stale"),
5284
- observed: isHex
5269
+ observed: isHexContent
5285
5270
  }), recordOf({
5286
5271
  path: isPath,
5287
- group: isGroup,
5272
+ group: isArtifactGroup,
5288
5273
  drift: literalOf("foreign"),
5289
- observed: isHex
5274
+ observed: isHexContent
5290
5275
  }), recordOf({
5291
5276
  path: isPath,
5292
- group: isGroup,
5277
+ group: isArtifactGroup,
5293
5278
  ownership: literalOf("content", "presence", "birth"),
5294
5279
  drift: literalOf("missing")
5295
5280
  }), recordOf({
5296
5281
  path: isPath,
5297
- group: isGroup,
5282
+ group: isArtifactGroup,
5298
5283
  ownership: literalOf("content", "presence", "birth"),
5299
5284
  drift: literalOf("aligned"),
5300
- observed: isHex
5285
+ observed: isHexContent
5301
5286
  }, ["observed"]));
5302
5287
  /**
5303
5288
  * Narrows a value to an {@link Audit}.
@@ -5308,7 +5293,7 @@ var isFinding = unionOf(recordOf({
5308
5293
  * bounds: one per planned artifact, then one per unplanned snapshot path.
5309
5294
  */
5310
5295
  var isAudit = recordOf({
5311
- findings: andOf((value) => holds(() => isArray(value) && value.length <= 2e3), arrayOf(isFinding)),
5296
+ findings: andOf((value) => holds(() => isArray(value) && value.length <= 2e3), arrayOf(isArtifactFinding)),
5312
5297
  questions: andOf(isCollection, arrayOf(isQuestion))
5313
5298
  });
5314
5299
  /**
@@ -5324,13 +5309,13 @@ var isMirror = unionOf(recordOf({
5324
5309
  path: isPath,
5325
5310
  lookup: literalOf("found"),
5326
5311
  content: isContent,
5327
- observed: isHex
5312
+ observed: isHexContent
5328
5313
  }, ["observed"]), recordOf({
5329
5314
  name: isDependencyName,
5330
5315
  path: isPath,
5331
5316
  lookup: literalOf("missing", "unmatched", "failed"),
5332
5317
  note: isString,
5333
- observed: isHex
5318
+ observed: isHexContent
5334
5319
  }, ["observed"]));
5335
5320
  /**
5336
5321
  * Narrows a value to a {@link CatalogEntry}.
@@ -5376,7 +5361,7 @@ function isSnapshot(value) {
5376
5361
  if (!isRecord(value)) return false;
5377
5362
  const keys = enumerableKeys(value);
5378
5363
  if (keys === void 0 || keys.length > 1e3) return false;
5379
- for (const key of keys) if (!isPath(key) || !isHex(value[key])) return false;
5364
+ for (const key of keys) if (!isPath(key) || !isHexContent(value[key])) return false;
5380
5365
  return true;
5381
5366
  });
5382
5367
  }
@@ -5448,12 +5433,12 @@ var isCompilerOptions = recordOf({
5448
5433
  *
5449
5434
  * @example
5450
5435
  * ```ts
5451
- * import { cloneValue, parseBlueprint } from '@orkestrel/scaffold'
5436
+ * import { parseBlueprint, parseOwnedJSONValue } from '@orkestrel/scaffold'
5452
5437
  *
5453
- * const owned = parseBlueprint(cloneValue(input))
5438
+ * const owned = parseBlueprint(parseOwnedJSONValue(input))
5454
5439
  * ```
5455
5440
  */
5456
- function cloneValue(value) {
5441
+ function parseOwnedJSONValue(value) {
5457
5442
  const outcome = attempt(() => cloneJSONValue(value));
5458
5443
  return outcome.success ? outcome.value : void 0;
5459
5444
  }
@@ -5515,20 +5500,20 @@ function parseBlueprint(value) {
5515
5500
  * @returns The selection, or `undefined` when the value is not one.
5516
5501
  *
5517
5502
  * @remarks
5518
- * Derived from {@link isGroups}. Order and repetition are preserved: which
5503
+ * Derived from {@link isArtifactGroups}. Order and repetition are preserved: which
5519
5504
  * groups a plan finally covers, and in which order, is the compiler's to decide
5520
- * from `GROUPS`, not this boundary's.
5505
+ * from `ARTIFACT_GROUPS`, not this boundary's.
5521
5506
  *
5522
5507
  * @example
5523
5508
  * ```ts
5524
- * import { parseGroups } from '@orkestrel/scaffold'
5509
+ * import { parseArtifactGroups } from '@orkestrel/scaffold'
5525
5510
  *
5526
- * parseGroups(['manifest', 'configs']) // ['manifest', 'configs']
5527
- * parseGroups(['readme']) // undefined
5511
+ * parseArtifactGroups(['manifest', 'configs']) // ['manifest', 'configs']
5512
+ * parseArtifactGroups(['readme']) // undefined
5528
5513
  * ```
5529
5514
  */
5530
- function parseGroups(value) {
5531
- return isGroups(value) ? value : void 0;
5515
+ function parseArtifactGroups(value) {
5516
+ return isArtifactGroups(value) ? value : void 0;
5532
5517
  }
5533
5518
  /**
5534
5519
  * Coerces an untrusted value to a {@link Snapshot}.
@@ -5754,8 +5739,8 @@ function collectSurfaceAdvisories(candidate, published, contracts) {
5754
5739
  name,
5755
5740
  owner,
5756
5741
  signature: signatures.get(name)
5757
- }))).sort((left, right) => compareValues(left.owner, right.owner) || compareValues(left.name, right.name));
5758
- return [...new Set(candidate.names)].filter((name) => !known.has(name)).sort(compareValues).flatMap((name) => {
5742
+ }))).sort((left, right) => comparePrimitives(left.owner, right.owner) || comparePrimitives(left.name, right.name));
5743
+ return [...new Set(candidate.names)].filter((name) => !known.has(name)).sort(comparePrimitives).flatMap((name) => {
5759
5744
  const signature = candidate.signatures.get(name);
5760
5745
  const structure = signature !== void 0 && matchesSurfaceStructure(signature);
5761
5746
  return peers.flatMap((peer) => {
@@ -6060,7 +6045,7 @@ function isFloorPath(path) {
6060
6045
  return isDeferredPath(path) || isCanonPath(path);
6061
6046
  }
6062
6047
  /**
6063
- * Infers the {@link Group} a path belongs to.
6048
+ * Infers the {@link ArtifactGroup} a path belongs to.
6064
6049
  *
6065
6050
  * @param path - The target-relative path to classify.
6066
6051
  * @returns The group that owns the path.
@@ -6076,14 +6061,14 @@ function isFloorPath(path) {
6076
6061
  *
6077
6062
  * @example
6078
6063
  * ```ts
6079
- * import { inferGroup } from '@orkestrel/scaffold'
6064
+ * import { inferArtifactGroup } from '@orkestrel/scaffold'
6080
6065
  *
6081
- * inferGroup('src/core/index.ts') // 'source'
6082
- * inferGroup('AGENTS.md') // 'docs'
6083
- * inferGroup('.editorconfig') // 'configs'
6066
+ * inferArtifactGroup('src/core/index.ts') // 'source'
6067
+ * inferArtifactGroup('AGENTS.md') // 'docs'
6068
+ * inferArtifactGroup('.editorconfig') // 'configs'
6084
6069
  * ```
6085
6070
  */
6086
- function inferGroup(path) {
6071
+ function inferArtifactGroup(path) {
6087
6072
  if (path === "package.json" || path === "package-lock.json") return "manifest";
6088
6073
  if (matchesOrchestrationPath(path)) return "orchestration";
6089
6074
  if (path.startsWith("src/") || path.startsWith("app/")) return "source";
@@ -6235,26 +6220,26 @@ function selectHostPaths(paths, name) {
6235
6220
  * Selects the groups a compile covers, in plan order.
6236
6221
  *
6237
6222
  * @param groups - The requested selection; every group when absent.
6238
- * @returns The requested groups in `GROUPS` order, without repeats.
6223
+ * @returns The requested groups in `ARTIFACT_GROUPS` order, without repeats.
6239
6224
  *
6240
6225
  * @remarks
6241
6226
  * A caller's selection is data, so it arrives in whatever order and with
6242
6227
  * whatever repeats the caller wrote. Plan order is this package's, so the
6243
- * selection is read as membership and the order comes from `GROUPS`. An empty
6228
+ * selection is read as membership and the order comes from `ARTIFACT_GROUPS`. An empty
6244
6229
  * selection covers nothing, which is a caller asking for an empty plan rather
6245
6230
  * than a caller asking for everything.
6246
6231
  *
6247
6232
  * @example
6248
6233
  * ```ts
6249
- * import { selectGroups } from '@orkestrel/scaffold'
6234
+ * import { selectArtifactGroups } from '@orkestrel/scaffold'
6250
6235
  *
6251
- * selectGroups(['tests', 'manifest', 'tests']) // ['manifest', 'tests']
6252
- * selectGroups() // every group, in plan order
6236
+ * selectArtifactGroups(['tests', 'manifest', 'tests']) // ['manifest', 'tests']
6237
+ * selectArtifactGroups() // every group, in plan order
6253
6238
  * ```
6254
6239
  */
6255
- function selectGroups(groups) {
6256
- const selection = groups ?? GROUPS;
6257
- return GROUPS.filter((group) => selection.includes(group));
6240
+ function selectArtifactGroups(groups) {
6241
+ const selection = groups ?? ARTIFACT_GROUPS;
6242
+ return ARTIFACT_GROUPS.filter((group) => selection.includes(group));
6258
6243
  }
6259
6244
  /**
6260
6245
  * Projects an artifact to the exact bytes it claims, as hexadecimal.
@@ -6306,7 +6291,7 @@ function artifactToHex(artifact) {
6306
6291
  * @example
6307
6292
  * ```ts
6308
6293
  * import type { Artifact } from '@orkestrel/scaffold'
6309
- * import { inferDrift } from '@orkestrel/scaffold'
6294
+ * import { inferArtifactDrift } from '@orkestrel/scaffold'
6310
6295
  *
6311
6296
  * const artifact: Artifact = {
6312
6297
  * path: 'README.md',
@@ -6316,12 +6301,12 @@ function artifactToHex(artifact) {
6316
6301
  * content: 'hi\n',
6317
6302
  * }
6318
6303
  *
6319
- * inferDrift(artifact, '68690a') // 'aligned'
6320
- * inferDrift(artifact, '6279650a') // 'stale'
6321
- * inferDrift(artifact) // 'missing'
6304
+ * inferArtifactDrift(artifact, '68690a') // 'aligned'
6305
+ * inferArtifactDrift(artifact, '6279650a') // 'stale'
6306
+ * inferArtifactDrift(artifact) // 'missing'
6322
6307
  * ```
6323
6308
  */
6324
- function inferDrift(artifact, observed) {
6309
+ function inferArtifactDrift(artifact, observed) {
6325
6310
  if (artifact.ownership === "birth") return "aligned";
6326
6311
  if (observed === void 0) return "missing";
6327
6312
  if (artifact.ownership === "presence") return "aligned";
@@ -6337,7 +6322,7 @@ function inferDrift(artifact, observed) {
6337
6322
  * exactly where bytes were read.
6338
6323
  *
6339
6324
  * @remarks
6340
- * The comparison itself is {@link inferDrift}'s, so ownership decides it here
6325
+ * The comparison itself is {@link inferArtifactDrift}'s, so ownership decides it here
6341
6326
  * exactly as it does everywhere else. This adds only the shape: a missing
6342
6327
  * destination has no bytes to record, and every other verdict records the bytes
6343
6328
  * it was given, which is the precondition the mutation that follows is held to.
@@ -6349,19 +6334,19 @@ function inferDrift(artifact, observed) {
6349
6334
  *
6350
6335
  * @example
6351
6336
  * ```ts
6352
- * import { artifactToFinding } from '@orkestrel/scaffold'
6337
+ * import { artifactToArtifactFinding } from '@orkestrel/scaffold'
6353
6338
  *
6354
- * artifactToFinding(
6339
+ * artifactToArtifactFinding(
6355
6340
  * { path: 'README.md', group: 'docs', ownership: 'content', origin: 'computed', content: 'hi\n' },
6356
6341
  * '6279650a',
6357
6342
  * ) // { path: 'README.md', group: 'docs', ownership: 'content', drift: 'stale', observed: '6279650a' }
6358
6343
  * ```
6359
6344
  */
6360
- function artifactToFinding(artifact, observed) {
6345
+ function artifactToArtifactFinding(artifact, observed) {
6361
6346
  const path = artifact.path;
6362
6347
  const group = artifact.group;
6363
6348
  const ownership = artifact.ownership;
6364
- if (observed === void 0) return inferDrift(artifact) === "aligned" ? {
6349
+ if (observed === void 0) return inferArtifactDrift(artifact) === "aligned" ? {
6365
6350
  path,
6366
6351
  group,
6367
6352
  ownership,
@@ -6372,7 +6357,7 @@ function artifactToFinding(artifact, observed) {
6372
6357
  ownership,
6373
6358
  drift: "missing"
6374
6359
  };
6375
- return inferDrift(artifact, observed) === "stale" ? {
6360
+ return inferArtifactDrift(artifact, observed) === "stale" ? {
6376
6361
  path,
6377
6362
  group,
6378
6363
  ownership,
@@ -6387,12 +6372,12 @@ function artifactToFinding(artifact, observed) {
6387
6372
  };
6388
6373
  }
6389
6374
  /**
6390
- * Tests whether {@link inferDrift} could have produced a finding for an ownership.
6375
+ * Tests whether {@link inferArtifactDrift} could have produced a finding for an ownership.
6391
6376
  *
6392
6377
  * @param ownership - What scaffold claims at the planned path.
6393
6378
  * @param finding - The audit verdict to test.
6394
6379
  * @returns True if the ownership and verdict are reachable through
6395
- * {@link inferDrift}; false otherwise.
6380
+ * {@link inferArtifactDrift}; false otherwise.
6396
6381
  *
6397
6382
  * @remarks
6398
6383
  * This predicate keeps the comparison law beside the reachability law it
@@ -6401,16 +6386,16 @@ function artifactToFinding(artifact, observed) {
6401
6386
  *
6402
6387
  * @example
6403
6388
  * ```ts
6404
- * import type { Finding } from '@orkestrel/scaffold'
6405
- * import { matchesDriftReachability } from '@orkestrel/scaffold'
6389
+ * import type { ArtifactFinding } from '@orkestrel/scaffold'
6390
+ * import { matchesArtifactDriftReachability } from '@orkestrel/scaffold'
6406
6391
  *
6407
- * const aligned: Finding = {
6392
+ * const aligned: ArtifactFinding = {
6408
6393
  * path: 'README.md',
6409
6394
  * group: 'docs',
6410
6395
  * ownership: 'birth',
6411
6396
  * drift: 'aligned',
6412
6397
  * }
6413
- * const stale: Finding = {
6398
+ * const stale: ArtifactFinding = {
6414
6399
  * path: 'README.md',
6415
6400
  * group: 'docs',
6416
6401
  * ownership: 'birth',
@@ -6418,11 +6403,11 @@ function artifactToFinding(artifact, observed) {
6418
6403
  * observed: '6279650a',
6419
6404
  * }
6420
6405
  *
6421
- * matchesDriftReachability('birth', aligned) // true
6422
- * matchesDriftReachability('birth', stale) // false
6406
+ * matchesArtifactDriftReachability('birth', aligned) // true
6407
+ * matchesArtifactDriftReachability('birth', stale) // false
6423
6408
  * ```
6424
6409
  */
6425
- function matchesDriftReachability(ownership, finding) {
6410
+ function matchesArtifactDriftReachability(ownership, finding) {
6426
6411
  if (finding.drift === "aligned") return ownership === "birth" || finding.observed !== void 0;
6427
6412
  if (finding.drift === "missing") return ownership !== "birth";
6428
6413
  return finding.drift === "stale" && ownership === "content";
@@ -6592,10 +6577,10 @@ function compareVersions(left, right) {
6592
6577
  if (first === void 0 || second === void 0) {
6593
6578
  if (first !== void 0) return 1;
6594
6579
  if (second !== void 0) return -1;
6595
- return compareValues(left, right);
6580
+ return comparePrimitives(left, right);
6596
6581
  }
6597
6582
  for (const [index, component] of first.entries()) {
6598
- const order = compareValues(component, second[index] ?? 0);
6583
+ const order = comparePrimitives(component, second[index] ?? 0);
6599
6584
  if (order !== 0) return order;
6600
6585
  }
6601
6586
  return 0;
@@ -7081,7 +7066,7 @@ function blueprintToDevDependencies(blueprint) {
7081
7066
  ...Object.fromEntries(peers.filter(([name], index) => peers.findIndex(([other]) => other === name) === index))
7082
7067
  };
7083
7068
  const runtime = new Set(blueprint.dependencies.map((dependency) => dependency.name));
7084
- return Object.fromEntries(Object.entries(merged).filter(([name]) => name !== own && !runtime.has(name)).sort(([left], [right]) => compareValues(left, right)));
7069
+ return Object.fromEntries(Object.entries(merged).filter(([name]) => name !== own && !runtime.has(name)).sort(([left], [right]) => comparePrimitives(left, right)));
7085
7070
  }
7086
7071
  /**
7087
7072
  * Projects a blueprint into the toolchain holds its browser frameworks require.
@@ -7507,8 +7492,8 @@ function blueprintToManifest(blueprint) {
7507
7492
  const targets = [...sheets, ...blueprint.themes ? ["styles/themes"] : []];
7508
7493
  const publishes = blueprint.src.length > 0 || targets.length > 0;
7509
7494
  const name = publishes ? `@orkestrel/${blueprint.name}` : blueprint.name;
7510
- const dependencies = Object.fromEntries([...blueprint.dependencies].sort((left, right) => compareValues(left.name, right.name)).map((dependency) => [dependency.name, dependency.range]));
7511
- const peers = [...blueprint.peers].sort((left, right) => compareValues(left.name, right.name));
7495
+ const dependencies = Object.fromEntries([...blueprint.dependencies].sort((left, right) => comparePrimitives(left.name, right.name)).map((dependency) => [dependency.name, dependency.range]));
7496
+ const peers = [...blueprint.peers].sort((left, right) => comparePrimitives(left.name, right.name));
7512
7497
  const peerDependencies = Object.fromEntries(peers.map((peer) => [peer.name, peer.range]));
7513
7498
  const peerDependenciesMeta = Object.fromEntries(peers.filter((peer) => peer.optional === true).map((peer) => [peer.name, { optional: true }]));
7514
7499
  const entry = srcToEntry(blueprint.src);
@@ -8579,7 +8564,7 @@ function blueprintToOrchestrationArtifacts(blueprint) {
8579
8564
  *
8580
8565
  * `source` is left absent because it falls back to `path`, and every vendored
8581
8566
  * path is stored under the name it is written to. The group comes from
8582
- * {@link inferGroup}, so a vendored path and a foreign path found in a target
8567
+ * {@link inferArtifactGroup}, so a vendored path and a foreign path found in a target
8583
8568
  * are classified by one rule and a plan never disagrees with the audit beside
8584
8569
  * it.
8585
8570
  *
@@ -8617,7 +8602,7 @@ function blueprintToOrchestrationArtifacts(blueprint) {
8617
8602
  function blueprintToHostArtifacts(blueprint) {
8618
8603
  const vendored = [...selectHostPaths([...HOST_PATHS, ...SEED_GUIDE_PATHS], blueprint.name), CATALOG_AGENT_PATH].map((path) => ({
8619
8604
  path,
8620
- group: inferGroup(path),
8605
+ group: inferArtifactGroup(path),
8621
8606
  ownership: "presence",
8622
8607
  origin: "host"
8623
8608
  }));
@@ -8629,19 +8614,19 @@ function blueprintToHostArtifacts(blueprint) {
8629
8614
  return [
8630
8615
  {
8631
8616
  path: bridge,
8632
- group: inferGroup(bridge),
8617
+ group: inferArtifactGroup(bridge),
8633
8618
  ownership: "presence",
8634
8619
  origin: "host"
8635
8620
  },
8636
8621
  {
8637
8622
  path: sidecar,
8638
- group: inferGroup(sidecar),
8623
+ group: inferArtifactGroup(sidecar),
8639
8624
  ownership: "presence",
8640
8625
  origin: "host"
8641
8626
  },
8642
8627
  {
8643
8628
  path: pointer,
8644
- group: inferGroup(pointer),
8629
+ group: inferArtifactGroup(pointer),
8645
8630
  ownership: "presence",
8646
8631
  origin: "host",
8647
8632
  pointer: true
@@ -8851,7 +8836,7 @@ function insertManifestDependencies(manifest, additions) {
8851
8836
  function insertManifestSection(manifest, section, dependencies, present) {
8852
8837
  const tokens = scanManifestTokens(manifest);
8853
8838
  if (tokens === void 0) return void 0;
8854
- const ordered = [...dependencies].sort((left, right) => compareValues(left.name, right.name));
8839
+ const ordered = [...dependencies].sort((left, right) => comparePrimitives(left.name, right.name));
8855
8840
  const lines = ordered.map(({ name, range }) => `${JSON.stringify(name)}: ${JSON.stringify(range)}`);
8856
8841
  const sibling = section === "dependencies" ? "devDependencies" : "dependencies";
8857
8842
  const occurrences = tokens.flatMap((token, at) => {
@@ -8917,7 +8902,7 @@ function insertManifestSection(manifest, section, dependencies, present) {
8917
8902
  const separator = newline < 0 || /\S/u.test(indent) ? "" : `\n${indent}`;
8918
8903
  const placements = ordered.map((dependency, index) => {
8919
8904
  const line = lines[index] ?? "";
8920
- const anchor = declarations.find((declaration) => compareValues(declaration.name, dependency.name) > 0);
8905
+ const anchor = declarations.find((declaration) => comparePrimitives(declaration.name, dependency.name) > 0);
8921
8906
  return {
8922
8907
  position: anchor?.start ?? last.end,
8923
8908
  text: anchor === void 0 ? `,${separator}${line}` : `${line},${separator}`
@@ -9158,22 +9143,22 @@ function planToHash(plan) {
9158
9143
  *
9159
9144
  * @example
9160
9145
  * ```ts
9161
- * import { Compiler, createBlueprint, planToFindings } from '@orkestrel/scaffold'
9146
+ * import { Compiler, createBlueprint, planToArtifactFindings } from '@orkestrel/scaffold'
9162
9147
  *
9163
9148
  * const { plan } = new Compiler().compile(createBlueprint('router', { src: ['core'] }))
9164
9149
  *
9165
- * plan === undefined ? [] : planToFindings(plan, { 'AGENTS.md': '68690a' })
9150
+ * plan === undefined ? [] : planToArtifactFindings(plan, { 'AGENTS.md': '68690a' })
9166
9151
  * ```
9167
9152
  */
9168
- function planToFindings(plan, current) {
9153
+ function planToArtifactFindings(plan, current) {
9169
9154
  const listed = Iterator.from(plan.artifacts).map((artifact) => ({
9170
9155
  path: artifact.path,
9171
- finding: artifactToFinding(artifact, current[artifact.path])
9156
+ finding: artifactToArtifactFinding(artifact, current[artifact.path])
9172
9157
  })).toArray();
9173
9158
  const planned = new Set(listed.map(({ path }) => path));
9174
9159
  return [...listed.map(({ finding }) => finding), ...Object.entries(current).flatMap(([path, observed]) => {
9175
9160
  if (planned.has(path)) return [];
9176
- const group = inferGroup(path);
9161
+ const group = inferArtifactGroup(path);
9177
9162
  return plan.groups.includes(group) ? [{
9178
9163
  path,
9179
9164
  group,
@@ -9556,7 +9541,7 @@ function overridesToQuestions(overrides, artifacts) {
9556
9541
  * ```
9557
9542
  */
9558
9543
  function createBlueprint(name, input) {
9559
- const blueprint = parseBlueprint(cloneValue({
9544
+ const blueprint = parseBlueprint(parseOwnedJSONValue({
9560
9545
  name,
9561
9546
  ...input?.description === void 0 ? {} : { description: input.description },
9562
9547
  keywords: input?.keywords ?? [],
@@ -9605,7 +9590,7 @@ function createBlueprint(name, input) {
9605
9590
  * so a caller reads the refusal from the value it asked for.
9606
9591
  *
9607
9592
  * Both entry points snapshot each caller-supplied value and then guard the
9608
- * snapshot, which is the order `cloneValue` fixes. A value that is not the exact
9593
+ * snapshot, which is the order `parseOwnedJSONValue` fixes. A value that is not the exact
9609
9594
  * shape is off-contract input rather than an answerable question, so it raises
9610
9595
  * `INVALID`. Structure raises; the laws a well-formed blueprint can still break
9611
9596
  * are the gate's, and they answer with questions.
@@ -9736,7 +9721,7 @@ var Compiler = class {
9736
9721
  const compiled = this.#scaffold(accepted, this.#select(groups));
9737
9722
  if (compiled.plan === void 0) this.#emitter.emit("block", compiled.questions);
9738
9723
  const result = {
9739
- findings: compiled.plan === void 0 ? [] : planToFindings(compiled.plan, observed),
9724
+ findings: compiled.plan === void 0 ? [] : planToArtifactFindings(compiled.plan, observed),
9740
9725
  questions: compiled.questions
9741
9726
  };
9742
9727
  this.#emitter.emit("audit", result);
@@ -9869,10 +9854,10 @@ var Compiler = class {
9869
9854
  ];
9870
9855
  }
9871
9856
  #select(groups) {
9872
- return selectGroups(groups === void 0 ? void 0 : this.#accept(groups, parseGroups, "groups", GROUPS));
9857
+ return selectArtifactGroups(groups === void 0 ? void 0 : this.#accept(groups, parseArtifactGroups, "groups", ARTIFACT_GROUPS));
9873
9858
  }
9874
9859
  #accept(value, parse, field, candidates) {
9875
- const accepted = parse(cloneValue(value));
9860
+ const accepted = parse(parseOwnedJSONValue(value));
9876
9861
  if (accepted !== void 0) return accepted;
9877
9862
  throw this.#error("INVALID", `The ${field} argument is not the exact shape this compiler accepts.`, candidates === void 0 ? { field } : {
9878
9863
  field,
@@ -9888,6 +9873,6 @@ var Compiler = class {
9888
9873
  return error;
9889
9874
  }
9890
9875
  };
9891
- export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_TEMPLATES, AXES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, BIN_OUTPUT_PATH, BROWSE_DEV_DEPENDENCIES, BROWSE_UPSTREAM, CANON_PATHS, CAPTURE_DEV_DEPENDENCIES, CAPTURE_UPSTREAM, CATALOG_AGENT_PATH, CATALOG_END_MARKER, CATALOG_START_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_SETUP_PATH, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, FRAMEWORKS, FRAMEWORK_MATRIX, GLOBAL_SETUP_PATH, GROUPS, GUIDES_TEST_PATH, HEX_PATTERN, HOST_INVENTORY_PATH, HOST_PATHS, INTEGRATION_TEST_PATH, INVALID_PATH_CHARACTER_PATTERN, JOURNEY_CONFIG_PATH, MANIFEST_PATH, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_AUDIT_FINDINGS, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_NAME_LENGTH, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_SCRIPT_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, MINIMUM_NODE_VERSION, MINIMUM_NPM_VERSION, NAME_PATTERN, ORCHESTRATION_PATH_NAMES, ORCHESTRATION_PATH_PREFIXES, ORKESTREL_RANGE_PATTERN, PRINT_WIDTH, REFERENCE_PATHS, RELEASE_PROOF_COMMAND, RESERVED_SHEET_NAMES, SEED_GUIDE_PATHS, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHEET_ENTRY_NAME, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SHOWCASE_OVERRIDES, SHOWCASE_PAGES_PATH, SKILLS_CONFIG_PATH, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, STUDIES_TEST_INCLUDE, STYLES_DEV_DEPENDENCIES, STYLES_ENTRY_PATH, SURFACES, SURFACE_EDIT_LENGTH, SURFACE_TRANSFERS, ScaffoldError, TAB_WIDTH, TARGET_SKILL_NAMES, THEMES_BARREL_PATH, THEMES_ENTRY_PATH, TOOLCHAIN_HOLDS, TREE_TEST_PATH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToExports, blueprintToFaces, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToManifestOverrides, blueprintToOptimizedDependencies, blueprintToOrchestrationArtifacts, blueprintToProjects, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSheets, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToToolchainHolds, blueprintToWritableScripts, bytesToHex, catalogToLayers, cloneValue, collectSurfaceAdvisories, collectSurfaceCollisions, collectSurfaceConflicts, compareSurfaceCollisions, compareVersions, computeBytes, computeHash, computeTotal, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferDrift, inferGroup, inferSurfaceSimilarity, insertManifestDependencies, insertManifestSection, isArtifact, isAudit, isBlueprint, isBrowserExtension, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isExtension, isFinding, isFloorPath, isGroup, isGroups, isHex, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSheetName, isSnapshot, isStylesExtension, isSurface, iterateAnswers, manifestToDependencies, manifestToName, matchesDriftReachability, matchesEngines, matchesGuideRefusal, matchesOrchestrationPath, matchesPrintWidth, matchesRange, matchesSurfaceStructure, nameToGuide, overridesToQuestions, parseBlueprint, parseCompilerOptions, parseExtension, parseGroups, parseSnapshot, pathToCondition, planToFindings, planToHash, planToSummary, renderSkillPointer, replaceManifestOverride, replaceManifestOverrides, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, scanManifestTokens, selectGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
9876
+ export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_GROUPS, ARTIFACT_TEMPLATES, AXES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, BIN_OUTPUT_PATH, BROWSE_DEV_DEPENDENCIES, BROWSE_UPSTREAM, CANON_PATHS, CAPTURE_DEV_DEPENDENCIES, CAPTURE_UPSTREAM, CATALOG_AGENT_PATH, CATALOG_END_MARKER, CATALOG_START_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_SETUP_PATH, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, FRAMEWORKS, FRAMEWORK_MATRIX, GLOBAL_SETUP_PATH, GUIDES_TEST_PATH, HEX_PATTERN, HOST_INVENTORY_PATH, HOST_PATHS, INTEGRATION_TEST_PATH, INVALID_PATH_CHARACTER_PATTERN, JOURNEY_CONFIG_PATH, MANIFEST_PATH, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_AUDIT_FINDINGS, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_NAME_LENGTH, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_SCRIPT_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, MINIMUM_NODE_VERSION, MINIMUM_NPM_VERSION, NAME_PATTERN, ORCHESTRATION_PATH_NAMES, ORCHESTRATION_PATH_PREFIXES, ORKESTREL_RANGE_PATTERN, PRINT_WIDTH, REFERENCE_PATHS, RELEASE_PROOF_COMMAND, RESERVED_SHEET_NAMES, SEED_GUIDE_PATHS, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHEET_ENTRY_NAME, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SHOWCASE_OVERRIDES, SHOWCASE_PAGES_PATH, SKILLS_CONFIG_PATH, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, STUDIES_TEST_INCLUDE, STYLES_DEV_DEPENDENCIES, STYLES_ENTRY_PATH, SURFACES, SURFACE_EDIT_LENGTH, SURFACE_TRANSFERS, ScaffoldError, TAB_WIDTH, TARGET_SKILL_NAMES, THEMES_BARREL_PATH, THEMES_ENTRY_PATH, TOOLCHAIN_HOLDS, TREE_TEST_PATH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToArtifactFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToExports, blueprintToFaces, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToManifestOverrides, blueprintToOptimizedDependencies, blueprintToOrchestrationArtifacts, blueprintToProjects, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSheets, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToToolchainHolds, blueprintToWritableScripts, bytesToHex, catalogToLayers, collectSurfaceAdvisories, collectSurfaceCollisions, collectSurfaceConflicts, compareSurfaceCollisions, compareVersions, computeBytes, computeHash, computeTotal, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferArtifactDrift, inferArtifactGroup, inferSurfaceSimilarity, insertManifestDependencies, insertManifestSection, isArtifact, isArtifactFinding, isArtifactGroup, isArtifactGroups, isAudit, isBlueprint, isBrowserExtension, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isExtension, isFloorPath, isHexContent, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSheetName, isSnapshot, isStylesExtension, isSurface, iterateAnswers, manifestToDependencies, manifestToName, matchesArtifactDriftReachability, matchesEngines, matchesGuideRefusal, matchesOrchestrationPath, matchesPrintWidth, matchesRange, matchesSurfaceStructure, nameToGuide, overridesToQuestions, parseArtifactGroups, parseBlueprint, parseCompilerOptions, parseExtension, parseOwnedJSONValue, parseSnapshot, pathToCondition, planToArtifactFindings, planToHash, planToSummary, renderSkillPointer, replaceManifestOverride, replaceManifestOverrides, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, scanManifestTokens, selectArtifactGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
9892
9877
 
9893
9878
  //# sourceMappingURL=index.js.map