@inventarch/db 3.1.1 → 3.2.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 CHANGED
@@ -22,7 +22,7 @@ Spec source locators do not load documents. Resource capture and disclosure requ
22
22
  | @convention | governance-system | Declares a convention in the shared governance shape. |
23
23
  | @decision | work-system | Represents a choice that is needed or has been made: the question, options and decider, and once made, the choice and rationale. |
24
24
  | @dimension | taxonomy | Defines a supported record dimension used by conditions and lookup. |
25
- | @distribution | workspace-system | Declares root records from which a distributable closure is selected. |
25
+ | @distribution | workspace-system | Declares root records from which a distributable closure is selected, and optionally the host plugin product it describes. |
26
26
  | @execution-binding | agent-composition-system | Connects a native target to a host-installed entry or operation descriptor. |
27
27
  | @harness | agent-composition-system | Composes profiles and execution bindings in a workspace under a host contract. |
28
28
  | @hook | hook-authoring-system | Represents a host event, tool/path selection and guard message. Registration and executing a guard require a host adapter. |
@@ -40,7 +40,7 @@ Spec source locators do not load documents. Resource capture and disclosure requ
40
40
  | @placement | taxonomy | Defines source authority and reach metadata. |
41
41
  | @plan | work-system | Represents an arrangement of milestones toward an intent; it heads the work hierarchy and has no parent. Plans do not nest. |
42
42
  | @playbook | governance-system | Represents a procedure as phase/primitive cells. Cell delivery is generic; the authored method belongs to its author. |
43
- | @predicate | taxonomy | Defines a directed relationship and its inverse spelling. |
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
46
  | @run | session-system | Represents a governed run identity, declared phase, status and owner. Declaration does not start execution. |
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @inventarch/db
2
2
 
3
- [![npm](https://img.shields.io/npm/v/@inventarch/db?label=npm)](https://www.npmjs.com/package/@inventarch/db) [![Public quality](https://github.com/inventarch/ia/actions/workflows/platform-quality.yml/badge.svg?branch=main)](https://github.com/inventarch/ia/actions/workflows/platform-quality.yml) [![License](https://img.shields.io/badge/license-Apache--2.0-green)](LICENSE) [![Node](https://img.shields.io/badge/node-22.x-brightgreen)](package.json)
3
+ [![npm](https://img.shields.io/npm/v/@inventarch/db?label=npm)](https://www.npmjs.com/package/@inventarch/db) [![Public quality](https://github.com/inventarch/ia/actions/workflows/platform-quality.yml/badge.svg?branch=main)](https://github.com/inventarch/ia/actions/workflows/platform-quality.yml) [![License](https://img.shields.io/badge/license-Apache--2.0-green)](LICENSE) [![Node](https://img.shields.io/badge/node-%3E%3D22.22.0%20%3C23-brightgreen)](package.json)
4
4
 
5
5
  > `@inventarch/db` reads an IA workspace from disk. It discovers the workspace's `.ia/src` sources, installed distributions and adopted mounts, admits them through `@inventarch/language`, `@inventarch/graph` and `@inventarch/compliance`, and serves the admitted records through scoped read handles. [`@inventarch/runtime`](../runtime/README.md), the `ia` CLI and the other IA apps read workspaces through it.
6
6
 
@@ -36,13 +36,13 @@ try {
36
36
  }
37
37
  ```
38
38
 
39
- `open` admits the workspace once. `resolveScope` issues an opaque token, and every read that passes it as `within` stays inside that scope. Band 100 marks a record the workspace authors. `cache: false` makes the open fully read-only; without it, the handle keeps a disposable graph cache at `.ia/.iadb/graph.json`.
39
+ `open` admits the workspace once. `resolveScope` issues an opaque token, and every read that passes it as `within` stays inside that scope. Band 100 marks a record the workspace authors. `cache: false` makes the open fully read-only. Without it, the handle keeps a disposable graph cache at `.ia/.iadb/graph.json`; a handle opened with `checks: 'structural'` or `evidence: true` never reads or writes that cache. The `.ia/.gitignore` that `ia init` writes does not list `.iadb/`, so add it to your ignore file.
40
40
 
41
41
  ## 🧭 What it does
42
42
 
43
43
  | Export | Use it for |
44
44
  | --- | --- |
45
- | `open(root, options)` | Discover and admit a workspace and return a `Handle`. `checks: 'structural'` admits `@check` records the way `ia validate`, `ia preview` and `ia author` do. |
45
+ | `open(root, options)` | Discover and admit a workspace and return a `Handle`. `checks: 'structural'` admits `@check` records the way `ia validate`, `ia preview` and `ia author` do. `evidence: true` also reads the evidence recorded for the current authored revision, at runtime placement (band 0). `adopted`, `authoredRoots`, `floor` and `locations` replace discovered inputs; see [SPEC.md](SPEC.md). |
46
46
  | `resolveScope(request)` | Issue a scope token for a root, a phase or a list of identities. A child scope only narrows. |
47
47
  | `get`, `records`, `snapshot`, `search`, `traverse`, `resolve`, `referencedBy`, `directedView` | Read admitted records and their relationships through a token. |
48
48
  | `resolveSeat`, `roots`, `words` | Find the seat a path is declared at and the records that claim it, the declared source roots, and the registered words. |
@@ -53,8 +53,9 @@ try {
53
53
  | `bindChecks`, `writeEvidence`, `readEvidence` | Bind each `@check` to an evaluator and keep the `@observation` evidence `ia validate` records under `.ia/work/evidence/`. |
54
54
  | `writeRunnerEvidence` | Record a verified runner journal under `.ia/work/runner-evidence/`. |
55
55
  | `readWorkspaceBytes(root, path, limit)` | Read one workspace file's exact bytes, refusing links, escaping paths and files over the limit. |
56
+ | `DbError`, `DB_CODES` | Every operational refusal is a `DbError`. Its `code` is one of the eleven `IA-DB-*` codes in `DB_CODES`, and its optional `path` names the workspace-relative entry at fault. An installation refusal is an `InstallationError` from `@inventarch/db/distribution`, a `DbError` that adds a `reason`. A `readWorkspaceBytes` limit or a capture text of the wrong form is a `TypeError`. |
56
57
  | `@inventarch/db/editor` | `EditorDatabase` and `EditorSnapshot`: cache-free readers with unsaved overlay buffers. |
57
- | `@inventarch/db/distribution` | Strict decoders and canonical bytes for release descriptors, manifests, locks, generation membership, activation pointers and the installed-implementation catalog. |
58
+ | `@inventarch/db/distribution` | Strict decoders and canonical bytes for release descriptors, manifests, locks, generation membership, activation pointers and the installed-implementation catalog, and `readInstalledGeneration`, which verifies the active installed generation. |
58
59
  | `@inventarch/db/descriptors` | Pure, bounded compilers for `domain-model`, `storage-binding` and `app-composition` descriptor resources; see [their contract](src/descriptors/SPEC.md). |
59
60
 
60
61
  The `./internal/*` subpaths serve specific toolchain consumers and are not a stable contract.
@@ -64,7 +65,7 @@ The `./internal/*` subpaths serve specific toolchain consumers and are not a sta
64
65
  - **It never writes authored source.** Its only writes are the disposable cache, which `cache: false` turns off, and the capture pair and evidence files, each only when you call its writer.
65
66
  - **It makes no network request and no installation write.** Reads verify installed distributions and refuse missing, corrupt or drifted state. Acquiring and installing archives belongs to the application, such as the `ia` CLI.
66
67
  - **Admission is not evaluation.** Opening a workspace runs no conformance suite or prose case. `bindChecks` runs no evaluator that is not built in: such a check stays `not-evaluated`, which is never a pass.
67
- - **A scope narrows reads; it does not decide who reads.** Unscoped reads and issuing independent scopes are privileged host inspection, and the host that holds the handle decides what it discloses.
68
+ - **A scope narrows reads; it does not decide who reads.** Unscoped reads and issuing independent scopes are privileged host inspection, and the host that holds the handle decides what it discloses. Call `isCompleteScope(token)` before you show `report`, `refused` or `unadmitted` to a reader: only a whole-workspace scope may disclose them.
68
69
  - **Evidence is not attestation.** A runner journal's hash chain establishes internal integrity, not an external observer, authorized execution or real-world effects.
69
70
 
70
71
  ## 📚 Learn more
package/SPEC.md CHANGED
@@ -16,9 +16,9 @@ Journal hashes establish internal integrity, not an external observer, authorize
16
16
 
17
17
  The writer validates data without evaluating accessors and atomically stages, flushes and replaces a receipt under a per-receipt exclusive lock. It rejects an older or divergent prefix instead of overwriting it, and never prunes other sessions or revisions. A held or abandoned `.json.lock` refuses; recovery requires establishing that no writer owns it before manually removing that exact lock. Rollback consists of removing the selected receipt after its writer stops; the source journal and authored files are unchanged. Removing a receipt removes only its optional projection. `tests/runner-evidence.test.ts` exercises ordinary and editor admission, subject references, existing validation evidence, successful operations, limit refusal, terminal outcomes, stale/colliding/tampered data, source rebinding, data accessors, bounded reads and unsafe paths. Session replay and actual operation execution are qualified by the runner integration tests.
18
18
 
19
- Planned consumer: bounded repository capture specifies an explicit host collector over package-local sources. It must adapt supported public admission interfaces; it does not change this package's root discovery, adoption limits or create implicit parent/recursive scanning. Native revision and full code/toolchain identity remain distinct.
19
+ Bounded repository capture: a host that captures package-local sources selects them explicitly with `InputOptions.authoredRoots` (Explicit package-local authored inputs, below) through the public admission interfaces. It does not change this package's root discovery or adoption limits, and it adds no implicit parent or recursive scanning. Native revision and full code/toolchain identity remain distinct.
20
20
 
21
- PT5 complete-disclosure refinement: `ReadHandle.isCompleteScope(token)` proves that a current handle-issued scope was created at the whole-workspace root without a phase or identity restriction, and has no narrowed ancestor. Unknown, stale and closed tokens retain existing scope errors. Selecting every admitted identity still returns false: refused source diagnostics may reveal material outside that identity set. The flag stays internal to scope storage, so serialized scope/snapshot shapes remain compatible. Whole-workspace draft preview consumers must require this proof before exposing admission diagnostics; ordinary scoped reads are unchanged.
21
+ PT5. Complete-disclosure scope, the clause other contracts cite as db PT5: `ReadHandle.isCompleteScope(token)` proves that a current handle-issued scope was created at the whole-workspace root without a phase or identity restriction, and has no narrowed ancestor. Unknown, stale and closed tokens retain existing scope errors. Selecting every admitted identity still returns false: refused source diagnostics may reveal material outside that identity set. The flag stays internal to scope storage, so serialized scope/snapshot shapes remain compatible. Whole-workspace draft preview consumers must require this proof before exposing admission diagnostics; ordinary scoped reads are unchanged.
22
22
 
23
23
  ## Descriptor producer
24
24
 
@@ -30,11 +30,11 @@ The public `@inventarch/db/distribution` entrypoint owns strict version-1 transp
30
30
 
31
31
  The same entrypoint shapes the installed-implementation catalog a host payload carries: `checkInstalledImplementations(value)` admits exactly `format` `ia.installed-implementations.v1`, an `evaluators` section with an `ia-evaluator-catalog/1.x` format and at most 1,024 entries, and at most 1,024 `operations` sorted by id and unique, each `available` (id, version, operation identity, handler, input and output validator ids, a portable `runtime/node_modules/...` handler module inside one of its sorted `packages`, and the module's SHA-256), `unavailable` or `revoked` with a single-line reason, and returns the value or the first reason it is not one; it reads, loads and executes nothing. `@inventarch/distribution` verifies a catalog against its payload with it and `@inventarch/workspace-runtime` binds records against its rows (`InstalledOperation`).
32
32
 
33
- Generation membership enumerates selected bundle IDs/archive digests and source inventories derived from verified manifests, with deterministic identical-system deduplication and contributing-package provenance. Readers verify complete file inventory, exact canonical generation bytes and the active lock, and load only selected source bytes. An unpinned regular file named `.DS_Store` or `._*`, which a Mac writes into directories it opens, is skipped; a pinned one is verified like any other, and a link or special file of such a name is refused (`platformDebris`, crowncodes/ia#323). Candidate installation is an explicit host-selected input option; it does not bypass admission or grant writes. The generated installation workspace uses native composition and direct-distribution use edges. Installed sources retain adopted band 90/methodology; generated installation state uses band 100/workspace. Active generation and monotonic counter participate in revision and scope freshness. Existing authored/adopted callers keep their behavior when no installation exists.
33
+ Generation membership enumerates selected bundle IDs/archive digests and source inventories derived from verified manifests, with deterministic identical-system deduplication and contributing-package provenance. Readers verify complete file inventory, exact canonical generation bytes and the active lock, and load only selected source bytes. An unpinned regular file named `.DS_Store` or `._*`, which a Mac writes into directories it opens, is skipped; a pinned one is verified like any other, and a link or special file of such a name is refused (`platformDebris`). Candidate installation is an explicit host-selected input option; it does not bypass admission or grant writes. The generated installation workspace uses native composition and direct-distribution use edges. Installed sources retain adopted band 90/methodology; generated installation state uses band 100/workspace. Active generation and monotonic counter participate in revision and scope freshness. Existing authored/adopted callers keep their behavior when no installation exists.
34
34
 
35
35
  Root release-control sources at `.ia/src/releases/<distribution-name>.ia` contain exactly their selected public distribution declaration, meaning and unconditional system roots matching the manifest. The shared `verifyReleaseControl` check enforces this source profile in archive verification, expanded-bundle reads and `generationSources`, including retained source installations whose content and metadata have been consistently repinned. Ordinary system-source admission remains a separate check.
36
36
 
37
- The application owns archive acquisition, bounded solving and mutation. The database owns no network or installation writes. Restore-required, lock-drift, corrupt-state and pending-recovery remain named operational refusals; a fresh read never silently ignores a selected installation. Filesystem and fault-injection tests must establish that behavior before these planned contracts are reported delivered.
37
+ The application owns archive acquisition, bounded solving and mutation. The database owns no network or installation writes. Restore-required, lock-drift, corrupt-state, recovery-required and engine-incompatible are named `InstallationError` reasons, each with code IA-DB-SOURCE-UNAVAILABLE; a fresh read never silently ignores a selected installation.
38
38
 
39
39
  Local binding adapter (2026-09-18): when `InputOptions.adopted` is absent, `readInputs` loads optional `.ia/workspace.json`: `{ "version": 1, "adopted": [{ "id": "foundation", "path": "vendor/foundation", "revision": "<sha256>" }] }`. This closed host-data format supports at most 16 bindings and 64 KiB of UTF-8 JSON. Each path is a canonical portable directory inside the current workspace and outside its `.ia` tree; absolute paths, parent traversal, duplicate IDs/directories and aliases refuse. Only the selected directory's physical `.ia/src` sources are captured, with package artifacts excluded and no recursive binding expansion. Its floor is excluded: the workspace still selects exactly one explicit/local/embedded floor. The revision uses the existing `AdoptedSource` digest of the ordered exact `{path,text}` list. Missing roots, malformed configuration or changed pinned bytes fail the capture; they never silently drop a dependency. Bindings are validated and read in manifest order, each read before the next is validated, so the first faulty binding answers with its own fault, a read-time one (a link, a missing tree, a changed pin) included, as the frozen Door routes and `ia scope` report it. Explicit `adopted` captures, including `[]`, replace automatic bindings. Disk/editor refresh rereads the manifest and dependency bytes; failed refresh retains internal evidence while the host marks it unavailable. Read-only adopted placement, membership, admission and stale-action semantics remain unchanged; this manifest grants no writable system or model disclosure. An adopted mount's sources carry the path `.ia/adopted/<id>/<revision>/<path>`, a label under which no file exists. `adoptedBindings(root)` (2026-10-07) returns the manifest's bindings, frozen, each `{id, path, revision, tree}` with `tree` that label, validated as discovery validates them (the same IA-DB-ROOT-INVALID, IA-DB-SOURCE-UNAVAILABLE and IA-DB-PATH-UNSAFE refusals) without reading or verifying the bound sources, and [] without a manifest, so a host can read a mount's other files, such as the documents `ia read` returns, from its bound directory; those files are outside the revision pin.
40
40
 
@@ -78,19 +78,21 @@ D09. get, records, referencedBy, directedView, resolveSeat, words, roots, resolv
78
78
 
79
79
  D09a. Registered words. `words(options)` on every reader returns the frozen, sorted keywords the read view's registry registers for its admitted systems, the floor's `system` and `schema` included; a keyword two systems register at the winning band is blocked and absent, and so is every word of a system admission blocked. It is the closed set a runtime scope key's `word` is checked against (runtime R14). `options` bind as `get` binds them; a scope narrows records, never the registry (a child scope that would change it refuses, D07), so every scope of a view reads the same words. Only the keywords are exposed: the registry, its registrations and its consent ledgers stay private. It adds no snapshot field, cache payload or revision input, it never reads the D08a capture pair, and the frozen Door routes do not call it.
80
80
 
81
- D10. Reports retain source/graph/compliance namespaces and original attribution. Database operational errors use IA-DB-ROOT-INVALID, PATH-UNSAFE, SOURCE-UNAVAILABLE, SOURCE-CHANGED, SCOPE-UNAVAILABLE, SCOPE-MISMATCH, STALE, CLOSED, OUT-OF-SCOPE and CACHE-UNAVAILABLE. Errors are typed DbError values; cache observations are warnings. Kernel/fixture/adoption evidence stays explicitly not-evaluated when unavailable; opening a corpus does not execute conformance suites or prose cases.
81
+ D10. Reports retain source/graph/compliance namespaces and original attribution. Database operational errors use IA-DB-ROOT-INVALID, PATH-UNSAFE, SOURCE-UNAVAILABLE, SOURCE-CHANGED, SCOPE-UNAVAILABLE, SCOPE-MISMATCH, STALE, CLOSED, OUT-OF-SCOPE, CACHE-UNAVAILABLE and DRAFT-INVALID (D12), the eleven codes `DB_CODES` lists. Errors are typed DbError values; cache observations are warnings. Kernel/fixture/adoption evidence stays explicitly not-evaluated when unavailable; opening a corpus does not execute conformance suites or prose cases.
82
82
 
83
- D11. Acceptance exercises the real five-system/floor corpus, a foreign record, missing schema restoration, view-specific vocabulary/authority, malformed siblings, source identity preservation under prose edits, cached payload forgery, byte/revision invalidation, scope narrowing across different occurrence winners, stale/closed/foreign tokens and built-package declaration/runtime consumers. No donor files are required. Source writers, retention beyond the D08 current and previous root snapshots, sessions and capability dispatch retain downstream owners.
83
+ D11. Acceptance exercises the real public-system and floor corpus, a foreign record, missing schema restoration, view-specific vocabulary/authority, malformed siblings, source identity preservation under prose edits, cached payload forgery, byte/revision invalidation, scope narrowing across different occurrence winners, stale/closed/foreign tokens and built-package declaration/runtime consumers. Source writers, retention beyond the D08 current and previous root snapshots, sessions and capability dispatch retain downstream owners.
84
84
 
85
- Input discovery delivered: immutable input discovery and explicit/local/embedded floor precedence, generated frozen kernel source export, package scaffold and operational error inventory. Thirteen tests cover default118-record floor, local holes, explicit overrides/caller mutation, exact CRLF/BOM bytes, empty folder fingerprints, invalid UTF-8, bad roots/bands/aliases, source junction refusal and the actual native tree. 1485 tests/52files pass with typecheck/build/kernel/dependency and full compliance fixture verification. Admission, handles/cache and scope APIs remain next.
85
+ Historical delivery record; the numbered clauses are the current contract.
86
86
 
87
- View builder and admission delivered: private per-location view builder compiles independent visible files, delegates authority/late resolution to graph, applies whole-file language refusal and whole-tree physical requirement uniqueness before authority, and iterates structural admission to stability. Malformed/missing-steward joins block their owned words/dependents; individual compliance failures and descendants are removed with retained non-pass assessments under compliance C21. A derived metadata input stamps folder inventory/floor origin/admission version. Eleven new tests cover native/default admission, foreign records, file previews versus healthy files, instance descendants, join cascades, schema restoration, reach/phase overlays, cross-band/reach REQ duplication, contextual vocabulary and empty-folder revision changes. 1497 tests/53files, typecheck/build/kernel/dependencies pass. Handles/cache and scoped reads are next.
87
+ Input discovery delivered: immutable input discovery and explicit/local/embedded floor precedence, generated frozen kernel source export, package scaffold and operational error inventory. Thirteen tests cover default118-record floor, local holes, explicit overrides/caller mutation, exact CRLF/BOM bytes, empty folder fingerprints, invalid UTF-8, bad roots/bands/aliases, source junction refusal and the actual native tree. 1485 tests/52files pass with typecheck/build/kernel/dependency and full compliance fixture verification.
88
88
 
89
- Handles and cache delivered: public open/refresh/close and immutable read products; stable-source verification retries at most three times and preserves the prior state on failure. Disposable cache comparison verifies the entire freshly derived payload, skips identical writes, atomically replaces corruption/forgery, and reports cache obstruction or junction access as warnings while retaining in-memory reads. Nine new tests;1506 workspace tests/54files, typecheck/build/kernel/dependencies pass. Scope tokens and read pruning are next.
89
+ View builder and admission delivered: private per-location view builder compiles independent visible files, delegates authority/late resolution to graph, applies whole-file language refusal and whole-tree physical requirement uniqueness before authority, and iterates structural admission to stability. Malformed/missing-steward joins block their owned words/dependents; individual compliance failures and descendants are removed with retained non-pass assessments under compliance C21. A derived metadata input stamps folder inventory/floor origin/admission version. Eleven new tests cover native/default admission, foreign records, file previews versus healthy files, instance descendants, join cascades, schema restoration, reach/phase overlays, cross-band/reach REQ duplication, contextual vocabulary and empty-folder revision changes. 1497 tests/53files, typecheck/build/kernel/dependencies pass.
90
90
 
91
- Scope tokens delivered: opaque per-handle scopes bind roots, phases, view revisions and monotonic source generations. Reads share binding checks, parent narrowing intersects actual occurrences, changed registries refuse, and graph owns pruned resolution/search/traversal. Eight tests cover bindings, forged/foreign/closed/stale tokens, restoration without revival, excluded intermediaries/gated edges, phase changes and same-identity winner boundaries. 1514 tests/55files, typecheck/build/kernel/dependencies pass. Public built consumers and mutation acceptance are next.
91
+ Handles and cache delivered: public open/refresh/close and immutable read products; stable-source verification retries at most three times and preserves the prior state on failure. Disposable cache comparison verifies the entire freshly derived payload, skips identical writes, atomically replaces corruption/forgery, and reports cache obstruction or junction access as warnings while retaining in-memory reads. Nine new tests;1506 workspace tests/54files, typecheck/build/kernel/dependencies pass.
92
92
 
93
- Database acceptance complete:47db tests;1520workspace tests/56files, typecheck/build/kernel/dependencies/native/full compliance checks and emitted-declaration/built-runtime database consumer pass. Fresh/cache/refresh products agree after record/system/schema/kernel edits, actual schema admission changes restore, placement overlays invalidate and caller options remain copied. Native corpus153records; compliance485verdicts retain one adoption not-evaluated without supplied evaluators. All ten database operational codes have refusal or cache-warning tests. No source writer, retained history or execution permission is claimed. Next: runtime retrieval/budgets/select, thin CLI/MCP, verified steward hook and fixture loop acceptance.
93
+ Scope tokens delivered: opaque per-handle scopes bind roots, phases, view revisions and monotonic source generations. Reads share binding checks, parent narrowing intersects actual occurrences, changed registries refuse, and graph owns pruned resolution/search/traversal. Eight tests cover bindings, forged/foreign/closed/stale tokens, restoration without revival, excluded intermediaries/gated edges, phase changes and same-identity winner boundaries. 1514 tests/55files, typecheck/build/kernel/dependencies pass.
94
+
95
+ Database acceptance complete:47db tests;1520workspace tests/56files, typecheck/build/kernel/dependencies/native/full compliance checks and emitted-declaration/built-runtime database consumer pass. Fresh/cache/refresh products agree after record/system/schema/kernel edits, actual schema admission changes restore, placement overlays invalidate and caller options remain copied. Native corpus153records; compliance485verdicts retain one adoption not-evaluated without supplied evaluators. All ten database operational codes of that delivery had refusal or cache-warning tests.
94
96
 
95
97
  D12. Handle.preview(changes) is a privileged pure draft view over the handle's current immutable input snapshot. Each change is {path,text}; require nonempty unique canonical .ia/src/*.ia paths, no aliases/traversal or floor changes. Preserve replaced source locations; new sources are authored100/workspace, using existing explicit location overrides when supplied. Add newly represented system folders. Recompute fingerprint and run the existing viewBuilder/admission at root with no phase. Return frozen baseRevision/revision/records/report/refused. Never mutate the handle, existing scopes, cache or filesystem. Empty changes reproduce current root results. IA-DB-DRAFT-INVALID refuses malformed draft input before compilation. A valid preview does not apply edits or promise current filesystem freshness; the executing host rechecks before publishing drafts.
96
98
 
@@ -100,13 +102,13 @@ D14. Runtime evidence. `InputOptions.evidence` lists the files under `.ia/work/e
100
102
 
101
103
  D15. Unadmitted occurrences (2026-10-12; runtime R23). `refused` names only what admission excluded from a built graph, so three ways a record goes unadmitted left no trace a reader could locate: a file refused whole by a language error, and one refused whole for a requirement id another occurrence declares too, never reach a graph, and an identity tie drops both occurrences with only an IA-GRAPH-IDENTITY-TIE diagnostic whose identity is in its message. Every view therefore also carries `unadmitted`, and every read handle and editor snapshot exposes it as the getter `unadmitted`, reading the root view like `refused` and `report`, whatever a read binds: an occurrence that is not admitted is in no scope, so a caller that serves a narrowed scope must not disclose it (db PT5; runtime R23 discloses its path and finding only through a whole-workspace token). It holds one frozen `UnadmittedRecord` `{identity?, word?, name?, band, path, line, endLine, finding}` per occurrence of the view's sources the view does not admit, by path, line and word: each occurrence `refused` names, each occurrence of a tie, and each record of a file refused whole. `name` is the record's name as its header spells it, lowercased, what runtime R23 matches a typed reference by. `band` is the band of the placement the source was read at, where capture membership reads a record's band: 100 for the workspace's own sources, 90 for an adopted or installed base. `finding` `{code, path, line, message}` is the record's own admission finding, from the diagnostics the view already holds, so no reader matches findings back: for a refused occurrence, the assessment's first error (else its first finding, else IA-COMP-NOT-EVALUATED for an assessment left not-evaluated with none), the system check's, the enclosing record's, a refused graph occurrence's dimension diagnostic, or for a refused system join the finding that blocked its system (a file error of its declaration, a system check, the blocked system it requires); for a tie, the occurrence's own IA-GRAPH-IDENTITY-TIE; for a record of a file refused whole, the error inside its lines, else the file's first error, which refused the file. A record of a file refused whole is each header the view's own parse of the file reads, nested ones included, with the identity the file's compile gives the record or, where the compile refused it, the identity language `identityOf` gives the header under its word's registration. The file's captured text, split at every line terminator (CRLF, CR or LF), adds three readings the parse cannot give. First, each line that opens with `@<word>` after any whitespace or Unicode format characters (a no-break space, a form feed, a zero-width space, a byte-order mark) and is no header the parse read, wherever it stands, inside the lines of a parsed record too, under its word and the name token after it, with no identity, so a header the parse cannot read (a missing or unsupported pragma, a malformed name, an indented header, a CR-only file the parse reads as one line) is still listed, with the name runtime R23 matches an `@agent <name>` or `@workspace <name>` reference by. Second, on each line no parsed record spans (a parsed header's lines through the end of its syntax span, refused trailing lines included) that the language scanner does not read as a whole-line comment (the comment classification correction below), every `@<word>` token anywhere on it, under its word alone, so a file whose parse reads no record lists every word it mentions outside such comments. Third, a line the first reading names no header on is one occurrence with no `word`, no name and no identity, the error on its line, else the file's first error, its finding, wherever it may declare a record db cannot identify: (1) a line holding one of the file's errors that no parsed record spans, where an error at a blank line (whitespace and format characters alone), at a comment line (`#` first after them, the pragma's own line among them) or past the text is taken at the first line from there that is neither, and at none when there is none; (2) a line that opens, after any whitespace or format characters, with an at sign (`@`, the full-width U+FF20 or the small U+FE6B), wherever it stands, inside the lines of a parsed record and inside a prose value left open too; and (3) in a file refused at its pragma (IA-LANG-PRAGMA-MISSING or IA-LANG-VERSION-UNSUPPORTED), whose parse reports nothing past it, every line at column 0 that is neither blank nor a comment. A reader that gates on a word counts such an occurrence as possibly that word (runtime R23 counts it as a mandate). So a header spelled `@ mandate x`, with a full-width at sign or with a joiner after the at sign leaves one wherever it stands, as do text in another encoding (UTF-16LE without a byte-order mark reads as a comment line, then lines a NUL opens at column 0 of a file refused at its pragma) and a stray top-level line; while an empty file, a file of blank and comment lines alone, a missing or unsupported pragma before nothing but headers the first reading names and their indented lines, and an error inside the lines of a parsed record on a line no at sign opens (which stays that record's, listed under its word) leave none. The readings err towards listing: a non-header line so spelled in a file already refused is listed under its word, and an error line or at-sign line that declares nothing is listed with no word. What they still miss, exactly, is a line that declares a record whose at sign follows some other character on its line (a NUL, a letter, other text) when it stands inside the lines of a parsed record, or indented in a file refused at its pragma: no reading names it and an error there, if any, is that record's. Nothing is read from disk for it; `refused`, the report, the snapshot, the cache and the frozen Door routes are unchanged; and `tests/handle.test.ts` pins each kind with its finding, the line terminators, the leading characters, the token reading, a reference inside a parsed record listed as nothing, an occurrence of no word for a spaced and a full-width at sign, UTF-16LE text, a stray line, a missing pragma before a spaced header, a spaced, full-width or joined header after a named first header in a file refused at its pragma, an unsupported pragma, a top-level line there, an at-sign line indented inside a parsed record, behind a tab or inside a prose value left open, and a malformed header after a comment, and none for an error inside a parsed record, an empty file, a missing pragma before a named header or a file of comments alone, and bands 100 and 90 side by side.
102
104
 
103
- D15 comment classification correction (2026-10-13, revised after its review): the second, raw-token reading excludes a genuine full-line comment, including an `ia author` attribution, only when language trivia identifies it as a comment and its text matches the complete physical line after ASCII space/tab indentation and trailing whitespace are removed. `scan` of the same captured source text supplies that evidence, never a filesystem reread: the parse of a file refused at a missing or unsupported pragma holds no trivia, and any other parse adds only trailing comments to the scanner's, which the `#` check and the full-line match below refuse. Nothing is admitted and no finding is suppressed. Bare-CR files retain the conservative token reading because scanner and fallback line numbers differ. Trailing/inline comments, comment-like prose and malformed prefixes are not exempted by their appearance. So a genuine attribution is still listed under its words, and fails the workspace closed through runtime R23, in three damaged files: one that holds a bare CR anywhere; one where it stands inside `"""` prose no parsed record spans, as after a `"""` no line closes, which the scanner reads as prose; and one with no pragma where a byte-order mark precedes it on line 1, since the scanner strips the mark but the `#` check reads the physical line. The header reading and every unidentified-line rule above remain unchanged: a disguised declaration after a comment and conflict markers still produce their original occurrences. `tests/handle.test.ts` covers LF/CRLF, indented comments, pragma refusals, malformed prefixes, open prose, bare CR and following declarations, and pins each guard with a file only that guard keeps listed: the byte-order mark (the `#` check), a prose closer followed by a trailing comment on a line that opens with `#` (the full-line match), and a bare CR, both where the scanner's line number names another physical line of the same text and after a genuine attribution (the bare-CR exclusion).
105
+ D15 comment classification correction (2026-10-13): the second, raw-token reading excludes a genuine full-line comment, including an `ia author` attribution, only when language trivia identifies it as a comment and its text matches the complete physical line after ASCII space/tab indentation and trailing whitespace are removed. `scan` of the same captured source text supplies that evidence, never a filesystem reread: the parse of a file refused at a missing or unsupported pragma holds no trivia, and any other parse adds only trailing comments to the scanner's, which the `#` check and the full-line match below refuse. Nothing is admitted and no finding is suppressed. Bare-CR files retain the conservative token reading because scanner and fallback line numbers differ. Trailing/inline comments, comment-like prose and malformed prefixes are not exempted by their appearance. So a genuine attribution is still listed under its words, and fails the workspace closed through runtime R23, in three damaged files: one that holds a bare CR anywhere; one where it stands inside `"""` prose no parsed record spans, as after a `"""` no line closes, which the scanner reads as prose; and one with no pragma where a byte-order mark precedes it on line 1, since the scanner strips the mark but the `#` check reads the physical line. The header reading and every unidentified-line rule above remain unchanged: a disguised declaration after a comment and conflict markers still produce their original occurrences. `tests/handle.test.ts` covers LF/CRLF, indented comments, pragma refusals, malformed prefixes, open prose, bare CR and following declarations, and pins each guard with a file only that guard keeps listed: the byte-order mark (the `#` check), a prose closer followed by a trailing comment on a line that opens with `#` (the full-line match), and a bare CR, both where the scanner's line number names another physical line of the same text and after a genuine attribution (the bare-CR exclusion).
104
106
 
105
- Projection integration: the public `systemMember(path)` remains the sole authored/adopted membership interpreter used by the projection composition root. Consumers derive observations from the selected admitted records and bind them to that view's revision; path recognition alone is not admission, scope authorization or permission to modify an adopted root. This reuse closes only the renderer's reconstructed-local-path gap; the distribution's full installed-generation reader remains separately scheduled.
107
+ Projection integration: the public `systemMember(path)` remains the sole authored/adopted membership interpreter used by the projection composition root. Consumers derive observations from the selected admitted records and bind them to that view's revision; path recognition alone is not admission, scope authorization or permission to modify an adopted root. This reuse closes only the renderer's reconstructed-local-path gap; `readInstalledGeneration` in `@inventarch/db/distribution` reads the installed generation.
106
108
 
107
109
  Authoring asset closure: distribution metadata permits the exact `.ia/authoring.resources.json` path only as an `asset`, and explicit `.ia/src/**/*.md` paths only as `documentation`. Other hidden/build paths and role substitutions remain invalid. This is a bounded path/role allowance, not an asset validity verdict: the distribution owner verifies the closed manifest, exact resource pins and native joins before packing/verifying/installing guide-bearing archives. Native floor code remains supplied by the fixed language floor rather than an archive's documentation assets.
108
110
 
109
- Path identity (crowncodes/ia#315): `src/paths.ts`, exported from `@inventarch/db`, compares paths by what the volume opens, because APFS folds case and Unicode normalization and NTFS folds case. `sameFile` compares device and inode (a path it cannot examine, such as a link loop, is compared by `pathKey`); `within(parent, child)` walks the child's real ancestors by device and inode, and compares folded settled spellings only while the parent does not exist; `unaliased(path, real)` accepts another spelling of the same existing names and refuses a link or junction in any component, and a path that is not absolute and normalized, since the kernel walks a `link/..` pair through the link (on win32, where the kernel removes `..` before it follows a junction, it compares the normalized path case-folded, which also refuses subst drives and 8.3 names); `linked` finds that link; `pathKey` folds the key of a relative path that may not exist, case on win32 and `caseFold` on darwin: NFC and full Unicode case folding, as APFS compares names, so `ß` and `ss` are one name there, while the dotless `ı` stays apart from `i` (crowncodes/ia#323). The same key names draft paths (`preview.ts`), editor overlays (`editor/index.ts`) and sources (`inputs.ts`), so on macOS two of them that differ only in case or Unicode case are one path, refused as a duplicate; a case-sensitive APFS volume holding both `A.ia` and `a.ia` is refused there as a duplicate source. `@inventarch/runtime` re-exports all of them but `linked` and `caseFold`, for the apps that depend on it rather than on `@inventarch/db`.
111
+ Path identity: `src/paths.ts`, exported from `@inventarch/db`, compares paths by what the volume opens, because APFS folds case and Unicode normalization and NTFS folds case. `sameFile` compares device and inode (a path it cannot examine, such as a link loop, is compared by `pathKey`); `within(parent, child)` walks the child's real ancestors by device and inode, and compares folded settled spellings only while the parent does not exist; `unaliased(path, real)` accepts another spelling of the same existing names and refuses a link or junction in any component, and a path that is not absolute and normalized, since the kernel walks a `link/..` pair through the link (on win32, where the kernel removes `..` before it follows a junction, it compares the normalized path case-folded, which also refuses subst drives and 8.3 names); `linked` finds that link; `pathKey` folds the key of a relative path that may not exist, case on win32 and `caseFold` on darwin: NFC and full Unicode case folding, as APFS compares names, so `ß` and `ss` are one name there, while the dotless `ı` stays apart from `i`. The same key names draft paths (`preview.ts`), editor overlays (`editor/index.ts`) and sources (`inputs.ts`), so on macOS two of them that differ only in case or Unicode case are one path, refused as a duplicate; a case-sensitive APFS volume holding both `A.ia` and `a.ia` is refused there as a duplicate source. `@inventarch/runtime` re-exports all of them but `linked` and `caseFold`, for the apps that depend on it rather than on `@inventarch/db`.
110
112
 
111
113
  ### Explicit package-local authored inputs
112
114
 
@@ -26,7 +26,7 @@ export declare function readInstalledGeneration(root: string, candidate?: Activa
26
26
  /**
27
27
  * Files a platform writes into any directory it opens, which never belong to a payload: Finder's `.DS_Store`, and the
28
28
  * AppleDouble `._<name>` files macOS writes beside files on volumes without extended attributes (exFAT, SMB). A strict
29
- * inventory skips one only when it is not pinned; a pinned file of such a name is verified like any other (crowncodes/ia#323).
29
+ * inventory skips one only when it is not pinned; a pinned file of such a name is verified like any other.
30
30
  */
31
31
  export declare const platformDebris: (name: string) => boolean;
32
32
  //# sourceMappingURL=reader.d.ts.map
@@ -246,7 +246,7 @@ export function readInstalledGeneration(root, candidate) {
246
246
  /**
247
247
  * Files a platform writes into any directory it opens, which never belong to a payload: Finder's `.DS_Store`, and the
248
248
  * AppleDouble `._<name>` files macOS writes beside files on volumes without extended attributes (exFAT, SMB). A strict
249
- * inventory skips one only when it is not pinned; a pinned file of such a name is verified like any other (crowncodes/ia#323).
249
+ * inventory skips one only when it is not pinned; a pinned file of such a name is verified like any other.
250
250
  */
251
251
  export const platformDebris = (name) => name === '.DS_Store' || name.startsWith('._');
252
252
  //# sourceMappingURL=reader.js.map
package/dist/inputs.js CHANGED
@@ -477,7 +477,7 @@ function discover(root, supplied) {
477
477
  // Colocated executable systems contain package artifacts, never corpus sources.
478
478
  if (['node_modules', 'dist', '.git'].includes(entry.name.toLowerCase()))
479
479
  continue;
480
- // Where the volume opens `.ia/src/systems` as `Systems`, that is the systems folder; its members keep their names (crowncodes/ia#315, crowncodes/ia#323).
480
+ // Where the volume opens `.ia/src/systems` as `Systems`, that is the systems folder; its members keep their names.
481
481
  const folded = pathKey(entry.name), name = path === '.ia/src' &&
482
482
  ['floor', 'systems'].includes(folded) &&
483
483
  sameFile(safePath(canonical, `${path}/${entry.name}`), safePath(canonical, `${path}/${folded}`))
@@ -1 +1 @@
1
- {"version":3,"file":"inputs.js","sourceRoot":"","sources":["../src/inputs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,QAAQ,GACT,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE9F,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAiDnE,8FAA8F;AAC9F,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AACtD,8GAA8G;AAC9G,MAAM,CAAC,MAAM,a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Unicode normalization, as APFS and NTFS do by default: two spellings of one
3
3
  * entry are one path, and only a link or junction makes a path an alias. Strings are compared only where nothing exists yet
4
- * to compare (`pathKey`). Issue crowncodes/ia#315.
4
+ * to compare (`pathKey`).
5
5
  */
6
6
  /** Some existing component of `path` is a symbolic link or junction. A component that does not exist yet is not one. */
7
7
  export declare function linked(path: string): boolean;
@@ -34,7 +34,7 @@ export declare function within(parent: string, child: string): boolean;
34
34
  export declare function pathKey(path: string): string;
35
35
  /**
36
36
  * A name as APFS compares names: canonical normalization and full Unicode case folding, so `ß` and `ss`, `ſ` and `s`, and `fi`
37
- * and `fi` are one name as well as `A` and `a` (crowncodes/ia#323). The dotless `ı` stays out of the round trip, since upper-casing it gives
37
+ * and `fi` are one name as well as `A` and `a`. The dotless `ı` stays out of the round trip, since upper-casing it gives
38
38
  * `I` and APFS keeps it apart from `i`. Checked against APFS on macOS 26: for every code point up to U+1FFFF with a case or
39
39
  * normalization mapping, two spellings get the same key exactly when APFS opens them as the same name.
40
40
  */
package/dist/paths.js CHANGED
@@ -3,7 +3,7 @@ import { basename, dirname, isAbsolute, join, parse, relative, resolve, sep } fr
3
3
  /**
4
4
  * Path identity on volumes that fold case or Unicode normalization, as APFS and NTFS do by default: two spellings of one
5
5
  * entry are one path, and only a link or junction makes a path an alias. Strings are compared only where nothing exists yet
6
- * to compare (`pathKey`). Issue crowncodes/ia#315.
6
+ * to compare (`pathKey`).
7
7
  */
8
8
  /** Some existing component of `path` is a symbolic link or junction. A component that does not exist yet is not one. */
9
9
  export function linked(path) {
@@ -105,7 +105,7 @@ export function pathKey(path) {
105
105
  }
106
106
  /**
107
107
  * A name as APFS compares names: canonical normalization and full Unicode case folding, so `ß` and `ss`, `ſ` and `s`, and `fi`
108
- * and `fi` are one name as well as `A` and `a` (crowncodes/ia#323). The dotless `ı` stays out of the round trip, since upper-casing it gives
108
+ * and `fi` are one name as well as `A` and `a`. The dotless `ı` stays out of the round trip, since upper-casing it gives
109
109
  * `I` and APFS keeps it apart from `i`. Checked against APFS on macOS 26: for every code point up to U+1FFFF with a case or
110
110
  * normalization mapping, two spellings get the same key exactly when APFS opens them as the same name.
111
111
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inventarch/db",
3
- "version": "3.1.1",
3
+ "version": "3.2.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -123,9 +123,9 @@
123
123
  "LANGUAGE.md"
124
124
  ],
125
125
  "dependencies": {
126
- "@inventarch/compliance": "3.1.1",
127
- "@inventarch/graph": "3.1.1",
128
- "@inventarch/language": "3.1.1",
126
+ "@inventarch/compliance": "3.2.0",
127
+ "@inventarch/graph": "3.2.0",
128
+ "@inventarch/language": "3.2.0",
129
129
  "semver": "7.8.5"
130
130
  },
131
131
  "devDependencies": {