@inventarch/runtime 3.2.2 → 3.4.0
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.
- package/LANGUAGE.md +1 -1
- package/README.md +4 -2
- package/SPEC.md +7 -5
- package/dist/coordinate.d.ts +4 -4
- package/dist/coordinate.d.ts.map +1 -1
- package/dist/coordinate.js +6 -4
- package/dist/coordinate.js.map +1 -1
- package/dist/door.d.ts +1 -0
- package/dist/door.d.ts.map +1 -1
- package/dist/door.js +3 -2
- package/dist/door.js.map +1 -1
- package/dist/machine-protocol.d.ts +2 -0
- package/dist/machine-protocol.d.ts.map +1 -1
- package/dist/machine-protocol.js +12 -5
- package/dist/machine-protocol.js.map +1 -1
- package/dist/packet-host.d.ts.map +1 -1
- package/dist/packet-host.js +2 -8
- package/dist/packet-host.js.map +1 -1
- package/dist/packet.js +1 -1
- package/dist/packet.js.map +1 -1
- package/dist/position.d.ts +3 -3
- package/dist/position.d.ts.map +1 -1
- package/dist/position.js +15 -4
- package/dist/position.js.map +1 -1
- package/dist/publication.d.ts.map +1 -1
- package/dist/publication.js +77 -10
- package/dist/publication.js.map +1 -1
- package/dist/scope-key.d.ts +9 -5
- package/dist/scope-key.d.ts.map +1 -1
- package/dist/scope-key.js +28 -9
- package/dist/scope-key.js.map +1 -1
- package/package.json +5 -5
package/LANGUAGE.md
CHANGED
|
@@ -43,7 +43,7 @@ Spec source locators do not load documents. Resource capture and disclosure requ
|
|
|
43
43
|
| @predicate | taxonomy | Defines a directed relationship, its inverse spelling and its present phrase. |
|
|
44
44
|
| @primitive | taxonomy | Defines a cognitive primitive coordinate; a cell is selected using its phase and primitive. |
|
|
45
45
|
| @principle | governance-system | Declares a governing rationale in the shared governance shape. |
|
|
46
|
-
| @run | session-system | Represents a governed run identity, declared phase
|
|
46
|
+
| @run | session-system | Represents a governed run identity, status, owner and declared phase when known. Declaration does not start execution. |
|
|
47
47
|
| @schema | floor | Declares the structural contract for exactly one registered discriminator. |
|
|
48
48
|
| @spec | work-system | Represents a maintained specification with explicit status and at most one same-word supersession. Contents and document membership belong to its author; a source locator does not load a body or prove semantic quality. |
|
|
49
49
|
| @system | floor | Registers vocabulary, direct system dependencies, a local steward and consent for relationships. |
|
package/README.md
CHANGED
|
@@ -41,14 +41,16 @@ ia position --seat work-system/definition/task/write-schema --shape sequence
|
|
|
41
41
|
|
|
42
42
|
`position` completes a partial scope key (the `sequence` shape implies the `plan` phase, with depth 1 and budget 16 by default) and returns `{body, digest, hostNote}`. The body and its digest are a pure function of the key and the admitted records; the host note carries the revisions and capture freshness outside the digest. `deliveryView` returns `{ok: true, view}`, or a refusal that names the one command to run next. `open` admits `@check` records strictly by default, as `ia position` and `ia next` do, so the script reads what those commands print.
|
|
43
43
|
|
|
44
|
+
An optional `primitive` selects any of Memory, Attention, Inference, Decision, Escalation or Learning without changing the shape's focus. For example, `position(workspace, token, { primitive: 'Escalation' })` defaults to phase `act`; an explicit phase wins. Omit `primitive` to retain existing keys and shape-derived behavior. Legacy `context` and `select` requests still declare their primitive explicitly.
|
|
45
|
+
|
|
44
46
|
## 🧭 What it does
|
|
45
47
|
|
|
46
48
|
| Export | Use it for |
|
|
47
49
|
| --- | --- |
|
|
48
|
-
| `position`, `positionBody`, `normalizeScopeKey`, `resolveScopeKey`, `K0`, `SCOPE_KEY_CAPS` | The body `ia position` prints for a scope key of seat, shape, phase, depth, budget and word. |
|
|
50
|
+
| `position`, `positionBody`, `normalizeScopeKey`, `resolveScopeKey`, `K0`, `SCOPE_KEY_CAPS` | The body `ia position` prints for a scope key of seat, shape, phase, depth, budget and word, with an optional primitive override. |
|
|
49
51
|
| `deliveryView`, `NEXT_CODES` | The plan view `ia next` prints: tasks in prerequisite order, each with a verdict from recorded exit evidence, and the next `ia position` command. |
|
|
50
52
|
| `readBody`, `parseLocator` | The body behind an identity, cell, requirement or source locator, with its SHA-256, as `ia read` prints it. |
|
|
51
|
-
| `Door`, `MACHINE_PROTOCOL` | The structured read protocol behind the CLI's machine commands and the MCP server: nine version 1 operations, plus `read`, `next` and `position` since version 2
|
|
53
|
+
| `Door`, `MACHINE_PROTOCOL` | The structured read protocol behind the CLI's machine commands and the MCP server: nine version 1 operations, plus `read`, `next` and `position` since version 2; version 3 adds optional primitive selection to `position`. `new Door(root, options)` owns a handle; `door.request({operation, params})` returns `{ok: true, result}` or a refusal, and `door.close()` ends it. |
|
|
52
54
|
| `RuntimeError`, `RUNTIME_CODES` | Thrown refusals. Each has a `code` from `RUNTIME_CODES`; a scope-key refusal adds `next`, the one command to run, and a mandate refusal adds `where`. `readBody` and `deliveryView` return their own refusals as `{ok: false, code, message, …}` values, the Door returns every refusal that way, and a token failure keeps its `IA-DB-*` code. |
|
|
53
55
|
| `context`, `select`, `prepareCoordinate`, `classify` | Coordinate-based context packets that reserve blocking governance first, and selection among explicit candidates. |
|
|
54
56
|
| `renderPacket`, `renderHost`, `PACKET_MARKER` | Build the host-neutral position packet and render it for `claude` or `codex` as files and a receipt. |
|
package/SPEC.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
The package root also exports the same read-only `qualifyPublicationRoot` check so a host can reject an unsupported or aliased root before starting an artifact task. It returns the canonical supported root without creating draft, lock or session files. Publication and inspection repeat this check at their actual boundary; host qualification is not a reusable grant.
|
|
14
14
|
|
|
15
|
-
A separate per-destination SQLite transaction lock is held from staging through publication or inspection, across sessions. No PID/time-based lock stealing. Staged files and metadata are flushed, the destination is claimed with exclusive directory creation, files are linked create-only, and `result.json` is linked last as the completion marker. Existing destinations are never replaced, including empty directories. Inspecting under the same lock establishes quiescence for cooperating publishers, then checks the exact manifest bytes, complete file inventory and every content digest. Absent, applied, partial and conflicting/unknown results remain distinct. Partial outputs are retained for remediation; automatic repair/overwrite and abandoned-stage garbage collection are outside this contract.
|
|
15
|
+
A separate per-destination SQLite transaction lock is held from staging through publication or inspection, across sessions. No PID/time-based lock stealing. Staged files and metadata are flushed, the destination is claimed with exclusive directory creation, files are linked create-only, and `result.json` is linked last as the completion marker. Existing destinations are never replaced, including empty directories. Inspecting under the same lock establishes quiescence for cooperating publishers, then checks the exact manifest bytes, complete file inventory and every content digest. The `result.json` marker and each file are opened read-only before they are judged and read through that descriptor, at most their size and one byte more. A missing marker is partial. A marker that is not a regular file of at most 2 MiB, holds other bytes, or whose name names something else after the read is unknown, as is one that cannot be opened when its name is not a regular file of at most 2 MiB. A file of another size or other bytes, or whose name names something else after the read, is partial, as is one that cannot be opened when its name has another size. Any other failure to open throws, as do a marker or file whose name is gone after the read and a file that vanishes before it is opened. Absent, applied, partial and conflicting/unknown results remain distinct. Partial outputs are retained for remediation; automatic repair/overwrite and abandoned-stage garbage collection are outside this contract.
|
|
16
16
|
|
|
17
17
|
The host owns the workspace and managed area; other users cannot mutate ancestors, lock databases or draft files. This is protection against competing cooperating processes and process death, not a sandbox against malicious same-user filesystem mutation. File flushes and process-kill tests do not establish hardware power-loss durability. The repository's `tools/systems/publish.ts` also uses the shared primitive while preserving its output paths and result format.
|
|
18
18
|
|
|
@@ -26,7 +26,7 @@ Transport refinement: failed JSON responses preserve a string service `code`, or
|
|
|
26
26
|
|
|
27
27
|
Implementation contract for the runtime and its hosts. Depends only on language, graph and db. Implements coordinates, context/select, the scoped door and pure steward evaluation. The delivery paragraphs below are historical evidence; their next-step statements do not describe the current implementation.
|
|
28
28
|
|
|
29
|
-
R01. Request coordinates use graph's closed axes and canonical values. Runtime accepts text, explicit axes, optional subject/follow and a database within token. Validate declared/profile/classifier values; never silently ignore an unknown axis. prepareCoordinate returns values plus declared/profile/derived/absent for every ConditionAxis and native shape focus lists. Declared values win over a supplied profile, which wins over derivation; phase and primitive must be declared by the request and cannot come from profile or classifier. Derive only shape and category; shape-row kind/lane/predicate arrays remain explicit focus hints, not scalar selector constraints. Profile cannot impersonate declared phase/primitive. Category gloss fields on records are never read for matching. A scope key (R14) is the one exception, on its own path only: scopeCoordinate declares the key's shape and phase
|
|
29
|
+
R01. Request coordinates use graph's closed axes and canonical values. Runtime accepts text, explicit axes, optional subject/follow and a database within token. Validate declared/profile/classifier values; never silently ignore an unknown axis. prepareCoordinate returns values plus declared/profile/derived/absent for every ConditionAxis and native shape focus lists. Declared values win over a supplied profile, which wins over derivation; phase and primitive must be declared by the request and cannot come from profile or classifier. Derive only shape and category; shape-row kind/lane/predicate arrays remain explicit focus hints, not scalar selector constraints. Profile cannot impersonate declared phase/primitive. Category gloss fields on records are never read for matching. A scope key (R14) is the one exception, on its own path only: scopeCoordinate declares the key's shape and phase, derives category, and uses an explicit primitive as declared or SHAPE_ROWS[shape].primitive as derived, so a key with a shape and a phase is never coordinate-incomplete. prepareCoordinate is unchanged and leaves an undeclared primitive absent, and every version 1 context and select request without one is still refused as coordinate-incomplete.
|
|
30
30
|
|
|
31
31
|
R02. classify(text) is a deterministic replaceable keyword seam over request prose only. Use fixed keyword signals per shape, select greatest signal count then native SHAPE_ROWS tiePrecedence, use context for no signal. Unknown custom output is COORDINATE-VALUE-UNKNOWN, not a fallback. A custom classifier is called only when shape is absent from request/profile. Mark supplied shape declared/profile and inferred shape derived. Explicit primitive and move participate unchanged in graph selector matching.
|
|
32
32
|
|
|
@@ -64,13 +64,13 @@ R12 host metadata refinement: COORDINATE_DOMAINS exports immutable copied native
|
|
|
64
64
|
|
|
65
65
|
R13. Steward-write evaluation is a bounded pure consumer over admitted compiled records. Given a canonical system name and a trusted actor (operator or agent identity), resolve the direct @system declaration's typed steward reference to one admitted @agent inside that system folder. Missing/ambiguous owners refuse; only that identity or an explicitly trusted operator passes. Return expected steward identity/name and owner source attribution. No source parsing, filesystem write or tool execution occurs. The Claude host adapter owns input trust and never treats a default/missing agent as operator. Hook refusal codes are exported for fixture coverage and preserve the IA-HOOK namespace.
|
|
66
66
|
|
|
67
|
-
R14. Scope key. `src/scope-key.ts` holds it: the package root exports `K0`, `SCOPE_KEY_CAPS`, `normalizeScopeKey`, `resolveScopeKey` and `rootRelative` with the `ScopeKey`, `ResolvedSeat` and `ResolvedScopeKey` types, and the `./internal/scope-key` subpath carries the module; `scopeCoordinate` (R01) is in `src/coordinate.ts`, on the `./internal/coordinate` subpath only. `ScopeKey` is K = (seat, shape, phase, depth, budget, word): `shape` one of the five SHAPE_ROWS shapes, `phase` one of the four phases, `depth` an integer in 0..2, `budget` an integer in 0..64 and `word` optional; `SCOPE_KEY_CAPS` exports the two caps, and `K0` is the frozen key (no seat, context, orient, 0, 0, no word). Three seat notions are kept apart, each named once here. The key's `seat` is what a caller names: absent for the repository's own `@workspace`, a record identity, or `{path}` for a location. The resolved seat (`ResolvedSeat`) is what that names once read through the scope: `{kind, identity?, path?, unknown?}`, kind `workspace` for no seat (identity the repository's `@workspace`), `record` for an identity (identity that record) and `location` for a path (path its canonical workspace-relative path; a location is not a record and has no identity). The database's `SeatResolution.seat` (db D02b) is the record a path is declared at, a `@system` or `@workspace`; it stays in the result's `resolution` with the rule `by` and the path's claimants, and is never a location's resolved seat. `normalizeScopeKey(partial?)` completes a partial key with its defaults, the one place every host applies them: a partial that names no part (a part whose value is undefined is not named) is K0; otherwise `shape` defaults to context, `phase` to the anchor
|
|
67
|
+
R14. Scope key. `src/scope-key.ts` holds it: the package root exports `K0`, `SCOPE_KEY_CAPS`, `normalizeScopeKey`, `resolveScopeKey` and `rootRelative` with the `ScopeKey`, `ResolvedSeat` and `ResolvedScopeKey` types, and the `./internal/scope-key` subpath carries the module; `scopeCoordinate` (R01) is in `src/coordinate.ts`, on the `./internal/coordinate` subpath only. `ScopeKey` is K = (seat, shape, phase, depth, budget, word), with an optional primitive override: `shape` one of the five SHAPE_ROWS shapes, `phase` one of the four phases, `depth` an integer in 0..2, `budget` an integer in 0..64 and `word` optional; `SCOPE_KEY_CAPS` exports the two caps, and `K0` is the frozen key (no seat, context, orient, 0, 0, no word). Three seat notions are kept apart, each named once here. The key's `seat` is what a caller names: absent for the repository's own `@workspace`, a record identity, or `{path}` for a location. The resolved seat (`ResolvedSeat`) is what that names once read through the scope: `{kind, identity?, path?, unknown?}`, kind `workspace` for no seat (identity the repository's `@workspace`), `record` for an identity (identity that record) and `location` for a path (path its canonical workspace-relative path; a location is not a record and has no identity). The database's `SeatResolution.seat` (db D02b) is the record a path is declared at, a `@system` or `@workspace`; it stays in the result's `resolution` with the rule `by` and the path's claimants, and is never a location's resolved seat. `normalizeScopeKey(partial?)` completes a partial key with its defaults, the one place every host applies them: a partial that names no part (a part whose value is undefined is not named) is K0; otherwise `shape` defaults to context, `phase` to the anchor of the explicit primitive or the shape's primitive, PRIMITIVE_ANCHORS[primitive ?? SHAPE_ROWS[shape].primitive] (context orient, governance plan, execution act, sequence plan, learning learn), `depth` to 1 and `budget` to 16, and a seat, word or primitive override stays absent unless named. It reads nothing, so it checks the key's form and leaves the word and the seat to resolution. `resolveScopeKey(handle, within, key)` requires a scope token like every runtime read, checks a complete key and returns a frozen `{key, seat, resolution?, coordinate}`: `key` copies the validated parts in K order, a location as the canonical path it resolved to, so a key never carries the root; `seat` is the resolved seat; `resolution` is the database's resolution of the repository root `''` or of the path, for a workspace or location seat; and `coordinate` is scopeCoordinate's (R01), shape and phase declared, category derived, primitive declared when supplied and otherwise derived. Every key refusal is IA-RUNTIME-REQUEST-INVALID naming the closed set or bound: an unknown part, a shape, phase or primitive outside its closed set, a depth or budget outside its cap or not an integer, a seat that is neither an identity nor `{path}`, a word the read's view does not register for its admitted systems (db D09a `words`), the refusal listing those it does, an identity that is not an admitted record in the scope, and a path outside the workspace root or escaping it. The key's parts, closed sets, caps and seat form are checked before any read, so a key malformed in them is refused whatever the token. An absolute path reads by `rootRelative(root, path)`, the one absolute-path rule, which `ia read` also reads the path of a `<path>:<line>` locator with (2026-10-08, which gave the two one rule): the path from the handle's root that Node's `path.relative` gives (on Windows without case, with either separator), `/`-separated, and the root itself, however it is spelled, as `''`, the location that `.` also names (`ia read`, whose line locator needs a path, spells it `.`). It names no path inside the root, so it is undefined and the path goes on as given, refused below, when that path's first segment is `..`, a check made segment by segment, so an in-root name that only begins with `..`, such as `..cache`, is inside the root whichever way it is spelled, or when the path is on another drive, which has no path from the root. A relative path goes as given to the database's `resolveSeat` (db D02b), as does the path `rootRelative` reads, and the database canonicalises it segment by segment and names one that escapes the workspace `outside`, refused here: a `..` segment escapes. No seat takes the seat the database resolves for `''`: the `@workspace` declaring a `sources` root of the whole repository, else the repository's own `@workspace` as D02b decides it. When no admitted record in the scope is declared at a workspace or location seat, the resolved seat names `unknown: 'undeclared'`, and a workspace seat then has no identity: K0 is the empty composition with the unknown named, never a refusal (db D02b). Database token failures (SCOPE-UNAVAILABLE, STALE, CLOSED) keep their IA-DB codes on every read the resolution makes: the word's, the identity's and the path's. This row types, completes, validates and resolves the key; R15 assembles the body a resolved key gives (seeding, pointers to 48 then tallies, the word's restriction of seeds and tallies, blockers reserved outside the budget), and `position` (R16) completes, resolves and assembles a key with its digest and host note. The Door's `position` operation reads a key (R12 refinement, position); the nine version 1 Door routes, `context` and `select` included, and `ia scope` neither read nor accept one, and the consumer verb is `ia position`. Each key refusal's `RuntimeError` carries `next`, the one command to run: the closed set of a shape or phase, the cap of a depth or budget, `ia vocabulary` for a word, and `ia position`, K0, for a key that is no object or names an unknown part and for a seat of another form, outside the scope or outside the workspace. `RuntimeError` gains the optional `next` for it, absent from every other refusal. `tests/scope-key.test.ts` pins the caps and K0; the defaults, an empty partial being K0 and every shape's anchor phase; a key naming only a shape resolved, and depth 3 and budget 65 refused; a key completed from shape and phase alone for every shape and phase; the unchanged version 1 refusal bytes of a context or select request that declares only shape and phase; the closed sets, caps and seat form refused by both functions, an unknown part and a key that is no object naming `ia position` as `next`, and the key's form refused before a forged token is read; the token on every seat form and the word, a forged, stale or closed one keeping its database code; the registered word checked in the scope's own view; each seat form and a location pruned by a narrower scope; absolute paths inside the root, in native, forward and mixed separators (and on Windows with the drive letter in either case), read as the relative path, the root in every spelling as the location `''`, an in-root name beginning with `..` read alike in both spellings, and absolute paths outside the root (a sibling whose name extends the root's among them), escaping paths and another drive refused; `rootRelative` itself on each of those spellings, a relative path returned as given; K0 seated by a workspace that declares the whole repository as a root; and K0 with the repository workspace undecided.
|
|
68
68
|
|
|
69
|
-
R15. Position body (2026-10-08): `src/position.ts`, exported from the package root and the `./internal/position` subpath, publishes `positionBody(handle, within, resolved)` with the `PositionBody`, `LoadedEntry`, `LoadedPlace`, `LoadedRecord`, `PositionRecord`, `PositionPointer`, `PositionVia`, `PointerTally`, `FrontierTally`, `PositionUnknown`, `PositionCounts` and `PositionWidening` types. `resolved` is what resolveScopeKey (R14) returned for the same scope token `within`. Every read carries that token: the snapshot and its D02a membership rows, directed views (db D09), the declared roots (db D02c `roots`) and the seat of `''` (D02b); a missing token is IA-RUNTIME-REQUEST-INVALID, and an unknown, stale or closed one keeps its database code, and a resolved seat identity the token does not admit (a key resolved through another token) is IA-RUNTIME-REQUEST-INVALID, `The seat '<identity>' is not an admitted record in this scope`, naming as its `next` `ia position`, the position without that seat, as R14 names it for a seat outside the scope. body(K) is a pure function of the key and the admitted records the token reads, and only a whole-workspace token (db `isCompleteScope`, PT5) also reads the admission findings it alone may disclose: it carries no root path, token, time, request text, capture state or record body (a body is read on demand by `ia read`; R17's cells carry a playbook cell's text, not its record's body), and nothing is written. A record at runtime placement (band 0) is no part of a body (2026-10-08: runtime-band evidence is admitted below authored, where it must not move what agents are given): the body reads the scope's records without those records and without every directed-view row and claimant that names one, so none is composition, a seed, a hop or waypoint, loaded, in `rules`, a pointer, tallied or frontier, none primes, reaches or names the steward of another record, and none claims a location or is the record one is declared at, so a location whose declarer and claimants are all at runtime placement names the `seat` unknown it would name without them; a seat at runtime placement, whether the key names it or it is the repository's own `@workspace` (K0 included), is IA-RUNTIME-REQUEST-INVALID, `The seat '<identity>' is at runtime placement (band 0), which no position body enters`, whose `next` (2026-10-08, moved here from the Door) is `ia inspect`, the overview, when the seat is the one K0 takes, the repository's own `@workspace` (`resolveSeat('')`), whether the key names it or not, since K0 is refused alike, and `ia position`, the position without it, for any other seat. Two inputs still read every placement, so a runtime-band record appearing can still move the body. The database's own decisions: a runtime-band `@workspace` or `@system` can move the D02a membership roots, the D02c declared roots, the D02b seat of a path and the repository's own `@workspace` that the closure is built from, and a location's resolved `seat` (R14) then names no `unknown` while `unknowns` names the seat. Admission's findings, which resolve every reference against every placement: a runtime-band record that an edge or field reference of an authored loaded record names resolves it, so that record's IA-GRAPH-TARGET-MISSING or IA-COMP-FIELD-REF-MISSING `finding` leaves `unknowns`, and the row to it, naming a band-0 record, is dropped, so the body names that relation neither as a pointer nor as an unknown. The body's `revision` is not one of them: it is the authored revision of the view the scope reads (db D05a), which no runtime-band source moves (R16). It is `{format: 'ia.position-body.v1', revision, key, seat, loaded, rules, pointers, pointerTallies, appliesByWord, appliesByWordTallies, cells, mandates, frontier, unknowns, counts, widening}`, `key` and `seat` being the resolved key and seat and the four sections after `pointerTallies` R17's. The seat's workspace is the seat when it is a `@workspace`; else, of the repository's own `@workspace`, the one D02b seats `''` at, and the workspace of the first declared root, in D02c order, that contains the D02a membership root of the seat record (for a location, of the record it is declared at), the first whose closure holds that record; else no workspace holds the seat. A floor or adopted record, an installed one included, is in every closure, so it is seated in the repository's own workspace with the records the repository authors, even when the installed or adopted `@workspace` that ships it declares the root it sits in, as the bundled base's language-workspace declares `.ia/src @authored` in the store (2026-10-08: the floor, the adopted records and the repository's own roots); the workspace whose root holds the record is taken for an authored record of another workspace's root. A workspace's closure is every floor (band 10) and adopted (band 90) record, plus the members of its own declared roots or, while it declares none, every record whose membership root no workspace declares; when no workspace holds the seat, the closure is that fallback. Reading the closure as the declared members alone would leave a repository without a declared root (the conformance corpus, and every repository an earlier `ia init` made, which declared none) unable to reach any record of its own; and falling back to the repository's workspace whatever its roots would, when none of them holds the seat record, leave the seat outside its own closure (the seat S always resolves inside it) and its own system's blocking governance out of `rules`. Both fallbacks are named under `unknowns`. A record outside the closure is never entered: it is a pointer that names, as `workspace`, the `@workspace` whose declared root holds it, when one does. The composition C0, at cost 0 and one level from the seat, is the seat's field references both ways (directed-view `field-ref` rows); a `@workspace` seat's capture members, the membership rows under its own declared roots; a `@system` seat's word members, the admitted records whose owner system it is; and a location's declared-at record and claimants from `resolution`. A location is no record and has no fields, and a workspace seat no record declares has an empty composition. The first class that reaches a C0 record is its `via`, unless a hop reaches it (below): `field` (`from`, `field`, `direction`, read from `from`'s side), `membership` (`root`), `word` (`system`), `declared-at` (`rule`) or `claim` (`matches`); C0 counts only what the closure admits, a composition record a hop reaches included. The seeds Σ are the seat and the C0 records whose kind is in SHAPE_ROWS[shape].kinds or whose lane, graph `laneOf` (G05), is in its lanes. Hops 1..depth start from Σ and follow directed-view edge rows only, declared or derived inverse, in either direction, whose predicate is in SHAPE_ROWS[shape].predicates, never leaving the closure; each record other than the seat and the seeds that a hop reaches, a C0 record among them, keeps the first row that reaches it, from the seat, then the seeds and each later hop in identity order, as `via: {by: 'row', from, predicate, spelling, declaredBy}`, and is in C. A row that carries a condition is a row of the body only where its condition holds at the key's coordinate (2026-10-08): graph `conditionHolds` over the coordinate R14's scopeCoordinate builds, the key's shape and phase with the derived category and primitive, the condition's subject being the record that states the row (its `declaredOn`, the author graph G06 keeps as an edge's condition subject), so the body agrees with graph traversal for the same coordinate. A row that does not hold is not followed and its counterpart is not reached through it: it is no hop, primes no record, names no out-of-focus pointer and counts in no frontier, while a field reference carries no condition. The phase can so change the loaded set; a body whose rows carry no condition is unchanged by it. The conformance corpus's fixture law `enforced-by @check instance-schema-check when phase is act and severity is blocking` reaches the check at act only. With `word` set (the word restricts seeds and tallies inside the body, and blockers are reserved outside n), C0, the seeds, the hop-reached records that load, the pointers, their tallies and the frontier are records of that word only; a record of another word that a hop reaches is a waypoint, followed but never loaded or listed; the seat loads whatever its word. The word never filters `rules` (2026-10-08: a word must not hide a blocking rule that governs what it loads, as one claiming a location seat or applying by its subject-word to a record of the word would be hidden if R were read under the word): R is taken from the candidates of the walk without the word, each with the row or class that reaches it there, so `rules` under a word is the body's without it, and R17's applies-by-word section with its tallies, its cells and the mandates are not filtered either. The order keys are total: governance (prime ↑, band ↓, hop ↑, sev ↑, identity ↑) and every other shape (band ↓, hop ↑, lane ↑, identity ↑). prime is the least index in SHAPE_ROWS.governance.priming (govern, constrain, forbid, enforce, implement) of an edge row incident to the record, else 5; sev is the rank of graph `effectiveSeverity` in [blocking, advisory, informational], a record with none last; lane is its index in the shape's lanes, else their count; hop is 0 for Σ and for a C0 record no hop reaches, else the first hop that reached it. The candidates K = {S} ∪ C0 ∪ Σ ∪ C, C the hop-reached records, are taken before any truncation and before the word filter, and `rules` is R, the governance-kind candidates other than the seat whose effective severity is blocking, with the blocking rules that apply by word to a candidate (R17), in the governance order and never counted against the budget, so a blocking law that claims a location only through `subject.covers` is in `rules` at budget 0. `loaded` is the seat, then the first `budget` records of ((Σ \ {S}) ∪ C) \ R in the shape's order. A record seat loads as a `LoadedRecord`; a location, or a workspace seat no record declares, as the `LoadedPlace` `{path}` of its canonical path (`''` for the latter). A `LoadedRecord`, and each entry of `rules`, is the pointer tuple plus the record's G13 `digest`. `pointers` are the C0 and hop-reached records outside `loaded` and `rules`, those the budget truncated among them; the records outside the closure that composition or a hop reached; and the counterparts of each loaded record's out-of-focus edge rows and field references, at that record's hop. Each is listed once, by the first that reaches it, in the shape's order, as the pointer 9-tuple `{identity, word, kind, lane, system, steward?, band, hop, via}`, `system` being the owner system and `steward` the `head.steward` field reference of its `@system` record (`floor/definition/system/<name>`) when the scope admits it, read without the registry. The first 48 are listed, and the rest are tallied per (word, owner system) as `{system, word, steward?, count}`, sorted by system then word. `frontier` tallies per (owner system, kind), as `{system, kind, steward?, count}`, the counterparts of the in-focus rows of the loaded records at hop `depth` that the body neither lists nor reached, never entered. `unknowns` are `{kind, subject?, code?, path?, line?, message}`: `seat` for a location no admitted record is declared at, a location that nothing claims and none is declared at (`no record claims '<path>' and none is declared at it; widening key: the workspace`, or on a narrowed scope, which prunes the claimants it does not admit, `no record in this scope claims '<path>' and none in it is declared at it; widening key: the workspace`), or the repository root no `@workspace` is declared at; `sources` when the seat's workspace declares no sources (`workspace declares no sources: …`) or no workspace holds the seat; `finding`, read only on a whole-workspace scope (db PT5, as R18 reads admission findings), each IA-GRAPH-TARGET-MISSING, IA-GRAPH-TARGET-AMBIGUOUS, IA-GRAPH-EDGE-UNCONSENTED and IA-COMP-FIELD-REF-MISSING report finding on the source span of a loaded record, the innermost one, with its code, path, line and message; and `unread` on a narrowed scope, which reads none. `counts` are `{composition: |C0|, seeds: |Σ| with the seat, loaded: |L| with the seat, rules, pointers (listed and tallied), appliesByWord (R17), frontier, truncatedLoaded, truncatedPointers, truncatedAppliesByWord}`. `widening` is `{deeper: the key at depth + 1, absent at depth 2; reseat: {shape, phase, depth: 1, budget: 16}}`, to be seated at any pointer, no seat being the repository's workspace. `position` (R16) returns the body with its digest and host note; R17 adds the applies-by-word section, the playbook cells and the mandates; and the Door's version-2 `position` operation and the MCP tool `ia_position` serve it (R12), as does the `ia position` CLI verb (apps/cli/SPEC.md). `tests/position.test.ts` pins, over the conformance corpus, golden bodies of K0, governance at the fixture law (at plan, where its conditional `enforced-by` row does not hold, and at act, where it does), sequence at depth 2 from the workspace and the word law at the governance-system seat, in `tests/golden/` with the revision masked and asserted apart (only `node packages/runtime/tests/golden/write.mjs` regenerates them); K0's single loaded seat, five system pointer lines from `composition.systems`, frontier and named missing sources; byte-equal bodies for equal keys through every whole-workspace token and handle of one revision, and a token selecting every admitted identity differing only by the `unread` note; hops in either direction, out-of-focus pointers and a seed a later hop reaches keeping hop 0; each order key deciding in turn (band, then hop, then lane in the other shapes; prime, then band, an adopted record against a local one, then hop, then sev in governance) and two blocking laws in `rules` in the governance order under governance and context; seeds picked by kind and by lane (an authority-facet contract); the counts of a budget below |Σ ∪ C| and one tally past 48 per word and owner system; the word law loading the seat and only laws, waypoints and only-law pointers, tallies and frontier; a location seat claimed only through `subject.covers` by a blocking law at budget 0, the law in `rules`, not a pointer, the seat alone loaded; a location nothing claims, and one claimed but declared at no record; a record of another workspace's root never entered and named as a pointer, whether a hop or the seat's `composition.systems` reaches it, and not listed under a word it is not of; a location in that root's system folder, closed in that workspace; an adopted `@system` seated in the repository's workspace though its adopted `@workspace` declares the root it sits in, the repository's own blocking law of its word reserved; a conditional row followed at each phase exactly where graph traversal follows it for the key's coordinate, from either side and with its severity term read from the record that states it, and a task reached through a conditional requirement only at the phase it names; the narrowed location unknown; K0 with the repository workspace undecided; a seat no declared root holds, under the fallback closure and named, its blocking law still in `rules`; on a whole-workspace scope, missing targets, unconsented rows and missing field references named on the loaded record whose span holds them, never on an earlier record of the file or on a pointer, and the `unread` note on a narrowed one; and the token. `tests/purity.test.ts` pins the runtime-placement rule (R16). The conformance corpus places no source at runtime, so the rule leaves the golden bodies unchanged.
|
|
69
|
+
R15. Position body (2026-10-08): `src/position.ts`, exported from the package root and the `./internal/position` subpath, publishes `positionBody(handle, within, resolved)` with the `PositionBody`, `LoadedEntry`, `LoadedPlace`, `LoadedRecord`, `PositionRecord`, `PositionPointer`, `PositionVia`, `PointerTally`, `FrontierTally`, `PositionUnknown`, `PositionCounts` and `PositionWidening` types. `resolved` is what resolveScopeKey (R14) returned for the same scope token `within`. Every read carries that token: the snapshot and its D02a membership rows, directed views (db D09), the declared roots (db D02c `roots`) and the seat of `''` (D02b); a missing token is IA-RUNTIME-REQUEST-INVALID, and an unknown, stale or closed one keeps its database code, and a resolved seat identity the token does not admit (a key resolved through another token) is IA-RUNTIME-REQUEST-INVALID, `The seat '<identity>' is not an admitted record in this scope`, naming as its `next` `ia position`, the position without that seat, as R14 names it for a seat outside the scope. body(K) is a pure function of the key and the admitted records the token reads, and only a whole-workspace token (db `isCompleteScope`, PT5) also reads the admission findings it alone may disclose: it carries no root path, token, time, request text, capture state or record body (a body is read on demand by `ia read`; R17's cells carry a playbook cell's text, not its record's body), and nothing is written. A record at runtime placement (band 0) is no part of a body (2026-10-08: runtime-band evidence is admitted below authored, where it must not move what agents are given): the body reads the scope's records without those records and without every directed-view row and claimant that names one, so none is composition, a seed, a hop or waypoint, loaded, in `rules`, a pointer, tallied or frontier, none primes, reaches or names the steward of another record, and none claims a location or is the record one is declared at, so a location whose declarer and claimants are all at runtime placement names the `seat` unknown it would name without them; a seat at runtime placement, whether the key names it or it is the repository's own `@workspace` (K0 included), is IA-RUNTIME-REQUEST-INVALID, `The seat '<identity>' is at runtime placement (band 0), which no position body enters`, whose `next` (2026-10-08, moved here from the Door) is `ia inspect`, the overview, when the seat is the one K0 takes, the repository's own `@workspace` (`resolveSeat('')`), whether the key names it or not, since K0 is refused alike, and `ia position`, the position without it, for any other seat. Two inputs still read every placement, so a runtime-band record appearing can still move the body. The database's own decisions: a runtime-band `@workspace` or `@system` can move the D02a membership roots, the D02c declared roots, the D02b seat of a path and the repository's own `@workspace` that the closure is built from, and a location's resolved `seat` (R14) then names no `unknown` while `unknowns` names the seat. Admission's findings, which resolve every reference against every placement: a runtime-band record that an edge or field reference of an authored loaded record names resolves it, so that record's IA-GRAPH-TARGET-MISSING or IA-COMP-FIELD-REF-MISSING `finding` leaves `unknowns`, and the row to it, naming a band-0 record, is dropped, so the body names that relation neither as a pointer nor as an unknown. The body's `revision` is not one of them: it is the authored revision of the view the scope reads (db D05a), which no runtime-band source moves (R16). It is `{format: 'ia.position-body.v1', revision, key, seat, loaded, rules, pointers, pointerTallies, appliesByWord, appliesByWordTallies, cells, mandates, frontier, unknowns, counts, widening}`, `key` and `seat` being the resolved key and seat and the four sections after `pointerTallies` R17's. The seat's workspace is the seat when it is a `@workspace`; else, of the repository's own `@workspace`, the one D02b seats `''` at, and the workspace of the first declared root, in D02c order, that contains the D02a membership root of the seat record (for a location, of the record it is declared at), the first whose closure holds that record; else no workspace holds the seat. A floor or adopted record, an installed one included, is in every closure, so it is seated in the repository's own workspace with the records the repository authors, even when the installed or adopted `@workspace` that ships it declares the root it sits in, as the bundled base's language-workspace declares `.ia/src @authored` in the store (2026-10-08: the floor, the adopted records and the repository's own roots); the workspace whose root holds the record is taken for an authored record of another workspace's root. A workspace's closure is every floor (band 10) and adopted (band 90) record, plus the members of its own declared roots or, while it declares none, every record whose membership root no workspace declares; when no workspace holds the seat, the closure is that fallback. Reading the closure as the declared members alone would leave a repository without a declared root (the conformance corpus, and every repository an earlier `ia init` made, which declared none) unable to reach any record of its own; and falling back to the repository's workspace whatever its roots would, when none of them holds the seat record, leave the seat outside its own closure (the seat S always resolves inside it) and its own system's blocking governance out of `rules`. Both fallbacks are named under `unknowns`. A record outside the closure is never entered: it is a pointer that names, as `workspace`, the `@workspace` whose declared root holds it, when one does. The composition C0, at cost 0 and one level from the seat, is the seat's field references both ways (directed-view `field-ref` rows); a `@workspace` seat's capture members, the membership rows under its own declared roots; a `@system` seat's word members, the admitted records whose owner system it is; and a location's declared-at record and claimants from `resolution`. A location is no record and has no fields, and a workspace seat no record declares has an empty composition. The first class that reaches a C0 record is its `via`, unless a hop reaches it (below): `field` (`from`, `field`, `direction`, read from `from`'s side), `membership` (`root`), `word` (`system`), `declared-at` (`rule`) or `claim` (`matches`); C0 counts only what the closure admits, a composition record a hop reaches included. The seeds Σ are the seat and the C0 records whose kind is in SHAPE_ROWS[shape].kinds or whose lane, graph `laneOf` (G05), is in its lanes. Hops 1..depth start from Σ and follow directed-view edge rows only, declared or derived inverse, in either direction, whose predicate is in SHAPE_ROWS[shape].predicates, never leaving the closure; each record other than the seat and the seeds that a hop reaches, a C0 record among them, keeps the first row that reaches it, from the seat, then the seeds and each later hop in identity order, as `via: {by: 'row', from, predicate, spelling, declaredBy}`, and is in C. A row that carries a condition is a row of the body only where its condition holds at the key's coordinate (2026-10-08): graph `conditionHolds` over the coordinate R14's scopeCoordinate builds, the key's shape and phase with the derived category and selected primitive, the condition's subject being the record that states the row (its `declaredOn`, the author graph G06 keeps as an edge's condition subject), so the body agrees with graph traversal for the same coordinate. A row that does not hold is not followed and its counterpart is not reached through it: it is no hop, primes no record, names no out-of-focus pointer and counts in no frontier, while a field reference carries no condition. The phase can so change the loaded set; a body whose rows carry no condition is unchanged by it. The conformance corpus's fixture law `enforced-by @check instance-schema-check when phase is act and severity is blocking` reaches the check at act only. With `word` set (the word restricts seeds and tallies inside the body, and blockers are reserved outside n), C0, the seeds, the hop-reached records that load, the pointers, their tallies and the frontier are records of that word only; a record of another word that a hop reaches is a waypoint, followed but never loaded or listed; the seat loads whatever its word. The word never filters `rules` (2026-10-08: a word must not hide a blocking rule that governs what it loads, as one claiming a location seat or applying by its subject-word to a record of the word would be hidden if R were read under the word): R is taken from the candidates of the walk without the word, each with the row or class that reaches it there, so `rules` under a word is the body's without it, and R17's applies-by-word section with its tallies, its cells and the mandates are not filtered either. The order keys are total: governance (prime ↑, band ↓, hop ↑, sev ↑, identity ↑) and every other shape (band ↓, hop ↑, lane ↑, identity ↑). prime is the least index in SHAPE_ROWS.governance.priming (govern, constrain, forbid, enforce, implement) of an edge row incident to the record, else 5; sev is the rank of graph `effectiveSeverity` in [blocking, advisory, informational], a record with none last; lane is its index in the shape's lanes, else their count; hop is 0 for Σ and for a C0 record no hop reaches, else the first hop that reached it. The candidates K = {S} ∪ C0 ∪ Σ ∪ C, C the hop-reached records, are taken before any truncation and before the word filter, and `rules` is R, the governance-kind candidates other than the seat whose effective severity is blocking, with the blocking rules that apply by word to a candidate (R17), in the governance order and never counted against the budget, so a blocking law that claims a location only through `subject.covers` is in `rules` at budget 0. `loaded` is the seat, then the first `budget` records of ((Σ \ {S}) ∪ C) \ R in the shape's order. A record seat loads as a `LoadedRecord`; a location, or a workspace seat no record declares, as the `LoadedPlace` `{path}` of its canonical path (`''` for the latter). A `LoadedRecord`, and each entry of `rules`, is the pointer tuple plus the record's G13 `digest`. `pointers` are the C0 and hop-reached records outside `loaded` and `rules`, those the budget truncated among them; the records outside the closure that composition or a hop reached; and the counterparts of each loaded record's out-of-focus edge rows and field references, at that record's hop. Each is listed once, by the first that reaches it, in the shape's order, as the pointer 9-tuple `{identity, word, kind, lane, system, steward?, band, hop, via}`, `system` being the owner system and `steward` the `head.steward` field reference of its `@system` record (`floor/definition/system/<name>`) when the scope admits it, read without the registry. The first 48 are listed, and the rest are tallied per (word, owner system) as `{system, word, steward?, count}`, sorted by system then word. `frontier` tallies per (owner system, kind), as `{system, kind, steward?, count}`, the counterparts of the in-focus rows of the loaded records at hop `depth` that the body neither lists nor reached, never entered. `unknowns` are `{kind, subject?, code?, path?, line?, message}`: `seat` for a location no admitted record is declared at, a location that nothing claims and none is declared at (`no record claims '<path>' and none is declared at it; widening key: the workspace`, or on a narrowed scope, which prunes the claimants it does not admit, `no record in this scope claims '<path>' and none in it is declared at it; widening key: the workspace`), or the repository root no `@workspace` is declared at; `sources` when the seat's workspace declares no sources (`workspace declares no sources: …`) or no workspace holds the seat; `finding`, read only on a whole-workspace scope (db PT5, as R18 reads admission findings), each IA-GRAPH-TARGET-MISSING, IA-GRAPH-TARGET-AMBIGUOUS, IA-GRAPH-EDGE-UNCONSENTED and IA-COMP-FIELD-REF-MISSING report finding on the source span of a loaded record, the innermost one, with its code, path, line and message; and `unread` on a narrowed scope, which reads none. `counts` are `{composition: |C0|, seeds: |Σ| with the seat, loaded: |L| with the seat, rules, pointers (listed and tallied), appliesByWord (R17), frontier, truncatedLoaded, truncatedPointers, truncatedAppliesByWord}`. `widening` is `{deeper: the key at depth + 1, absent at depth 2; reseat: {shape, phase, primitive?, depth: 1, budget: 16}}`, to be seated at any pointer, no seat being the repository's workspace. `position` (R16) returns the body with its digest and host note; R17 adds the applies-by-word section, the playbook cells and the mandates; and the Door's version-2 `position` operation and the MCP tool `ia_position` serve it (R12), as does the `ia position` CLI verb (apps/cli/SPEC.md). `tests/position.test.ts` pins, over the conformance corpus, golden bodies of K0, governance at the fixture law (at plan, where its conditional `enforced-by` row does not hold, and at act, where it does), sequence at depth 2 from the workspace and the word law at the governance-system seat, in `tests/golden/` with the revision masked and asserted apart (only `node packages/runtime/tests/golden/write.mjs` regenerates them); K0's single loaded seat, five system pointer lines from `composition.systems`, frontier and named missing sources; byte-equal bodies for equal keys through every whole-workspace token and handle of one revision, and a token selecting every admitted identity differing only by the `unread` note; hops in either direction, out-of-focus pointers and a seed a later hop reaches keeping hop 0; each order key deciding in turn (band, then hop, then lane in the other shapes; prime, then band, an adopted record against a local one, then hop, then sev in governance) and two blocking laws in `rules` in the governance order under governance and context; seeds picked by kind and by lane (an authority-facet contract); the counts of a budget below |Σ ∪ C| and one tally past 48 per word and owner system; the word law loading the seat and only laws, waypoints and only-law pointers, tallies and frontier; a location seat claimed only through `subject.covers` by a blocking law at budget 0, the law in `rules`, not a pointer, the seat alone loaded; a location nothing claims, and one claimed but declared at no record; a record of another workspace's root never entered and named as a pointer, whether a hop or the seat's `composition.systems` reaches it, and not listed under a word it is not of; a location in that root's system folder, closed in that workspace; an adopted `@system` seated in the repository's workspace though its adopted `@workspace` declares the root it sits in, the repository's own blocking law of its word reserved; a conditional row followed at each phase exactly where graph traversal follows it for the key's coordinate, from either side and with its severity term read from the record that states it, and a task reached through a conditional requirement only at the phase it names; the narrowed location unknown; K0 with the repository workspace undecided; a seat no declared root holds, under the fallback closure and named, its blocking law still in `rules`; on a whole-workspace scope, missing targets, unconsented rows and missing field references named on the loaded record whose span holds them, never on an earlier record of the file or on a pointer, and the `unread` note on a narrowed one; and the token. `tests/purity.test.ts` pins the runtime-placement rule (R16). The conformance corpus places no source at runtime, so the rule leaves the golden bodies unchanged.
|
|
70
70
|
|
|
71
71
|
R16. Position and host note (2026-10-08): `src/position.ts`, on the package root and the `./internal/position` subpath, also publishes `position(handle, within, partial?)` with the `PositionOutput`, `HostNote` and `Freshness` types. It completes `partial` with normalizeScopeKey (R14), resolves the key with resolveScopeKey through the scope token `within`, assembles the body with positionBody (R15) and returns the frozen `{body, digest, hostNote}`, the two outputs of a position, printed together and never merged. `digest` is graph's codec `digest` of the body, the SHA-256 of its canonical JSON text, and the note carries none. Purity: the body is a function of the key and the admitted revision alone. A key's parts are closed (R14), so a partial naming `text`, `token`, `within` or any other part is an unknown part, IA-RUNTIME-REQUEST-INVALID, and nothing text-driven runs, no classifier, search or text ranking; the version 1 `context` and `select` operations stay text-driven and unchanged. The body names no root path (a location seat spelled as an absolute path enters it as its root-relative path), no scope token, no time, no request text and no capture: one key over two copies of a corpus at different roots gives byte-equal bodies and equal digests, a `context` call with any text on the same handle and token leaves both unchanged, and so does writing a capture. The host note is host state, never claimed identical across hosts or working trees: `{revision, capturedRevision?, previousRevision?, freshness, key}`. `revision` is the handle's authored revision (`handle.authoredRevision`, db D05a); `capturedRevision` the authored revision of the capture at `.ia/work/snapshot/current.json` (db D08a) and `previousRevision` the authored revision of the previous root snapshot the handle retains (db D08), each absent when there is none; `freshness` is `current` when the capture is at `revision`, `stale` when it is at another and `no-capture` when there is none; and `key` is the key used, the partial normalizeScopeKey completed, a location as the caller spelled it, while the body's `key` is the resolved one. The handle reads the capture pair once per state, on first use, so a capture written while it is open shows after its `refresh`, the scope token still valid. A position does not require a capture: the body is computed over the live admitted revision, and freshness is a note, never a refusal. The note reports no installed state per command, no CLI or adapter id@version and no classification rule number. Records at runtime placement are no part of the body (R15), so a runtime-band record appearing that no authored record names and that decides no database seat or root leaves it, its `revision` (the authored revision), its digest and the host note byte-equal. Only `handle.revision`, the graph revision that hashes every source at its placement (graph revisionOf), moves. The note compares authored revisions, so a capture taken before stays `current`. A runtime-band record that an authored loaded record's edge or field reference names moves `unknowns` too (R15): admission resolves the reference against every placement, so the record's missing-target or missing-field-reference finding leaves the body. That is the evidence flow itself, an observation an `ia validate` writes at runtime placement that a task's `work.exit-evidence` names. Such evidence can still move body(K) and its digest through `unknowns`, while it leaves the body's `revision` and a capture's freshness unchanged. Refusals are those of the three steps: the key's (R14), the token's (a missing one IA-RUNTIME-REQUEST-INVALID, an unknown, stale or closed one its database code) and a seat at runtime placement (R15), each refusal of the key or its seat carrying `next`. The Door serves it as the `position` operation (R12 refinement, position), the MCP door as `ia_position` and the CLI as the consumer verb `ia position` (apps/cli/SPEC.md). `tests/purity.test.ts` pins, for K0 and seven other keys (two locations among them), byte-equal bodies and digests at two roots, and the digest the codec digest of the body; an absolute location seat root-free in the body and as spelled in the note, with no token in the body; a capture that moves only the note: `no-capture`, then `current` after a refresh with the same token and on a new handle, then `stale` after an edit, the earlier revision captured and previous, which the body names neither; `text`, `token` and `within` refused as key parts, and the token refusals; bodies and digests unchanged by two `context` calls with text, in both rankings; runtime-band records (a blocking law that the check enforces and that claims two paths, and observations of the workspace and of the law) leaving each body, its revision and its digest unchanged while `handle.revision` moves, and a capture current across them, while the same records authored change every one, and a seat at runtime placement refused, a named one and K0's with the repository's own `@workspace` placed so; a location whose only declarer is a runtime-band `@system` naming the seat unknown, its body differing from the body without that `@system` in the resolved seat's `unknown` alone; the limit pinned: a runtime-band check and observation that an authored law's `enforced-by` and a task's `work.exit-evidence` name removing exactly those two findings from the bodies seated at the law and the task; and a key resolved through a whole-workspace token refused through a narrower one that does not admit its seat.
|
|
72
72
|
|
|
73
|
-
R17. Applies by word, playbook cells and mandates (2026-10-08): `src/position.ts`, on the package root and the `./internal/position` subpath, also publishes the `AppliesByWord`, `PositionCell` and `SubjectMatch` types, and `PositionVia` gains `subject`. positionBody (R15) adds four sections to `ia.position-body.v1`, whose format name is unchanged: `appliesByWord`, `appliesByWordTallies`, `cells` and `mandates`, after `pointerTallies`; it reserves blocking rules by word in `rules` too, and `counts` gains `appliesByWord` and `truncatedAppliesByWord`. The subjects are the `@law`, `@convention`, `@principle` and `@playbook` records of the seat's closure (R15), of every word whatever `word` is (R15: the word never filters these sections), that state `subject.subject-word` or `subject.subject-kind` unconditionally. Those fields exist on all four schemas, and nothing read them before. An `@agent`'s `governance.applies` is not read, since it is no field match against the loaded set (it feeds COMP-STEWARD), and a `@mandate`, which declares no subject field, is no subject. A subject applies by word to a record when its `subject-word` is the record's word or its `subject-kind` the record's kind. That is a field match, not a row: it costs no hop, follows nothing and claims no relation or consent. It enters the body at hop 0 as `via: {by: 'subject', label: 'field match, not a row', matches}`, each match `{field, value, record}` naming the field, the word or kind it states and the first record that answers it. `appliesByWord` lists the subjects outside `rules` that apply by word to a record of `loaded`, the seat included, or to a blocking candidate R reserves in `rules` (R15). The body delivers R in full, as it does `loaded`, so making a rule blocking keeps what applies to it, and an entry's match names the first answering record in `loaded` order, then `rules` order. A rule that `rules` holds by word alone is itself a field match, not a record of L or R, and nothing applies by word to it, so matches never chain. Each entry is listed once, whichever of its fields match and however many records answer them, ranked by band ↓ then identity ↑, as claimants and cells are ranked, since a field match has no row or hop to rank by. The first 48 are listed as `AppliesByWord`: the pointer tuple with that `via`, and `reseat`, the re-seat key (x, H, P, 1, 16, no word) as a full key `{seat, shape, phase, depth, budget}`. The rest are tallied per (word, owner system) in `appliesByWordTallies`, as `pointerTallies` are. A subject may also be loaded or a pointer: non-blocking governance stays where R15 places it. `rules` is R (R15) plus every blocking subject other than the seat, of governance kind (`@law`, `@convention` or `@principle`), that applies by word to a candidate of K = {S} ∪ C0 ∪ Σ ∪ C, the candidates before the budget truncates any or the word leaves any out (blockers are reserved outside n). Its matches name the first answering candidate, the seat first and then by identity. A blocking subject that is itself a candidate is already in R, by its claim, its composition class or its row, and keeps that `via`. `rules` stays in the governance order and outside the budget, and none of its entries is in `appliesByWord`, `pointers` or the frontier. So a blocking rule survives budget 0 whether it applies by claim, by row or by word: one whose subject-kind is the kind of a candidate the budget truncated to a pointer is in `rules`. An advisory or informational subject applies by word to `loaded` and R only, never to a candidate the budget truncated. `cells` holds, for each `@playbook` of `appliesByWord` in its order, up to c = 4 (a rendering constant), its cell at (P, primitive
|
|
73
|
+
R17. Applies by word, playbook cells and mandates (2026-10-08): `src/position.ts`, on the package root and the `./internal/position` subpath, also publishes the `AppliesByWord`, `PositionCell` and `SubjectMatch` types, and `PositionVia` gains `subject`. positionBody (R15) adds four sections to `ia.position-body.v1`, whose format name is unchanged: `appliesByWord`, `appliesByWordTallies`, `cells` and `mandates`, after `pointerTallies`; it reserves blocking rules by word in `rules` too, and `counts` gains `appliesByWord` and `truncatedAppliesByWord`. The subjects are the `@law`, `@convention`, `@principle` and `@playbook` records of the seat's closure (R15), of every word whatever `word` is (R15: the word never filters these sections), that state `subject.subject-word` or `subject.subject-kind` unconditionally. Those fields exist on all four schemas, and nothing read them before. An `@agent`'s `governance.applies` is not read, since it is no field match against the loaded set (it feeds COMP-STEWARD), and a `@mandate`, which declares no subject field, is no subject. A subject applies by word to a record when its `subject-word` is the record's word or its `subject-kind` the record's kind. That is a field match, not a row: it costs no hop, follows nothing and claims no relation or consent. It enters the body at hop 0 as `via: {by: 'subject', label: 'field match, not a row', matches}`, each match `{field, value, record}` naming the field, the word or kind it states and the first record that answers it. `appliesByWord` lists the subjects outside `rules` that apply by word to a record of `loaded`, the seat included, or to a blocking candidate R reserves in `rules` (R15). The body delivers R in full, as it does `loaded`, so making a rule blocking keeps what applies to it, and an entry's match names the first answering record in `loaded` order, then `rules` order. A rule that `rules` holds by word alone is itself a field match, not a record of L or R, and nothing applies by word to it, so matches never chain. Each entry is listed once, whichever of its fields match and however many records answer them, ranked by band ↓ then identity ↑, as claimants and cells are ranked, since a field match has no row or hop to rank by. The first 48 are listed as `AppliesByWord`: the pointer tuple with that `via`, and `reseat`, the re-seat key (x, H, P, 1, 16, no word) as a full key `{seat, shape, phase, depth, budget}`. The rest are tallied per (word, owner system) in `appliesByWordTallies`, as `pointerTallies` are. A subject may also be loaded or a pointer: non-blocking governance stays where R15 places it. `rules` is R (R15) plus every blocking subject other than the seat, of governance kind (`@law`, `@convention` or `@principle`), that applies by word to a candidate of K = {S} ∪ C0 ∪ Σ ∪ C, the candidates before the budget truncates any or the word leaves any out (blockers are reserved outside n). Its matches name the first answering candidate, the seat first and then by identity. A blocking subject that is itself a candidate is already in R, by its claim, its composition class or its row, and keeps that `via`. `rules` stays in the governance order and outside the budget, and none of its entries is in `appliesByWord`, `pointers` or the frontier. So a blocking rule survives budget 0 whether it applies by claim, by row or by word: one whose subject-kind is the kind of a candidate the budget truncated to a pointer is in `rules`. An advisory or informational subject applies by word to `loaded` and R only, never to a candidate the budget truncated. `cells` holds, for each `@playbook` of `appliesByWord` in its order, up to c = 4 (a rendering constant), its cell at (P, primitive): P the key's phase, and primitive the explicit override or SHAPE_ROWS[shape].primitive. A playbook with a cell there gives `{playbook, address, text}`: `address` is `<identity>#<phase>/<Primitive>` and `text` what `ia read` reads at that address (`fragmentText`, every cell of the record at it in source order, a cell's condition unevaluated), so the cell is delivered while the record's body is not. A playbook with none there gives `{playbook, missing, nearest?, message}`: `nearest` is the phase other than P with a cell of that primitive at the least distance in the cycle orient, plan, act, learn, a tie going to the phase that order lists first (from learn, orient before act), and `message` reads `no cell; nearest phase with a cell: <phase>`, or `no cell; no phase has a cell at <Primitive>` when no phase has one. Besides deciding a conditional relation row, which R15 follows only where it holds at the key's coordinate (R15), the key's phase changes only `cells` and the keys spelled with it. `mandates` lists the `@mandate` records of the closure, whatever `word` is, that claim a location seat, from its `resolution` claimants (`via: {by: 'claim', matches}`), or whose `authority.scope` names the seat's workspace (R15), read as a field reference from the workspace's side (`via: {by: 'field', from: <workspace>, field: 'authority.scope', direction: 'in'}`), each once, a mandate that does both keeping its claim `via`, all ranked by band ↓ then identity ↑ whichever way they govern, as pointer tuples at hop 0. A body matches no participant: the position packet selects its participants over body(K0)'s mandates (R19), and body(K) is unchanged. No record at runtime placement is a subject, a match, a cell or a mandate (R15). `tests/applies.test.ts` pins: the fixture playbook's plan cell at phase plan under governance, equal to what `readBody` reads at its address, and Attention's under context, the phase moving only the cells where no conditional row bears on the body; the nearest phase by distance, the cycle wrapping, a tie going to the phase the order lists first, no phase with the primitive, and c = 4; a local playbook before an adopted one; the blocking fixture law in `rules` at budget 0 through a claim and through a subject-kind match on a contract the budget truncated, and taken out of the pointers at the check by its subject-word and out of the frontier under governance, never in `appliesByWord` or `pointers`, while an advisory rule that matches only a truncated candidate is in neither section; a convention and a playbook naming the word law applying to the blocking fixture law in `rules` as they do while it is advisory and loaded, the playbook's cell delivered, and to no rule `rules` holds by word alone; `rules` in the governance order across a claimed rule and a word-reserved one, a blocking candidate that also matches by word listed once with its own `via`, a blocking seat whose subject matches itself not reserved, and a word-reserved rule's matches on both fields, each naming the first answering candidate, the seat first and then by identity; no subject or mandate of another workspace's root applying, reserved or governing; the sample convention (subject-word and subject-kind contract) applying once with both matches while a `@contract` is loaded and not while it is only a pointer, its re-seat key seating a body at it, a loaded principle also applying, and each of 51 entries listed once with 48 listed and 3 tallied; the mandates of a workspace, a record and a location seat, none scoped to another workspace, one that both claims and scopes listed once by its claim, and a local mandate before an adopted one; under four words, `rules`, `cells` and `mandates` equal to the body's without the word and `appliesByWord` listing the same entries, a match naming the first answering record of what loads under the word, the blocking convention a `@system` seat's word member reserved under every word, one reserved by its subject-kind alone kept under its own word and another, and the playbook's cell delivered under `word: playbook`, where no playbook loads; a blocking law reserved under the word contract by its claim on a location, nothing loaded or listed, and by its subject-word on the contract that loads at hop 1 under that word, as without the word and at budget 0; and runtime-band subjects and mandates left out of K0. The golden bodies of R15 carry the sections.
|
|
74
74
|
|
|
75
75
|
The public `/authoring` boundary also owns chat-turn, chat-reply and conversation-summary contracts. A turn discloses one user message/current source snapshot and names its conversation/previous run; the service owns accumulated history and agent-selected targets. Nested proposals remain bound to that turn's exact message/context/base, fixed agent attestation and the existing proposal decoder. No API database, provider SDK or chat session lifecycle is imported into runtime.
|
|
76
76
|
|
|
@@ -113,3 +113,5 @@ R20. Host adapters (2026-10-09): `src/packet-host.ts`, exported from the package
|
|
|
113
113
|
R20 authored-generation refinement (2026-10-11): `PacketReceipt` gains five optional sections, `generated` (`GeneratedRow`: identity, word `agent-profile` or `playbook`, path and SHA-256 of each generated file), `definitions` (`PacketDefinition`, a union of `{word: 'operation', definition: OperationDefinition}` and `{word: 'harness', definition: HarnessDefinition}`, whose registration rows are `RegistrationRow` and `HostHookDeclaration`), `hooks` (`HookGroupRow`: each registered group's `@hook` identity, the tools that hook declares and the SHA-256 of the group as written), `removedHooks` (`RemovedHookRow`: each group the apply removed, by `@hook` and the SHA-256 of the group as last registered) and `unsupported` (`UnsupportedRow`: identity, word `agent-profile`, `playbook` or `hook`, and reason), and `HostOutput` an optional `hooks` (`HostHookDeclaration`: identity, `PreToolUse`, the edit tools, the path selections and the message, from which a registration derives a fixed command and never authored shell text); the word unions (`GeneratedFileWord`, `GeneratedRecordWord`, `DefinitionWord`, `HookToolName`) are stated once, and the types are exported from the package root. `renderHost` fills none of them and its output is unchanged; ownership stays the projection state, and the CLI's projection writer, which applies the generated set, fills them; `removed` then also lists the generated files it deleted. The `./internal/packet-host` subpath exports `inline`, `code` and `prose`, the linear line folding, code span and IA-word code span helpers the entry file is written with, which workspace-runtime's host generators reuse so generated files write free text as the packet does.
|
|
114
114
|
|
|
115
115
|
Authored revision: position, packet rendering and host freshness use the authored revision, excluding runtime sources; the full revision remains available to database consumers. Capture records both revisions and retains authored membership independently of runtime evidence.
|
|
116
|
+
|
|
117
|
+
R14–R17 additive primitive selection (2026-10-18). A scope key may additionally state `primitive`, one of the six canonical kernel primitives. Omitted or undefined, the part stays absent: K0, default keys and existing position bodies retain their shape-derived behavior. Supplied, it is retained in the key, its coordinate source is declared, and a missing phase defaults to that primitive's anchor; an explicit phase wins. Even when the explicit primitive equals the shape-derived value, the keys and body digests differ because declared and derived provenance differ. Compare runner and CLI digests only for the same complete key, including the explicit primitive. The internal scope-key module supplies ordered display parts to both CLI and packet renderers; each renderer retains its own escaping. Shape still determines category, focus and ordering. Cells, nearest-cell advice and relation conditions use the selected primitive. Both widening keys and applies-by-word re-seat keys retain an explicit override. Invalid primitives refuse before reads with the closed set and `ia position --primitive` as next. The version 3 Door position schema admits this optional part (`since: 2`, `paramsSince: 3`); an explicitly version 2 Door retains its original whitelist and unknown-parameter refusal. Version 1 context/select coordinates and wire behavior remain unchanged. Published operation-schema/help renderers use the current parameter revision, while the CLI machine routes remain version 1. The packet guidance lists the optional primitive; its changed prose intentionally changes the packet digest, without changing body(K0). Tests in scope-key, applies, door-position and purity cover all primitives, conditions, widening, default compatibility and cross-root determinism.
|
package/dist/coordinate.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ConditionAxis, Kind, Lane, Phase, Predicate } from '@inventarch/language';
|
|
1
|
+
import type { ConditionAxis, Kind, Lane, Phase, Predicate, Primitive } from '@inventarch/language';
|
|
2
2
|
import type { Coordinate } from '@inventarch/graph';
|
|
3
3
|
import type { Classifier, Shape } from './classify.js';
|
|
4
4
|
export type AxisSource = 'declared' | 'profile' | 'derived' | 'absent';
|
|
@@ -19,10 +19,10 @@ export interface PreparedCoordinate {
|
|
|
19
19
|
}
|
|
20
20
|
export declare function prepareCoordinate(text: string, input: Readonly<Record<string, unknown>>, options?: CoordinateOptions): PreparedCoordinate;
|
|
21
21
|
/**
|
|
22
|
-
* R14: the coordinate of a scope key. The key declares shape and phase; category and primitive are derived
|
|
23
|
-
* shape's native row
|
|
22
|
+
* R14: the coordinate of a scope key. The key declares shape and phase; category and an omitted primitive are derived
|
|
23
|
+
* from the shape's native row. An explicit primitive remains declared, so a key is never coordinate-incomplete. Only this
|
|
24
24
|
* path derives a primitive: prepareCoordinate, which the version 1 `context` and `select` requests use, still refuses
|
|
25
25
|
* to supply one (R01).
|
|
26
26
|
*/
|
|
27
|
-
export declare function scopeCoordinate(shape: Shape, phase: Phase): PreparedCoordinate;
|
|
27
|
+
export declare function scopeCoordinate(shape: Shape, phase: Phase, primitive?: Primitive): PreparedCoordinate;
|
|
28
28
|
//# sourceMappingURL=coordinate.d.ts.map
|
package/dist/coordinate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordinate.d.ts","sourceRoot":"","sources":["../src/coordinate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"coordinate.d.ts","sourceRoot":"","sources":["../src/coordinate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEnG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGvD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AACvE,kFAAkF;AAClF,eAAO,MAAM,kBAAkB,oDAK9B,CAAC;AACF,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;CAClC;AACD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC,CAAC;IAC9D,QAAQ,CAAC,KAAK,EAAE;QACd,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;QAChC,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;QAChC,QAAQ,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,CAAC;KAC3C,CAAC;CACH;AACD,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EACxC,OAAO,GAAE,iBAAsB,GAC9B,kBAAkB,CAwCpB;AACD;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,kBAAkB,CAQrG"}
|
package/dist/coordinate.js
CHANGED
|
@@ -38,13 +38,15 @@ export function prepareCoordinate(text, input, options = {}) {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* R14: the coordinate of a scope key. The key declares shape and phase; category and primitive are derived
|
|
42
|
-
* shape's native row
|
|
41
|
+
* R14: the coordinate of a scope key. The key declares shape and phase; category and an omitted primitive are derived
|
|
42
|
+
* from the shape's native row. An explicit primitive remains declared, so a key is never coordinate-incomplete. Only this
|
|
43
43
|
* path derives a primitive: prepareCoordinate, which the version 1 `context` and `select` requests use, still refuses
|
|
44
44
|
* to supply one (R01).
|
|
45
45
|
*/
|
|
46
|
-
export function scopeCoordinate(shape, phase) {
|
|
47
|
-
const prepared = prepareCoordinate('', { shape, phase });
|
|
46
|
+
export function scopeCoordinate(shape, phase, primitive) {
|
|
47
|
+
const prepared = prepareCoordinate('', { shape, phase, ...(primitive === undefined ? {} : { primitive }) });
|
|
48
|
+
if (primitive !== undefined)
|
|
49
|
+
return prepared;
|
|
48
50
|
return Object.freeze({
|
|
49
51
|
values: Object.freeze({ ...prepared.values, primitive: SHAPE_ROWS[shape].primitive }),
|
|
50
52
|
sources: Object.freeze({ ...prepared.sources, primitive: 'derived' }),
|
package/dist/coordinate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordinate.js","sourceRoot":"","sources":["../src/coordinate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAE7E,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,kFAAkF;AAClF,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAC7C,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC,IAAI,CAAE,CAAC,CAAC,CAAC,CAAC,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,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;IAC5G,IAAI,SAAS,KAAK,SAAS;QAAE,OAAO,QAAQ,CAAC;IAC7C,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,QAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC;QACrF,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,SAAS,EAAE,SAAkB,EAAE,CAAC;QAC9E,KAAK,EAAE,QAAQ,CAAC,KAAK;KACtB,CAAC,CAAC;AACL,CAAC"}
|
package/dist/door.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface DoorOptions extends OpenOptions {
|
|
|
12
12
|
* The MACHINE_PROTOCOL version the door serves, by default the table's: an operation a later version adds (its row's
|
|
13
13
|
* `since`) is refused as an unknown operation, and that refusal names only the operations served, so a door serving
|
|
14
14
|
* version 1, as the CLI's machine routes do, refuses `read`, `next` and `position` with the bytes 1.1.0's door did.
|
|
15
|
+
* Version 2 keeps position's original parameter set; version 3 additionally admits an explicit primitive.
|
|
15
16
|
*/
|
|
16
17
|
readonly protocol?: number;
|
|
17
18
|
}
|
package/dist/door.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"door.d.ts","sourceRoot":"","sources":["../src/door.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAU,WAAW,EAAsB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAW5F,OAAO,KAAK,EAA0B,OAAO,EAAE,MAAM,YAAY,CAAC;AAElE,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC9C,QAAQ,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACjD,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,UAAU,CAAC;IAC7C
|
|
1
|
+
{"version":3,"file":"door.d.ts","sourceRoot":"","sources":["../src/door.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAU,WAAW,EAAsB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAW5F,OAAO,KAAK,EAA0B,OAAO,EAAE,MAAM,YAAY,CAAC;AAElE,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC9C,QAAQ,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACjD,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,UAAU,CAAC;IAC7C;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AACD;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC;AAuDrF,qBAAa,IAAI;;gBASH,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB;IAoEnD,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY;IA0KrC,KAAK,IAAI,IAAI;CAKd"}
|
package/dist/door.js
CHANGED
|
@@ -56,8 +56,9 @@ function reference(value) {
|
|
|
56
56
|
}
|
|
57
57
|
const BINDINGS = ['within', 'root', 'phase', 'revision'];
|
|
58
58
|
const CONTEXT = ['within', 'text', 'coordinate', 'subject', 'follow', 'revision'];
|
|
59
|
-
/** `position`: the scope token
|
|
59
|
+
/** `position`: the scope token, scope key and optional primitive override, completed by normalizeScopeKey (R14). */
|
|
60
60
|
const POSITION = ['within', 'seat', 'shape', 'phase', 'depth', 'budget', 'word'];
|
|
61
|
+
const POSITION_V3 = [...POSITION, 'primitive'];
|
|
61
62
|
/** The bound on one document `read` returns: the CLI's workspace file reader's, so the two readers agree. */
|
|
62
63
|
const READ_LIMIT = DISTRIBUTION_LIMITS.metadata;
|
|
63
64
|
/**
|
|
@@ -286,7 +287,7 @@ export class Door {
|
|
|
286
287
|
// a refusal of the key itself names the one command to run.
|
|
287
288
|
if (this.#protocol < 2)
|
|
288
289
|
this.#unknown(operation);
|
|
289
|
-
keys(params, POSITION);
|
|
290
|
+
keys(params, this.#protocol >= 3 ? POSITION_V3 : POSITION);
|
|
290
291
|
const within = this.#within(params), { within: _within, ...partial } = params;
|
|
291
292
|
try {
|
|
292
293
|
result = position(this.#handle, within, partial);
|
package/dist/door.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"door.js","sourceRoot":"","sources":["../src/door.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,a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C,CAAC;oBAC3F,CAAC;oBACD,MAAM;gBACR,CAAC;gBACD;oBACE,OAAO,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;YACpC,CAAC;YACD,OAAO,MAAM,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;QACtC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,MAAM,CAAC;gBACZ,EAAE,EAAE,KAAK;gBACT,IAAI,EACF,KAAK,YAAY,OAAO,IAAI,KAAK,YAAY,eAAe,IAAI,KAAK,YAAY,YAAY;oBAC3F,CAAC,CAAC,KAAK,CAAC,IAAI;oBACZ,CAAC,CAAC,4BAA4B;gBAClC,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,iBAAiB;aACpE,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,KAAK;QACH,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACvB,CAAC;CACF"}
|
|
@@ -20,6 +20,8 @@ export interface ProtocolOperation {
|
|
|
20
20
|
* CLI's machine routes are the version 1 operations; a later one is served by the Door and the MCP door.
|
|
21
21
|
*/
|
|
22
22
|
readonly since?: number;
|
|
23
|
+
/** The version that introduced the current parameter schema, when later than the operation itself. */
|
|
24
|
+
readonly paramsSince?: number;
|
|
23
25
|
}
|
|
24
26
|
export interface ProtocolDifference {
|
|
25
27
|
readonly topic: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machine-protocol.d.ts","sourceRoot":"","sources":["../src/machine-protocol.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAC3D,MAAM,WAAW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AU,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,eAAe,EAAE,CAAC;IAC9C,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD,wFAAwF;IACxF,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,sGAAsG;IACtG,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AACD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AACD,MAAM,WAAW,eAAe;IAC9B,sGAAsG;IACtG,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,SAAS,iBAAiB,EAAE,CAAC;IAClD,QAAQ,CAAC,WAAW,EAAE,SAAS,kBAAkB,EAAE,CAAC;CACrD;AAuID,sGAAsG;AACtG,eAAO,MAAM,gBAAgB,EAAE,eAoZ7B,CAAC"}
|
package/dist/machine-protocol.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* are projections of this table. It describes the frozen wire format and changes none of it: the Door validates every
|
|
8
8
|
* request itself, and tests/select-door.test.ts, tests/door-read.test.ts, tests/next.test.ts,
|
|
9
9
|
* tests/door-position.test.ts and apps/cli/tests/cli.test.ts hold this table to what the Door admits and refuses. A
|
|
10
|
-
* later version
|
|
10
|
+
* later version appends operations (`since`) or revises later operations' parameters (`paramsSince`); version 1 rows stay byte-identical to 1.1.0's
|
|
11
11
|
* (tests/golden/machine-protocol-v1.json).
|
|
12
12
|
*/
|
|
13
13
|
import { COORDINATE_DOMAINS } from './coordinate.js';
|
|
@@ -127,7 +127,7 @@ const REQUESTED = [REQUEST_INVALID, SCOPE_UNAVAILABLE, REVISION_MISMATCH, COORDI
|
|
|
127
127
|
const EXAMPLE_IDENTITY = 'governance-system/definition/procedure/sample-procedure';
|
|
128
128
|
/** Frozen deeply, so a projection that shares its schema objects (the MCP tools) cannot change it. */
|
|
129
129
|
export const MACHINE_PROTOCOL = freeze({
|
|
130
|
-
version:
|
|
130
|
+
version: 3,
|
|
131
131
|
flow: [
|
|
132
132
|
'scope issues a token that bounds later reads by phase or identities, and by root only where sources declare a reach. It is optional: without within, a call reads the initial boundary.',
|
|
133
133
|
'context delivers the cited procedure cells and governance that apply to a coordinate; select chooses exactly one binding among candidates, or refuses.',
|
|
@@ -137,6 +137,7 @@ export const MACHINE_PROTOCOL = freeze({
|
|
|
137
137
|
'Version 2 adds read: the body behind one locator inside the scope, with its digest. The Door and the MCP door serve it; on the CLI the consumer verb ia read returns the same body and digest, and the machine routes stay the version 1 operations.',
|
|
138
138
|
"Version 2 also adds next: one plan's delivery view inside the scope, its tasks in prerequisite order with their verdicts, computed per call and never stored. The Door and the MCP door serve it, and on the CLI the consumer verb ia next prints the same view. Its refusals carry next, the one command to run, and the plans or the cycle they name.",
|
|
139
139
|
'Version 2 also adds position: body(K), what a scope key (seat, shape, phase, depth, budget, word) loads inside the scope, with its digest and a host note beside it. The body is a pure function of the key and the admitted revision, so one key reads one body and digest wherever the workspace is, and nothing text-driven runs. The Door and the MCP door serve it, and the machine routes stay the version 1 operations. A refusal of the key carries next, the one command to run.',
|
|
140
|
+
'Version 3 adds an optional primitive parameter to position. Its absence retains version 2 keys and behavior; a Door explicitly serving version 2 still refuses that parameter. The current position schema is marked paramsSince: 3 while the operation retains since: 2.',
|
|
140
141
|
],
|
|
141
142
|
operations: [
|
|
142
143
|
{
|
|
@@ -391,7 +392,7 @@ export const MACHINE_PROTOCOL = freeze({
|
|
|
391
392
|
{
|
|
392
393
|
name: 'position',
|
|
393
394
|
summary: 'Read body(K), what a scope key loads inside the scope, with its digest and host note.',
|
|
394
|
-
description: "Read the position a scope key K = (seat, shape, phase, depth, budget, word) names inside the scope: body(K), the seat, the records the key loads in the shape's order, the blocking governance reserved outside the budget, pointers and their tallies, the rules and playbooks that apply by word with their tallies and the playbook cells they deliver, the mandates that govern the seat, the frontier one hop past it, what is unknown and the keys that widen it; its digest; and the host note beside it. A key naming no part is K0 (the repository's @workspace, context, orient, depth 0, budget 0); one naming any part takes context, the anchor phase of its shape
|
|
395
|
+
description: "Read the position a scope key K = (seat, shape, phase, depth, budget, word), with an optional primitive override, names inside the scope: body(K), the seat, the records the key loads in the shape's order, the blocking governance reserved outside the budget, pointers and their tallies, the rules and playbooks that apply by word with their tallies and the playbook cells they deliver, the mandates that govern the seat, the frontier one hop past it, what is unknown and the keys that widen it; its digest; and the host note beside it. A key naming no part is K0 (the repository's @workspace, context, orient, depth 0, budget 0); one naming any part takes context, the anchor phase of its explicit primitive or shape-derived primitive, depth 1 and budget 16 for the rest. An explicit primitive selects cells and conditional rows without changing the shape focus; omitted, the key and behavior retain their existing defaults. A relation row with a condition is followed only where the condition holds at the key's coordinate. The body is a pure function of the key and the admitted records the scope reads: it names no root path, token, time or capture, nothing text-driven runs, and no record body enters it, only the cells delivered; read fetches a body. A refusal of the key carries next, the one command to run.",
|
|
395
396
|
params: object({
|
|
396
397
|
within: read.within,
|
|
397
398
|
seat: {
|
|
@@ -409,7 +410,7 @@ export const MACHINE_PROTOCOL = freeze({
|
|
|
409
410
|
phase: {
|
|
410
411
|
type: 'string',
|
|
411
412
|
enum: COORDINATE_DOMAINS.phase,
|
|
412
|
-
description:
|
|
413
|
+
description: 'P; omitted, the anchor of the explicit primitive or the shape-derived primitive.',
|
|
413
414
|
},
|
|
414
415
|
depth: {
|
|
415
416
|
type: 'integer',
|
|
@@ -424,12 +425,17 @@ export const MACHINE_PROTOCOL = freeze({
|
|
|
424
425
|
description: 'n, the entries loaded beyond the seat, blocking governance reserved outside it; omitted, 16, or 0 when no part is named (K0).',
|
|
425
426
|
},
|
|
426
427
|
word: text('w, a word the closure registers: only records of it load, are pointers or are tallied as pointers or frontier; the reserved rules, the rules and playbooks that apply by word with their tallies and cells, and the mandates are listed whatever their word. Omitted, none.'),
|
|
428
|
+
primitive: {
|
|
429
|
+
type: 'string',
|
|
430
|
+
enum: COORDINATE_DOMAINS.primitive,
|
|
431
|
+
description: 'An optional cognitive primitive override. Omitted, derive it from shape; supplied, use it for cells and conditions, retaining the shape focus.',
|
|
432
|
+
},
|
|
427
433
|
}),
|
|
428
434
|
result: "The position: {body, digest, hostNote}. body is body(K) in the format ia.position-body.v1, its key the one resolved and its revision that of the view the scope reads; digest is the SHA-256 of the body's canonical JSON text; hostNote is {revision, capturedRevision?, previousRevision?, freshness, key}, host state never digested, freshness current, stale or no-capture against the last capture and key the key as completed.",
|
|
429
435
|
refusals: [
|
|
430
436
|
{
|
|
431
437
|
code: 'IA-RUNTIME-REQUEST-INVALID',
|
|
432
|
-
when: 'A parameter is unknown or within is not a string, or the key breaks a bound: a shape or
|
|
438
|
+
when: 'A parameter is unknown or within is not a string, or the key breaks a bound: a shape, phase or primitive outside its closed set, a depth outside 0..2 or a budget outside 0..64, a seat that is neither an identity nor {path}, one the scope does not admit or at runtime placement, a path outside the workspace, or a word the closure does not register.',
|
|
433
439
|
next: "Run the command a refusal of the key names as next: the part's closed set or cap, ia vocabulary for a word, or the position without the seat. Otherwise match the parameters to this operation's schema.",
|
|
434
440
|
},
|
|
435
441
|
SCOPE_UNAVAILABLE,
|
|
@@ -437,6 +443,7 @@ export const MACHINE_PROTOCOL = freeze({
|
|
|
437
443
|
example: { seat: EXAMPLE_IDENTITY, shape: 'governance' },
|
|
438
444
|
mcp: 'ia_position',
|
|
439
445
|
since: 2,
|
|
446
|
+
paramsSince: 3,
|
|
440
447
|
},
|
|
441
448
|
],
|
|
442
449
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