@inventarch/cli 3.1.0 → 3.1.1

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 (93) hide show
  1. package/README.md +221 -23
  2. package/SPEC.md +20 -20
  3. package/assets/base/df626d1dc4949649ba7203842b29b4f064e0552e8db8c2c41ff74b6462b81b75.ia.tgz +0 -0
  4. package/assets/base.json +3 -3
  5. package/assets/host/f91ffe4c2071b196e925e93507bd661b3e09f5dc75392f7d6453fdbec5e28d62.tgz +0 -0
  6. package/assets/host.json +3 -3
  7. package/assets/vocabulary.json +1 -1
  8. package/dist/author.d.ts.map +1 -1
  9. package/dist/author.js +6 -7
  10. package/dist/author.js.map +1 -1
  11. package/dist/briefing.d.ts +2 -2
  12. package/dist/briefing.d.ts.map +1 -1
  13. package/dist/capture.d.ts +2 -2
  14. package/dist/capture.js +7 -7
  15. package/dist/commands.d.ts +7 -7
  16. package/dist/commands.d.ts.map +1 -1
  17. package/dist/commands.js +26 -28
  18. package/dist/commands.js.map +1 -1
  19. package/dist/consumer.d.ts +24 -24
  20. package/dist/consumer.js +33 -33
  21. package/dist/consumer.js.map +1 -1
  22. package/dist/decline.js +1 -1
  23. package/dist/distribute.d.ts +13 -14
  24. package/dist/distribute.d.ts.map +1 -1
  25. package/dist/distribute.js +17 -17
  26. package/dist/distribute.js.map +1 -1
  27. package/dist/doctor-user.d.ts +1 -1
  28. package/dist/doctor-user.d.ts.map +1 -1
  29. package/dist/doctor-user.js +2 -2
  30. package/dist/doctor-user.js.map +1 -1
  31. package/dist/doctor.d.ts +1 -1
  32. package/dist/doctor.d.ts.map +1 -1
  33. package/dist/doctor.js +53 -54
  34. package/dist/doctor.js.map +1 -1
  35. package/dist/format.js +3 -3
  36. package/dist/format.js.map +1 -1
  37. package/dist/home-remedy.d.ts +1 -1
  38. package/dist/home-remedy.js +1 -1
  39. package/dist/host-projection.d.ts +38 -38
  40. package/dist/host-projection.d.ts.map +1 -1
  41. package/dist/host-projection.js +69 -70
  42. package/dist/host-projection.js.map +1 -1
  43. package/dist/host.d.ts +37 -38
  44. package/dist/host.d.ts.map +1 -1
  45. package/dist/host.js +54 -57
  46. package/dist/host.js.map +1 -1
  47. package/dist/init.d.ts +60 -56
  48. package/dist/init.d.ts.map +1 -1
  49. package/dist/init.js +98 -99
  50. package/dist/init.js.map +1 -1
  51. package/dist/main.js +4 -4
  52. package/dist/main.js.map +1 -1
  53. package/dist/next.js +15 -15
  54. package/dist/next.js.map +1 -1
  55. package/dist/operation-help.d.ts +3 -3
  56. package/dist/operation-help.d.ts.map +1 -1
  57. package/dist/operation-help.js +9 -9
  58. package/dist/operation-help.js.map +1 -1
  59. package/dist/pack.js +6 -6
  60. package/dist/position.d.ts.map +1 -1
  61. package/dist/position.js +10 -11
  62. package/dist/position.js.map +1 -1
  63. package/dist/preview.d.ts +4 -4
  64. package/dist/preview.d.ts.map +1 -1
  65. package/dist/preview.js +27 -28
  66. package/dist/preview.js.map +1 -1
  67. package/dist/profile.d.ts +23 -23
  68. package/dist/profile.d.ts.map +1 -1
  69. package/dist/profile.js +50 -51
  70. package/dist/profile.js.map +1 -1
  71. package/dist/project.d.ts +7 -8
  72. package/dist/project.d.ts.map +1 -1
  73. package/dist/project.js +24 -27
  74. package/dist/project.js.map +1 -1
  75. package/dist/read.d.ts +1 -1
  76. package/dist/read.d.ts.map +1 -1
  77. package/dist/read.js +4 -4
  78. package/dist/read.js.map +1 -1
  79. package/dist/render.d.ts +3 -3
  80. package/dist/render.js +3 -3
  81. package/dist/session.d.ts +9 -9
  82. package/dist/session.d.ts.map +1 -1
  83. package/dist/session.js +10 -10
  84. package/dist/session.js.map +1 -1
  85. package/dist/validate.d.ts +8 -8
  86. package/dist/validate.d.ts.map +1 -1
  87. package/dist/validate.js +34 -37
  88. package/dist/validate.js.map +1 -1
  89. package/dist/vocabulary.js +2 -2
  90. package/dist/vocabulary.js.map +1 -1
  91. package/package.json +6 -6
  92. package/assets/base/7db20e0dbbc2b88701ea24991886b4a8e08d419dda469cce5caff66911f81e4c.ia.tgz +0 -0
  93. package/assets/host/7e80bd7098018c1c13e3fae4cd363acfeffedccd5b6ec06c4952b62f449a4246.tgz +0 -0
package/dist/project.d.ts CHANGED
@@ -10,12 +10,12 @@ export interface ProjectView {
10
10
  readonly given: string | undefined;
11
11
  /** This plan rebuilt from the parsed arguments, `--root` as typed: the command every repair runs next. */
12
12
  readonly invocation: string;
13
- /** B1's entry count of the packet the plan renders, and its digest. */
13
+ /** The entry count of the packet the plan renders, and its digest. */
14
14
  readonly entries: number;
15
15
  readonly packetDigest: string;
16
16
  /** `ia host`'s projection element for that rendering: its file plan, its guard step, or the conflict it found. */
17
17
  readonly projection: Element;
18
- /** That rendering, made on the session the mandate gate judged; the apply writes exactly it (review C3-N2). */
18
+ /** That rendering, made on the session the mandate gate judged; the apply writes exactly it. */
19
19
  readonly rendered: HostOutput;
20
20
  }
21
21
  /**
@@ -25,9 +25,9 @@ export interface ProjectView {
25
25
  */
26
26
  export declare function collectProject(context: Context): ProjectView;
27
27
  /**
28
- * The apply: the rendering the plan made on its gated session (review C3-N2), re-planned through `ia host`'s projection
29
- * element against the files as they are now, so a file that changed since the plan refuses before anything is written,
30
- * then `applyHostProjection`, which returns the receipt it wrote.
28
+ * The apply: the rendering the plan made on its gated session, re-planned through `ia host`'s projection element
29
+ * against the files as they are now, so a file that changed since the plan refuses before anything is written, then
30
+ * `applyHostProjection`, which returns the receipt it wrote.
31
31
  */
32
32
  export declare function applyProject(view: ProjectView): PacketReceipt;
33
33
  /** `--json`: the plan always, and `applied`, the receipt written, only after an apply. */
@@ -35,9 +35,8 @@ export declare const projectEnvelope: (view: ProjectView, applied: PacketReceipt
35
35
  /** The plan as a terminal reads it: it says nothing was written, and names the apply only when nothing refuses it. */
36
36
  export declare function renderProjectPlan(view: ProjectView, caps: Capabilities): string;
37
37
  /**
38
- * An apply's report, read from the receipt it wrote (B12): the files with their digests, the legacy files deleted, the
39
- * foreign files left in place and the guard's retirement. It says what was written, never that the host read it
40
- * (design §4, adapter rule 3).
38
+ * An apply's report, read from the receipt it wrote: the files with their digests, the legacy files deleted, the
39
+ * foreign files left in place and the guard's retirement. It says what was written, never that the host read it.
41
40
  */
42
41
  export declare function renderProjectApplied(view: ProjectView, receipt: PacketReceipt, caps: Capabilities, advice?: AdviceContext): string;
43
42
  export declare const CONFIRMATION = "Apply this projection? [y/N] ";
@@ -1 +1 @@
1
- {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrD,OAAO,KAAK,EAAY,OAAO,EAAE,MAAM,WAAW,CAAC;AAoBnD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAS,MAAM,aAAa,CAAC;AAwBtE,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,sFAAsF;IACtF,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,0GAA0G;IAC1G,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,uEAAuE;IACvE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,kHAAkH;IAClH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,+GAA+G;IAC/G,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC;CAC/B;AAeD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,CA+B5D;AASD;;;;GAIG;AACH,wBAAgB,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ACzB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,kHAAkH;IAClH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,gGAAgG;IAChG,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC;CAC/B;AAeD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,CA+B5D;AASD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,aAAa,CAS7D;AAED,0FAA0F;AAC1F,eAAO,MAAM,eAAe,GAAI,MAAM,WAAW,EAAE,SAAS,aAAa,GAAG,IAAI,KAAG,OAiBjF,CAAC;AAwDH,sHAAsH;AACtH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,YAAY,GAAG,MAAM,CAU/E;AAOD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,aAAa,EACtB,IAAI,EAAE,YAAY,EAClB,MAAM,CAAC,EAAE,aAAa,GACrB,MAAM,CAgER;AAED,eAAO,MAAM,YAAY,kCAAkC,CAAC;AAqC5D,wBAAsB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CA0ClE"}
package/dist/project.js CHANGED
@@ -1,25 +1,23 @@
1
1
  /**
2
- * `ia project`: position-and-projection §5's project effect (design items 11 and 12; plan amendments B1, B5, B8, B11
3
- * and B12; decision cli-commands-as-operations), milestone position-packet task ia-project-verb.
2
+ * `ia project`: the project effect (SPEC `project`; runtime R19 and R20).
4
3
  *
5
4
  * The workspace projection alone: the position packet of the workspace's admitted records (runtime R19), rendered by
6
5
  * the host's adapter for the consumer target (R20) through `renderProjectionFor`, the render `ia host`, `ia doctor` and
7
- * the install refresh read. It plans by default, as `ia host` and `ia install` do (B8), and the plan writes nothing: it
8
- * is `ia host`'s projection element (`projectionElement`), the steward-guard retirement and the file plan an apply
9
- * would make, beside the packet's entry count and digest. `--apply` re-plans through the same element
10
- * (`replanProjection`) and writes through `applyHostProjection`, the one writer of projection files, which retires a
11
- * steward guard an earlier release registered before any file changes (B11), deletes the owned 1.x steward files,
12
- * leaves foreign ones and writes the receipt (B12). It writes the generated agents and skills of the workspace's
13
- * authored records with the packet (milestone generation-binding), and keeps the hook groups an `ia host` registration
14
- * owns in step with the authored `@hook` records, against the payload that registration recorded; it registers no MCP
15
- * server and no hook group of its own, so a hook with no registration to join is reported as not taken. `ia host`'s
16
- * projection element is this same plan and apply. The packet reads the live admitted revision, so no capture is
17
- * required (B8). A plan with a conflict is a successful report naming the file, as `ia host`'s is (§4); only `--apply`
18
- * refuses it, before anything is asked or written, naming the plan to run once the file is out of the way. The `ia
19
- * project`, `ia validate` and `ia init` commands a next action names carry the root as the invocation typed it; the
20
- * `ia recover` command a pending host journal or a held host lock names carries the resolved root, because
21
- * its distribution mechanism takes only an absolute root, and a workspace whose sources cannot be opened names the resolved
22
- * root, as for every workspace verb (`openSession`).
6
+ * the install refresh read. It plans by default, as `ia host` and `ia install` do, and the plan writes nothing: it is
7
+ * `ia host`'s projection element (`projectionElement`), the steward-guard retirement and the file plan an apply would
8
+ * make, beside the packet's entry count and digest. `--apply` re-plans through the same element (`replanProjection`)
9
+ * and writes through `applyHostProjection`, the one writer of projection files, which retires a steward guard an
10
+ * earlier release registered before any file changes, deletes the owned 1.x steward files, leaves foreign ones and
11
+ * writes the receipt. It writes the generated agents and skills of the workspace's authored records with the packet,
12
+ * and keeps the hook groups an `ia host` registration owns in step with the authored `@hook` records, against the
13
+ * payload that registration recorded; it registers no MCP server and no hook group of its own, so a hook with no
14
+ * registration to join is reported as not taken. `ia host`'s projection element is this same plan and apply. The packet
15
+ * reads the live admitted revision, so no capture is required. A plan with a conflict is a successful report naming the
16
+ * file, as `ia host`'s is (§4); only `--apply` refuses it, before anything is asked or written, naming the plan to run
17
+ * once the file is out of the way. The `ia project`, `ia validate` and `ia init` commands a next action names carry the
18
+ * root as the invocation typed it; the `ia recover` command a pending host journal or a held host lock names carries
19
+ * the resolved root, because its distribution mechanism takes only an absolute root, and a workspace whose sources
20
+ * cannot be opened names the resolved root, as for every workspace verb (`openSession`).
23
21
  */
24
22
  import { workspaceRow } from '@inventarch/distribution/hosts';
25
23
  import { confirm, Refusal, requireRoot } from './consumer.js';
@@ -33,9 +31,9 @@ import { atom, commandFacts, document, entry, fieldRows, headerLine, indentOf, q
33
31
  * adapter renders the packet for (runtime R20), because `renderProjectionFor` takes only a workspace host.
34
32
  */
35
33
  const projectHost = (named) => named === undefined ? null : (workspaceRow(named)?.id ?? null);
36
- /** Design row 27: the repair a conflict needs, worded as `ia host` words it, then this plan, which shows the file. */
34
+ /** The repair a conflict needs, worded as `ia host` words it, then this plan, which shows the file. */
37
35
  const conflictNext = (view, conflict) => {
38
- // A hook refusal's repair names `ia host` (H-R1, H-R4); with `--root` given it carries it as typed, as the plan does.
36
+ // A hook refusal's repair names `ia host`; with `--root` given it carries it as typed, as the plan does.
39
37
  if (conflict.hook !== undefined)
40
38
  return view.given === undefined
41
39
  ? hookRepair(conflict.hook)
@@ -81,9 +79,9 @@ function applyFailure(error, view) {
81
79
  return projectionFailure(error, view.root, view.host, `${view.invocation} --apply`);
82
80
  }
83
81
  /**
84
- * The apply: the rendering the plan made on its gated session (review C3-N2), re-planned through `ia host`'s projection
85
- * element against the files as they are now, so a file that changed since the plan refuses before anything is written,
86
- * then `applyHostProjection`, which returns the receipt it wrote.
82
+ * The apply: the rendering the plan made on its gated session, re-planned through `ia host`'s projection element
83
+ * against the files as they are now, so a file that changed since the plan refuses before anything is written, then
84
+ * `applyHostProjection`, which returns the receipt it wrote.
87
85
  */
88
86
  export function applyProject(view) {
89
87
  const { rendered } = view;
@@ -119,7 +117,7 @@ const headerBlock = (label, value, view, digest, caps) => [
119
117
  ...headerLine(label, value, [{ text: `packet ${truncateDigest(digest, caps.ascii)}`, column: 35 }], caps),
120
118
  ...headerLine('Root', view.root, [], caps),
121
119
  ];
122
- /** The packet, the B11 step and any conflict, then the file plan in `ia host`'s words, then the guard's note. */
120
+ /** The packet, the retirement and any conflict, then the file plan in `ia host`'s words, then the guard's note. */
123
121
  function planBlocks(view, caps) {
124
122
  const { conflict, files, guard, hooks, unsupported } = view.projection;
125
123
  const fields = [
@@ -175,9 +173,8 @@ const renderProjectSummary = (view, caps) => document([headerBlock('Plan', `proj
175
173
  leadingBlank: true,
176
174
  });
177
175
  /**
178
- * An apply's report, read from the receipt it wrote (B12): the files with their digests, the legacy files deleted, the
179
- * foreign files left in place and the guard's retirement. It says what was written, never that the host read it
180
- * (design §4, adapter rule 3).
176
+ * An apply's report, read from the receipt it wrote: the files with their digests, the legacy files deleted, the
177
+ * foreign files left in place and the guard's retirement. It says what was written, never that the host read it.
181
178
  */
182
179
  export function renderProjectApplied(view, receipt, caps, advice) {
183
180
  const digest = (value) => truncateDigest(value, caps.ascii);
@@ -1 +1 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAG9D,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EACL,YAAY,EACZ,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,eAAe,EACf,UAAU,EACV,KAAK,EACL,eAAe,GAChB,MAAM,WAAW,CAAC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IAAI,EAAE,CACvB;YACD,MAAM,EAAE,EAAE;SACX,CAAC;IACJ,IAAI,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC;IAC9B,IAAI,OAAsB,CAAC;IAC3B,IAAI,CAAC;QACH,OAAO,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACtC,CAAC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;AACzB,CAAC"}
package/dist/read.d.ts CHANGED
@@ -3,7 +3,7 @@ import type { Context, Result } from './consumer.js';
3
3
  import { Refusal } from './consumer.js';
4
4
  import type { Capabilities } from './render.js';
5
5
  import type { Session } from './session.js';
6
- /** The line every human read prints beside the digest (IM-43). */
6
+ /** The line every human read prints beside the digest, since a read certifies nothing. */
7
7
  export declare const NOT_CERTIFIED = "body not certified by this read";
8
8
  export declare function readEnvelope(body: ReadBody): unknown;
9
9
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../src/read.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,OAAO,EAAe,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,kEAAkE;AAClE,eAAO,MAAM,aAAa,oCAAoC,CAAC;AAE/D,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAWpD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,GAAG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CAAC,QAAQ,CAAC,GACzB,OAAO,CAeT;AAeD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,OAAO,GAAG,eAAe,CAM7G;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CA8BhD"}
package/dist/read.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * `ia read`: position-and-projection §5's body reader, design row 23.
2
+ * `ia read`: the body reader (SPEC `read`; runtime, body reader).
3
3
  *
4
4
  * The one verb that returns a body rather than structure. The runtime's `readBody` resolves the locator against the
5
5
  * admitted workspace and returns the body behind it: a cell's or requirement's text for a fragment, else the document a
6
6
  * record's source locator names (`work.source`, `reference.document`, `template.resource`), or the section under a
7
7
  * markdown heading when the locator carries an anchor, else the record's own `meaning.says`. This verb supplies the
8
8
  * workspace file reader the capture already uses, so a link, a missing or irregular file and an unsafe path refuse as
9
- * they do there, and prints the body with its digest. A read certifies nothing (IM-43), and sections, fields and
9
+ * they do there, and prints the body with its digest. A read certifies nothing, and sections, fields and
10
10
  * relationships stay in `ia inspect`.
11
11
  *
12
12
  * The workspace opens as every read verb opens it, without the db cache, so a read writes nothing. The document of an
@@ -20,7 +20,7 @@ import { Refusal, requireRoot } from './consumer.js';
20
20
  import { atom, document, entry, headerLine, quote, terminalText, truncateDigest, words } from './render.js';
21
21
  import { requireProfile } from './profile.js';
22
22
  import { identityNext, openSession } from './session.js';
23
- /** The line every human read prints beside the digest (IM-43). */
23
+ /** The line every human read prints beside the digest, since a read certifies nothing. */
24
24
  export const NOT_CERTIFIED = 'body not certified by this read';
25
25
  export function readEnvelope(body) {
26
26
  return {
@@ -57,7 +57,7 @@ export function renderRead(body, caps) {
57
57
  return body.body === '' ? header : `${header}\n${body.body}${body.body.endsWith('\n') ? '' : '\n'}`;
58
58
  }
59
59
  /**
60
- * Design row 27: the one command after each read refusal. A source whose records admission refused, the identity's
60
+ * The one command after each read refusal. A source whose records admission refused, the identity's
61
61
  * own included, names the validation that says why; a line of a source whose admitted records span other lines names
62
62
  * the inspection that lists them; an identity no source holds names what `ia inspect` names for it (`identityNext`)
63
63
  * when the open workspace `reader` is supplied; anything else the overview. A missing fragment or an unreachable
package/dist/read.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"read.js","sourceRoot":"","sources":["../src/read.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAG3E,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC5G,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGzD,kEAAkE;AAClE,MAAM,CAAC,MAAM,aAAa,GAAG,iCAAiC,CAAC;AAE/D,MAAM,UAAU,YAAY,CAAC,IAAc;IACzC,OAAO;QACL,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;Q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OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACrE,CAAC;YAAS,CAAC;QACT,OAAO,CAAC,KAAK,EAAE,CAAC;IAClB,CAAC;IACD,0FAA0F;IAC1F,MAAM,IAAI,GAAa,EAAE,GAAG,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC;IAChD,OAAO,IAAI;QACT,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE;QAChF,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AAClE,CAAC"}
package/dist/render.d.ts CHANGED
@@ -50,9 +50,9 @@ export declare const atom: (text: string, role?: Role | null, gap?: number) => T
50
50
  /** Prose, split at word boundaries; runs of spaces inside the text are preserved as wider gaps. */
51
51
  export declare function words(text: string, role?: Role | null, gap?: number): readonly Token[];
52
52
  /**
53
- * §6.4 for prose that quotes a command, such as a refusal's next action (design row 27): the words wrap as `words`
54
- * splits them, and each quoted command, with the punctuation touching it, is one `atom`, so a line break never falls
55
- * inside the command and it stays copy-pasteable, overrunning the width when it must.
53
+ * §6.4 for prose that quotes a command, such as a refusal's next action: the words wrap as `words` splits them, and
54
+ * each quoted command, with the punctuation touching it, is one `atom`, so a line break never falls inside the command
55
+ * and it stays copy-pasteable, overrunning the width when it must.
56
56
  */
57
57
  export declare function remedyWords(text: string, role?: Role | null, gap?: number): readonly Token[];
58
58
  /**
package/dist/render.js CHANGED
@@ -80,9 +80,9 @@ export function words(text, role = null, gap = 1) {
80
80
  /** A command quoted in prose: a program this CLI names and its arguments, one with a space JSON-quoted (`quote`). */
81
81
  const QUOTED_COMMAND = /"(?:ia|ia-distribution|pnpm)(?: (?:"(?:[^"\\]|\\.)*"|[^\s"]+))*"/g;
82
82
  /**
83
- * §6.4 for prose that quotes a command, such as a refusal's next action (design row 27): the words wrap as `words`
84
- * splits them, and each quoted command, with the punctuation touching it, is one `atom`, so a line break never falls
85
- * inside the command and it stays copy-pasteable, overrunning the width when it must.
83
+ * §6.4 for prose that quotes a command, such as a refusal's next action: the words wrap as `words` splits them, and
84
+ * each quoted command, with the punctuation touching it, is one `atom`, so a line break never falls inside the command
85
+ * and it stays copy-pasteable, overrunning the width when it must.
86
86
  */
87
87
  export function remedyWords(text, role = null, gap = 1) {
88
88
  const tokens = [];
package/dist/session.d.ts CHANGED
@@ -5,7 +5,7 @@ export type Session = ReturnType<typeof openWorkspaceSession>;
5
5
  /** What the identity remedies below read of an open workspace: an editor snapshot answers them as a session's reader does. */
6
6
  export type Records = Pick<Session['reader'], 'refused' | 'records'>;
7
7
  export declare const codeOf: (error: unknown, fallback: string) => string;
8
- /** How `ia validate` opens its session: checks admitted structurally (C21); no evidence is read (review finding B3-R4). */
8
+ /** How `ia validate` opens its session: checks admitted structurally; no evidence is read. */
9
9
  export declare const VALIDATING: {
10
10
  readonly checks: "structural";
11
11
  };
@@ -17,28 +17,28 @@ export interface Editor {
17
17
  }
18
18
  /**
19
19
  * How `ia preview` and `ia author` open their editor snapshot: checks admitted structurally, as `ia validate` admits
20
- * them (C21), so a `@check` naming an evaluator that is not built in is a record they can draft beside and edit rather
21
- * than an admission error; no evidence is listed (review finding B3-N5), so a candidate never reads it.
20
+ * them, so a `@check` naming an evaluator that is not built in is a record they can draft beside and edit rather than
21
+ * an admission error; no evidence is listed, so a candidate never reads it.
22
22
  */
23
23
  export declare const AUTHORING: {
24
24
  readonly checks: "structural";
25
25
  };
26
26
  /**
27
- * The authoring verbs' open (plan amendment C18): db's editor database, which reads the inputs twice and keeps them only
28
- * when both reads agree, so the source text a draft edits, the registry its schema comes from and the admission it is
29
- * compiled against are one state, admitted as `AUTHORING` says. It publishes no cache and writes nothing. A workspace
30
- * that does not open refuses as `openSession` refuses.
27
+ * The authoring verbs' open: db's editor database, which reads the inputs twice and keeps them only when both reads
28
+ * agree, so the source text a draft edits, the registry its schema comes from and the admission it is compiled against
29
+ * are one state, admitted as `AUTHORING` says. It publishes no cache and writes nothing. A workspace that does not open
30
+ * refuses as `openSession` refuses.
31
31
  */
32
32
  export declare function openEditor(root: string): Editor;
33
33
  /**
34
- * Design row 27 for an identity a workspace verb finds no admitted record of, where the workspace says what answers
34
+ * The next action for an identity a workspace verb finds no admitted record of, where the workspace says what answers
35
35
  * it, so `ia inspect`, `ia read` and `ia next` name the same command for the same cause: a source holds it and
36
36
  * admission refused it names `ia validate`, which says why; else the nearest admitted identity, run through the same
37
37
  * verb, answers a misspelling (for `ia next`, the nearest @plan, @milestone or @task as its seat). Null when neither does.
38
38
  */
39
39
  export declare function nearestNext(reader: Records, identity: string, verb: 'inspect' | 'read' | 'next', rooted: string): string | null;
40
40
  /**
41
- * Design row 27 for an identity `ia inspect` or `ia read` finds no admitted record of: what `nearestNext` names, else
41
+ * The next action for an identity `ia inspect` or `ia read` finds no admitted record of: what `nearestNext` names, else
42
42
  * the workspace overview.
43
43
  */
44
44
  export declare function identityNext(reader: Records, identity: string, verb: 'inspect' | 'read', rooted: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAMxE,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC9D,8HAA8H;AAC9H,MAAM,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC,CAAC;AAErE,eAAO,MAAM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S,GAAG,SAAS,CAAC,CAAC;AAErE,eAAO,MAAM,MAAM,GAAI,OAAO,OAAO,EAAE,UAAU,MAAM,KAAG,MAG5C,CAAC;AAsCf,8FAA8F;AAC9F,eAAO,MAAM,UAAU;;CAAoC,CAAC;AAC5D,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,IAAI,CAAC,cAAc,EAAE,MAAM,CAAM,GAAG,OAAO,CAM7F;AAUD,iHAAiH;AACjH,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,KAAK,IAAI,IAAI,CAAC;CACf;AACD;;;;GAIG;AACH,eAAO,MAAM,SAAS;;CAAoC,CAAC;AAC3D;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQ/C;AAKD;;;;;GAKG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,EACjC,MAAM,EAAE,MAAM,GACb,MAAM,GAAG,IAAI,CAef;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAKhH"}
package/dist/session.js CHANGED
@@ -15,7 +15,7 @@ export const codeOf = (error, fallback) => error !== null && typeof error === 'o
15
15
  ? error.code
16
16
  : fallback;
17
17
  /**
18
- * Design row 27 for a workspace that does not open. `requireRoot` has already found a directory, and a directory with
18
+ * The next action for a workspace that does not open. `requireRoot` has already found a directory, and a directory with
19
19
  * no sources opens with the floor alone, so what reaches here is mostly a workspace whose sources the db does not read.
20
20
  * §2.5: IA-DB-SOURCE-UNAVAILABLE carries the installation state when the db raised it as an InstallationError: an
21
21
  * interrupted apply names the recovery, a missing or drifted generation the restore, any other state `ia doctor`.
@@ -50,7 +50,7 @@ function openNext(error, root) {
50
50
  return `Run "ia init ${quote(root)}" to see what a new workspace there would contain.`;
51
51
  return serviceNext(code, { command: null, root });
52
52
  }
53
- /** How `ia validate` opens its session: checks admitted structurally (C21); no evidence is read (review finding B3-R4). */
53
+ /** How `ia validate` opens its session: checks admitted structurally; no evidence is read. */
54
54
  export const VALIDATING = { checks: 'structural' };
55
55
  export function openSession(root, options = {}) {
56
56
  try {
@@ -63,15 +63,15 @@ export function openSession(root, options = {}) {
63
63
  const openRefusal = (error, root) => new Refusal(codeOf(error, 'IA-DB-ROOT-INVALID'), error instanceof Error ? error.message : String(error), 3, { path: root }, openNext(error, root));
64
64
  /**
65
65
  * How `ia preview` and `ia author` open their editor snapshot: checks admitted structurally, as `ia validate` admits
66
- * them (C21), so a `@check` naming an evaluator that is not built in is a record they can draft beside and edit rather
67
- * than an admission error; no evidence is listed (review finding B3-N5), so a candidate never reads it.
66
+ * them, so a `@check` naming an evaluator that is not built in is a record they can draft beside and edit rather than
67
+ * an admission error; no evidence is listed, so a candidate never reads it.
68
68
  */
69
69
  export const AUTHORING = { checks: 'structural' };
70
70
  /**
71
- * The authoring verbs' open (plan amendment C18): db's editor database, which reads the inputs twice and keeps them only
72
- * when both reads agree, so the source text a draft edits, the registry its schema comes from and the admission it is
73
- * compiled against are one state, admitted as `AUTHORING` says. It publishes no cache and writes nothing. A workspace
74
- * that does not open refuses as `openSession` refuses.
71
+ * The authoring verbs' open: db's editor database, which reads the inputs twice and keeps them only when both reads
72
+ * agree, so the source text a draft edits, the registry its schema comes from and the admission it is compiled against
73
+ * are one state, admitted as `AUTHORING` says. It publishes no cache and writes nothing. A workspace that does not open
74
+ * refuses as `openSession` refuses.
75
75
  */
76
76
  export function openEditor(root) {
77
77
  let database;
@@ -86,7 +86,7 @@ export function openEditor(root) {
86
86
  /** The words `ia next` reads a plan from, as its `--seat`. */
87
87
  const SEAT_WORDS = ['plan', 'milestone', 'task'];
88
88
  /**
89
- * Design row 27 for an identity a workspace verb finds no admitted record of, where the workspace says what answers
89
+ * The next action for an identity a workspace verb finds no admitted record of, where the workspace says what answers
90
90
  * it, so `ia inspect`, `ia read` and `ia next` name the same command for the same cause: a source holds it and
91
91
  * admission refused it names `ia validate`, which says why; else the nearest admitted identity, run through the same
92
92
  * verb, answers a misspelling (for `ia next`, the nearest @plan, @milestone or @task as its seat). Null when neither does.
@@ -105,7 +105,7 @@ export function nearestNext(reader, identity, verb, rooted) {
105
105
  : `Run "ia ${verb} ${nearest}${rooted}" for the nearest admitted identity.`;
106
106
  }
107
107
  /**
108
- * Design row 27 for an identity `ia inspect` or `ia read` finds no admitted record of: what `nearestNext` names, else
108
+ * The next action for an identity `ia inspect` or `ia read` finds no admitted record of: what `nearestNext` names, else
109
109
  * the workspace overview.
110
110
  */
111
111
  export function identityNext(reader, identity, verb, rooted) {
@@ -1 +1 @@
1
- {"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAMpC,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAAc,EAAE,QAAgB,EAAU,EAAE,CACjE,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,IAAI,KAAK,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ;IAC9F,CAAC,CAAC,KAAK,CAAC,IAAI;IACZ,CAAC,CAAC,QAAQ,CAAC;AAEf;;;;;;;;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OAAO,GAAG,MAAM,wDAAwD;QACjG,CAAC,CAAC,WAAW,IAAI,IAAI,OAAO,GAAG,MAAM,sCAAsC,CAAC;AAChF,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,MAAe,EAAE,QAAgB,EAAE,IAAwB,EAAE,MAAc;IACtG,OAAO,CACL,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC;QAC3C,kBAAkB,MAAM,kDAAkD,CAC3E,CAAC;AACJ,CAAC"}
@@ -21,7 +21,7 @@ export interface ValidationView {
21
21
  /** The path the CLI resolved, never the runtime's own `result.root`, which is always empty (§2.5). */
22
22
  readonly root: string;
23
23
  readonly revision: string;
24
- /** The authored revision, which names the evidence this request records (review finding B3-N4). */
24
+ /** The authored revision, which names the evidence this request records. */
25
25
  readonly authoredRevision: string;
26
26
  readonly status: 'admitted' | 'refused';
27
27
  readonly outcome: ReportOutcome;
@@ -31,9 +31,9 @@ export interface ValidationView {
31
31
  readonly checks: ReadonlyMap<string, string>;
32
32
  /** Every admitted `@execution-binding` joined against the catalog this workspace's host joined, unfiltered. */
33
33
  readonly bindings: ValidationBindings;
34
- /** Every admitted `@check` bound, unfiltered (C15, C22). */
34
+ /** Every admitted `@check` bound, unfiltered. */
35
35
  readonly checkBindings: ValidationChecks;
36
- /** What this validate request recorded as evidence (C14). */
36
+ /** What this validate request recorded as evidence. */
37
37
  readonly evidence: EvidenceWrite;
38
38
  }
39
39
  export interface ValidationOptions {
@@ -45,16 +45,16 @@ export declare const DEFAULT_OPTIONS: ValidationOptions;
45
45
  /** 1 when admission has an error or a binding or check is revoked, an error too; unavailable and not-evaluated are not. */
46
46
  export declare const validationExit: (view: ValidationView) => 0 | 1;
47
47
  /**
48
- * The installation a validation trusts a join through (review finding B2-R2): the release this package's bundled host
49
- * payload pin names, materialized in the IA home `env` resolves. Run from inside a host payload, whose copy of this
50
- * package carries no pin, it is that payload (`installationTrust`). Null, so nothing binds, when there is neither or
51
- * the IA home cannot be resolved.
48
+ * The installation a validation trusts a join through: the release this package's bundled host payload pin names,
49
+ * materialized in the IA home `env` resolves. Run from inside a host payload, whose copy of this package carries no
50
+ * pin, it is that payload (`installationTrust`). Null, so nothing binds, when there is neither or the IA home cannot be
51
+ * resolved.
52
52
  */
53
53
  export declare function validationTrust(host: Pick<Host, 'env' | 'packageRoot'>): HostTrust | null;
54
54
  /**
55
55
  * Opens the workspace, reads its admission, binds its checks, records their evidence and closes it. The only part of this
56
56
  * verb that touches a workspace, and the evidence it records is the one write it makes. `gate`, when given, judges the
57
- * session before admission is read or any evidence is recorded, so a refused profile writes nothing (review C2-N3).
57
+ * session before admission is read or any evidence is recorded, so a refused profile writes nothing.
58
58
  */
59
59
  export declare function collectValidation(root: string, trust: HostTrust | null, gate?: SessionGate): ValidationView;
60
60
  export declare function validationEnvelope(view: ValidationView, options: ValidationOptions): unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../src/validate.ts"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAE1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC9F,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,KAAK,EAAE,YAAY,EAAoC,MAAM,aAAa,CAAC;AAiBlF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAClD,KAAK,OAAO,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7C,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