@orkestrel/scaffold 0.0.119 → 0.0.121

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 (73) hide show
  1. package/dist/bin/main.js +19 -19
  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 +52 -51
  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/agent.md +5 -5
  11. package/dist/host/guides/brief.md +7 -15
  12. package/dist/host/guides/browser.md +1 -1
  13. package/dist/host/guides/budget.md +1 -5
  14. package/dist/host/guides/capture.md +2 -2
  15. package/dist/host/guides/codec.md +18 -3
  16. package/dist/host/guides/console.md +4 -30
  17. package/dist/host/guides/contract.md +23 -44
  18. package/dist/host/guides/csv.md +86 -93
  19. package/dist/host/guides/database.md +0 -4
  20. package/dist/host/guides/emitter.md +0 -2
  21. package/dist/host/guides/form.md +26 -47
  22. package/dist/host/guides/guide.md +0 -1
  23. package/dist/host/guides/html.md +3 -7
  24. package/dist/host/guides/indexeddb.md +28 -32
  25. package/dist/host/guides/interpret.md +165 -182
  26. package/dist/host/guides/jsonrpc.md +187 -0
  27. package/dist/host/guides/lsp.md +26 -51
  28. package/dist/host/guides/markdown.md +132 -141
  29. package/dist/host/guides/mcp.md +220 -276
  30. package/dist/host/guides/middleware.md +14 -22
  31. package/dist/host/guides/msg.md +47 -63
  32. package/dist/host/guides/ndjson.md +0 -4
  33. package/dist/host/guides/ollama.md +1 -3
  34. package/dist/host/guides/pool.md +0 -4
  35. package/dist/host/guides/probe.md +71 -80
  36. package/dist/host/guides/process.md +71 -79
  37. package/dist/host/guides/program.md +26 -35
  38. package/dist/host/guides/qualifier.md +0 -6
  39. package/dist/host/guides/queue.md +0 -4
  40. package/dist/host/guides/rater.md +6 -12
  41. package/dist/host/guides/reason.md +30 -36
  42. package/dist/host/guides/relation.md +0 -2
  43. package/dist/host/guides/router.md +11 -18
  44. package/dist/host/guides/scaffold.md +148 -144
  45. package/dist/host/guides/sea.md +47 -51
  46. package/dist/host/guides/server.md +15 -19
  47. package/dist/host/guides/sqlite.md +0 -4
  48. package/dist/host/guides/sse.md +6 -10
  49. package/dist/host/guides/table.md +481 -493
  50. package/dist/host/guides/template.md +0 -4
  51. package/dist/host/guides/terminal.md +0 -26
  52. package/dist/host/guides/test.md +46 -66
  53. package/dist/host/guides/timeout.md +0 -6
  54. package/dist/host/guides/tool.md +2 -6
  55. package/dist/host/guides/toolbox.md +0 -10
  56. package/dist/host/guides/websocket.md +0 -4
  57. package/dist/host/guides/worker.md +57 -57
  58. package/dist/host/guides/workflow.md +13 -26
  59. package/dist/host/guides/workspace.md +15 -21
  60. package/dist/host/manifest.json +64 -909
  61. package/dist/src/core/index.cjs +128 -181
  62. package/dist/src/core/index.cjs.map +1 -1
  63. package/dist/src/core/index.d.cts +213 -213
  64. package/dist/src/core/index.d.ts +213 -213
  65. package/dist/src/core/index.js +117 -170
  66. package/dist/src/core/index.js.map +1 -1
  67. package/dist/src/server/index.cjs +35 -34
  68. package/dist/src/server/index.cjs.map +1 -1
  69. package/dist/src/server/index.d.cts +62 -58
  70. package/dist/src/server/index.d.ts +62 -58
  71. package/dist/src/server/index.js +36 -35
  72. package/dist/src/server/index.js.map +1 -1
  73. package/package.json +13 -13
@@ -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.119",
7
+ version: "0.0.121",
8
8
  description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
9
9
  keywords: [
10
10
  "audit",
@@ -96,20 +96,20 @@ var package_default = {
96
96
  "prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:templates && npm run test:distribution -- --mode release"
97
97
  },
98
98
  dependencies: {
99
- "@orkestrel/console": "^0.0.17",
100
- "@orkestrel/contract": "^0.0.20",
101
- "@orkestrel/emitter": "^0.0.13",
102
- "@orkestrel/markdown": "^0.0.18",
103
- "@orkestrel/process": "^0.0.16",
104
- "@orkestrel/template": "^0.0.11"
99
+ "@orkestrel/console": "^0.0.18",
100
+ "@orkestrel/contract": "^0.0.21",
101
+ "@orkestrel/emitter": "^0.0.14",
102
+ "@orkestrel/markdown": "^0.0.19",
103
+ "@orkestrel/process": "^0.0.17",
104
+ "@orkestrel/template": "^0.0.12"
105
105
  },
106
106
  devDependencies: {
107
- "@microsoft/api-extractor": "^7.60.0",
108
- "@orkestrel/browser": "^0.0.30",
109
- "@orkestrel/guide": "^0.0.28",
110
- "@orkestrel/html": "^0.0.13",
111
- "@orkestrel/probe": "^0.0.26",
112
- "@orkestrel/test": "^0.0.31",
107
+ "@microsoft/api-extractor": "^7.60.1",
108
+ "@orkestrel/browser": "^0.0.31",
109
+ "@orkestrel/guide": "^0.0.29",
110
+ "@orkestrel/html": "^0.0.14",
111
+ "@orkestrel/probe": "^0.0.27",
112
+ "@orkestrel/test": "^0.0.32",
113
113
  "@types/node": "^24.19.2",
114
114
  "@vitest/browser-playwright": "^5.0.5",
115
115
  "oxfmt": "^0.75.0",
@@ -175,14 +175,14 @@ var RESERVED_SHEET_NAMES = Object.freeze([
175
175
  ...FRAMEWORKS
176
176
  ]);
177
177
  /**
178
- * Lists the `Group` values in plan order, frozen.
178
+ * Lists the `ArtifactGroup` values in plan order, frozen.
179
179
  *
180
180
  * @remarks
181
181
  * A compile that names no groups covers every one of them, so this list is the
182
182
  * default selection as well as the accepted candidates for a rejected one. The
183
183
  * order is the order a plan lists its artifacts in.
184
184
  */
185
- var GROUPS = Object.freeze([
185
+ var ARTIFACT_GROUPS = Object.freeze([
186
186
  "manifest",
187
187
  "configs",
188
188
  "source",
@@ -371,61 +371,7 @@ var HOST_INVENTORY_PATH = "host.json";
371
371
  * whose keeper alone claims the name. `.claude/rules/names.md` § Fleet name ownership rule 5
372
372
  * governs when a transfer is declared and removed.
373
373
  */
374
- var SURFACE_TRANSFERS = Object.freeze([
375
- ...["BOM"].map((name) => ({
376
- name,
377
- keeper: "codec",
378
- item: 80
379
- })),
380
- ...[
381
- "CHOICE_LIMIT",
382
- "NAME_LIMIT",
383
- "NODE_LIMIT",
384
- "STRING_LIMIT",
385
- "TEXT_LIMIT",
386
- "errorToMessage",
387
- "escapeRegExp",
388
- "failure",
389
- "isFailure",
390
- "isSuccess",
391
- "success"
392
- ].map((name) => ({
393
- name,
394
- keeper: "contract",
395
- item: 79
396
- })),
397
- ...[
398
- "JSONRPCError",
399
- "JSONRPCErrorResponse",
400
- "JSONRPCId",
401
- "JSONRPCInvocation",
402
- "JSONRPCMessage",
403
- "JSONRPCNotification",
404
- "JSONRPCRequest",
405
- "JSONRPCResponse",
406
- "JSONRPCResultResponse",
407
- "JSONRPC_INTERNAL_ERROR",
408
- "JSONRPC_INVALID_PARAMS",
409
- "JSONRPC_INVALID_REQUEST",
410
- "JSONRPC_METHOD_NOT_FOUND",
411
- "JSONRPC_PARSE_ERROR",
412
- "buildJSONRPCError",
413
- "buildJSONRPCResult",
414
- "isJSONRPCError",
415
- "isJSONRPCErrorResponse",
416
- "isJSONRPCId",
417
- "isJSONRPCInvocation",
418
- "isJSONRPCMessage",
419
- "isJSONRPCNotification",
420
- "isJSONRPCRequest",
421
- "isJSONRPCResponse",
422
- "isJSONRPCResultResponse"
423
- ].map((name) => ({
424
- name,
425
- keeper: "jsonrpc",
426
- item: 81
427
- }))
428
- ].map((transfer) => Object.freeze(transfer)));
374
+ var SURFACE_TRANSFERS = Object.freeze([]);
429
375
  /**
430
376
  * Lists the vendored paths whose present bytes belong to each workspace, frozen.
431
377
  *
@@ -826,6 +772,7 @@ var BROWSE_UPSTREAM = Object.freeze([
826
772
  "@orkestrel/contract",
827
773
  "@orkestrel/emitter",
828
774
  "@orkestrel/html",
775
+ "@orkestrel/jsonrpc",
829
776
  "@orkestrel/markdown",
830
777
  "@orkestrel/mcp",
831
778
  "@orkestrel/pool",
@@ -4896,13 +4843,13 @@ function isPath(value) {
4896
4843
  *
4897
4844
  * @example
4898
4845
  * ```ts
4899
- * import { isHex } from '@orkestrel/scaffold'
4846
+ * import { isHexContent } from '@orkestrel/scaffold'
4900
4847
  *
4901
- * isHex('68690a') // true
4902
- * isHex('68690A') // false
4848
+ * isHexContent('68690a') // true
4849
+ * isHexContent('68690A') // false
4903
4850
  * ```
4904
4851
  */
4905
- var isHex = (0, _orkestrel_contract.stringOf)({
4852
+ var isHexContent = (0, _orkestrel_contract.stringOf)({
4906
4853
  max: MAX_ARTIFACT_HEX_LENGTH,
4907
4854
  pattern: HEX_PATTERN
4908
4855
  });
@@ -5027,19 +4974,19 @@ var isStylesExtension = (0, _orkestrel_contract.recordOf)({
5027
4974
  */
5028
4975
  var isExtension = (0, _orkestrel_contract.unionOf)(isBrowserExtension, isStylesExtension);
5029
4976
  /**
5030
- * Narrows a value to one {@link Group} a plan selects over.
4977
+ * Narrows a value to one {@link ArtifactGroup} a plan selects over.
5031
4978
  *
5032
4979
  * @example
5033
4980
  * ```ts
5034
- * import { isGroup } from '@orkestrel/scaffold'
4981
+ * import { isArtifactGroup } from '@orkestrel/scaffold'
5035
4982
  *
5036
- * isGroup('manifest') // true
5037
- * isGroup('readme') // false
4983
+ * isArtifactGroup('manifest') // true
4984
+ * isArtifactGroup('readme') // false
5038
4985
  * ```
5039
4986
  */
5040
- var isGroup = (0, _orkestrel_contract.literalOf)(GROUPS);
4987
+ var isArtifactGroup = (0, _orkestrel_contract.literalOf)(ARTIFACT_GROUPS);
5041
4988
  /** Narrows a value to a bounded group selection. */
5042
- var isGroups = (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(isGroup));
4989
+ var isArtifactGroups = (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(isArtifactGroup));
5043
4990
  /**
5044
4991
  * Narrows a value to the scoped package name a runtime dependency carries.
5045
4992
  *
@@ -5205,7 +5152,7 @@ var isBlueprint = (0, _orkestrel_contract.recordOf)({
5205
5152
  */
5206
5153
  var isArtifact = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordOf)({
5207
5154
  path: isPath,
5208
- group: isGroup,
5155
+ group: isArtifactGroup,
5209
5156
  ownership: (0, _orkestrel_contract.literalOf)("presence", "birth"),
5210
5157
  environment: isEnvironment,
5211
5158
  origin: (0, _orkestrel_contract.literalOf)("host"),
@@ -5217,15 +5164,15 @@ var isArtifact = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.record
5217
5164
  "pointer"
5218
5165
  ]), (0, _orkestrel_contract.recordOf)({
5219
5166
  path: isPath,
5220
- group: isGroup,
5167
+ group: isArtifactGroup,
5221
5168
  ownership: (0, _orkestrel_contract.literalOf)("content"),
5222
5169
  environment: isEnvironment,
5223
5170
  origin: (0, _orkestrel_contract.literalOf)("host"),
5224
5171
  source: isPath,
5225
- hex: isHex
5172
+ hex: isHexContent
5226
5173
  }, ["environment", "source"]), (0, _orkestrel_contract.recordOf)({
5227
5174
  path: isPath,
5228
- group: isGroup,
5175
+ group: isArtifactGroup,
5229
5176
  ownership: (0, _orkestrel_contract.literalOf)("content", "presence", "birth"),
5230
5177
  environment: isEnvironment,
5231
5178
  origin: (0, _orkestrel_contract.literalOf)("template", "computed"),
@@ -5243,9 +5190,9 @@ var isArtifact = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.record
5243
5190
  */
5244
5191
  var isPlan = (0, _orkestrel_contract.andOf)((0, _orkestrel_contract.recordOf)({
5245
5192
  blueprint: isBlueprint,
5246
- groups: isGroups,
5193
+ groups: isArtifactGroups,
5247
5194
  artifacts: (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(isArtifact)),
5248
- hash: isHex
5195
+ hash: isHexContent
5249
5196
  }, ["hash"]), (plan) => plan.artifacts.every((artifact) => artifact.path !== "package.json" || artifact.ownership === "birth"));
5250
5197
  /**
5251
5198
  * Narrows a value to a {@link Question}.
@@ -5264,7 +5211,7 @@ var isQuestion = (0, _orkestrel_contract.recordOf)({
5264
5211
  candidates: (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(_orkestrel_contract.isString))
5265
5212
  }, ["candidates"]);
5266
5213
  /**
5267
- * Narrows a value to a {@link Finding}.
5214
+ * Narrows a value to an {@link ArtifactFinding}.
5268
5215
  *
5269
5216
  * @remarks
5270
5217
  * `observed` is required exactly where the mutation it precedes is held to it,
@@ -5275,30 +5222,30 @@ var isQuestion = (0, _orkestrel_contract.recordOf)({
5275
5222
  * That is the whole claim. This guard proves the shape a reader may destructure
5276
5223
  * and nothing about whether the verdict is one an audit could have reached: the
5277
5224
  * correlation between `ownership`, `drift`, and `observed` belongs to
5278
- * {@link inferDrift}, and it is re-derived at the verb that acts on the finding.
5225
+ * {@link inferArtifactDrift}, and it is re-derived at the verb that acts on the finding.
5279
5226
  */
5280
- var isFinding = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordOf)({
5227
+ var isArtifactFinding = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordOf)({
5281
5228
  path: isPath,
5282
- group: isGroup,
5229
+ group: isArtifactGroup,
5283
5230
  ownership: (0, _orkestrel_contract.literalOf)("content", "presence", "birth"),
5284
5231
  drift: (0, _orkestrel_contract.literalOf)("stale"),
5285
- observed: isHex
5232
+ observed: isHexContent
5286
5233
  }), (0, _orkestrel_contract.recordOf)({
5287
5234
  path: isPath,
5288
- group: isGroup,
5235
+ group: isArtifactGroup,
5289
5236
  drift: (0, _orkestrel_contract.literalOf)("foreign"),
5290
- observed: isHex
5237
+ observed: isHexContent
5291
5238
  }), (0, _orkestrel_contract.recordOf)({
5292
5239
  path: isPath,
5293
- group: isGroup,
5240
+ group: isArtifactGroup,
5294
5241
  ownership: (0, _orkestrel_contract.literalOf)("content", "presence", "birth"),
5295
5242
  drift: (0, _orkestrel_contract.literalOf)("missing")
5296
5243
  }), (0, _orkestrel_contract.recordOf)({
5297
5244
  path: isPath,
5298
- group: isGroup,
5245
+ group: isArtifactGroup,
5299
5246
  ownership: (0, _orkestrel_contract.literalOf)("content", "presence", "birth"),
5300
5247
  drift: (0, _orkestrel_contract.literalOf)("aligned"),
5301
- observed: isHex
5248
+ observed: isHexContent
5302
5249
  }, ["observed"]));
5303
5250
  /**
5304
5251
  * Narrows a value to an {@link Audit}.
@@ -5309,7 +5256,7 @@ var isFinding = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordO
5309
5256
  * bounds: one per planned artifact, then one per unplanned snapshot path.
5310
5257
  */
5311
5258
  var isAudit = (0, _orkestrel_contract.recordOf)({
5312
- findings: (0, _orkestrel_contract.andOf)((value) => (0, _orkestrel_contract.holds)(() => (0, _orkestrel_contract.isArray)(value) && value.length <= 2e3), (0, _orkestrel_contract.arrayOf)(isFinding)),
5259
+ findings: (0, _orkestrel_contract.andOf)((value) => (0, _orkestrel_contract.holds)(() => (0, _orkestrel_contract.isArray)(value) && value.length <= 2e3), (0, _orkestrel_contract.arrayOf)(isArtifactFinding)),
5313
5260
  questions: (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(isQuestion))
5314
5261
  });
5315
5262
  /**
@@ -5325,13 +5272,13 @@ var isMirror = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordOf
5325
5272
  path: isPath,
5326
5273
  lookup: (0, _orkestrel_contract.literalOf)("found"),
5327
5274
  content: isContent,
5328
- observed: isHex
5275
+ observed: isHexContent
5329
5276
  }, ["observed"]), (0, _orkestrel_contract.recordOf)({
5330
5277
  name: isDependencyName,
5331
5278
  path: isPath,
5332
5279
  lookup: (0, _orkestrel_contract.literalOf)("missing", "unmatched", "failed"),
5333
5280
  note: _orkestrel_contract.isString,
5334
- observed: isHex
5281
+ observed: isHexContent
5335
5282
  }, ["observed"]));
5336
5283
  /**
5337
5284
  * Narrows a value to a {@link CatalogEntry}.
@@ -5377,7 +5324,7 @@ function isSnapshot(value) {
5377
5324
  if (!(0, _orkestrel_contract.isRecord)(value)) return false;
5378
5325
  const keys = (0, _orkestrel_contract.enumerableKeys)(value);
5379
5326
  if (keys === void 0 || keys.length > 1e3) return false;
5380
- for (const key of keys) if (!isPath(key) || !isHex(value[key])) return false;
5327
+ for (const key of keys) if (!isPath(key) || !isHexContent(value[key])) return false;
5381
5328
  return true;
5382
5329
  });
5383
5330
  }
@@ -5449,12 +5396,12 @@ var isCompilerOptions = (0, _orkestrel_contract.recordOf)({
5449
5396
  *
5450
5397
  * @example
5451
5398
  * ```ts
5452
- * import { cloneValue, parseBlueprint } from '@orkestrel/scaffold'
5399
+ * import { parseBlueprint, parseOwnedJSONValue } from '@orkestrel/scaffold'
5453
5400
  *
5454
- * const owned = parseBlueprint(cloneValue(input))
5401
+ * const owned = parseBlueprint(parseOwnedJSONValue(input))
5455
5402
  * ```
5456
5403
  */
5457
- function cloneValue(value) {
5404
+ function parseOwnedJSONValue(value) {
5458
5405
  const outcome = (0, _orkestrel_contract.attempt)(() => (0, _orkestrel_contract.cloneJSONValue)(value));
5459
5406
  return outcome.success ? outcome.value : void 0;
5460
5407
  }
@@ -5516,20 +5463,20 @@ function parseBlueprint(value) {
5516
5463
  * @returns The selection, or `undefined` when the value is not one.
5517
5464
  *
5518
5465
  * @remarks
5519
- * Derived from {@link isGroups}. Order and repetition are preserved: which
5466
+ * Derived from {@link isArtifactGroups}. Order and repetition are preserved: which
5520
5467
  * groups a plan finally covers, and in which order, is the compiler's to decide
5521
- * from `GROUPS`, not this boundary's.
5468
+ * from `ARTIFACT_GROUPS`, not this boundary's.
5522
5469
  *
5523
5470
  * @example
5524
5471
  * ```ts
5525
- * import { parseGroups } from '@orkestrel/scaffold'
5472
+ * import { parseArtifactGroups } from '@orkestrel/scaffold'
5526
5473
  *
5527
- * parseGroups(['manifest', 'configs']) // ['manifest', 'configs']
5528
- * parseGroups(['readme']) // undefined
5474
+ * parseArtifactGroups(['manifest', 'configs']) // ['manifest', 'configs']
5475
+ * parseArtifactGroups(['readme']) // undefined
5529
5476
  * ```
5530
5477
  */
5531
- function parseGroups(value) {
5532
- return isGroups(value) ? value : void 0;
5478
+ function parseArtifactGroups(value) {
5479
+ return isArtifactGroups(value) ? value : void 0;
5533
5480
  }
5534
5481
  /**
5535
5482
  * Coerces an untrusted value to a {@link Snapshot}.
@@ -5755,8 +5702,8 @@ function collectSurfaceAdvisories(candidate, published, contracts) {
5755
5702
  name,
5756
5703
  owner,
5757
5704
  signature: signatures.get(name)
5758
- }))).sort((left, right) => (0, _orkestrel_contract.compareValues)(left.owner, right.owner) || (0, _orkestrel_contract.compareValues)(left.name, right.name));
5759
- return [...new Set(candidate.names)].filter((name) => !known.has(name)).sort(_orkestrel_contract.compareValues).flatMap((name) => {
5705
+ }))).sort((left, right) => (0, _orkestrel_contract.comparePrimitives)(left.owner, right.owner) || (0, _orkestrel_contract.comparePrimitives)(left.name, right.name));
5706
+ return [...new Set(candidate.names)].filter((name) => !known.has(name)).sort(_orkestrel_contract.comparePrimitives).flatMap((name) => {
5760
5707
  const signature = candidate.signatures.get(name);
5761
5708
  const structure = signature !== void 0 && matchesSurfaceStructure(signature);
5762
5709
  return peers.flatMap((peer) => {
@@ -6061,7 +6008,7 @@ function isFloorPath(path) {
6061
6008
  return isDeferredPath(path) || isCanonPath(path);
6062
6009
  }
6063
6010
  /**
6064
- * Infers the {@link Group} a path belongs to.
6011
+ * Infers the {@link ArtifactGroup} a path belongs to.
6065
6012
  *
6066
6013
  * @param path - The target-relative path to classify.
6067
6014
  * @returns The group that owns the path.
@@ -6077,14 +6024,14 @@ function isFloorPath(path) {
6077
6024
  *
6078
6025
  * @example
6079
6026
  * ```ts
6080
- * import { inferGroup } from '@orkestrel/scaffold'
6027
+ * import { inferArtifactGroup } from '@orkestrel/scaffold'
6081
6028
  *
6082
- * inferGroup('src/core/index.ts') // 'source'
6083
- * inferGroup('AGENTS.md') // 'docs'
6084
- * inferGroup('.editorconfig') // 'configs'
6029
+ * inferArtifactGroup('src/core/index.ts') // 'source'
6030
+ * inferArtifactGroup('AGENTS.md') // 'docs'
6031
+ * inferArtifactGroup('.editorconfig') // 'configs'
6085
6032
  * ```
6086
6033
  */
6087
- function inferGroup(path) {
6034
+ function inferArtifactGroup(path) {
6088
6035
  if (path === "package.json" || path === "package-lock.json") return "manifest";
6089
6036
  if (matchesOrchestrationPath(path)) return "orchestration";
6090
6037
  if (path.startsWith("src/") || path.startsWith("app/")) return "source";
@@ -6236,26 +6183,26 @@ function selectHostPaths(paths, name) {
6236
6183
  * Selects the groups a compile covers, in plan order.
6237
6184
  *
6238
6185
  * @param groups - The requested selection; every group when absent.
6239
- * @returns The requested groups in `GROUPS` order, without repeats.
6186
+ * @returns The requested groups in `ARTIFACT_GROUPS` order, without repeats.
6240
6187
  *
6241
6188
  * @remarks
6242
6189
  * A caller's selection is data, so it arrives in whatever order and with
6243
6190
  * whatever repeats the caller wrote. Plan order is this package's, so the
6244
- * selection is read as membership and the order comes from `GROUPS`. An empty
6191
+ * selection is read as membership and the order comes from `ARTIFACT_GROUPS`. An empty
6245
6192
  * selection covers nothing, which is a caller asking for an empty plan rather
6246
6193
  * than a caller asking for everything.
6247
6194
  *
6248
6195
  * @example
6249
6196
  * ```ts
6250
- * import { selectGroups } from '@orkestrel/scaffold'
6197
+ * import { selectArtifactGroups } from '@orkestrel/scaffold'
6251
6198
  *
6252
- * selectGroups(['tests', 'manifest', 'tests']) // ['manifest', 'tests']
6253
- * selectGroups() // every group, in plan order
6199
+ * selectArtifactGroups(['tests', 'manifest', 'tests']) // ['manifest', 'tests']
6200
+ * selectArtifactGroups() // every group, in plan order
6254
6201
  * ```
6255
6202
  */
6256
- function selectGroups(groups) {
6257
- const selection = groups ?? GROUPS;
6258
- return GROUPS.filter((group) => selection.includes(group));
6203
+ function selectArtifactGroups(groups) {
6204
+ const selection = groups ?? ARTIFACT_GROUPS;
6205
+ return ARTIFACT_GROUPS.filter((group) => selection.includes(group));
6259
6206
  }
6260
6207
  /**
6261
6208
  * Projects an artifact to the exact bytes it claims, as hexadecimal.
@@ -6307,7 +6254,7 @@ function artifactToHex(artifact) {
6307
6254
  * @example
6308
6255
  * ```ts
6309
6256
  * import type { Artifact } from '@orkestrel/scaffold'
6310
- * import { inferDrift } from '@orkestrel/scaffold'
6257
+ * import { inferArtifactDrift } from '@orkestrel/scaffold'
6311
6258
  *
6312
6259
  * const artifact: Artifact = {
6313
6260
  * path: 'README.md',
@@ -6317,12 +6264,12 @@ function artifactToHex(artifact) {
6317
6264
  * content: 'hi\n',
6318
6265
  * }
6319
6266
  *
6320
- * inferDrift(artifact, '68690a') // 'aligned'
6321
- * inferDrift(artifact, '6279650a') // 'stale'
6322
- * inferDrift(artifact) // 'missing'
6267
+ * inferArtifactDrift(artifact, '68690a') // 'aligned'
6268
+ * inferArtifactDrift(artifact, '6279650a') // 'stale'
6269
+ * inferArtifactDrift(artifact) // 'missing'
6323
6270
  * ```
6324
6271
  */
6325
- function inferDrift(artifact, observed) {
6272
+ function inferArtifactDrift(artifact, observed) {
6326
6273
  if (artifact.ownership === "birth") return "aligned";
6327
6274
  if (observed === void 0) return "missing";
6328
6275
  if (artifact.ownership === "presence") return "aligned";
@@ -6338,7 +6285,7 @@ function inferDrift(artifact, observed) {
6338
6285
  * exactly where bytes were read.
6339
6286
  *
6340
6287
  * @remarks
6341
- * The comparison itself is {@link inferDrift}'s, so ownership decides it here
6288
+ * The comparison itself is {@link inferArtifactDrift}'s, so ownership decides it here
6342
6289
  * exactly as it does everywhere else. This adds only the shape: a missing
6343
6290
  * destination has no bytes to record, and every other verdict records the bytes
6344
6291
  * it was given, which is the precondition the mutation that follows is held to.
@@ -6350,19 +6297,19 @@ function inferDrift(artifact, observed) {
6350
6297
  *
6351
6298
  * @example
6352
6299
  * ```ts
6353
- * import { artifactToFinding } from '@orkestrel/scaffold'
6300
+ * import { artifactToArtifactFinding } from '@orkestrel/scaffold'
6354
6301
  *
6355
- * artifactToFinding(
6302
+ * artifactToArtifactFinding(
6356
6303
  * { path: 'README.md', group: 'docs', ownership: 'content', origin: 'computed', content: 'hi\n' },
6357
6304
  * '6279650a',
6358
6305
  * ) // { path: 'README.md', group: 'docs', ownership: 'content', drift: 'stale', observed: '6279650a' }
6359
6306
  * ```
6360
6307
  */
6361
- function artifactToFinding(artifact, observed) {
6308
+ function artifactToArtifactFinding(artifact, observed) {
6362
6309
  const path = artifact.path;
6363
6310
  const group = artifact.group;
6364
6311
  const ownership = artifact.ownership;
6365
- if (observed === void 0) return inferDrift(artifact) === "aligned" ? {
6312
+ if (observed === void 0) return inferArtifactDrift(artifact) === "aligned" ? {
6366
6313
  path,
6367
6314
  group,
6368
6315
  ownership,
@@ -6373,7 +6320,7 @@ function artifactToFinding(artifact, observed) {
6373
6320
  ownership,
6374
6321
  drift: "missing"
6375
6322
  };
6376
- return inferDrift(artifact, observed) === "stale" ? {
6323
+ return inferArtifactDrift(artifact, observed) === "stale" ? {
6377
6324
  path,
6378
6325
  group,
6379
6326
  ownership,
@@ -6388,12 +6335,12 @@ function artifactToFinding(artifact, observed) {
6388
6335
  };
6389
6336
  }
6390
6337
  /**
6391
- * Tests whether {@link inferDrift} could have produced a finding for an ownership.
6338
+ * Tests whether {@link inferArtifactDrift} could have produced a finding for an ownership.
6392
6339
  *
6393
6340
  * @param ownership - What scaffold claims at the planned path.
6394
6341
  * @param finding - The audit verdict to test.
6395
6342
  * @returns True if the ownership and verdict are reachable through
6396
- * {@link inferDrift}; false otherwise.
6343
+ * {@link inferArtifactDrift}; false otherwise.
6397
6344
  *
6398
6345
  * @remarks
6399
6346
  * This predicate keeps the comparison law beside the reachability law it
@@ -6402,16 +6349,16 @@ function artifactToFinding(artifact, observed) {
6402
6349
  *
6403
6350
  * @example
6404
6351
  * ```ts
6405
- * import type { Finding } from '@orkestrel/scaffold'
6406
- * import { matchesDriftReachability } from '@orkestrel/scaffold'
6352
+ * import type { ArtifactFinding } from '@orkestrel/scaffold'
6353
+ * import { matchesArtifactDriftReachability } from '@orkestrel/scaffold'
6407
6354
  *
6408
- * const aligned: Finding = {
6355
+ * const aligned: ArtifactFinding = {
6409
6356
  * path: 'README.md',
6410
6357
  * group: 'docs',
6411
6358
  * ownership: 'birth',
6412
6359
  * drift: 'aligned',
6413
6360
  * }
6414
- * const stale: Finding = {
6361
+ * const stale: ArtifactFinding = {
6415
6362
  * path: 'README.md',
6416
6363
  * group: 'docs',
6417
6364
  * ownership: 'birth',
@@ -6419,11 +6366,11 @@ function artifactToFinding(artifact, observed) {
6419
6366
  * observed: '6279650a',
6420
6367
  * }
6421
6368
  *
6422
- * matchesDriftReachability('birth', aligned) // true
6423
- * matchesDriftReachability('birth', stale) // false
6369
+ * matchesArtifactDriftReachability('birth', aligned) // true
6370
+ * matchesArtifactDriftReachability('birth', stale) // false
6424
6371
  * ```
6425
6372
  */
6426
- function matchesDriftReachability(ownership, finding) {
6373
+ function matchesArtifactDriftReachability(ownership, finding) {
6427
6374
  if (finding.drift === "aligned") return ownership === "birth" || finding.observed !== void 0;
6428
6375
  if (finding.drift === "missing") return ownership !== "birth";
6429
6376
  return finding.drift === "stale" && ownership === "content";
@@ -6593,10 +6540,10 @@ function compareVersions(left, right) {
6593
6540
  if (first === void 0 || second === void 0) {
6594
6541
  if (first !== void 0) return 1;
6595
6542
  if (second !== void 0) return -1;
6596
- return (0, _orkestrel_contract.compareValues)(left, right);
6543
+ return (0, _orkestrel_contract.comparePrimitives)(left, right);
6597
6544
  }
6598
6545
  for (const [index, component] of first.entries()) {
6599
- const order = (0, _orkestrel_contract.compareValues)(component, second[index] ?? 0);
6546
+ const order = (0, _orkestrel_contract.comparePrimitives)(component, second[index] ?? 0);
6600
6547
  if (order !== 0) return order;
6601
6548
  }
6602
6549
  return 0;
@@ -7082,7 +7029,7 @@ function blueprintToDevDependencies(blueprint) {
7082
7029
  ...Object.fromEntries(peers.filter(([name], index) => peers.findIndex(([other]) => other === name) === index))
7083
7030
  };
7084
7031
  const runtime = new Set(blueprint.dependencies.map((dependency) => dependency.name));
7085
- return Object.fromEntries(Object.entries(merged).filter(([name]) => name !== own && !runtime.has(name)).sort(([left], [right]) => (0, _orkestrel_contract.compareValues)(left, right)));
7032
+ return Object.fromEntries(Object.entries(merged).filter(([name]) => name !== own && !runtime.has(name)).sort(([left], [right]) => (0, _orkestrel_contract.comparePrimitives)(left, right)));
7086
7033
  }
7087
7034
  /**
7088
7035
  * Projects a blueprint into the toolchain holds its browser frameworks require.
@@ -7508,8 +7455,8 @@ function blueprintToManifest(blueprint) {
7508
7455
  const targets = [...sheets, ...blueprint.themes ? ["styles/themes"] : []];
7509
7456
  const publishes = blueprint.src.length > 0 || targets.length > 0;
7510
7457
  const name = publishes ? `@orkestrel/${blueprint.name}` : blueprint.name;
7511
- const dependencies = Object.fromEntries([...blueprint.dependencies].sort((left, right) => (0, _orkestrel_contract.compareValues)(left.name, right.name)).map((dependency) => [dependency.name, dependency.range]));
7512
- const peers = [...blueprint.peers].sort((left, right) => (0, _orkestrel_contract.compareValues)(left.name, right.name));
7458
+ const dependencies = Object.fromEntries([...blueprint.dependencies].sort((left, right) => (0, _orkestrel_contract.comparePrimitives)(left.name, right.name)).map((dependency) => [dependency.name, dependency.range]));
7459
+ const peers = [...blueprint.peers].sort((left, right) => (0, _orkestrel_contract.comparePrimitives)(left.name, right.name));
7513
7460
  const peerDependencies = Object.fromEntries(peers.map((peer) => [peer.name, peer.range]));
7514
7461
  const peerDependenciesMeta = Object.fromEntries(peers.filter((peer) => peer.optional === true).map((peer) => [peer.name, { optional: true }]));
7515
7462
  const entry = srcToEntry(blueprint.src);
@@ -8580,7 +8527,7 @@ function blueprintToOrchestrationArtifacts(blueprint) {
8580
8527
  *
8581
8528
  * `source` is left absent because it falls back to `path`, and every vendored
8582
8529
  * path is stored under the name it is written to. The group comes from
8583
- * {@link inferGroup}, so a vendored path and a foreign path found in a target
8530
+ * {@link inferArtifactGroup}, so a vendored path and a foreign path found in a target
8584
8531
  * are classified by one rule and a plan never disagrees with the audit beside
8585
8532
  * it.
8586
8533
  *
@@ -8618,7 +8565,7 @@ function blueprintToOrchestrationArtifacts(blueprint) {
8618
8565
  function blueprintToHostArtifacts(blueprint) {
8619
8566
  const vendored = [...selectHostPaths([...HOST_PATHS, ...SEED_GUIDE_PATHS], blueprint.name), CATALOG_AGENT_PATH].map((path) => ({
8620
8567
  path,
8621
- group: inferGroup(path),
8568
+ group: inferArtifactGroup(path),
8622
8569
  ownership: "presence",
8623
8570
  origin: "host"
8624
8571
  }));
@@ -8630,19 +8577,19 @@ function blueprintToHostArtifacts(blueprint) {
8630
8577
  return [
8631
8578
  {
8632
8579
  path: bridge,
8633
- group: inferGroup(bridge),
8580
+ group: inferArtifactGroup(bridge),
8634
8581
  ownership: "presence",
8635
8582
  origin: "host"
8636
8583
  },
8637
8584
  {
8638
8585
  path: sidecar,
8639
- group: inferGroup(sidecar),
8586
+ group: inferArtifactGroup(sidecar),
8640
8587
  ownership: "presence",
8641
8588
  origin: "host"
8642
8589
  },
8643
8590
  {
8644
8591
  path: pointer,
8645
- group: inferGroup(pointer),
8592
+ group: inferArtifactGroup(pointer),
8646
8593
  ownership: "presence",
8647
8594
  origin: "host",
8648
8595
  pointer: true
@@ -8852,7 +8799,7 @@ function insertManifestDependencies(manifest, additions) {
8852
8799
  function insertManifestSection(manifest, section, dependencies, present) {
8853
8800
  const tokens = scanManifestTokens(manifest);
8854
8801
  if (tokens === void 0) return void 0;
8855
- const ordered = [...dependencies].sort((left, right) => (0, _orkestrel_contract.compareValues)(left.name, right.name));
8802
+ const ordered = [...dependencies].sort((left, right) => (0, _orkestrel_contract.comparePrimitives)(left.name, right.name));
8856
8803
  const lines = ordered.map(({ name, range }) => `${JSON.stringify(name)}: ${JSON.stringify(range)}`);
8857
8804
  const sibling = section === "dependencies" ? "devDependencies" : "dependencies";
8858
8805
  const occurrences = tokens.flatMap((token, at) => {
@@ -8918,7 +8865,7 @@ function insertManifestSection(manifest, section, dependencies, present) {
8918
8865
  const separator = newline < 0 || /\S/u.test(indent) ? "" : `\n${indent}`;
8919
8866
  const placements = ordered.map((dependency, index) => {
8920
8867
  const line = lines[index] ?? "";
8921
- const anchor = declarations.find((declaration) => (0, _orkestrel_contract.compareValues)(declaration.name, dependency.name) > 0);
8868
+ const anchor = declarations.find((declaration) => (0, _orkestrel_contract.comparePrimitives)(declaration.name, dependency.name) > 0);
8922
8869
  return {
8923
8870
  position: anchor?.start ?? last.end,
8924
8871
  text: anchor === void 0 ? `,${separator}${line}` : `${line},${separator}`
@@ -9159,22 +9106,22 @@ function planToHash(plan) {
9159
9106
  *
9160
9107
  * @example
9161
9108
  * ```ts
9162
- * import { Compiler, createBlueprint, planToFindings } from '@orkestrel/scaffold'
9109
+ * import { Compiler, createBlueprint, planToArtifactFindings } from '@orkestrel/scaffold'
9163
9110
  *
9164
9111
  * const { plan } = new Compiler().compile(createBlueprint('router', { src: ['core'] }))
9165
9112
  *
9166
- * plan === undefined ? [] : planToFindings(plan, { 'AGENTS.md': '68690a' })
9113
+ * plan === undefined ? [] : planToArtifactFindings(plan, { 'AGENTS.md': '68690a' })
9167
9114
  * ```
9168
9115
  */
9169
- function planToFindings(plan, current) {
9116
+ function planToArtifactFindings(plan, current) {
9170
9117
  const listed = Iterator.from(plan.artifacts).map((artifact) => ({
9171
9118
  path: artifact.path,
9172
- finding: artifactToFinding(artifact, current[artifact.path])
9119
+ finding: artifactToArtifactFinding(artifact, current[artifact.path])
9173
9120
  })).toArray();
9174
9121
  const planned = new Set(listed.map(({ path }) => path));
9175
9122
  return [...listed.map(({ finding }) => finding), ...Object.entries(current).flatMap(([path, observed]) => {
9176
9123
  if (planned.has(path)) return [];
9177
- const group = inferGroup(path);
9124
+ const group = inferArtifactGroup(path);
9178
9125
  return plan.groups.includes(group) ? [{
9179
9126
  path,
9180
9127
  group,
@@ -9557,7 +9504,7 @@ function overridesToQuestions(overrides, artifacts) {
9557
9504
  * ```
9558
9505
  */
9559
9506
  function createBlueprint(name, input) {
9560
- const blueprint = parseBlueprint(cloneValue({
9507
+ const blueprint = parseBlueprint(parseOwnedJSONValue({
9561
9508
  name,
9562
9509
  ...input?.description === void 0 ? {} : { description: input.description },
9563
9510
  keywords: input?.keywords ?? [],
@@ -9606,7 +9553,7 @@ function createBlueprint(name, input) {
9606
9553
  * so a caller reads the refusal from the value it asked for.
9607
9554
  *
9608
9555
  * Both entry points snapshot each caller-supplied value and then guard the
9609
- * snapshot, which is the order `cloneValue` fixes. A value that is not the exact
9556
+ * snapshot, which is the order `parseOwnedJSONValue` fixes. A value that is not the exact
9610
9557
  * shape is off-contract input rather than an answerable question, so it raises
9611
9558
  * `INVALID`. Structure raises; the laws a well-formed blueprint can still break
9612
9559
  * are the gate's, and they answer with questions.
@@ -9737,7 +9684,7 @@ var Compiler = class {
9737
9684
  const compiled = this.#scaffold(accepted, this.#select(groups));
9738
9685
  if (compiled.plan === void 0) this.#emitter.emit("block", compiled.questions);
9739
9686
  const result = {
9740
- findings: compiled.plan === void 0 ? [] : planToFindings(compiled.plan, observed),
9687
+ findings: compiled.plan === void 0 ? [] : planToArtifactFindings(compiled.plan, observed),
9741
9688
  questions: compiled.questions
9742
9689
  };
9743
9690
  this.#emitter.emit("audit", result);
@@ -9870,10 +9817,10 @@ var Compiler = class {
9870
9817
  ];
9871
9818
  }
9872
9819
  #select(groups) {
9873
- return selectGroups(groups === void 0 ? void 0 : this.#accept(groups, parseGroups, "groups", GROUPS));
9820
+ return selectArtifactGroups(groups === void 0 ? void 0 : this.#accept(groups, parseArtifactGroups, "groups", ARTIFACT_GROUPS));
9874
9821
  }
9875
9822
  #accept(value, parse, field, candidates) {
9876
- const accepted = parse(cloneValue(value));
9823
+ const accepted = parse(parseOwnedJSONValue(value));
9877
9824
  if (accepted !== void 0) return accepted;
9878
9825
  throw this.#error("INVALID", `The ${field} argument is not the exact shape this compiler accepts.`, candidates === void 0 ? { field } : {
9879
9826
  field,
@@ -9893,6 +9840,7 @@ exports.APP_BROWSER_DEV_DEPENDENCIES = APP_BROWSER_DEV_DEPENDENCIES;
9893
9840
  exports.APP_DEV_DEPENDENCIES = APP_DEV_DEPENDENCIES;
9894
9841
  exports.APP_MATRIX = APP_MATRIX;
9895
9842
  exports.APP_SERVER_DEV_DEPENDENCIES = APP_SERVER_DEV_DEPENDENCIES;
9843
+ exports.ARTIFACT_GROUPS = ARTIFACT_GROUPS;
9896
9844
  exports.ARTIFACT_TEMPLATES = ARTIFACT_TEMPLATES;
9897
9845
  exports.AXES = AXES;
9898
9846
  exports.BASE_DEV_DEPENDENCIES = BASE_DEV_DEPENDENCIES;
@@ -9926,7 +9874,6 @@ exports.FOREIGN_NAME_PATTERN = FOREIGN_NAME_PATTERN;
9926
9874
  exports.FRAMEWORKS = FRAMEWORKS;
9927
9875
  exports.FRAMEWORK_MATRIX = FRAMEWORK_MATRIX;
9928
9876
  exports.GLOBAL_SETUP_PATH = GLOBAL_SETUP_PATH;
9929
- exports.GROUPS = GROUPS;
9930
9877
  exports.GUIDES_TEST_PATH = GUIDES_TEST_PATH;
9931
9878
  exports.HEX_PATTERN = HEX_PATTERN;
9932
9879
  exports.HOST_INVENTORY_PATH = HOST_INVENTORY_PATH;
@@ -9987,7 +9934,7 @@ exports.VERSION_PATTERN = VERSION_PATTERN;
9987
9934
  exports.WORKSPACE_DEV_ENGINES = WORKSPACE_DEV_ENGINES;
9988
9935
  exports.WORKSPACE_OWNED_PATHS = WORKSPACE_OWNED_PATHS;
9989
9936
  exports.applyOverrides = applyOverrides;
9990
- exports.artifactToFinding = artifactToFinding;
9937
+ exports.artifactToArtifactFinding = artifactToArtifactFinding;
9991
9938
  exports.artifactToHex = artifactToHex;
9992
9939
  exports.artifactsToQuestions = artifactsToQuestions;
9993
9940
  exports.blueprintToConfigArtifacts = blueprintToConfigArtifacts;
@@ -10014,7 +9961,6 @@ exports.blueprintToToolchainHolds = blueprintToToolchainHolds;
10014
9961
  exports.blueprintToWritableScripts = blueprintToWritableScripts;
10015
9962
  exports.bytesToHex = bytesToHex;
10016
9963
  exports.catalogToLayers = catalogToLayers;
10017
- exports.cloneValue = cloneValue;
10018
9964
  exports.collectSurfaceAdvisories = collectSurfaceAdvisories;
10019
9965
  exports.collectSurfaceCollisions = collectSurfaceCollisions;
10020
9966
  exports.collectSurfaceConflicts = collectSurfaceConflicts;
@@ -10028,12 +9974,15 @@ exports.createBlueprint = createBlueprint;
10028
9974
  exports.dependenciesToQuestions = dependenciesToQuestions;
10029
9975
  exports.extractRangeMajor = extractRangeMajor;
10030
9976
  exports.extractVersion = extractVersion;
10031
- exports.inferDrift = inferDrift;
10032
- exports.inferGroup = inferGroup;
9977
+ exports.inferArtifactDrift = inferArtifactDrift;
9978
+ exports.inferArtifactGroup = inferArtifactGroup;
10033
9979
  exports.inferSurfaceSimilarity = inferSurfaceSimilarity;
10034
9980
  exports.insertManifestDependencies = insertManifestDependencies;
10035
9981
  exports.insertManifestSection = insertManifestSection;
10036
9982
  exports.isArtifact = isArtifact;
9983
+ exports.isArtifactFinding = isArtifactFinding;
9984
+ exports.isArtifactGroup = isArtifactGroup;
9985
+ exports.isArtifactGroups = isArtifactGroups;
10037
9986
  exports.isAudit = isAudit;
10038
9987
  exports.isBlueprint = isBlueprint;
10039
9988
  exports.isBrowserExtension = isBrowserExtension;
@@ -10048,11 +9997,8 @@ exports.isDependency = isDependency;
10048
9997
  exports.isDependencyName = isDependencyName;
10049
9998
  exports.isEnvironment = isEnvironment;
10050
9999
  exports.isExtension = isExtension;
10051
- exports.isFinding = isFinding;
10052
10000
  exports.isFloorPath = isFloorPath;
10053
- exports.isGroup = isGroup;
10054
- exports.isGroups = isGroups;
10055
- exports.isHex = isHex;
10001
+ exports.isHexContent = isHexContent;
10056
10002
  exports.isManifestScript = isManifestScript;
10057
10003
  exports.isMirror = isMirror;
10058
10004
  exports.isOverride = isOverride;
@@ -10068,7 +10014,7 @@ exports.isSurface = isSurface;
10068
10014
  exports.iterateAnswers = iterateAnswers;
10069
10015
  exports.manifestToDependencies = manifestToDependencies;
10070
10016
  exports.manifestToName = manifestToName;
10071
- exports.matchesDriftReachability = matchesDriftReachability;
10017
+ exports.matchesArtifactDriftReachability = matchesArtifactDriftReachability;
10072
10018
  exports.matchesEngines = matchesEngines;
10073
10019
  exports.matchesGuideRefusal = matchesGuideRefusal;
10074
10020
  exports.matchesOrchestrationPath = matchesOrchestrationPath;
@@ -10077,13 +10023,14 @@ exports.matchesRange = matchesRange;
10077
10023
  exports.matchesSurfaceStructure = matchesSurfaceStructure;
10078
10024
  exports.nameToGuide = nameToGuide;
10079
10025
  exports.overridesToQuestions = overridesToQuestions;
10026
+ exports.parseArtifactGroups = parseArtifactGroups;
10080
10027
  exports.parseBlueprint = parseBlueprint;
10081
10028
  exports.parseCompilerOptions = parseCompilerOptions;
10082
10029
  exports.parseExtension = parseExtension;
10083
- exports.parseGroups = parseGroups;
10030
+ exports.parseOwnedJSONValue = parseOwnedJSONValue;
10084
10031
  exports.parseSnapshot = parseSnapshot;
10085
10032
  exports.pathToCondition = pathToCondition;
10086
- exports.planToFindings = planToFindings;
10033
+ exports.planToArtifactFindings = planToArtifactFindings;
10087
10034
  exports.planToHash = planToHash;
10088
10035
  exports.planToSummary = planToSummary;
10089
10036
  exports.renderSkillPointer = renderSkillPointer;
@@ -10093,7 +10040,7 @@ exports.replaceManifestRanges = replaceManifestRanges;
10093
10040
  exports.replaceManifestScripts = replaceManifestScripts;
10094
10041
  exports.replacePlanRanges = replacePlanRanges;
10095
10042
  exports.scanManifestTokens = scanManifestTokens;
10096
- exports.selectGroups = selectGroups;
10043
+ exports.selectArtifactGroups = selectArtifactGroups;
10097
10044
  exports.selectHostPaths = selectHostPaths;
10098
10045
  exports.serializeTypeScriptString = serializeTypeScriptString;
10099
10046
  exports.srcToEntry = srcToEntry;