@inventarch/runtime 3.5.1 → 3.7.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/SPEC.md +9 -1
- package/dist/door.d.ts.map +1 -1
- package/dist/door.js +7 -9
- package/dist/door.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/machine-protocol.js +2 -2
- package/dist/machine-protocol.js.map +1 -1
- package/dist/mandate-guard.d.ts +2 -0
- package/dist/mandate-guard.d.ts.map +1 -1
- package/dist/mandate-guard.js +3 -2
- package/dist/mandate-guard.js.map +1 -1
- package/dist/mandate-modes.d.ts +23 -4
- package/dist/mandate-modes.d.ts.map +1 -1
- package/dist/mandate-modes.js +65 -13
- package/dist/mandate-modes.js.map +1 -1
- package/dist/method/errors.d.ts +5 -1
- package/dist/method/errors.d.ts.map +1 -1
- package/dist/method/errors.js +5 -1
- package/dist/method/errors.js.map +1 -1
- package/dist/method/index.d.ts +2 -2
- package/dist/method/index.d.ts.map +1 -1
- package/dist/method/index.js +1 -1
- package/dist/method/index.js.map +1 -1
- package/dist/method/kits.d.ts +27 -0
- package/dist/method/kits.d.ts.map +1 -1
- package/dist/method/kits.js +43 -0
- package/dist/method/kits.js.map +1 -1
- package/dist/method/resolve.d.ts.map +1 -1
- package/dist/method/resolve.js +32 -3
- package/dist/method/resolve.js.map +1 -1
- package/dist/method/root.d.ts.map +1 -1
- package/dist/method/root.js +2 -3
- package/dist/method/root.js.map +1 -1
- package/dist/position.d.ts +7 -2
- package/dist/position.d.ts.map +1 -1
- package/dist/position.js +32 -8
- package/dist/position.js.map +1 -1
- package/dist/scope-key.d.ts +6 -0
- package/dist/scope-key.d.ts.map +1 -1
- package/dist/scope-key.js +7 -1
- package/dist/scope-key.js.map +1 -1
- package/package.json +4 -4
package/SPEC.md
CHANGED
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
## Method kits and packets
|
|
6
6
|
|
|
7
|
+
The [kit runtime specification](../../docs/specs/kit-runtime/README.md) is normative for the kit layout, `bindings.json`, the check, delivery and on-write sidecars, lanes and the door contract; this section keeps the package-specific detail and defers to it on any disagreement.
|
|
8
|
+
|
|
7
9
|
`@inventarch/runtime/method` is the shared method resolver the MCP door reads kits through, in process. It reads kit folders (`.ia/release.json`, `.ia/src`, the lock, `releases.json` in format 1 or format 2 with `releases/<version>.json`, and the `checks.json`, `delivery.json`, `bindings.json` and `onwrite.json` sidecars) from a bundled folder and then `<IA home>/kits/<folder>/<version>/`; selects a repository's binding from `.ia/bindings.json` (exact, wildcard, default, then precedence); keeps task pins (format 3, format 1 read as format 3) under `<IA home>/work-v1/<project>/<task>/`; retains exact method bytes under the closure store; restores kit read roots under `<IA home>/kit-roots-v1/` unless the caller names a cache; and assembles the packet with the digest over its sorted-key canonical form, the envelope and binding excluded. `resolveMethod` follows the `ia` plugin's `resolve.mjs` step for step, reading position bodies, records, inbound rows and cell bodies through db and this package instead of the CLI. Its caller supplies the native restore that installs a kit's language base into the kit's read root, so this package gains no distribution dependency. `laneCatalogue`, `openSession`, `readRegistry`, `registerWorkspace` and `checkRoot` serve the door's catalogue, session log, workspace registry (format `ia-workspace-locations-2`, reading `personal-workspace-locations-1` and Studio's format 1, writing format 2 only) and per-root mandate check. Lanes, keys, words and phases are closed tokens; a subject is carried as the caller gives it and never reaches a position.
|
|
8
10
|
|
|
9
|
-
Installed kits (2026-10-31, contract C7b
|
|
11
|
+
Installed kits (2026-10-31, contract C7b): a workspace lock's `package` entries (`lockedPackageKits`) name kit releases the engine installs as ordinary releases in `.ia/distributions/store/<archive>/`; npm is transport only, and no kit is read from an npm package folder. `installedPackageKits` reads each from the store: its `distribution.json` must hash to the manifest digest the lock pins and name that release, and its pinned files are copied, each checked against its SHA-256, into `<IA home>/installed-kits-v1/<archive>/` with a format 1 `releases.json` of its one release and a `.ia/distributions.lock.json` that pins its dependencies exactly as the workspace lock does, so retention, read roots and the door's restore treat it as any kit folder (origin `installed`). `workspaceKits` lists a workspace's kits: the bundled ones, each installed kit, then the home's; a kit an entry names is taken from no other source, so `resolveMethod` refuses a binding to one the store lacks `IA-CORE-KIT-RESTORE-REQUIRED` ("run ia restore"; a pinned task may still read its retained bytes), and a kit no source provides still refuses `IA-CORE-KIT-UNKNOWN`. `installedKit` counts an entry kit as installed, so its packet's laws are the repository's position's and `envelope.kitInstalled` is true. `openSession` takes the kits the store lacks and adds `restore: {kits, message}` and a "Kits not restored" briefing line. `checkRoot` keeps the installation's refusal reason (`restore-required`, `lock-drift`) on its error. A lock without entries changes none of this.
|
|
12
|
+
|
|
13
|
+
Installation requirement (2026-11-03): a repository-bound method runs a kit only while the repository's own lock installs it. `resolveMethod` calls `requireKitInstalled(root, { id })` as soon as the binding is chosen and the task pin is read, for a first resolve, a pinned key and `--rebind` alike, before the kit is found, retained or restored and before any pin is written. A bound kit that no lock row names, whether a `packages` row or a kit row of a `package` carrier in `entries`, at any version and archive, refuses with `IA-CORE-KIT-NOT-INSTALLED` (`kit <id> is bound by this repository but its lock does not install it; run ia install <id> (or kit.mjs add <id>), then resolve again`), a code distinct from `IA-CORE-PIN-UNAVAILABLE`, and no bundled, IA-home or retained copy stands in for the missing row. Presence ignores version and archive, so a task pin older than the installed version keeps running from its retained bytes. `kitInstallation(root, id)` reports the lock's row and where it came from (`package` or `entry`), and `kitInstallMatches(root, { id, version, archive })` is the separate, pure question of whether the row is exactly that release; the resolver does not call it. The unbound route (outside a workspace, `--kit` with `--capability`) needs no row. A binding may name a kit by its folder (as `findKit` reads it): the lock is asked about the kit's canonical id. The refusal carries the kit as a field, `{ error: { code, message, kit } }` (`MethodError.kit`, written by `methodRefusal`). `kitInstallMatches` never throws: a lock that cannot be read or parsed matches nothing. `requireKitInstalled` still propagates an unreadable or corrupt lock as its own error, not as not installed.
|
|
10
14
|
|
|
11
15
|
## Optional topical context assembly
|
|
12
16
|
|
|
@@ -86,6 +90,8 @@ Entry contract (2026-09-24): `/entry` exports `isEntry(argv1, moduleUrl)`, which
|
|
|
86
90
|
|
|
87
91
|
Machine protocol description (2026-09-29, the R12 Door protocol): `MACHINE_PROTOCOL` (`src/machine-protocol.ts`, exported from the package root) describes the Door operations: the nine of version 1, and since version 2 `read`, `next` and `position` (R12 version 2 refinements below). For each it records a summary, a description, the parameter JSON Schema, the result, the refusals with their next action, an example that returns `ok: true` on `packages/compliance/fixtures/loop` (for `next`, which that fixture's records give no plan to read, on `tests/fixtures/delivery/base` laid over the conformance corpus), and the MCP tool that serves it. CLI help and the MCP door's `tools/list` project it. It is data and never validates; the Door keeps its own checks. `tests/select-door.test.ts` fails when the table's operation names or parameter keys, nested ones included, differ from the ones the Door names when it refuses an unknown key.
|
|
88
92
|
|
|
93
|
+
R12 held scopes (2026-10-30; db D08c): a door keeps no list of its tokens, which would grow for as long as it serves. Its handle is its own, so what the handle issued is what the door issued, and the door asks it (`isIssuedScope`): a token it did not issue answers IA-DB-SCOPE-UNAVAILABLE `Token was not issued by this door`, as it always has. A token whose scope the handle has evicted was issued, so every operation that takes `within` answers it IA-DB-STALE and reads nothing, and the client issues another scope. The door pins its initial scope, since a client that always names a token never reads it and every later call that omits `within` needs it. That one pin sits outside the bound, so it takes no ordinary place, and it is the door's only one: a client cannot pin, as `scope` admits no such parameter. The frozen version 1 rows keep their refusals and their text, so the protocol's `flow` and its `differences` name IA-DB-STALE, beside the lifetime of a token; neither is in the golden, which holds the operation rows. `tests/select-door.test.ts` pins IA-DB-STALE from each of the eleven operations that take a token, the initial boundary and a kept token still reading after the eviction with no call having read the initial scope, 4,096 ordinary tokens fitting beside the pin, `pinned` refused as a parameter, and the published refusal for a forged token and another door's.
|
|
94
|
+
|
|
89
95
|
R12 protocol version 2 refinement (2026-10-08): the Door also accepts `read`, its params `{within?, locator, includeRuntime?}` closed as every operation's are, and answers `{ok: true, result}` with the `ReadBody` `readBody` returns, or that function's refusal. It always reads through a token, the initial one when `within` is omitted, and passes it to `readBody` as `ReadBodyOptions.within`, so every lookup (`get` and `records`) is in that scope and the boundary is by identity: an identity, a fragment or a `path:line` that no admitted record in the scope answers, whether its record is outside the scope, refused by admission or absent, is, through a token narrower than the whole workspace, one plain IA-RUNTIME-READ-UNADMITTED, `{ok: false, code, message: 'The locator is not in this scope'}`, which names no path, line, identity or refused record. Through a whole-workspace token (db `isCompleteScope`, PT5: one whose scope, and every scope it was issued under, is at the workspace root with no `phase` or `identities`, such as the initial token of a door opened without a `boundary`, or with one that sets none of them, and a token `scope` issues from such a token without setting them; a root below the workspace root, a phase or identities make a token narrower), which reads what the root view reads, a miss is the root view's refusal: an identity a source holds whose record admission refused reads `in this workspace's sources, but admission refused it` with that record's path, line, `file` `refused` and the `reason` admission gives, any other identity `not in this workspace's sources`, and a line what the workspace's sources hold in its file (2026-10-08: one disclosure rule for the version 2 operations, the one `next` follows, R18). Without `within`, `readBody` reads in the root view as before, its refused-identity refusal now also carrying that `reason`, and `ia read`, which prints no `reason`, is unchanged. A record in the scope reads as `readBody` reads it, its fragment, placement and unreachable refusals included. The Door reads a document through `DoorOptions.read`, by default db `readWorkspaceBytes` (D01a) over its root bounded at the CLI workspace file reader's 4 MiB, which admits the paths that reader's portable rule admits. The default reader's refusals name a document by its workspace-relative path and never the server's root: those of `readWorkspaceBytes` already do (a link or junction, a nonportable path, an irregular, missing or oversized file), `readBody` refuses a document path outside the workspace before any read, and a root that can no longer be opened, as when the workspace moves while the door serves, which db names by the root, is refused IA-RUNTIME-READ-UNREACHABLE, as every failure of the reader is, its message carrying the reader's IA-DB-ROOT-INVALID, `The workspace can no longer be opened to read <path>`, which names the document alone; the CLI's own reader names a link by its absolute local path. It binds adopted mounts once, when it opens, from db `adoptedBindings` over the manifest `open` has just read, as `ia read` binds them when its session opens, so they match the handle's snapshot and a manifest rewritten while the door serves changes no read; a door opened with explicit `adopted` captures, which name no directory, binds none. `includeRuntime` must be a boolean, and a locator that spells no form is IA-RUNTIME-REQUEST-INVALID. `DoorOptions.protocol` is the `MACHINE_PROTOCOL` version the door serves, by default the table's, and one that is not an integer from 1 to it is a TypeError: a door at version 1 refuses `read` before reading its params, as the unknown operation 1.1.0's door refused it, byte for byte, and binds no mounts. An unknown operation's refusal lists the operations the door serves in table order, `read` after the version 1 operations from version 2. `MACHINE_PROTOCOL` is version 2: `ProtocolOperation` gains an optional `since`, absent on the nine version 1 rows, whose JSON stays byte-identical to what tag v1.1.0 exported (`tests/golden/machine-protocol-v1.json`; `src/machine-protocol.ts` was unchanged since the tag when it was taken), and the `read` row is appended with `since: 2` and `mcp: 'ia_read'`, with one flow line saying so. The version 1 parameter digest is still over the nine rows, and version 2's is over every row. The CLI's machine routes stay the version 1 operations: `runCli`, which the `ia` binary's nine routes, `@inventarch/cli/internal/main` and the host launcher's `door` mode run, opens its door at protocol version 1, and `LEGACY_OPERATIONS`, the usage line and `ia <operation> --help` and `--schema`, which describe the routes at version 1 as 1.1.0 did, are unchanged; `ia read` remains the consumer verb, which returns the Door's body and digest and refuses a document the Door refuses with the same code. The MCP door serves `ia_read` from the row. `tests/door-read.test.ts` pins in-scope reads, the plain refusal for each locator form outside a narrowed boundary with no path named, the whole workspace's token answering a refused record with its path, line and reason, an identity no source holds and a line as `readBody` answers them in the root view, as do tokens `scope` issues with `{}`, `{root: ''}` and `{phase: null}` and the initial token of a door opened with `boundary: {}`, while tokens `scope` issues with `identities` admitting every admitted record, a phase or a root below the workspace root, and a door opened with that `identities` boundary, answer each with the plain refusal, a link, an escape and a moved root refused with no spelling of the server's root or the link's target, one source holding an in-scope, an out-of-scope and a refused record, a token narrowing reads in one door, the db reader's link and hard-link refusals, an injected reader, a mount bound from the manifest when the door opens, which a manifest rewritten later does not change, and none for explicit captures, and the `read` row's example on the loop fixture, its required parameter and its refusals proven both ways; `tests/select-door.test.ts` the golden, both digests and a version 1 door's operations and refusal; `apps/cli/tests/cli.test.ts` that `runCli` refuses `read` and an unknown operation with 1.1.0's bytes; `apps/cli/tests/read.test.ts` that the Door and `ia read --json` agree on body and digest for corpus locators, an adopted document and a document of exactly the 4 MiB bound, and refuse a link, a decomposed (NFD) name, a colon and a document one byte over the bound with the same code, for the same record and document path and with the same reason up to each reader's own words, while a runtime-placement refusal is compared with `readBody` under the CLI's own `readOptions` on a handle opened with the placement, since the session `ia read` opens places no source at runtime; and tools/compliance runs a boundary fixture per read code through the Door.
|
|
90
96
|
|
|
91
97
|
R12 protocol version 2 refinement, next (2026-10-08): the Door also accepts `next`, its params `{within?, seat?}` closed as every operation's are, `seat` a string, and answers `{ok: true, result}` with the `DeliveryView` `deliveryView` (R18) returns, or that function's refusal. It always reads through a token, the initial one when `within` is omitted, so a narrowed scope lists only what it admits and reads what it leaves out as unknown, and only a whole-workspace token (db `isCompleteScope`, the rule `read` follows), such as the initial one of a door opened without a `boundary`, also names the work records and files admission refused, as db PT5 permits a complete scope to. Refusal envelopes: a version 1 operation's refusal keeps 1.1.0's shape, `{ok: false, code, message}` with the escalation fields of `context` and `select`, and so does every refusal the Door itself raises for any operation (a parameter that is unknown or of the wrong type, a token it did not issue, an unknown operation). A version 2 operation answers with the refusal its runtime function returns as a value, which may carry more: `read` the `ReadRefusal` fields, and `next` the `NextRefusal`'s `next`, the one command to run, with `plans` (IA-RUNTIME-NEXT-AMBIGUOUS) or `cycle` (IA-RUNTIME-NEXT-CYCLE). `DoorResponse` is unchanged, as each such refusal is a `Refusal`. A door serving version 1 refuses `next` before reading its params, as the unknown operation 1.1.0's door refused it, byte for byte, and an unknown operation's refusal on a door serving version 2 lists `read`, then `next`, after the version 1 operations it serves. The `next` row is appended to `MACHINE_PROTOCOL` with `since: 2` and `mcp: 'ia_next'`, after `read`, with one flow line; its refusals are IA-RUNTIME-REQUEST-INVALID, IA-DB-SCOPE-UNAVAILABLE and the four NEXT_CODES, each saying what the refusal carries; and its example, `{}`, reads `tests/fixtures/delivery/base` and is refused IA-RUNTIME-NEXT-NO-PLAN on the loop fixture, which authors no plan. The version 1 rows, their golden and the version 1 parameter digest are unchanged, and version 2's parameter digest, over all eleven rows, is pinned again. The CLI's machine routes stay the version 1 operations: `runCli` refuses `next` with 1.1.0's bytes, and `ia next` is the consumer verb, which prints the Door's view and names its own next command for each refusal (apps/cli/SPEC.md). The MCP door serves `ia_next` from the row, eleven tools in all. `tests/next.test.ts` pins the Door's view equal to `deliveryView`'s through the same scope, from every seat of the plan (the plan, each milestone and each task of `tests/fixtures/delivery/base`) and through a token `scope` issued; a refused `@task` named as a review item on the initial token of a door opened without a `boundary`, and on neither a token `scope` issued with `identities` nor the initial token of a door opened with such a `boundary`, though each admits every record the workspace admits; the refusal of each fixture equal to `deliveryView`'s value, `next`, `plans` and `cycle` included; the three-key shape of a version 1 refusal and of the Door's own refusals of `next` (a forged token, a non-string seat, an unknown parameter); that the door writes nothing; a version 1 door's refusal; and the row's example, its required parameters and its refusals proven both ways; `tests/select-door.test.ts` both digests and the golden; `apps/mcp-door/tests` `ia_next` in-process and over stdio, and that it names a refused `@task` on the initial scope and not through a token `ia_scope` issued with `identities`; and tools/compliance runs a boundary fixture per NEXT code through the Door.
|
|
@@ -102,6 +108,8 @@ Mandate authority (2026-10-06): `src/mandate-modes.ts`, exported from the packag
|
|
|
102
108
|
|
|
103
109
|
R21. Mandate resolution (2026-10-09): `src/mandate-modes.ts`, on the package root and the `./internal/mandate-modes` subpath, publishes `governingMandates(handle, within, options?)`, `defaultActor(handle, within, workspace)` and `profileRefusal(mandates, mode, words?)` with the `GoverningOptions`, `GoverningMandate`, `DefaultActor`, `ProfileMandate` and `ProfileVerdict` types: the one answer to which `@mandate` governs an actor here, for the CLI's mandate profile and the re-keyed edit guard (R22). Every read goes through the scope token `within` (the snapshot and its membership, the declared roots, directed views and db `resolveSeat`), so a narrowed scope resolves only what it admits; a record at runtime placement (band 0) is never read, and only authored mandates (band 100) govern, so an adopted or floor mandate never does, whatever it claims. Only the workspace's closure is read, as position reads it: the floor and adopted bands and the members of the workspace's own declared roots, or, while it declares none, of the roots no workspace declares, so a mandate under another workspace's root never governs or names a participant there. None requires a clean scope: a workspace with admission errors resolves the records admission admitted, except that while an authored `@mandate` fails admission every resolver that reads a handle fails closed (R23). Nothing is written, and every result is frozen. A missing token is IA-RUNTIME-REQUEST-INVALID, and an unknown, stale or closed one keeps its database code. `governingMandates` returns the governing mandates by identity (each of band 100, so in band-then-identity order), each `{identity, band: 100, participant?, binds?, moves?, scope, covers?, excludedWords?}`: its authority as `mandateAuthorityOf` reads it, `participant` the `@agent` identity its `authority.participant` field reference resolves to (the reference as authored, `@agent <name>`, when no admitted record answers it), `scope` the `@workspace` identity each `authority.scope` reference resolves to, each once, or the reference as authored, and `moves`, `covers` and `excludedWords` present exactly when the record states the key (a declared empty list is stated), so that, `band` and `binds` aside, an entry for a workspace equals the position packet's entry for the same mandate. Its `options` are `{actor?, path?, workspace?, fold?}` (`fold`, the key applied to a path and each `authority.covers` selection before they are matched, is R22's); `workspace`, an admitted `@workspace` identity, also names the closure read. Without it the closure is the one position reads for the same location seat: with `path`, that of the workspace position seats the path in (the `@workspace` the path is declared at, else, of the repository's own `@workspace` and the one whose declared root holds the record the path is declared at, the first whose closure holds that record), so that the closure is the one position reads even where two workspaces declare roots and the repository has none of its own (only the closure: a path's governing mandates are those that claim it, not every mandate scoped to the seated workspace that position's location-seat governance also lists); with neither, the repository's own `@workspace`'s. With `workspace` or `path`, a workspace-relative path, a mandate governs when its `authority.scope` names the workspace or its `authority.covers` selects the path (db D02b claimants, graph G06c's selection dialect), either one sufficing; a mandate that states neither key with a value (a declared empty `scope []` or `covers []` locates nothing, so an empty list never lifts a restriction) is located by its participant alone and governs wherever that participant acts, with `actor` when its participant is the actor and without one whenever it names a participant, so one that names no participant either governs only where no location is asked. With neither, every authored mandate of the closure governs. `actor`, an admitted `@agent` identity, drops no mandate that governs the workspace or path: each entry then carries `binds`, true when its participant resolves to the actor or it names none (a mandate naming no participant binds whoever acts), false when it binds another participant. The participant, the scope and the covers are not read as alternatives: the resolver reads the scope and the covers as where a mandate governs and the participant as whom it binds, so one participant's mandate never grants another a move, a mandate naming no participant or no location is never dropped, and an actor that none of the mandates governing here binds is refused rather than read as ungoverned. An `actor` or `workspace` that is not an admitted record of its word is IA-RUNTIME-REQUEST-INVALID, as is a governing mandate whose authority `mandateAuthorityOf` refuses (a child under an authority field, or a conditional or fragment-bearing one; a declared `moves []` too, which admission refuses since 2026-10-12, compliance C05, so the reader refuses it only as defence in depth), the error's `where` locating the record (R23); a mandate that does not govern is never read. `defaultActor`, the actor a mandate-gated command acts as when none is named, returns `{actor?, by?, participants, actors, reason?, refusal?}`: `participants` the authored `@agent` records that an authored mandate of the workspace's closure whose `authority.scope` names the workspace names as participant, each once, by identity, as the position packet lists them when K0 seats at the workspace; `actor` the `@agent` the workspace's `composition.steward` resolves to when that is an authored (band 100) record (`by: 'steward'`, a participant or not; ia init names its participant there), else the only participant (`by: 'participant'`): an installed steward names no actor, as if none were stated (so the CLI's profile and the edit guard give one answer); `actors` the identities a command may be told to act as, sorted, the participants and the authored steward. With several participants and no steward there is no actor: `reason` names the participants and the choice, the workspace's `composition.steward`, and `refusal` is `{code: IA-RUNTIME-MANDATE-ACTOR, message: reason, next: 'ia position --seat <workspace> --shape governance'}`, which a mandate-gated command returns. With no participant and no steward there is no actor and a `reason` but no refusal: the command's profile is resolved without an actor, every mandate that governs there is judged, and the command runs unrestricted, with profileRefusal's notice, only when none governs. Each reason says whether the workspace states no `composition.steward`, one that resolves to no admitted `@agent`, or one that is no authored `@agent`. A workspace that is not an admitted `@workspace` of the scope is IA-RUNTIME-REQUEST-INVALID. `profileRefusal` judges `mode` and its target `words` against the governing mandates, each a `GoverningMandate`, a `MandateAuthority` or a compiled `@mandate` it reads through `mandateAuthorityOf`, and returns the `ProfileVerdict` `{refusal?, notice?}`, the mode allowed exactly when it holds no refusal. A mandate whose `binds` is false is left out of the judgement; when every one is, no mandate here binds the actor, and the verdict is IA-RUNTIME-MANDATE-ACTOR, naming each mandate with the participant it binds. The rest are never pooled across participants: when they name more than one participant, the verdict is IA-RUNTIME-MANDATE-ACTOR too, naming each with its participant. Every remaining mandate that names a participant requires an established actor binding (`binds: true`); a named participant with `binds` absent refuses every mode as IA-RUNTIME-MANDATE-ACTOR, even when it is the only participant. A path-only mandate therefore cannot supply grants to an unidentified CLI actor. Participantless mandates retain their existing move restrictions. Callers passing a compiled mandate or a plain `MandateAuthority` must establish the actor binding before judging a named participant's grants. Then the move is judged: the mode is allowed when any remaining mandate grants its move, by listing it or by declaring no moves, else IA-RUNTIME-MANDATE-MOVE, whose message gives each one's moves and the move the mode needs. Then, only when words are given, a word any of them excludes is IA-RUNTIME-MANDATE-WORD, naming each excluding mandate with the words it excludes. Each refusal's `next` is exactly one command, `ia position --seat <mandate identity> --shape governance` for the first mandate it names, not `mandateRefusal`'s `ia inspect`, which is unchanged. That next command, like `defaultActor`'s, is a read, which a command gated on the profile must leave ungated so that the refusal can be followed: an actor that no governing mandate binds is refused every mode, read included. No governing mandate restricts nothing: the verdict is `{notice}`, which says a mandate only adds restrictions, whatever the mode and words. An unknown mode, or a declared empty move list on any mandate, bound or not, is IA-RUNTIME-REQUEST-INVALID. IA-RUNTIME-MANDATE-ACTOR joins RUNTIME_CODES and MANDATE_CODES, and the compliance runtime fixtures observe it and both profile refusals over a copy of the conformance corpus that gives the foundation workspace two participants. This repository's `language-mandate` (`.ia/src/participant.ia`) grants all five moves, so `ia capture`, `ia project` and `pnpm projections:generate`, effect commands (Execution), pass the profile here; its `CLAUDE.md` mandate entry lists the five. `tests/mandate-resolution.test.ts` pins: a fresh init's steward participant as the default actor, its mandate governing, every mode allowed and its entries and participants the packet's, and its only participant as the actor without a steward however many mandates name it; a mandate without Execution refusing effect with its governance position, whose key resolves; `authority.covers` claiming a path, an adopted claimant left out, each governing mandate saying whether it binds the actor and each actor held to its own, a workspace and a path either sufficing, and a mandate that only covers paths not governing without one; a steward that no governing mandate binds refused in every mode with IA-RUNTIME-MANDATE-ACTOR, and nothing restricted where no mandate claims the path; a mandate under another workspace's root neither governing nor naming a participant, as position lists the governance; a path alone read in the closure of the workspace position seats it in, where two workspaces declare roots and the repository has none of its own; a mandate stating neither scope nor covers governing wherever its participant acts, with or without a steward; two participants' mandates refused rather than pooled without an actor, and each actor held to its own; a mandate naming no participant binding the steward and governing without an actor, whatever its participant resolves to; several participants without a steward naming no actor and refusing with the choice, a steward that resolves to no admitted `@agent` reported as such, and no mandate naming no actor and refusing nothing; only the authored participants of authored mandates counted; no mandate restricting nothing, with the notice; a workspace with admission errors resolving, an unresolved participant kept as authored; excluded words judged only when given, after the move, and declared empty lists and repeated or unresolved scope references rendered as the packet renders them; any one of several mandates granting a move and any one excluding a word, the first named next, a mandate binding another left out, two participants' mandates never pooled and every move list judged; reads through the token alone, runtime placement left out for a mandate and a steward, an unknown token keeping its database code, and the refusals; and this repository's participant as its default actor with all five moves. The CLI's mandate profile consults `governingMandates`, `defaultActor` and `profileRefusal` for its gated commands, and the edit guard (`evaluateMandateGuard`, R22, which steward-hook's `--hook` mode calls) consults all three for each edit an authored `@hook` selects, both keying a target path and each `authority.covers` selection with db `pathKey` (`GoverningOptions.fold`, R22), which folds case on win32 and darwin whatever the volume, so there a covers entry claims a path in any letter case and, on a case-sensitive directory, also a sibling spelled in another case, while on other platforms case is significant; agent-profile generation reads `governingMandates` for a profile that names no mandate; no Door operation does, and a mandate grants no host permission.
|
|
104
110
|
|
|
111
|
+
R14, R15, R21 shared roots (2026-11-04, inventarch/ia#194). A path under a root several admitted `@workspace` records declare resolves as db D02b `shared`, with its `declarers` and no seat, and belongs to each declarer equally; no reader picks one of them by identity. R14: a location seat, and a workspace seat whose repository root `''` resolves so, carry `declarers`, every declarer in identity order, and no identity. R15: such a seat has no home workspace; its closure is the union of every declarer's closure; its composition holds each declarer by `declared-at` with rule `shared`, none of them the record it is declared at; its loaded place carries the same `declarers`; its mandates are its claimants and the mandates whose `authority.scope` names every declarer (a mandate scoped to only some of them is no mandate of the seat); and it states no `seat` or `sources` unknown, since its declarers declare it. A declarer at runtime placement is in `declarers` but no part of the body, so a scope need not name it. R21 (narrow, per inventarch/ia#228): at a root several workspaces declare, only two kinds of mandate govern, on every route: one whose `authority.scope` names every declarer, and one whose `authority.covers` selects the path. The closure read is every declarer's, whatever `workspace` names, so one declarer's grant, scoped to that declarer alone, never opens a shared root, however many moves it allows and however the declarers sort. The routes agree: a `path` (with or without `workspace`); `workspace` alone, which reads the repository root `''` when that resolves so and the workspace is one of its declarers (any other workspace keeps its own closure); and neither, which reads `''` for the repository root. A path read that names no workspace is claims-only, as for any path. A mandate that states neither `scope` nor `covers` is located by its participant elsewhere and governs a shared root on no route. When no mandate qualifies, the root is ungoverned and the guard's rule for an ungoverned location applies (nothing is restricted, `governed` is false): that is the consequence of the rule, not an exception, and a mandate scoped to the repository workspace alone does not govern a root it shares with a department. A declarer at runtime placement is no part of the read, so a scope need not name it, and with none left the path reads as the workspace's. The listings that consume `governingMandates` without a workspace (the doctor source-protection check, the generated agent-profile fallback, the default position) therefore list at a shared root only those mandates. `seatedWorkspace` gives, for such a path, the repository's own `@workspace` (db `repositoryWorkspace`) when it is a declarer, so the edit guard's main session acts as its default actor, and none otherwise; `governingWorkspace` gives it or, with none, a declarer, which the guard's governing lookup takes, so a mandate scoped to every declarer governs an edit there whoever acts (with no default actor, one that names a participant refuses as IA-HOOK-IDENTITY-UNAVAILABLE). `rootWorkspace(handle, read)`, on the package root, is the workspace that answers for the repository root, for the mandate read, position, the CLI's profile and method `checkRoot`: the record `''` seats at, when it is a `@workspace`; at a shared `''`, the repository's own when it is a declarer, and none otherwise, so a shared root keeps its repository workspace and a workspace declaring no part of the root does not answer for it. A scope that prunes the declarers to one seats the path at that one by `root`, and every rule above reads it as before. `tests/mandate-resolution.test.ts` pins a root the repository's `@workspace` shares with a department: the claimant governing a path alone, the mandate scoped to both governing with either workspace and the ones scoped to one not, the department keeping its own mandates away from the shared root, the seated workspace and its actor's profile, the position seat, loaded place and mandates, and a scope pruning the declarers to the department; a department's own mandate, held in its private root and scoped to it alone, pins that it governs no route to the shared root, and a repository root shared by two workspaces pins `checkRoot` refusing with the repository's workspace and with a repository workspace absent or no declarer when a mandate names both declarers, one declarer's all-moves grant scoped to it alone (either declarer order) opening nothing and leaving the root ungoverned, the path route and the workspace route agreeing, a default position composed as its explicit path is, and a runtime-placed declarer. `apps/steward-hook/tests/mandate-guard.test.ts` pins the guard refusing there, and `apps/cli/tests/preview.test.ts` `ia validate`, `ia capture --preview` and `ia preview`.
|
|
112
|
+
|
|
105
113
|
R22. Mandate guard (2026-10-11): `src/mandate-guard.ts`, on the package root, publishes `evaluateMandateGuard(handle, within, request)` and `mandateGuardSelects(request)` with the `MandateGuardRequest` and `MandateGuardDecision` types, the decision steward-hook's `--hook` mode asks for one edit an authored `@hook` may select; `src/mandate-modes.ts` adds `seatedWorkspace(handle, within, path)`, the workspace position seats a path in. The request carries the hook as hook generation declares it (identity, tools, paths, message), the event's tool, the edited file's workspace-relative spellings, the event's `agent_id` and `agent_type` as received, and an optional `fold`. The hook decides an edit only when its `hook.paths` select a spelling of the file and its `hook.tools` name the tool, in the G06c dialect, where only `*`, `?` and `/` are special; any other edit is allowed. A workspace guards its governing records (the `.ia/src` sources of its hooks, mandates and profiles) by selecting them in a hook, such as `paths [".ia/src/**"]`; nothing selects them automatically. The actor is resolved first: an event that carries `agent_id` is a subagent, acting as the `composition.agent` of the one authored `@agent-profile` named exactly its `agent_type`, and a subagent no such profile names, a malformed `agent_id` or a missing `agent_type` is refused with IA-HOOK-IDENTITY-UNAVAILABLE at every path the hook selects, governed or not; any other event, a main session launched with `--agent` included, acts as `defaultActor` of the workspace position seats the path in. The mandates that govern a decided edit are `governingMandates` for the path and that workspace (R21), so a mandate scoped to the workspace governs every path a hook selects in it, beside those whose `authority.covers` claims the path; with none, an established actor and the main session are allowed. The edit is allowed when `profileRefusal` allows the author mode (Synthesis) for that actor: a governing mandate that binds it, its participant or one naming no participant (which binds every established actor, R21's `binds`), grants Synthesis; otherwise the decision is IA-HOOK-NOT-MANDATED with the profile's one next command, `ia position --seat <mandate> --shape governance`. An ambiguous default actor (several participants, no steward) is IA-HOOK-IDENTITY-UNAVAILABLE naming the workspace's governance position, and a main session with no default actor under a mandate that names a participant is IA-HOOK-IDENTITY-UNAVAILABLE; a governing mandate whose authority `mandateAuthorityOf` refuses is IA-HOOK-MANDATE-UNAVAILABLE, naming that admitted mandate's governance position; and while an authored `@mandate`, or a record a mandate resolution reads, fails admission (R23) every edit the hook selects, whoever acts, is IA-HOOK-MANDATE-UNAVAILABLE, naming the refused record's `path:line` and admission finding and `admissionReport(request.root)` (steward-hook passes the registration's root, printed only when inert unquoted, else the command is run from the workspace root), since `ia validate` and every other mandate-gated command refuse in that state and a position cannot seat at a refused record; it branches on the refusal's marked cause (`isAdmissionRefusal`), and the decision then carries the error's `where`. An edit the hook does not select is still allowed. Each refusal's message opens with the hook's message. Excluded words are not judged here. `HOOK_CODES` gains IA-HOOK-DECLARATION-UNAVAILABLE, IA-HOOK-MANDATE-UNAVAILABLE and IA-HOOK-NOT-MANDATED. `GoverningOptions.fold`, a key applied to the path and each `authority.covers` selection before they are matched (db `pathKey`, which folds case on win32 and darwin whatever the volume, so on a case-sensitive directory there a sibling spelled in another case is claimed too), makes a mandate claim every spelling the key folds alike; without it the claims stay db's case-sensitive G06c claimants.
|
|
106
114
|
|
|
107
115
|
R23. Refused mandates fail closed (2026-10-12: fail closed for any `@mandate` that fails admission, reject `moves []` in the schema, the refusal names the record, `ia position` and hand edits still work). Admission drops a record it refuses from the graph, so a resolver that read only admitted records read a mandate that failed admission as absent and its restrictions as lifted. `src/mandate-modes.ts`, on the package root and the `./internal/mandate-modes` subpath, publishes `refusedMandates(handle)` with the `RefusedMandate` type: every `@mandate` of the workspace's own authored sources (band 100) that failed admission, frozen, by path then line, each `{identity?, path, line, code, message, unidentified?}`, read from db's `unadmitted` (db D15), whose own admission finding gives `code` and `message` (no finding is matched back from the report): (a) one admission refused, as db's `refused` names it; (b) both occurrences of a mandate identity that ties at band 100; (c) one a file refused whole declares, by a language error or a duplicate requirement id, as db's own parse of the file reads its headers (with the identity db D15 gives each header), as its captured text shows a header the parse could not read (a line opening `@mandate`, inside a parsed record too), or as a `@mandate` token on a line no parsed record spans that the language scanner does not read as a whole-line comment (db D15's readings, with no identity; the comment classification correction below); and (d) every occurrence db lists with no word, a line of a file refused whole that may declare a record db cannot identify and so may be a mandate, marked `unidentified: true`, except at a line db also lists a mandate at, which counts once, as that mandate. The principle: an authored file refused whole whose records db cannot all identify fails closed, as far as db's readings of its text reach; db D15 states exactly which lines they read and the one shape they still miss, an at sign behind another character inside a parsed record's lines. A record is a mandate when its word is `mandate` or its identity's facet is, or when db names no word. An error inside the lines of a record db identifies stays that record's, so an error inside a parsed `@agent` adds no possible mandate. The band is the one db reads from the source's placement, as capture membership and `governingMandates` read it, so a mandate refused in an installed base (band 90) is never one: it never governs. It also publishes `refusedDependencies(handle)` with the `RefusedDependency` type, every admitted authored (band 100) record whose resolution a refused authored record would change, frozen, by dependent, field, path and line, each `{dependent, field, reference, identity?, path, line, code, message}`: a `@mandate` whose `authority.participant` names a refused `@agent` or whose `authority.scope` names a refused `@workspace`, and a `@workspace` whose `composition.steward` names a refused `@agent` (otherwise a refused steward or participant would switch the default actor to a looser participant, and a refused workspace would leave a scope-only mandate governing nowhere). The reference is matched as authored, by word and name lowercased, against db's `unadmitted` entries of band 100 that carry a name, so a schema refusal, a tie and a file refused whole all count, the last through its parsed headers and through every line opening `@agent <name>` or `@workspace <name>`, inside a parsed record too; an occurrence db lists with no word needs no dependency reading, since (d) already fails every resolver closed on it, before any dependency is named; a reference no authored record answers at all, one to a record refused in an installed base, and a refused `@agent` or `@workspace` that no admitted mandate or workspace names are none, and keep today's reading. `requireMandatesAdmitted(handle, within)` raises, while either returns anything, IA-RUNTIME-REQUEST-INVALID marked `admission: 'refused'` on the error (`isAdmissionRefusal(error)` reads it, the one test callers branch on, never `reader.get` of the located identity, which for a refused authored record shadowing an admitted one of another band would find that one). The decision reads db's root view, whatever `within` binds, since a refused record belongs to no scope and its scope, covers and participant cannot be trusted, so the fail-closed is workspace-wide; what the error discloses follows the token (db PT5): through a whole-workspace token (`isCompleteScope`) it names the first refused mandate db identifies, else the first `unidentified` one, as "an unidentified record at `path:line`, possibly a @mandate", counting the rest by kind, else the first dependency (the dependent record, its field and reference), with the refused record's identity, `path:line`, admission code and message and how many more failed, and locates the refused record as `where`; through a narrowed token it names no path, record or finding and carries no `where`. An unknown token keeps its database code. `governingMandates`, `seatedWorkspace` and `defaultActor` call it first. `profileRefusal` and `mandateRefusal` read no handle and keep their own empty-move-list refusal as defence in depth. `RuntimeError` gains optional fourth and fifth constructor arguments, a frozen `where` `{path, line, identity?}` (the `RuntimeWhere` type), which this refusal and every `mandateAuthorityOf` refusal carry, so the CLI and the guard locate the record without reading the message, and `admission`. `src/mandate-guard.ts` publishes `admissionReport(root?)`, the admission report command (`ia report`, the version 1 machine route no mandate gates) for a workspace root: `ia report --root <root>`, with forward slashes on win32, only when every character of the root is inert unquoted in sh, PowerShell and cmd (letters, digits, `.`, `_`, `-`, `/`, `:`), else `ia report` with `fromRoot`, run from the workspace root, so no root is printed with a shell-active character and none is wrapped in double quotes, where `$` and backticks stay live. The edit guard branches on `isAdmissionRefusal`: a refused record names `admissionReport(request.root)`, an admitted mandate whose authority the resolver cannot read its governance position. Position, `body(K)`, the packet renderer and every Door operation never call these resolvers, so they keep running and simply render no mandate for a refused record. `tests/mandate-resolution.test.ts` pins (a), (b) and (c); (d) for a header spelled `@ mandate`, a full-width at sign, UTF-16LE text without a byte-order mark and a stray top-level line, each failing closed located at its line, a spaced or joined header after a named first header with no pragma, a spaced header indented inside a parsed record and a full-width one inside a prose value left open; none for an error inside a parsed `@agent`, an empty file or a file of comments alone, but one for a malformed header after a comment; a line the token scan reads as a mandate counted once; and a mandate db identifies named before an unidentified record; refused dependencies through an `@agent` tie, a `@workspace` tie and a participant `@agent` authored only as a header a file refused whole shows; a parse error in a file declaring no mandate and a mandate refused in the installed base finding none, every resolver failing closed through a whole token with the first mandate located and the cause marked, a narrowed token disclosing nothing, the facet test, the shadowing override, the participant, scope and steward dependency cases, both dependencies of one agent and their order after a refused mandate, no fail-closed for an unrelated refused `@agent`, a never-authored participant or a refused installed `@agent`, and `admissionReport` over roots holding `&`, `(`, `$`, a backtick, a space, a quote and a non-ASCII letter; `tests/mandate-modes.test.ts` pins `where` on `mandateAuthorityOf`'s refusals.
|
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;;;;;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;;
|
|
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;;gBAQH,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB;IAuEnD,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY;IAuKrC,KAAK,IAAI,IAAI;CAId"}
|
package/dist/door.js
CHANGED
|
@@ -69,7 +69,6 @@ const versionOne = ({ digest: _digest, ...record }) => record;
|
|
|
69
69
|
export class Door {
|
|
70
70
|
#handle;
|
|
71
71
|
#initial;
|
|
72
|
-
#tokens = new Set();
|
|
73
72
|
#allowReport;
|
|
74
73
|
#protocol;
|
|
75
74
|
#read;
|
|
@@ -80,8 +79,8 @@ export class Door {
|
|
|
80
79
|
if (!Number.isSafeInteger(protocol) || protocol < 1 || protocol > MACHINE_PROTOCOL.version)
|
|
81
80
|
throw new TypeError(`A door serves a MACHINE_PROTOCOL version from 1 to ${MACHINE_PROTOCOL.version}`);
|
|
82
81
|
this.#handle = open(root, options);
|
|
83
|
-
this
|
|
84
|
-
this.#
|
|
82
|
+
// Pinned: a call that names a token does not read this one, and every later call without `within` needs it (db D08c).
|
|
83
|
+
this.#initial = this.#handle.resolveScope({ ...options.boundary, pinned: true });
|
|
85
84
|
this.#allowReport = options.allowReport ?? false;
|
|
86
85
|
this.#protocol = protocol;
|
|
87
86
|
const canonical = this.#handle.root;
|
|
@@ -113,9 +112,12 @@ export class Door {
|
|
|
113
112
|
#unknown(operation) {
|
|
114
113
|
return invalid(`Unknown operation '${operation}'; admitted: scope, context, select, get, records, resolve, search, traverse${this.#allowReport ? ', report' : ''}${this.#protocol >= 2 ? ', read, next, position' : ''}`);
|
|
115
114
|
}
|
|
115
|
+
/** The handle is this door's alone, so what it issued is what this door issued, with no list of tokens to grow. */
|
|
116
116
|
#within(params) {
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
if (params['within'] === undefined)
|
|
118
|
+
return this.#initial.token;
|
|
119
|
+
const token = string(params['within'], 'within');
|
|
120
|
+
if (!this.#handle.isIssuedScope(token))
|
|
119
121
|
throw new DbError('IA-DB-SCOPE-UNAVAILABLE', 'Token was not issued by this door');
|
|
120
122
|
return token;
|
|
121
123
|
}
|
|
@@ -157,7 +159,6 @@ export class Door {
|
|
|
157
159
|
...this.#bindings(params),
|
|
158
160
|
...(params['identities'] === undefined ? {} : { identities: strings(params['identities'], 'identities') }),
|
|
159
161
|
});
|
|
160
|
-
this.#tokens.add(scope.token);
|
|
161
162
|
result = scope;
|
|
162
163
|
break;
|
|
163
164
|
}
|
|
@@ -173,7 +174,6 @@ export class Door {
|
|
|
173
174
|
});
|
|
174
175
|
if (!got.ok)
|
|
175
176
|
return got;
|
|
176
|
-
this.#tokens.add(got.packet.scope.token);
|
|
177
177
|
result = got.packet;
|
|
178
178
|
break;
|
|
179
179
|
}
|
|
@@ -186,7 +186,6 @@ export class Door {
|
|
|
186
186
|
});
|
|
187
187
|
if (!got.ok)
|
|
188
188
|
return got;
|
|
189
|
-
this.#tokens.add(got.selection.scope.token);
|
|
190
189
|
result = got.selection;
|
|
191
190
|
break;
|
|
192
191
|
}
|
|
@@ -317,7 +316,6 @@ export class Door {
|
|
|
317
316
|
}
|
|
318
317
|
close() {
|
|
319
318
|
this.#closed = true;
|
|
320
|
-
this.#tokens.clear();
|
|
321
319
|
this.#handle.close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;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export type { CandidateEnvelope, CandidateScope, CandidateValidation } from './c
|
|
|
32
32
|
export { PUBLICATION_CODES, PublicationError, portableDraftPath, qualifyPublicationRoot, preparePublication, inspectPublication, } from './publication.js';
|
|
33
33
|
export type { PublicationFile, PreparedPublication, PublicationStatus } from './publication.js';
|
|
34
34
|
export { isEntry } from './entry.js';
|
|
35
|
-
export { MANDATE_CODES, MODES, MODE_MOVES, MOVES, defaultActor, governingMandates, isAdmissionRefusal, isMode, mandateAuthorityOf, mandateRefusal, profileRefusal, refusedDependencies, refusedMandates, requireMandatesAdmitted, seatedWorkspace, } from './mandate-modes.js';
|
|
35
|
+
export { MANDATE_CODES, MODES, MODE_MOVES, MOVES, defaultActor, governingMandates, isAdmissionRefusal, isMode, mandateAuthorityOf, mandateRefusal, profileRefusal, refusedDependencies, refusedMandates, requireMandatesAdmitted, rootWorkspace, seatedWorkspace, } from './mandate-modes.js';
|
|
36
36
|
export type { DefaultActor, GoverningMandate, GoverningOptions, MandateAuthority, MandateCode, MandateRefusal, Mode, Move, ProfileMandate, ProfileVerdict, RefusedDependency, RefusedMandate, } from './mandate-modes.js';
|
|
37
37
|
export { READ_CODES, SOURCE_LOCATORS, parseLocator, readBody } from './locator.js';
|
|
38
38
|
export type { Locator, ReadBody, ReadBodyOptions, ReadCode, ReadRefusal, ReadResult } from './locator.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/E,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACzE,YAAY,EAAE,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Q,EACR,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,UAAU,EACV,cAAc,EACd,SAAS,GACV,MAAM,WAAW,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ export { admissionReport, inertCommandRoot, evaluateMandateGuard, mandateGuardSe
|
|
|
16
16
|
export { validateCandidate } from './candidate.js';
|
|
17
17
|
export { PUBLICATION_CODES, PublicationError, portableDraftPath, qualifyPublicationRoot, preparePublication, inspectPublication, } from './publication.js';
|
|
18
18
|
export { isEntry } from './entry.js';
|
|
19
|
-
export { MANDATE_CODES, MODES, MODE_MOVES, MOVES, defaultActor, governingMandates, isAdmissionRefusal, isMode, mandateAuthorityOf, mandateRefusal, profileRefusal, refusedDependencies, refusedMandates, requireMandatesAdmitted, seatedWorkspace, } from './mandate-modes.js';
|
|
19
|
+
export { MANDATE_CODES, MODES, MODE_MOVES, MOVES, defaultActor, governingMandates, isAdmissionRefusal, isMode, mandateAuthorityOf, mandateRefusal, profileRefusal, refusedDependencies, refusedMandates, requireMandatesAdmitted, rootWorkspace, seatedWorkspace, } from './mandate-modes.js';
|
|
20
20
|
// The markdown and fragment helpers stay on the ./internal/locator subpath; the root names the reader and its terms.
|
|
21
21
|
export { READ_CODES, SOURCE_LOCATORS, parseLocator, readBody } from './locator.js';
|
|
22
22
|
export { NEXT_CODES, deliveryView } from './next.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE/E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB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,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAElH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EACL,aAAa,EACb,KAAK,EACL,UAAU,EACV,KAAK,EACL,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,EACN,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAe5B,qHAAqH;AACrH,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
package/dist/machine-protocol.js
CHANGED
|
@@ -132,7 +132,7 @@ export const MACHINE_PROTOCOL = freeze({
|
|
|
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.',
|
|
134
134
|
'get, records, resolve, search and traverse read admitted records inside the scope; pass within to stay inside a narrowed one.',
|
|
135
|
-
'A token lives as long as the process that issued it: one CLI invocation, or the MCP server process. A CLI invocation performs one operation, so its reads always cover the initial boundary; narrowing takes scope, then within, in one MCP session.',
|
|
135
|
+
'A token lives at most as long as the process that issued it: one CLI invocation, or the MCP server process. A CLI invocation performs one operation, so its reads always cover the initial boundary; narrowing takes scope, then within, in one MCP session. A process holds the 4,096 scopes most recently issued or read: a token left unread past that refuses with IA-DB-STALE, reads nothing, and is replaced by issuing another scope.',
|
|
136
136
|
"report is privileged inspection of the whole workspace's admission, served by the CLI only.",
|
|
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.",
|
|
@@ -460,7 +460,7 @@ export const MACHINE_PROTOCOL = freeze({
|
|
|
460
460
|
{
|
|
461
461
|
topic: 'Token lifetime',
|
|
462
462
|
cli: 'One invocation: a token printed by one run cannot be passed to the next, so every CLI read covers the initial boundary.',
|
|
463
|
-
mcp: '
|
|
463
|
+
mcp: 'At most the server process, and a token can expire within it: the server holds the 4,096 scopes most recently issued or read, so one left unread past that refuses with IA-DB-STALE and reads nothing. Call ia_scope for a new token, with the same narrowing.',
|
|
464
464
|
},
|
|
465
465
|
{
|
|
466
466
|
topic: 'Workspace',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machine-protocol.js","sourceRoot":"","sources":["../src/machine-protocol.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAwCpC,MAAM,IAAI,GAAG,CAAC,WAAmB,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC;AACxE,MAAM,OAAO,GAAG,CAAC,WAAmB,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,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EAAE,cAAc,CAAC,MAAM;oBAC9B,WAAW,EACT,+HAA+H;iBAClI;gBACD,IAAI,EAAE,IAAI,CACR,6QAA6Q,CAC9Q;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,kBAAkB,CAAC,SAAS;oBAClC,WAAW,EACT,gJAAgJ;iBACnJ;aACF,CAAC;YACF,MAAM,EACJ,waAAwa;YAC1a,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,4BAA4B;oBAClC,IAAI,EAAE,8VAA8V;oBACpW,IAAI,EAAE,0MAA0M;iBACjN;gBACD,iBAAiB;aAClB;YACD,OAAO,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,YAAY,EAAE;YACxD,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE,CAAC;YACR,WAAW,EAAE,CAAC;SACf;KACF;IACD,WAAW,EAAE;QACX;YACE,KAAK,EAAE,QAAQ;YACf,GAAG,EAAE,mDAAmD;YACxD,GAAG,EAAE,iDAAiD;SACvD;QACD;YACE,KAAK,EAAE,YAAY;YACnB,GAAG,EAAE,4EAA4E;YACjF,GAAG,EAAE,qDAAqD;SAC3D;QACD;YACE,KAAK,EAAE,gBAAgB;YACvB,GAAG,EAAE,yHAAyH;YAC9H,GAAG,EAAE,gQAAgQ;SACtQ;QACD;YACE,KAAK,EAAE,WAAW;YAClB,GAAG,EAAE,sEAAsE;YAC3E,GAAG,EAAE,0DAA0D;SAChE;QACD;YACE,KAAK,EAAE,gBAAgB;YACvB,GAAG,EAAE,uCAAuC;YAC5C,GAAG,EAAE,0EAA0E;SAChF;QACD;YACE,KAAK,EAAE,UAAU;YACjB,GAAG,EAAE,yMAAyM;YAC9M,GAAG,EAAE,wGAAwG;SAC9G;KACF;CACF,CAAC,CAAC"}
|
package/dist/mandate-guard.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ import type { HookCode } from './steward.js';
|
|
|
18
18
|
* `composition.steward`, else its only participant) of the workspace position seats the path in.
|
|
19
19
|
* - The mandates that govern a decided edit are `governingMandates` for the path and that workspace, so a mandate
|
|
20
20
|
* scoped to the workspace governs every path a hook selects in it, beside those whose `authority.covers` claims the path.
|
|
21
|
+
* Under a root several workspaces share, which may seat the main session in none, the lookup takes a declarer, so a
|
|
22
|
+
* mandate scoped to every declarer governs there whoever acts.
|
|
21
23
|
* With none, an established actor (and the main session) is allowed: a mandate only adds restrictions.
|
|
22
24
|
* - The edit is allowed when `profileRefusal` allows the author mode (Synthesis) for that actor: a governing mandate
|
|
23
25
|
* that binds it (its participant, or one that names no participant, which binds every established actor) grants
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mandate-guard.d.ts","sourceRoot":"","sources":["../src/mandate-guard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"mandate-guard.d.ts","sourceRoot":"","sources":["../src/mandate-guard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAUhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;IACrF,+BAA+B;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,0GAA0G;IAC1G,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EA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guard.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { selects } from '@inventarch/graph';
|
|
2
2
|
import { RuntimeError } from './errors.js';
|
|
3
|
-
import { defaultActor, governingMandates, isAdmissionRefusal, profileRefusal, seatedWorkspace, } from './mandate-modes.js';
|
|
3
|
+
import { defaultActor, governingMandates, governingWorkspace, isAdmissionRefusal, profileRefusal, seatedWorkspace, } from './mandate-modes.js';
|
|
4
4
|
import { freeze } from './types.js';
|
|
5
5
|
const LIMIT = 512;
|
|
6
6
|
const governance = (seat) => `ia position --seat ${seat} --shape governance`;
|
|
7
7
|
const order = (a, b) => (a < b ? -1 : a > b ? 1 : 0);
|
|
8
|
+
const withWorkspace = (workspace) => (workspace === undefined ? {} : { workspace });
|
|
8
9
|
/** Whether the hook decides the edit: its tools name the tool and its paths select a spelling of the file. */
|
|
9
10
|
export function mandateGuardSelects(request) {
|
|
10
11
|
const fold = request.fold ?? ((text) => text);
|
|
@@ -79,7 +80,7 @@ export function evaluateMandateGuard(reader, within, request) {
|
|
|
79
80
|
for (const path of paths)
|
|
80
81
|
for (const mandate of governingMandates(reader, within, {
|
|
81
82
|
path,
|
|
82
|
-
...(workspace
|
|
83
|
+
...withWorkspace(workspace ?? governingWorkspace(reader, within, path)),
|
|
83
84
|
...(request.fold === undefined ? {} : { fold: request.fold }),
|
|
84
85
|
...(actor === undefined ? {} : { actor }),
|
|
85
86
|
}))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mandate-guard.js","sourceRoot":"","sources":["../src/mandate-guard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAI5B,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;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AwB,CAAC;AAC5C,2GAA2G;AAC3G,MAAM,UAAU,gBAAgB,CAAC,IAAY;IAC3C,gGAAgG;IAChG,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;QAAE,OAAO,KAAK,CAAC;IAC1C,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACjF,OAAO,yBAAyB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AACjD,CAAC;AACD;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAAC,IAAa;IAC3C,MAAM,OAAO,GAAG,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAClH,OAAO,OAAO,KAAK,SAAS,IAAI,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC;QACtD,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,oBAAoB,OAAO,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QACrE,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;AACvD,CAAC"}
|
package/dist/mandate-modes.d.ts
CHANGED
|
@@ -258,16 +258,27 @@ export interface ProfileVerdict {
|
|
|
258
258
|
/** Present exactly when no mandate governs: nothing is restricted. */
|
|
259
259
|
readonly notice?: string;
|
|
260
260
|
}
|
|
261
|
+
/**
|
|
262
|
+
* The `@workspace` that speaks for the repository root through `read`: the record its root seats at, when it is one. A
|
|
263
|
+
* root several workspaces share (db D02b `shared`) seats at none, so there it is the repository's own `@workspace`
|
|
264
|
+
* when that is a declarer, and otherwise none: a workspace that declares no part of the root cannot answer for it.
|
|
265
|
+
*/
|
|
266
|
+
export declare function rootWorkspace(reader: ReadHandle, read: {
|
|
267
|
+
readonly within: string;
|
|
268
|
+
}): string | undefined;
|
|
261
269
|
/**
|
|
262
270
|
* The authored `@mandate` records that govern through the scope token `within`, by identity (each of band 100, so
|
|
263
271
|
* in band-then-identity order). Only the closure of `workspace` is read, or without it that of the workspace
|
|
264
|
-
* position seats `path` in, or with neither the repository's own `@workspace`'s
|
|
272
|
+
* position seats `path` in, or with neither the repository's own `@workspace`'s (every declarer's, for a repository
|
|
273
|
+
* root several workspaces share): another workspace's mandate never
|
|
265
274
|
* governs here. Only that closure is position's: for a path alone, the mandates that govern are those that claim it,
|
|
266
275
|
* not every mandate scoped to the seated workspace that position's location-seat governance also lists. With `workspace` or `path`, a mandate governs when its
|
|
267
276
|
* `authority.scope` names the workspace or its `authority.covers` selects the path (db D02b claimants), either one
|
|
268
|
-
* sufficing.
|
|
277
|
+
* sufficing. At a root several workspaces share (db D02b `shared`), on every route (a path, a declarer named without one,
|
|
278
|
+
* or neither), the closure is every declarer's and only a mandate whose scope names every declarer or whose covers
|
|
279
|
+
* selects the path governs (#228): a participant-only mandate does not, and one declarer's grant never opens the root. One that states neither key with a value (a declared empty list locates nothing) is located by its participant alone and governs wherever that participant
|
|
269
280
|
* acts: with `actor`, when its participant is the actor; without one, whenever it names a participant. With neither
|
|
270
|
-
* `workspace` nor `path`, every one governs. `actor` drops no mandate that governs the workspace or path: each states
|
|
281
|
+
* `workspace` nor `path`, every one of the closure governs, except at a shared root (above). `actor` drops no mandate that governs the workspace or path: each states
|
|
271
282
|
* whether it `binds` the actor, so profileRefusal judges the actor's own and those naming no participant, and refuses an
|
|
272
283
|
* actor that none of them binds rather than read the location as ungoverned. An `actor` or `workspace` that is not an
|
|
273
284
|
* admitted record of its word, or a governing mandate whose authority mandateAuthorityOf refuses, is
|
|
@@ -277,9 +288,17 @@ export declare function governingMandates(reader: ReadHandle, within: string, op
|
|
|
277
288
|
/**
|
|
278
289
|
* The workspace position seats a workspace-relative `path` in (the closure read for a path): the workspace whose
|
|
279
290
|
* declared root holds the seat's records, else the repository's own `@workspace`; undefined when no admitted
|
|
280
|
-
* `@workspace` holds it.
|
|
291
|
+
* `@workspace` holds it. A path under a root several workspaces share (db D02b `shared`) seats in none of them: it
|
|
292
|
+
* gives the repository's own `@workspace` when that is a declarer, so the main session acts as its default actor
|
|
293
|
+
* there, and undefined otherwise. Reads through the scope token `within`, as `governingMandates` does.
|
|
281
294
|
*/
|
|
282
295
|
export declare function seatedWorkspace(reader: ReadHandle, within: string, path: string): string | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* The workspace to read the mandates of a `path` for: `seatedWorkspace`, or under a root several workspaces share, where
|
|
298
|
+
* that may be none, one of the declarers. A scope that names every declarer then governs whoever acts, the default actor
|
|
299
|
+
* remaining `seatedWorkspace`'s to name. Undefined when no admitted `@workspace` holds the path.
|
|
300
|
+
*/
|
|
301
|
+
export declare function governingWorkspace(reader: ReadHandle, within: string, path: string): string | undefined;
|
|
283
302
|
/**
|
|
284
303
|
* The default actor: the actor a mandate-gated command acts as at `workspace` when none is named. It is the `@agent`
|
|
285
304
|
* the workspace's `composition.steward` resolves to (ia init names its participant there), when that is an authored
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mandate-modes.d.ts","sourceRoot":"","sources":["../src/mandate-modes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAiB,MAAM,sBAAsB,CAAC;AAEzF,OAAO,KAAK,EAAE,UAAU,EAAoB,MAAM,gBAAgB,CAAC;AAEnE,OAAO,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAgB,MAAM,aAAa,CAAC;AAG7D;;;;;;;;;;;GAWG;AAEH,8CAA8C;AAC9C,eAAO,MAAM,KAAK,kFAAe,CAAC;AAClC,MAAM,MAAM,IAAI,GA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