@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
@@ -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.120",
8
8
  description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
9
9
  keywords: [
10
10
  "audit",
@@ -97,19 +97,19 @@ var package_default = {
97
97
  },
98
98
  dependencies: {
99
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"
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",
107
+ "@microsoft/api-extractor": "^7.60.1",
108
108
  "@orkestrel/browser": "^0.0.30",
109
109
  "@orkestrel/guide": "^0.0.28",
110
- "@orkestrel/html": "^0.0.13",
110
+ "@orkestrel/html": "^0.0.14",
111
111
  "@orkestrel/probe": "^0.0.26",
112
- "@orkestrel/test": "^0.0.31",
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,46 @@ 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([...[
375
+ "errorToMessage",
376
+ "escapeRegExp",
377
+ "failure",
378
+ "success"
379
+ ].map((name) => ({
380
+ name,
381
+ keeper: "contract",
382
+ item: 79
383
+ })), ...[
384
+ "JSONRPCError",
385
+ "JSONRPCErrorResponse",
386
+ "JSONRPCId",
387
+ "JSONRPCInvocation",
388
+ "JSONRPCMessage",
389
+ "JSONRPCNotification",
390
+ "JSONRPCRequest",
391
+ "JSONRPCResponse",
392
+ "JSONRPCResultResponse",
393
+ "JSONRPC_INTERNAL_ERROR",
394
+ "JSONRPC_INVALID_PARAMS",
395
+ "JSONRPC_INVALID_REQUEST",
396
+ "JSONRPC_METHOD_NOT_FOUND",
397
+ "JSONRPC_PARSE_ERROR",
398
+ "buildJSONRPCError",
399
+ "buildJSONRPCResult",
400
+ "isJSONRPCError",
401
+ "isJSONRPCErrorResponse",
402
+ "isJSONRPCId",
403
+ "isJSONRPCInvocation",
404
+ "isJSONRPCMessage",
405
+ "isJSONRPCNotification",
406
+ "isJSONRPCRequest",
407
+ "isJSONRPCResponse",
408
+ "isJSONRPCResultResponse"
409
+ ].map((name) => ({
410
+ name,
411
+ keeper: "jsonrpc",
412
+ item: 81
413
+ }))].map((transfer) => Object.freeze(transfer)));
429
414
  /**
430
415
  * Lists the vendored paths whose present bytes belong to each workspace, frozen.
431
416
  *
@@ -4896,13 +4881,13 @@ function isPath(value) {
4896
4881
  *
4897
4882
  * @example
4898
4883
  * ```ts
4899
- * import { isHex } from '@orkestrel/scaffold'
4884
+ * import { isHexContent } from '@orkestrel/scaffold'
4900
4885
  *
4901
- * isHex('68690a') // true
4902
- * isHex('68690A') // false
4886
+ * isHexContent('68690a') // true
4887
+ * isHexContent('68690A') // false
4903
4888
  * ```
4904
4889
  */
4905
- var isHex = (0, _orkestrel_contract.stringOf)({
4890
+ var isHexContent = (0, _orkestrel_contract.stringOf)({
4906
4891
  max: MAX_ARTIFACT_HEX_LENGTH,
4907
4892
  pattern: HEX_PATTERN
4908
4893
  });
@@ -5027,19 +5012,19 @@ var isStylesExtension = (0, _orkestrel_contract.recordOf)({
5027
5012
  */
5028
5013
  var isExtension = (0, _orkestrel_contract.unionOf)(isBrowserExtension, isStylesExtension);
5029
5014
  /**
5030
- * Narrows a value to one {@link Group} a plan selects over.
5015
+ * Narrows a value to one {@link ArtifactGroup} a plan selects over.
5031
5016
  *
5032
5017
  * @example
5033
5018
  * ```ts
5034
- * import { isGroup } from '@orkestrel/scaffold'
5019
+ * import { isArtifactGroup } from '@orkestrel/scaffold'
5035
5020
  *
5036
- * isGroup('manifest') // true
5037
- * isGroup('readme') // false
5021
+ * isArtifactGroup('manifest') // true
5022
+ * isArtifactGroup('readme') // false
5038
5023
  * ```
5039
5024
  */
5040
- var isGroup = (0, _orkestrel_contract.literalOf)(GROUPS);
5025
+ var isArtifactGroup = (0, _orkestrel_contract.literalOf)(ARTIFACT_GROUPS);
5041
5026
  /** Narrows a value to a bounded group selection. */
5042
- var isGroups = (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(isGroup));
5027
+ var isArtifactGroups = (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(isArtifactGroup));
5043
5028
  /**
5044
5029
  * Narrows a value to the scoped package name a runtime dependency carries.
5045
5030
  *
@@ -5205,7 +5190,7 @@ var isBlueprint = (0, _orkestrel_contract.recordOf)({
5205
5190
  */
5206
5191
  var isArtifact = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordOf)({
5207
5192
  path: isPath,
5208
- group: isGroup,
5193
+ group: isArtifactGroup,
5209
5194
  ownership: (0, _orkestrel_contract.literalOf)("presence", "birth"),
5210
5195
  environment: isEnvironment,
5211
5196
  origin: (0, _orkestrel_contract.literalOf)("host"),
@@ -5217,15 +5202,15 @@ var isArtifact = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.record
5217
5202
  "pointer"
5218
5203
  ]), (0, _orkestrel_contract.recordOf)({
5219
5204
  path: isPath,
5220
- group: isGroup,
5205
+ group: isArtifactGroup,
5221
5206
  ownership: (0, _orkestrel_contract.literalOf)("content"),
5222
5207
  environment: isEnvironment,
5223
5208
  origin: (0, _orkestrel_contract.literalOf)("host"),
5224
5209
  source: isPath,
5225
- hex: isHex
5210
+ hex: isHexContent
5226
5211
  }, ["environment", "source"]), (0, _orkestrel_contract.recordOf)({
5227
5212
  path: isPath,
5228
- group: isGroup,
5213
+ group: isArtifactGroup,
5229
5214
  ownership: (0, _orkestrel_contract.literalOf)("content", "presence", "birth"),
5230
5215
  environment: isEnvironment,
5231
5216
  origin: (0, _orkestrel_contract.literalOf)("template", "computed"),
@@ -5243,9 +5228,9 @@ var isArtifact = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.record
5243
5228
  */
5244
5229
  var isPlan = (0, _orkestrel_contract.andOf)((0, _orkestrel_contract.recordOf)({
5245
5230
  blueprint: isBlueprint,
5246
- groups: isGroups,
5231
+ groups: isArtifactGroups,
5247
5232
  artifacts: (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(isArtifact)),
5248
- hash: isHex
5233
+ hash: isHexContent
5249
5234
  }, ["hash"]), (plan) => plan.artifacts.every((artifact) => artifact.path !== "package.json" || artifact.ownership === "birth"));
5250
5235
  /**
5251
5236
  * Narrows a value to a {@link Question}.
@@ -5264,7 +5249,7 @@ var isQuestion = (0, _orkestrel_contract.recordOf)({
5264
5249
  candidates: (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(_orkestrel_contract.isString))
5265
5250
  }, ["candidates"]);
5266
5251
  /**
5267
- * Narrows a value to a {@link Finding}.
5252
+ * Narrows a value to an {@link ArtifactFinding}.
5268
5253
  *
5269
5254
  * @remarks
5270
5255
  * `observed` is required exactly where the mutation it precedes is held to it,
@@ -5275,30 +5260,30 @@ var isQuestion = (0, _orkestrel_contract.recordOf)({
5275
5260
  * That is the whole claim. This guard proves the shape a reader may destructure
5276
5261
  * and nothing about whether the verdict is one an audit could have reached: the
5277
5262
  * correlation between `ownership`, `drift`, and `observed` belongs to
5278
- * {@link inferDrift}, and it is re-derived at the verb that acts on the finding.
5263
+ * {@link inferArtifactDrift}, and it is re-derived at the verb that acts on the finding.
5279
5264
  */
5280
- var isFinding = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordOf)({
5265
+ var isArtifactFinding = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordOf)({
5281
5266
  path: isPath,
5282
- group: isGroup,
5267
+ group: isArtifactGroup,
5283
5268
  ownership: (0, _orkestrel_contract.literalOf)("content", "presence", "birth"),
5284
5269
  drift: (0, _orkestrel_contract.literalOf)("stale"),
5285
- observed: isHex
5270
+ observed: isHexContent
5286
5271
  }), (0, _orkestrel_contract.recordOf)({
5287
5272
  path: isPath,
5288
- group: isGroup,
5273
+ group: isArtifactGroup,
5289
5274
  drift: (0, _orkestrel_contract.literalOf)("foreign"),
5290
- observed: isHex
5275
+ observed: isHexContent
5291
5276
  }), (0, _orkestrel_contract.recordOf)({
5292
5277
  path: isPath,
5293
- group: isGroup,
5278
+ group: isArtifactGroup,
5294
5279
  ownership: (0, _orkestrel_contract.literalOf)("content", "presence", "birth"),
5295
5280
  drift: (0, _orkestrel_contract.literalOf)("missing")
5296
5281
  }), (0, _orkestrel_contract.recordOf)({
5297
5282
  path: isPath,
5298
- group: isGroup,
5283
+ group: isArtifactGroup,
5299
5284
  ownership: (0, _orkestrel_contract.literalOf)("content", "presence", "birth"),
5300
5285
  drift: (0, _orkestrel_contract.literalOf)("aligned"),
5301
- observed: isHex
5286
+ observed: isHexContent
5302
5287
  }, ["observed"]));
5303
5288
  /**
5304
5289
  * Narrows a value to an {@link Audit}.
@@ -5309,7 +5294,7 @@ var isFinding = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordO
5309
5294
  * bounds: one per planned artifact, then one per unplanned snapshot path.
5310
5295
  */
5311
5296
  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)),
5297
+ findings: (0, _orkestrel_contract.andOf)((value) => (0, _orkestrel_contract.holds)(() => (0, _orkestrel_contract.isArray)(value) && value.length <= 2e3), (0, _orkestrel_contract.arrayOf)(isArtifactFinding)),
5313
5298
  questions: (0, _orkestrel_contract.andOf)(isCollection, (0, _orkestrel_contract.arrayOf)(isQuestion))
5314
5299
  });
5315
5300
  /**
@@ -5325,13 +5310,13 @@ var isMirror = (0, _orkestrel_contract.unionOf)((0, _orkestrel_contract.recordOf
5325
5310
  path: isPath,
5326
5311
  lookup: (0, _orkestrel_contract.literalOf)("found"),
5327
5312
  content: isContent,
5328
- observed: isHex
5313
+ observed: isHexContent
5329
5314
  }, ["observed"]), (0, _orkestrel_contract.recordOf)({
5330
5315
  name: isDependencyName,
5331
5316
  path: isPath,
5332
5317
  lookup: (0, _orkestrel_contract.literalOf)("missing", "unmatched", "failed"),
5333
5318
  note: _orkestrel_contract.isString,
5334
- observed: isHex
5319
+ observed: isHexContent
5335
5320
  }, ["observed"]));
5336
5321
  /**
5337
5322
  * Narrows a value to a {@link CatalogEntry}.
@@ -5377,7 +5362,7 @@ function isSnapshot(value) {
5377
5362
  if (!(0, _orkestrel_contract.isRecord)(value)) return false;
5378
5363
  const keys = (0, _orkestrel_contract.enumerableKeys)(value);
5379
5364
  if (keys === void 0 || keys.length > 1e3) return false;
5380
- for (const key of keys) if (!isPath(key) || !isHex(value[key])) return false;
5365
+ for (const key of keys) if (!isPath(key) || !isHexContent(value[key])) return false;
5381
5366
  return true;
5382
5367
  });
5383
5368
  }
@@ -5449,12 +5434,12 @@ var isCompilerOptions = (0, _orkestrel_contract.recordOf)({
5449
5434
  *
5450
5435
  * @example
5451
5436
  * ```ts
5452
- * import { cloneValue, parseBlueprint } from '@orkestrel/scaffold'
5437
+ * import { parseBlueprint, parseOwnedJSONValue } from '@orkestrel/scaffold'
5453
5438
  *
5454
- * const owned = parseBlueprint(cloneValue(input))
5439
+ * const owned = parseBlueprint(parseOwnedJSONValue(input))
5455
5440
  * ```
5456
5441
  */
5457
- function cloneValue(value) {
5442
+ function parseOwnedJSONValue(value) {
5458
5443
  const outcome = (0, _orkestrel_contract.attempt)(() => (0, _orkestrel_contract.cloneJSONValue)(value));
5459
5444
  return outcome.success ? outcome.value : void 0;
5460
5445
  }
@@ -5516,20 +5501,20 @@ function parseBlueprint(value) {
5516
5501
  * @returns The selection, or `undefined` when the value is not one.
5517
5502
  *
5518
5503
  * @remarks
5519
- * Derived from {@link isGroups}. Order and repetition are preserved: which
5504
+ * Derived from {@link isArtifactGroups}. Order and repetition are preserved: which
5520
5505
  * groups a plan finally covers, and in which order, is the compiler's to decide
5521
- * from `GROUPS`, not this boundary's.
5506
+ * from `ARTIFACT_GROUPS`, not this boundary's.
5522
5507
  *
5523
5508
  * @example
5524
5509
  * ```ts
5525
- * import { parseGroups } from '@orkestrel/scaffold'
5510
+ * import { parseArtifactGroups } from '@orkestrel/scaffold'
5526
5511
  *
5527
- * parseGroups(['manifest', 'configs']) // ['manifest', 'configs']
5528
- * parseGroups(['readme']) // undefined
5512
+ * parseArtifactGroups(['manifest', 'configs']) // ['manifest', 'configs']
5513
+ * parseArtifactGroups(['readme']) // undefined
5529
5514
  * ```
5530
5515
  */
5531
- function parseGroups(value) {
5532
- return isGroups(value) ? value : void 0;
5516
+ function parseArtifactGroups(value) {
5517
+ return isArtifactGroups(value) ? value : void 0;
5533
5518
  }
5534
5519
  /**
5535
5520
  * Coerces an untrusted value to a {@link Snapshot}.
@@ -5755,8 +5740,8 @@ function collectSurfaceAdvisories(candidate, published, contracts) {
5755
5740
  name,
5756
5741
  owner,
5757
5742
  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) => {
5743
+ }))).sort((left, right) => (0, _orkestrel_contract.comparePrimitives)(left.owner, right.owner) || (0, _orkestrel_contract.comparePrimitives)(left.name, right.name));
5744
+ return [...new Set(candidate.names)].filter((name) => !known.has(name)).sort(_orkestrel_contract.comparePrimitives).flatMap((name) => {
5760
5745
  const signature = candidate.signatures.get(name);
5761
5746
  const structure = signature !== void 0 && matchesSurfaceStructure(signature);
5762
5747
  return peers.flatMap((peer) => {
@@ -6061,7 +6046,7 @@ function isFloorPath(path) {
6061
6046
  return isDeferredPath(path) || isCanonPath(path);
6062
6047
  }
6063
6048
  /**
6064
- * Infers the {@link Group} a path belongs to.
6049
+ * Infers the {@link ArtifactGroup} a path belongs to.
6065
6050
  *
6066
6051
  * @param path - The target-relative path to classify.
6067
6052
  * @returns The group that owns the path.
@@ -6077,14 +6062,14 @@ function isFloorPath(path) {
6077
6062
  *
6078
6063
  * @example
6079
6064
  * ```ts
6080
- * import { inferGroup } from '@orkestrel/scaffold'
6065
+ * import { inferArtifactGroup } from '@orkestrel/scaffold'
6081
6066
  *
6082
- * inferGroup('src/core/index.ts') // 'source'
6083
- * inferGroup('AGENTS.md') // 'docs'
6084
- * inferGroup('.editorconfig') // 'configs'
6067
+ * inferArtifactGroup('src/core/index.ts') // 'source'
6068
+ * inferArtifactGroup('AGENTS.md') // 'docs'
6069
+ * inferArtifactGroup('.editorconfig') // 'configs'
6085
6070
  * ```
6086
6071
  */
6087
- function inferGroup(path) {
6072
+ function inferArtifactGroup(path) {
6088
6073
  if (path === "package.json" || path === "package-lock.json") return "manifest";
6089
6074
  if (matchesOrchestrationPath(path)) return "orchestration";
6090
6075
  if (path.startsWith("src/") || path.startsWith("app/")) return "source";
@@ -6236,26 +6221,26 @@ function selectHostPaths(paths, name) {
6236
6221
  * Selects the groups a compile covers, in plan order.
6237
6222
  *
6238
6223
  * @param groups - The requested selection; every group when absent.
6239
- * @returns The requested groups in `GROUPS` order, without repeats.
6224
+ * @returns The requested groups in `ARTIFACT_GROUPS` order, without repeats.
6240
6225
  *
6241
6226
  * @remarks
6242
6227
  * A caller's selection is data, so it arrives in whatever order and with
6243
6228
  * 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
6229
+ * selection is read as membership and the order comes from `ARTIFACT_GROUPS`. An empty
6245
6230
  * selection covers nothing, which is a caller asking for an empty plan rather
6246
6231
  * than a caller asking for everything.
6247
6232
  *
6248
6233
  * @example
6249
6234
  * ```ts
6250
- * import { selectGroups } from '@orkestrel/scaffold'
6235
+ * import { selectArtifactGroups } from '@orkestrel/scaffold'
6251
6236
  *
6252
- * selectGroups(['tests', 'manifest', 'tests']) // ['manifest', 'tests']
6253
- * selectGroups() // every group, in plan order
6237
+ * selectArtifactGroups(['tests', 'manifest', 'tests']) // ['manifest', 'tests']
6238
+ * selectArtifactGroups() // every group, in plan order
6254
6239
  * ```
6255
6240
  */
6256
- function selectGroups(groups) {
6257
- const selection = groups ?? GROUPS;
6258
- return GROUPS.filter((group) => selection.includes(group));
6241
+ function selectArtifactGroups(groups) {
6242
+ const selection = groups ?? ARTIFACT_GROUPS;
6243
+ return ARTIFACT_GROUPS.filter((group) => selection.includes(group));
6259
6244
  }
6260
6245
  /**
6261
6246
  * Projects an artifact to the exact bytes it claims, as hexadecimal.
@@ -6307,7 +6292,7 @@ function artifactToHex(artifact) {
6307
6292
  * @example
6308
6293
  * ```ts
6309
6294
  * import type { Artifact } from '@orkestrel/scaffold'
6310
- * import { inferDrift } from '@orkestrel/scaffold'
6295
+ * import { inferArtifactDrift } from '@orkestrel/scaffold'
6311
6296
  *
6312
6297
  * const artifact: Artifact = {
6313
6298
  * path: 'README.md',
@@ -6317,12 +6302,12 @@ function artifactToHex(artifact) {
6317
6302
  * content: 'hi\n',
6318
6303
  * }
6319
6304
  *
6320
- * inferDrift(artifact, '68690a') // 'aligned'
6321
- * inferDrift(artifact, '6279650a') // 'stale'
6322
- * inferDrift(artifact) // 'missing'
6305
+ * inferArtifactDrift(artifact, '68690a') // 'aligned'
6306
+ * inferArtifactDrift(artifact, '6279650a') // 'stale'
6307
+ * inferArtifactDrift(artifact) // 'missing'
6323
6308
  * ```
6324
6309
  */
6325
- function inferDrift(artifact, observed) {
6310
+ function inferArtifactDrift(artifact, observed) {
6326
6311
  if (artifact.ownership === "birth") return "aligned";
6327
6312
  if (observed === void 0) return "missing";
6328
6313
  if (artifact.ownership === "presence") return "aligned";
@@ -6338,7 +6323,7 @@ function inferDrift(artifact, observed) {
6338
6323
  * exactly where bytes were read.
6339
6324
  *
6340
6325
  * @remarks
6341
- * The comparison itself is {@link inferDrift}'s, so ownership decides it here
6326
+ * The comparison itself is {@link inferArtifactDrift}'s, so ownership decides it here
6342
6327
  * exactly as it does everywhere else. This adds only the shape: a missing
6343
6328
  * destination has no bytes to record, and every other verdict records the bytes
6344
6329
  * it was given, which is the precondition the mutation that follows is held to.
@@ -6350,19 +6335,19 @@ function inferDrift(artifact, observed) {
6350
6335
  *
6351
6336
  * @example
6352
6337
  * ```ts
6353
- * import { artifactToFinding } from '@orkestrel/scaffold'
6338
+ * import { artifactToArtifactFinding } from '@orkestrel/scaffold'
6354
6339
  *
6355
- * artifactToFinding(
6340
+ * artifactToArtifactFinding(
6356
6341
  * { path: 'README.md', group: 'docs', ownership: 'content', origin: 'computed', content: 'hi\n' },
6357
6342
  * '6279650a',
6358
6343
  * ) // { path: 'README.md', group: 'docs', ownership: 'content', drift: 'stale', observed: '6279650a' }
6359
6344
  * ```
6360
6345
  */
6361
- function artifactToFinding(artifact, observed) {
6346
+ function artifactToArtifactFinding(artifact, observed) {
6362
6347
  const path = artifact.path;
6363
6348
  const group = artifact.group;
6364
6349
  const ownership = artifact.ownership;
6365
- if (observed === void 0) return inferDrift(artifact) === "aligned" ? {
6350
+ if (observed === void 0) return inferArtifactDrift(artifact) === "aligned" ? {
6366
6351
  path,
6367
6352
  group,
6368
6353
  ownership,
@@ -6373,7 +6358,7 @@ function artifactToFinding(artifact, observed) {
6373
6358
  ownership,
6374
6359
  drift: "missing"
6375
6360
  };
6376
- return inferDrift(artifact, observed) === "stale" ? {
6361
+ return inferArtifactDrift(artifact, observed) === "stale" ? {
6377
6362
  path,
6378
6363
  group,
6379
6364
  ownership,
@@ -6388,12 +6373,12 @@ function artifactToFinding(artifact, observed) {
6388
6373
  };
6389
6374
  }
6390
6375
  /**
6391
- * Tests whether {@link inferDrift} could have produced a finding for an ownership.
6376
+ * Tests whether {@link inferArtifactDrift} could have produced a finding for an ownership.
6392
6377
  *
6393
6378
  * @param ownership - What scaffold claims at the planned path.
6394
6379
  * @param finding - The audit verdict to test.
6395
6380
  * @returns True if the ownership and verdict are reachable through
6396
- * {@link inferDrift}; false otherwise.
6381
+ * {@link inferArtifactDrift}; false otherwise.
6397
6382
  *
6398
6383
  * @remarks
6399
6384
  * This predicate keeps the comparison law beside the reachability law it
@@ -6402,16 +6387,16 @@ function artifactToFinding(artifact, observed) {
6402
6387
  *
6403
6388
  * @example
6404
6389
  * ```ts
6405
- * import type { Finding } from '@orkestrel/scaffold'
6406
- * import { matchesDriftReachability } from '@orkestrel/scaffold'
6390
+ * import type { ArtifactFinding } from '@orkestrel/scaffold'
6391
+ * import { matchesArtifactDriftReachability } from '@orkestrel/scaffold'
6407
6392
  *
6408
- * const aligned: Finding = {
6393
+ * const aligned: ArtifactFinding = {
6409
6394
  * path: 'README.md',
6410
6395
  * group: 'docs',
6411
6396
  * ownership: 'birth',
6412
6397
  * drift: 'aligned',
6413
6398
  * }
6414
- * const stale: Finding = {
6399
+ * const stale: ArtifactFinding = {
6415
6400
  * path: 'README.md',
6416
6401
  * group: 'docs',
6417
6402
  * ownership: 'birth',
@@ -6419,11 +6404,11 @@ function artifactToFinding(artifact, observed) {
6419
6404
  * observed: '6279650a',
6420
6405
  * }
6421
6406
  *
6422
- * matchesDriftReachability('birth', aligned) // true
6423
- * matchesDriftReachability('birth', stale) // false
6407
+ * matchesArtifactDriftReachability('birth', aligned) // true
6408
+ * matchesArtifactDriftReachability('birth', stale) // false
6424
6409
  * ```
6425
6410
  */
6426
- function matchesDriftReachability(ownership, finding) {
6411
+ function matchesArtifactDriftReachability(ownership, finding) {
6427
6412
  if (finding.drift === "aligned") return ownership === "birth" || finding.observed !== void 0;
6428
6413
  if (finding.drift === "missing") return ownership !== "birth";
6429
6414
  return finding.drift === "stale" && ownership === "content";
@@ -6593,10 +6578,10 @@ function compareVersions(left, right) {
6593
6578
  if (first === void 0 || second === void 0) {
6594
6579
  if (first !== void 0) return 1;
6595
6580
  if (second !== void 0) return -1;
6596
- return (0, _orkestrel_contract.compareValues)(left, right);
6581
+ return (0, _orkestrel_contract.comparePrimitives)(left, right);
6597
6582
  }
6598
6583
  for (const [index, component] of first.entries()) {
6599
- const order = (0, _orkestrel_contract.compareValues)(component, second[index] ?? 0);
6584
+ const order = (0, _orkestrel_contract.comparePrimitives)(component, second[index] ?? 0);
6600
6585
  if (order !== 0) return order;
6601
6586
  }
6602
6587
  return 0;
@@ -7082,7 +7067,7 @@ function blueprintToDevDependencies(blueprint) {
7082
7067
  ...Object.fromEntries(peers.filter(([name], index) => peers.findIndex(([other]) => other === name) === index))
7083
7068
  };
7084
7069
  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)));
7070
+ return Object.fromEntries(Object.entries(merged).filter(([name]) => name !== own && !runtime.has(name)).sort(([left], [right]) => (0, _orkestrel_contract.comparePrimitives)(left, right)));
7086
7071
  }
7087
7072
  /**
7088
7073
  * Projects a blueprint into the toolchain holds its browser frameworks require.
@@ -7508,8 +7493,8 @@ function blueprintToManifest(blueprint) {
7508
7493
  const targets = [...sheets, ...blueprint.themes ? ["styles/themes"] : []];
7509
7494
  const publishes = blueprint.src.length > 0 || targets.length > 0;
7510
7495
  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));
7496
+ const dependencies = Object.fromEntries([...blueprint.dependencies].sort((left, right) => (0, _orkestrel_contract.comparePrimitives)(left.name, right.name)).map((dependency) => [dependency.name, dependency.range]));
7497
+ const peers = [...blueprint.peers].sort((left, right) => (0, _orkestrel_contract.comparePrimitives)(left.name, right.name));
7513
7498
  const peerDependencies = Object.fromEntries(peers.map((peer) => [peer.name, peer.range]));
7514
7499
  const peerDependenciesMeta = Object.fromEntries(peers.filter((peer) => peer.optional === true).map((peer) => [peer.name, { optional: true }]));
7515
7500
  const entry = srcToEntry(blueprint.src);
@@ -8580,7 +8565,7 @@ function blueprintToOrchestrationArtifacts(blueprint) {
8580
8565
  *
8581
8566
  * `source` is left absent because it falls back to `path`, and every vendored
8582
8567
  * 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
8568
+ * {@link inferArtifactGroup}, so a vendored path and a foreign path found in a target
8584
8569
  * are classified by one rule and a plan never disagrees with the audit beside
8585
8570
  * it.
8586
8571
  *
@@ -8618,7 +8603,7 @@ function blueprintToOrchestrationArtifacts(blueprint) {
8618
8603
  function blueprintToHostArtifacts(blueprint) {
8619
8604
  const vendored = [...selectHostPaths([...HOST_PATHS, ...SEED_GUIDE_PATHS], blueprint.name), CATALOG_AGENT_PATH].map((path) => ({
8620
8605
  path,
8621
- group: inferGroup(path),
8606
+ group: inferArtifactGroup(path),
8622
8607
  ownership: "presence",
8623
8608
  origin: "host"
8624
8609
  }));
@@ -8630,19 +8615,19 @@ function blueprintToHostArtifacts(blueprint) {
8630
8615
  return [
8631
8616
  {
8632
8617
  path: bridge,
8633
- group: inferGroup(bridge),
8618
+ group: inferArtifactGroup(bridge),
8634
8619
  ownership: "presence",
8635
8620
  origin: "host"
8636
8621
  },
8637
8622
  {
8638
8623
  path: sidecar,
8639
- group: inferGroup(sidecar),
8624
+ group: inferArtifactGroup(sidecar),
8640
8625
  ownership: "presence",
8641
8626
  origin: "host"
8642
8627
  },
8643
8628
  {
8644
8629
  path: pointer,
8645
- group: inferGroup(pointer),
8630
+ group: inferArtifactGroup(pointer),
8646
8631
  ownership: "presence",
8647
8632
  origin: "host",
8648
8633
  pointer: true
@@ -8852,7 +8837,7 @@ function insertManifestDependencies(manifest, additions) {
8852
8837
  function insertManifestSection(manifest, section, dependencies, present) {
8853
8838
  const tokens = scanManifestTokens(manifest);
8854
8839
  if (tokens === void 0) return void 0;
8855
- const ordered = [...dependencies].sort((left, right) => (0, _orkestrel_contract.compareValues)(left.name, right.name));
8840
+ const ordered = [...dependencies].sort((left, right) => (0, _orkestrel_contract.comparePrimitives)(left.name, right.name));
8856
8841
  const lines = ordered.map(({ name, range }) => `${JSON.stringify(name)}: ${JSON.stringify(range)}`);
8857
8842
  const sibling = section === "dependencies" ? "devDependencies" : "dependencies";
8858
8843
  const occurrences = tokens.flatMap((token, at) => {
@@ -8918,7 +8903,7 @@ function insertManifestSection(manifest, section, dependencies, present) {
8918
8903
  const separator = newline < 0 || /\S/u.test(indent) ? "" : `\n${indent}`;
8919
8904
  const placements = ordered.map((dependency, index) => {
8920
8905
  const line = lines[index] ?? "";
8921
- const anchor = declarations.find((declaration) => (0, _orkestrel_contract.compareValues)(declaration.name, dependency.name) > 0);
8906
+ const anchor = declarations.find((declaration) => (0, _orkestrel_contract.comparePrimitives)(declaration.name, dependency.name) > 0);
8922
8907
  return {
8923
8908
  position: anchor?.start ?? last.end,
8924
8909
  text: anchor === void 0 ? `,${separator}${line}` : `${line},${separator}`
@@ -9159,22 +9144,22 @@ function planToHash(plan) {
9159
9144
  *
9160
9145
  * @example
9161
9146
  * ```ts
9162
- * import { Compiler, createBlueprint, planToFindings } from '@orkestrel/scaffold'
9147
+ * import { Compiler, createBlueprint, planToArtifactFindings } from '@orkestrel/scaffold'
9163
9148
  *
9164
9149
  * const { plan } = new Compiler().compile(createBlueprint('router', { src: ['core'] }))
9165
9150
  *
9166
- * plan === undefined ? [] : planToFindings(plan, { 'AGENTS.md': '68690a' })
9151
+ * plan === undefined ? [] : planToArtifactFindings(plan, { 'AGENTS.md': '68690a' })
9167
9152
  * ```
9168
9153
  */
9169
- function planToFindings(plan, current) {
9154
+ function planToArtifactFindings(plan, current) {
9170
9155
  const listed = Iterator.from(plan.artifacts).map((artifact) => ({
9171
9156
  path: artifact.path,
9172
- finding: artifactToFinding(artifact, current[artifact.path])
9157
+ finding: artifactToArtifactFinding(artifact, current[artifact.path])
9173
9158
  })).toArray();
9174
9159
  const planned = new Set(listed.map(({ path }) => path));
9175
9160
  return [...listed.map(({ finding }) => finding), ...Object.entries(current).flatMap(([path, observed]) => {
9176
9161
  if (planned.has(path)) return [];
9177
- const group = inferGroup(path);
9162
+ const group = inferArtifactGroup(path);
9178
9163
  return plan.groups.includes(group) ? [{
9179
9164
  path,
9180
9165
  group,
@@ -9557,7 +9542,7 @@ function overridesToQuestions(overrides, artifacts) {
9557
9542
  * ```
9558
9543
  */
9559
9544
  function createBlueprint(name, input) {
9560
- const blueprint = parseBlueprint(cloneValue({
9545
+ const blueprint = parseBlueprint(parseOwnedJSONValue({
9561
9546
  name,
9562
9547
  ...input?.description === void 0 ? {} : { description: input.description },
9563
9548
  keywords: input?.keywords ?? [],
@@ -9606,7 +9591,7 @@ function createBlueprint(name, input) {
9606
9591
  * so a caller reads the refusal from the value it asked for.
9607
9592
  *
9608
9593
  * 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
9594
+ * snapshot, which is the order `parseOwnedJSONValue` fixes. A value that is not the exact
9610
9595
  * shape is off-contract input rather than an answerable question, so it raises
9611
9596
  * `INVALID`. Structure raises; the laws a well-formed blueprint can still break
9612
9597
  * are the gate's, and they answer with questions.
@@ -9737,7 +9722,7 @@ var Compiler = class {
9737
9722
  const compiled = this.#scaffold(accepted, this.#select(groups));
9738
9723
  if (compiled.plan === void 0) this.#emitter.emit("block", compiled.questions);
9739
9724
  const result = {
9740
- findings: compiled.plan === void 0 ? [] : planToFindings(compiled.plan, observed),
9725
+ findings: compiled.plan === void 0 ? [] : planToArtifactFindings(compiled.plan, observed),
9741
9726
  questions: compiled.questions
9742
9727
  };
9743
9728
  this.#emitter.emit("audit", result);
@@ -9870,10 +9855,10 @@ var Compiler = class {
9870
9855
  ];
9871
9856
  }
9872
9857
  #select(groups) {
9873
- return selectGroups(groups === void 0 ? void 0 : this.#accept(groups, parseGroups, "groups", GROUPS));
9858
+ return selectArtifactGroups(groups === void 0 ? void 0 : this.#accept(groups, parseArtifactGroups, "groups", ARTIFACT_GROUPS));
9874
9859
  }
9875
9860
  #accept(value, parse, field, candidates) {
9876
- const accepted = parse(cloneValue(value));
9861
+ const accepted = parse(parseOwnedJSONValue(value));
9877
9862
  if (accepted !== void 0) return accepted;
9878
9863
  throw this.#error("INVALID", `The ${field} argument is not the exact shape this compiler accepts.`, candidates === void 0 ? { field } : {
9879
9864
  field,
@@ -9893,6 +9878,7 @@ exports.APP_BROWSER_DEV_DEPENDENCIES = APP_BROWSER_DEV_DEPENDENCIES;
9893
9878
  exports.APP_DEV_DEPENDENCIES = APP_DEV_DEPENDENCIES;
9894
9879
  exports.APP_MATRIX = APP_MATRIX;
9895
9880
  exports.APP_SERVER_DEV_DEPENDENCIES = APP_SERVER_DEV_DEPENDENCIES;
9881
+ exports.ARTIFACT_GROUPS = ARTIFACT_GROUPS;
9896
9882
  exports.ARTIFACT_TEMPLATES = ARTIFACT_TEMPLATES;
9897
9883
  exports.AXES = AXES;
9898
9884
  exports.BASE_DEV_DEPENDENCIES = BASE_DEV_DEPENDENCIES;
@@ -9926,7 +9912,6 @@ exports.FOREIGN_NAME_PATTERN = FOREIGN_NAME_PATTERN;
9926
9912
  exports.FRAMEWORKS = FRAMEWORKS;
9927
9913
  exports.FRAMEWORK_MATRIX = FRAMEWORK_MATRIX;
9928
9914
  exports.GLOBAL_SETUP_PATH = GLOBAL_SETUP_PATH;
9929
- exports.GROUPS = GROUPS;
9930
9915
  exports.GUIDES_TEST_PATH = GUIDES_TEST_PATH;
9931
9916
  exports.HEX_PATTERN = HEX_PATTERN;
9932
9917
  exports.HOST_INVENTORY_PATH = HOST_INVENTORY_PATH;
@@ -9987,7 +9972,7 @@ exports.VERSION_PATTERN = VERSION_PATTERN;
9987
9972
  exports.WORKSPACE_DEV_ENGINES = WORKSPACE_DEV_ENGINES;
9988
9973
  exports.WORKSPACE_OWNED_PATHS = WORKSPACE_OWNED_PATHS;
9989
9974
  exports.applyOverrides = applyOverrides;
9990
- exports.artifactToFinding = artifactToFinding;
9975
+ exports.artifactToArtifactFinding = artifactToArtifactFinding;
9991
9976
  exports.artifactToHex = artifactToHex;
9992
9977
  exports.artifactsToQuestions = artifactsToQuestions;
9993
9978
  exports.blueprintToConfigArtifacts = blueprintToConfigArtifacts;
@@ -10014,7 +9999,6 @@ exports.blueprintToToolchainHolds = blueprintToToolchainHolds;
10014
9999
  exports.blueprintToWritableScripts = blueprintToWritableScripts;
10015
10000
  exports.bytesToHex = bytesToHex;
10016
10001
  exports.catalogToLayers = catalogToLayers;
10017
- exports.cloneValue = cloneValue;
10018
10002
  exports.collectSurfaceAdvisories = collectSurfaceAdvisories;
10019
10003
  exports.collectSurfaceCollisions = collectSurfaceCollisions;
10020
10004
  exports.collectSurfaceConflicts = collectSurfaceConflicts;
@@ -10028,12 +10012,15 @@ exports.createBlueprint = createBlueprint;
10028
10012
  exports.dependenciesToQuestions = dependenciesToQuestions;
10029
10013
  exports.extractRangeMajor = extractRangeMajor;
10030
10014
  exports.extractVersion = extractVersion;
10031
- exports.inferDrift = inferDrift;
10032
- exports.inferGroup = inferGroup;
10015
+ exports.inferArtifactDrift = inferArtifactDrift;
10016
+ exports.inferArtifactGroup = inferArtifactGroup;
10033
10017
  exports.inferSurfaceSimilarity = inferSurfaceSimilarity;
10034
10018
  exports.insertManifestDependencies = insertManifestDependencies;
10035
10019
  exports.insertManifestSection = insertManifestSection;
10036
10020
  exports.isArtifact = isArtifact;
10021
+ exports.isArtifactFinding = isArtifactFinding;
10022
+ exports.isArtifactGroup = isArtifactGroup;
10023
+ exports.isArtifactGroups = isArtifactGroups;
10037
10024
  exports.isAudit = isAudit;
10038
10025
  exports.isBlueprint = isBlueprint;
10039
10026
  exports.isBrowserExtension = isBrowserExtension;
@@ -10048,11 +10035,8 @@ exports.isDependency = isDependency;
10048
10035
  exports.isDependencyName = isDependencyName;
10049
10036
  exports.isEnvironment = isEnvironment;
10050
10037
  exports.isExtension = isExtension;
10051
- exports.isFinding = isFinding;
10052
10038
  exports.isFloorPath = isFloorPath;
10053
- exports.isGroup = isGroup;
10054
- exports.isGroups = isGroups;
10055
- exports.isHex = isHex;
10039
+ exports.isHexContent = isHexContent;
10056
10040
  exports.isManifestScript = isManifestScript;
10057
10041
  exports.isMirror = isMirror;
10058
10042
  exports.isOverride = isOverride;
@@ -10068,7 +10052,7 @@ exports.isSurface = isSurface;
10068
10052
  exports.iterateAnswers = iterateAnswers;
10069
10053
  exports.manifestToDependencies = manifestToDependencies;
10070
10054
  exports.manifestToName = manifestToName;
10071
- exports.matchesDriftReachability = matchesDriftReachability;
10055
+ exports.matchesArtifactDriftReachability = matchesArtifactDriftReachability;
10072
10056
  exports.matchesEngines = matchesEngines;
10073
10057
  exports.matchesGuideRefusal = matchesGuideRefusal;
10074
10058
  exports.matchesOrchestrationPath = matchesOrchestrationPath;
@@ -10077,13 +10061,14 @@ exports.matchesRange = matchesRange;
10077
10061
  exports.matchesSurfaceStructure = matchesSurfaceStructure;
10078
10062
  exports.nameToGuide = nameToGuide;
10079
10063
  exports.overridesToQuestions = overridesToQuestions;
10064
+ exports.parseArtifactGroups = parseArtifactGroups;
10080
10065
  exports.parseBlueprint = parseBlueprint;
10081
10066
  exports.parseCompilerOptions = parseCompilerOptions;
10082
10067
  exports.parseExtension = parseExtension;
10083
- exports.parseGroups = parseGroups;
10068
+ exports.parseOwnedJSONValue = parseOwnedJSONValue;
10084
10069
  exports.parseSnapshot = parseSnapshot;
10085
10070
  exports.pathToCondition = pathToCondition;
10086
- exports.planToFindings = planToFindings;
10071
+ exports.planToArtifactFindings = planToArtifactFindings;
10087
10072
  exports.planToHash = planToHash;
10088
10073
  exports.planToSummary = planToSummary;
10089
10074
  exports.renderSkillPointer = renderSkillPointer;
@@ -10093,7 +10078,7 @@ exports.replaceManifestRanges = replaceManifestRanges;
10093
10078
  exports.replaceManifestScripts = replaceManifestScripts;
10094
10079
  exports.replacePlanRanges = replacePlanRanges;
10095
10080
  exports.scanManifestTokens = scanManifestTokens;
10096
- exports.selectGroups = selectGroups;
10081
+ exports.selectArtifactGroups = selectArtifactGroups;
10097
10082
  exports.selectHostPaths = selectHostPaths;
10098
10083
  exports.serializeTypeScriptString = serializeTypeScriptString;
10099
10084
  exports.srcToEntry = srcToEntry;