@inventarch/language 3.1.0 → 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,34 +1,80 @@
1
1
  # @inventarch/language
2
2
 
3
- A pure TypeScript pipeline for the `.ia` record language: one scanner, one parser, an explicit vocabulary registry and a semantic compiler. The implemented contract is [SPEC.md](SPEC.md); shared concepts are in the language design.
3
+ [![npm](https://img.shields.io/npm/v/@inventarch/language?label=npm)](https://www.npmjs.com/package/@inventarch/language) [![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
- `parse(text, path)` returns `{ ast, diagnostics }`; `scan(text, path)` returns the common token stream. Fields retain their parsed word run, typed value, children and source spans. Comments remain trivia. Slash fragments such as `#act/Decision` are accepted; their existence is a compliance concern.
5
+ > The `.ia` language in pure TypeScript: one scanner, one parser, an explicit vocabulary registry, a semantic compiler, a loss-checked formatter and the embedded language floor. Use it to parse, register, compile and format IA text, or to edit one record of a source file.
6
+ >
7
+ > It is the first package in the dependency direction `language → graph → compliance → db → runtime → workspace-runtime`. [`@inventarch/graph`](../graph/README.md) loads the records it compiles.
6
8
 
7
- `buildRegistry(sources)` accepts `{ ...parse(text, path), location }` entries. It discovers system/schema declarations, merges by band, orders dependencies, lowers consent ledgers and joins each word to its schema. Only `system` and `schema` are built in. Other discriminators require actual registrations.
9
+ ## ⚡ Quick start
8
10
 
9
- `compile(ast, registry, location, pool)` returns `{ records, diagnostics, sourceMap }`. It produces identity, typed structured fields/items, containment, cells, selector groups, relationship edges, governance variants and contract requirements. It validates case structure and structural bindings. Field keys follow the parser word run and schema/floor spellings. Raw fields remain useful previews, including the spans of refused semantic carriers; a refused semantic product has no entry in its product/map array.
11
+ ```sh
12
+ npm install @inventarch/language
13
+ ```
10
14
 
11
- The external `pool` contains admitted compiled occurrences and must exclude the current canonical source path. Inconsistent registration/identity data or a current-file entry throws `TypeError`, a caller-contract failure. The compiler discovers surviving local identities first, so local forward/self/nested references work independently of source order. It combines local and external candidates without selecting authority bands: zero matches retains a warning edge and its typed reference; multiple matches refuse it. Resolved relationships require both systems' row-wise consent in active-predicate direction.
15
+ ```js
16
+ import { format, parse } from '@inventarch/language';
12
17
 
13
- Keep registry and compiler diagnostics once. Registry diagnostics already include parser diagnostics from its sources. AST `syntaxDiagnostics` preserves serializable parser refusal ownership, and compile withholds affected records and descendants without re-reporting those faults. Any error prevents loading the file, even when preview records are returned. Diagnostic `Severity` is `error | warning`; `KernelSeverity` is the separate `blocking | advisory | informational` dimension.
18
+ const source = `#! ia 1.0
14
19
 
15
- For tree consumers, `resolveTarget` and `validatePool` share the compiler's candidate contract. `requirementCollisions` accepts explicit requirement occurrences and returns every duplicate participant, without a band exception. Compile applies it locally; a loader must apply it to the full tree before publication and remove all returned occurrences. `valuesFor`, `canonicalValue`, `verbOf` and `VERB_PHRASES` expose the closed vocabulary needed by graph/compliance. Internal carrier readers remain private.
20
+ @decision api-response-format
21
+ meaning
22
+ says "Choose a response format for the public API."
23
+ `;
16
24
 
17
- | Product | Authored example and current evidence | Implemented downstream consumer |
18
- | --- | --- | --- |
19
- | Cells and primitive/phase addresses | [24-cell registered authoring playbook](../compliance/fixtures/language/cells/pass/full-opal-grid.ia), cognition and integration tests | Graph indexing and runtime cell delivery |
20
- | Selectors | [Every axis/value](../compliance/fixtures/language/selectors/pass/all-axes-canonical-values.ia), canonical terms and refusal tests | Coordinate routing and exclusive selection |
21
- | Edges and consent | [All verb spellings](../compliance/fixtures/language/edges/pass/all-verbs-and-addresses.ia), asymmetric ledger and external ambiguity tests | Graph resolution, traversal and consent on later resolution |
22
- | Conditions and variants | [All carriers/dimensions](../compliance/fixtures/language/conditions/pass/all-carriers-and-dimensions.ia), duplicate/fallback tests | Graph condition evaluation; compliance overlap checks |
23
- | Requirements and cases | [Eight clause kinds](../compliance/fixtures/language/contracts/pass/all-requirement-kinds.ia), [five scenario kinds](../compliance/fixtures/language/cases/pass/all-scenario-kinds.ia), complete chain and tree-duplicate tests | Compliance fragments, declared coverage and explicit adoption evaluators; tools/systems executes its opted-in cases |
25
+ const { ast, diagnostics } = parse(source, 'decision.ia');
26
+ console.log(ast.records.map((record) => `@${record.discriminator} ${record.name}`), diagnostics.length);
27
+ // [ '@decision api-response-format' ] 0
24
28
 
25
- The [graph](../graph/SPEC.md), [compliance](../compliance/SPEC.md), [database](../db/SPEC.md) and [runtime](../runtime/SPEC.md) now consume these products, including full native system admission and scoped procedure delivery. Local executable systems validate drafts and generate artifacts; model-led steward execution remains proposed. Language conformance alone does not establish these downstream behaviors. `format(source, path)` now returns formatted text or null with syntax diagnostics. It preserves physical trivia positions and raw multiline values; `checkFormatPreservation(source, output, path)` is the shared scanner-based write guard. The guard emits IA-LANG-FORMAT-LOSSY if comments, blank-line positions, tokens or structural line depth change. Neither function writes files.
29
+ console.log(format(source, 'decision.ia').text);
30
+ // #! ia 1.0
31
+ //
32
+ // @decision api-response-format
33
+ // meaning
34
+ // says "Choose a response format for the public API."
35
+ ```
26
36
 
27
- The [native floor](../../.ia/src/floor/README.md) is now the source of the closed constants. `pnpm kernel:check` at the root validates all 118 records before checking the generated embed; `pnpm kernel:generate` updates it after intentional source edits. Build tooling composes language and compliance while the runtime package remains dependency-free. `KERNEL_DIGEST`, `SHAPE_ROWS`, `KIND_LANES`, `PRIMITIVE_ANCHORS` and `DIMENSION_PATHS` expose validated data; graph consumes kind/lane metadata and runtime consumes shape defaults/focus. Primitive anchors remain exported metadata, not permission to infer the required request phase/primitive. Normal builds never read the donor repository.
37
+ `parse` and `format` are syntax only: nothing above checks `@decision` against a vocabulary. `compile` does, against a registry you build with `buildRegistry`, and refuses a word that no registered system declares with `IA-LANG-DISCRIMINATOR-UNREGISTERED`. A file with a syntax error formats to `text: null` with its diagnostics.
28
38
 
29
- Conformance fixtures live under `packages/compliance/fixtures/language`. Compile fixtures can supply an optional `<name>.pool.json` of explicit external source texts/paths/locations; required pass/fail expectations remain separate. Every emitted language code now has a fail fixture, including the formatter preservation guard. Format fixtures alone admit expected .formatted.txt output and a deliberately lossy .candidate.txt companion. Direct tests additionally assert warning severity, refusal boundaries, diagnostic multiplicity and source-map correspondence.
39
+ ## 🧭 What it does
30
40
 
31
- Run `pnpm test`, `pnpm typecheck` and `pnpm build` in this package. The runtime has no dependencies and performs no filesystem discovery. Built-entry and emitted-declaration consumers are verified at plan closure; compiler success does not establish downstream execution.
32
- # Editor source helpers
41
+ | Export | What it does |
42
+ | --- | --- |
43
+ | `scan(text, path)`, `parse(text, path)` | The token stream with trivia; `{ ast, diagnostics }` with records, typed fields, nesting, comments and line spans |
44
+ | `buildRegistry(sources)` | `{ registry, diagnostics }`: a frozen registry joined from the `@system` and `@schema` declarations of parsed sources, and the stage diagnostics. Only `system` and `schema` are built in; every other word needs a registration |
45
+ | `compile(ast, registry, location, pool)` | `{ records, diagnostics, sourceMap }`: identities, typed fields, relationship edges with two-sided consent, cells, selectors, variants and contract requirements. `pool` holds the admitted records of other files; a record from this file's path in `pool` is a `TypeError` |
46
+ | `resolveTarget`, `validatePool`, `requirementCollisions` | Reference resolution and whole-tree requirement uniqueness for callers that assemble many files |
47
+ | `format(source, path)`, `checkFormatPreservation(source, output, path)` | Canonical spacing that keeps comments, blank lines and multiline values; the guard reports `IA-LANG-FORMAT-LOSSY` when a candidate changes them |
48
+ | `references(ast)` | The typed references a file holds; prose is never read as a reference |
49
+ | `identityOf`, `renderIdentity`, `canonicalPath`, taxonomy constants and `is*` guards | Identity, path and closed-value helpers such as `KINDS`, `PHASES`, `PREDICATES`, `INVERSE_OF` and `VERB_PHRASES` |
50
+ | `KERNEL_SOURCES`, `KERNEL_DIGEST` | The validated language floor as frozen path and text sources, and its digest |
51
+ | `LANGUAGE_VERSION`, `SUPPORTED_VERSIONS` | The language version this package reads (`1.0`); graph's `load` and `revisionOf` take it as `languageVersion` |
52
+ | `LANG_CODES`, `consentFor`, `verbOf`, `canonicalValue` | The closed `IA-LANG-*` diagnostic codes, two-sided consent for one edge, and lookups of verb spellings and closed values |
33
53
 
34
- `references(ast)` inventories typed field/list/relationship references without treating prose as a graph edge. `@inventarch/language/editor` provides UTF-16 source projection/ranges, incomplete-input cursor context, schema-form source serialization and preservation-checked formatting. `draftSource` writes only declared fields and leaves admission to downstream owners. It preserves IA quote/backslash semantics and writes each value as 2.0.0 did (text quoted, other types as given), refusing a multiline value with a plain Error and, since milestone generation-binding, a value that would add a `when` condition or a comment, or that opens a string, prose or list it does not close, with SourceEditError; use the source editor for structured/multiline content. `encodeValue` is the strict typed spelling. `appendRecord`, `addRelationship`, `setField` and `annotateRecord` return a whole file again with one top-level record changed, spliced into the file as it is: other lines keep their bytes and line endings, a byte-order mark stays, and only the edited record is formatted; `relationshipConsent` judges one relationship row's two-sided consent; a refused edit throws `SourceEditError`. See the colocated editor clauses and tests.
54
+ A `Location` is `{ placement: { kind, band, reach }, provenance }`. Give it the band `BAND_OF[kind]`: graph's `load` refuses any other with a `TypeError`. Each `buildRegistry` source is `{ ast, diagnostics, location }`, such as `{ ...parse(text, path), location }`. The [graph quick start](../graph/README.md#-quick-start) compiles `KERNEL_SOURCES` this way.
55
+
56
+ The `./editor` subpath serves editors and authoring hosts:
57
+
58
+ | Export | What it does |
59
+ | --- | --- |
60
+ | `projectSource`, `cursorContext`, `lineRange`, `recordsIn`, `contains` | Zero-based UTF-16 ranges for tokens and references, and presentation-only cursor context |
61
+ | `appendRecord`, `addRelationship`, `setField`, `annotateRecord` | Return the whole file with exactly one top-level record changed; every other line keeps its bytes and line ending |
62
+ | `draftSource`, `encodeValue`, `draftValue`, `relationshipConsent` | Spell a schema-backed draft or one field value, and judge one relationship row's two-sided consent |
63
+ | `SourceEditError` | Thrown by a refused edit, with a closed `reason` such as `parse`, `identity` or `field` |
64
+
65
+ `@inventarch/runtime/editor` re-exports the source-edit functions for hosts that do not import this package. The `./internal/*` subpaths are published for IA's own toolchain; use the root and `./editor` entry points.
66
+
67
+ ## ⚖️ What it does not do
68
+
69
+ - **No I/O.** It reads no files, clock, randomness, network or model, has no runtime dependencies and loads no vocabulary on its own. You supply the text, paths, registries, locations and candidate records.
70
+ - **Parsing is not admission.** A file that parses can still fail registration or compilation, and a file with any error is not loadable even when `compile` returns preview records. Resolving references across files needs the whole selected corpus, not one file.
71
+ - **Diagnostics, not verdicts.** Applying schemas to ordinary records, checking that a fragment's cell or requirement exists and evaluating contracts belong to [`@inventarch/compliance`](../compliance/README.md). Choosing the winning occurrence of an identity across bands belongs to [`@inventarch/graph`](../graph/README.md).
72
+ - **Edits return text.** `format` and the editor functions never write a file, and an edit adds no diagnostic of its own: compile the result to judge it.
73
+
74
+ ## 📚 Learn more
75
+
76
+ - [SPEC.md](SPEC.md): the package contract, including the semantic, formatting, kernel and editor clauses
77
+ - [LANGUAGE.md](LANGUAGE.md): the packaged summary of the words this release ships
78
+ - [Language guide](../../docs/reference/language/README.md) and [architecture reference](../../docs/reference/architecture/README.md#which-package-to-use)
79
+ - Next in the dependency direction: [`@inventarch/graph`](../graph/README.md), [`@inventarch/compliance`](../compliance/README.md) and [`@inventarch/db`](../db/README.md)
80
+ - [Root README](../../README.md)
package/SPEC.md CHANGED
@@ -1,16 +1,14 @@
1
1
  # Language package specification
2
2
 
3
- `tests/edit-source.test.ts` pins E04's sibling-byte preservation for set-field, relationship, append and annotation edits on mixed LF/CRLF files. The cases exercise either initial ending, a BOM, noncanonical spacing and a final record with or without a terminating newline; byte comparisons do not normalize the untouched text.
3
+ **Owner:** `@inventarch/language`. **Current status:** syntax, registration, structured and semantic compilation, native kernel generation, loss-checked formatting and the editor surface are implemented. Sections 1–9 keep the original baseline contract; their statements of missing behavior are historical. Sections 10–13 supersede those limits and define the delivered semantic, format, kernel and editor contracts. Downstream graph, compliance, database, runtime and local executable consumers have also shipped. Editor hosts and development harnesses have their own contracts and qualification; their existence does not change language ownership.
4
4
 
5
- **Owner:** `@inventarch/language`. **Current status:** Plans 1–4 are implemented: syntax, registration, structured and semantic compilation, native kernel generation and loss-checked formatting. Sections 1–9 retain the Plans 1–2 baseline at `69c75b7`; their statements of missing behavior are historical. Sections 10–12 supersede those limits and define the delivered semantic/format/kernel contracts. Downstream graph, compliance, database, runtime and local executable consumers have also shipped; current readiness and the audit map their evidence. Editor and development harness implementations have their own contracts and qualification; their existence does not change language ownership.
6
-
7
- The shared language design defines the language and its numbered implementation refinements. The systems design defines package dependencies and consumer responsibilities. This file distinguishes delivered package behavior from those future obligations; it does not turn an implementation gap into permission to ignore a language rule.
5
+ This file distinguishes delivered package behavior from future obligations; it does not turn an implementation gap into permission to ignore a language rule.
8
6
 
9
7
  ## 1. Responsibility and dependencies
10
8
 
11
- L01. The package owns the shared scanner, parser, vocabulary/schema declarations, identity and compilation. Public entrypoints are exported by [src/index.ts](src/index.ts). It has no runtime dependency on another workspace package, no filesystem access, clock, randomness, model client or implicit corpus. Callers supply text, paths, registries, locations and candidate records.
9
+ L01. The package owns the shared scanner, parser, vocabulary/schema declarations, identity and compilation. Public entry points are the root, exported by [src/index.ts](src/index.ts), and `./editor`, exported by [src/editor/index.ts](src/editor/index.ts) (section 13). It has no runtime dependency on another workspace package, no filesystem access, clock, randomness, model client or implicit corpus. Callers supply text, paths, registries, locations and candidate records.
12
10
 
13
- L02. The floor has exactly two reserved record discriminators: `system` and `schema`. Other words require a successful registration. The embedded taxonomy supplies seven kinds, fifteen categories, four phases, six primitives, five moves, eighteen active predicates with inverses, severity/provenance, placements, value types and cardinalities. Nine routing-axis names exist; lane/shape/artifact-set values and present-tense verb phrases are a Plan 3 addition.
11
+ L02. The floor has exactly two reserved record discriminators: `system` and `schema`. Other words require a successful registration. The embedded taxonomy supplies seven kinds, fifteen categories, four phases, six primitives, five moves, eighteen active predicates with inverses, severity/provenance, placements, value types and cardinalities. Nine routing-axis names exist; lane/shape/artifact-set values and present-tense verb phrases are a later addition (section 10).
14
12
 
15
13
  L03. This package emits diagnostics, not compliance verdicts. Registry validation of a schema declaration is implemented; applying that schema to each ordinary instance is a compliance consumer obligation.
16
14
 
@@ -21,12 +19,12 @@ L03. This package emits diagnostics, not compliance verdicts. Registry validatio
21
19
  | `scan(text, path)` | One stream with source positions, trivia and scanner diagnostics | [scanner](src/scanner/index.ts), [scanner tests](tests/scanner/scan.test.ts) |
22
20
  | `parse(text, path)` | `{ ast, diagnostics }`; AST includes records, typed fields/items, nesting and trivia | [parser](src/parser/index.ts), [record tests](tests/parser/records.test.ts) |
23
21
  | `buildRegistry(sources)` | Each source supplies AST, parser diagnostics and location; returns resolved registry and stage diagnostics | [registry](src/registry/index.ts), [join tests](tests/registry/index.test.ts) |
24
- | `compile(ast, registry, location, pool)` | Returns lowered records, compile diagnostics and source maps; baseline ignores pool | [compiler](src/compile/compile.ts), [compile tests](tests/compile/compile.test.ts) |
22
+ | `compile(ast, registry, location, pool)` | Returns lowered records, compile diagnostics and source maps. The baseline ignored pool; `pool` now holds other files' admitted records and resolves targets (S01) | [compiler](src/compile/compile.ts), [compile tests](tests/compile/compile.test.ts) |
25
23
  | Identity/path/taxonomy helpers | Explicit pure helpers and types; no location discovery | [identity tests](tests/identity.test.ts), [paths tests](tests/paths.test.ts), [taxonomy tests](tests/taxonomy.test.ts) |
26
24
 
27
25
  L04. A location supplies placement kind, authority band, reach and provenance. Bands are the closed set 100, 90, 50, 10 and 0. The package does not discover a filesystem location or decide graph reach/authority winners between compiled records.
28
26
 
29
- L05. The package exposes ESM runtime output and emitted TypeScript declarations. The `development` condition selects source; the ordinary package entry selects `dist/index.js`. [Smoke tests](tests/smoke.test.ts) pin public exports. Typechecking includes source and test projects.
27
+ L05. The package exposes ESM runtime output and emitted TypeScript declarations. In this repository the `development` condition selects source; the ordinary package entry selects `dist/index.js`. The published package exposes only `dist`: its exports carry no `development` condition. [Smoke tests](tests/smoke.test.ts) pin public exports. Typechecking includes source and test projects.
30
28
 
31
29
  ## 3. Surface and AST
32
30
 
@@ -38,11 +36,11 @@ L08. Values are scalar, string, prose, ref, list, block or none. A scalar joins
38
36
 
39
37
  L09. The key rule is structural. Words preceding a quoted/list/ref value form its key; an all-words field uses the first word as key and the rest as scalar, with the `key is value` form recorded as assertive. `FieldNode.words` preserves the word run for later multi-word spelling resolution. Structural words inside quoted content never change record identity.
40
38
 
41
- L10. References retain discriminator, name and optional fragment. Baseline parsing admits a single alphanumeric/hyphen fragment segment. Cell addresses containing `phase/Primitive` are specified centrally but not admitted yet; Plan 3 must repair that gap without making the parser validate fragment existence.
39
+ L10. References retain discriminator, name and optional fragment. Baseline parsing admits a single alphanumeric/hyphen fragment segment. Cell addresses containing `phase/Primitive` are specified centrally but not admitted yet; The semantic contract repairs that gap (S02) without making the parser validate fragment existence.
42
40
 
43
41
  L11. Inline `when` is retained as a word array, including quote markers where needed. The parser judges its lexical form only. Empty/list/prose inline conditions are parser errors. A standalone child `when` is an ordinary field in `children`; it is not stored in the parent's inline `when` slot.
44
42
 
45
- L12. Parser-refused values can retain a field/item with a partial value or none for tools. Dropped lines/blocks do not create AST nodes. At this baseline the AST has no complete syntax-refusal provenance channel for downstream semantics. Plan 3 must add that channel before interpreting partial condition carriers.
43
+ L12. Parser-refused values can retain a field/item with a partial value or none for tools. Dropped lines/blocks do not create AST nodes. At this baseline the AST has no complete syntax-refusal provenance channel for downstream semantics. The semantic contract adds that channel (S03) before interpreting partial condition carriers.
46
44
 
47
45
  L13. Every AST span is an inclusive 1-based line range. Tokens include 1-based UTF-16 columns. Comments and blank lines are trivia with source positions and attachment to a top-level record index or file. A trailing comment on an accepted single-line value is distinguished from comments on multi-line values. Filtering records does not preserve those positional trivia indexes automatically.
48
46
 
@@ -66,7 +64,7 @@ Evidence: [system extraction](tests/registry/extract.test.ts), [field readers](t
66
64
 
67
65
  L19. A schema declares one closed lowered kind; section obligations terminate with exactly one open/closed marker; field obligations declare a section/key path, admitted type and optional description; edge obligations declare a verb, kind-or-discriminator target and cardinality. The verb may be any admitted relationship spelling, active (`govern`), inverse (`governed-by`) or present (`governs`, `grants access to`): the rule carries the active predicate, its direction relative to the record (`out` for the active and present spellings, `in` for the inverse) and the spelling as authored, so `may governed-by law one` obliges the edges whose active target is the record. Relationship fields are forbidden because edge obligations have their own dialect.
68
66
 
69
- L19a. A field type MAY carry one narrowing after it (W0, 2026-09-25): `id in [a, b]` and `list of id in [...]` declare a closed set of distinct bare ids (the row's value is the set, so it carries no description); `ref to <word>` and `list of ref to <word>` name the discriminator every reference must carry, without resolving it; `text form <form>` and `list of text form <form>` name a member of the closed text-form table `TEXT_FORMS`, whose only member is `iso-date`. A narrowing on another type, a second narrowing, an unknown form, an empty or duplicated set, and a non-id set member are `IA-LANG-SCHEMA-MALFORMED`; words after a set are parser-owned trailing values. The narrowing is stored beside the type as `values`, `target` or `form` on the field, and `fieldTypeText` spells it back. Checking a value against a narrowing is a compliance obligation (`IA-COMP-FIELD-VALUE`, `-FIELD-REF-TARGET`, `-FIELD-REF-MISSING`, `-FIELD-FORM`). Adding a text form changes the table and the compliance predicate, never the kernel.
67
+ L19a. A field type MAY carry one narrowing after it (2026-09-25): `id in [a, b]` and `list of id in [...]` declare a closed set of distinct bare ids (the row's value is the set, so it carries no description); `ref to <word>` and `list of ref to <word>` name the discriminator every reference must carry, without resolving it; `text form <form>` and `list of text form <form>` name a member of the closed text-form table `TEXT_FORMS`, whose only member is `iso-date`. A narrowing on another type, a second narrowing, an unknown form, an empty or duplicated set, and a non-id set member are `IA-LANG-SCHEMA-MALFORMED`; words after a set are parser-owned trailing values. The narrowing is stored beside the type as `values`, `target` or `form` on the field, and `fieldTypeText` spells it back. Checking a value against a narrowing is a compliance obligation (`IA-COMP-FIELD-VALUE`, `-FIELD-REF-TARGET`, `-FIELD-REF-MISSING`, `-FIELD-FORM`). Adding a text form changes the table and the compliance predicate, never the kernel.
70
68
 
71
69
  L20. A broken schema is refused whole. Duplicate declared sections, field paths or predicate/direction/target triples (a schema may state both `may govern law optional` and `may governed-by law optional`); malformed dialect rows; conditions; legacy prose dialect; wrong kinds/predicates; and unsupported row children are diagnosed by their own rules. Nested declarations own their faults separately.
72
70
 
@@ -106,7 +104,7 @@ L33. The caller combines registry diagnostics and compile diagnostics once; regi
106
104
 
107
105
  Evidence: [diagnostics](tests/diagnostics.test.ts), [fixture harness](tests/fixtures.test.ts), stage-specific tests. Exported LANG_CODES includes reserved future semantic codes; inclusion in that constant does not establish an implemented diagnostic branch.
108
106
 
109
- ## 8. Historical Plans 1–2 consumer mapping
107
+ ## 8. Historical baseline consumer mapping
110
108
 
111
109
  | Product | Current consumer | Delivered evidence | Pending consumer |
112
110
  | --- | --- | --- | --- |
@@ -122,11 +120,11 @@ Not implemented at this baseline: lane/shape/artifact-set value sets, full verb
122
120
 
123
121
  Run from this package: `pnpm test`, `pnpm typecheck`, `pnpm build`. Baseline review on 2026-09-17 reran 512 tests in 23 files, source/test typechecking and the build successfully.
124
122
 
125
- Behavior changes must update this colocated spec, the owning shared clause when relevant, the linked implementation task and meaningful tests. Plans 1–2 retain their historical canonical code blocks; later task changes supersede those bytes. The continuation plan records stage scope and evidence. Plan 3 adds semantic behavior in numbered clauses without erasing this baseline's historical limits.
123
+ Behavior changes must update this colocated spec, the owning shared clause when relevant, and meaningful tests. Section 10 adds semantic behavior in numbered clauses without erasing this baseline's historical limits.
126
124
 
127
- ## 10. Plan 3 semantic contract
125
+ ## 10. Semantic contract
128
126
 
129
- **Status:** semantic implementation delivered under the operator's continuation mandate; the baseline clauses above remain historical. Task evidence below records the additions and their verification.
127
+ **Status:** semantic implementation delivered; the baseline clauses above remain historical. The delivery evidence below records the additions and their verification.
130
128
 
131
129
  S01. Language owns pure target resolution; graph delegates to it and owns candidate admission by location/reach/authority. Compilation preserves its four arguments. The pool contains externally compiled, admitted occurrences and excludes this source path; a same-path occurrence or a candidate with no matching registration/identity is a caller error (`TypeError`), not a source diagnostic. Local identities surviving syntax/identity refusal are discovered before relationships resolve. Sigil names are lowercased for matching; discriminator spelling is literal. Qualified targets use the exact canonical four-slot identity spelling.
132
130
 
@@ -156,27 +154,27 @@ S12. Compiled cells/selectors/variants/requirements become typed products. Sourc
156
154
 
157
155
  Integration ownership: a schema with registry-owned conditions produces no semantic products, preventing those forbidden conditions from being judged again or becoming unconditional behavior. Its raw structured preview and independently nested declarations remain available; registry diagnostics still prevent publication. Local identity/parent refusal precedes semantic products and target matching. Local requirement duplicates are removed from every participating record and its parallel map; the external pool is never mutated.
158
156
 
159
- ### Plan 3 delivery evidence
157
+ ### Semantic delivery evidence
160
158
 
161
- Task 0: scope reconciled against Plans 1–2, central dependency rules and the operator's delegated implementation mandate. S01–S12 specify the engineering decisions before source changes. Tasks 1–10 remain to implement and verify them.
159
+ These delivery paragraphs are historical and chronological: their test counts and their statements of remaining work describe their own checkpoint only. Scope: reconciled against the baseline and the central dependency rules. S01–S12 specify the engineering decisions before source changes; the deliveries below implement and verify them.
162
160
 
163
- Task 1 delivered: slash reference fragments in fields/lists/items; serializable syntax diagnostics; parser-tainted record/descendant refusal without duplicate reporting, including serialized nested ASTs; typed semantic products, retained generated-edge references and semantic source-map slots. Regression fixture expectations now include each ground edge's schema reference. Verified 529 tests in 25 files, typecheck and build. Semantic readers and pool resolution remain pending.
161
+ Fragments and syntax ownership delivered: slash reference fragments in fields/lists/items; serializable syntax diagnostics; parser-tainted record/descendant refusal without duplicate reporting, including serialized nested ASTs; typed semantic products, retained generated-edge references and semantic source-map slots. Regression fixture expectations now include each ground edge's schema reference. Verified 529 tests in 25 files, typecheck and build. Semantic readers and pool resolution were still pending.
164
162
 
165
- Task 2 delivered: exact lane/shape/artifact-set values, shared canonical value lookup and all 54 active/inverse/present verb spellings with direction. New table tests cover every spelling, unknown/partial/case variants, literal/prototype-safe axis lookup and the retained five moves. Verified 575 tests in 26 files, typecheck and build. No runtime donor dependency was added.
163
+ Value tables delivered: exact lane/shape/artifact-set values, shared canonical value lookup and all 54 active/inverse/present verb spellings with direction. New table tests cover every spelling, unknown/partial/case variants, literal/prototype-safe axis lookup and the retained five moves. Verified 575 tests in 26 files, typecheck and build. No runtime dependency on the predecessor implementation was added.
166
164
 
167
- Task 3 delivered: canonical terms and inline/direct-child conditions, independent selector groups, forbidden ordinary condition placement and explicit registry/nested-record ownership. Verified 646 tests in 29 files, typecheck and build. Reader integration and specialized carrier validation remain with their later tasks.
165
+ Conditions and selectors delivered: canonical terms and inline/direct-child conditions, independent selector groups, forbidden ordinary condition placement and explicit registry/nested-record ownership. Verified 646 tests in 29 files, typecheck and build. Reader integration and specialized carrier validation were left for later deliveries.
168
166
 
169
- Task 4 delivered: cognition cells with phase/primitive validation, primary and duplicate refusal boundaries, folded text, conditions and spans. Reviewed derived-error suppression with a failing regression before repair. Verified 683 tests/30 files, typecheck and build; compiler orchestration remains Task 9.
167
+ Cells delivered: cognition cells with phase/primitive validation, primary and duplicate refusal boundaries, folded text, conditions and spans. Reviewed derived-error suppression with a failing regression before repair. Verified 683 tests/30 files, typecheck and build; compiler orchestration was left for the compiler integration.
170
168
 
171
- Task 5 delivered: pure deterministic resolver and admitted-pool validation, preserving ambiguity and fragments without authority selection or fragment-existence checks. Verified 706 tests/31 files, typecheck and build. Compiler and graph consumers remain assigned to their integration tasks.
169
+ Resolver delivered: pure deterministic resolver and admitted-pool validation, preserving ambiguity and fragments without authority selection or fragment-existence checks. Verified 706 tests/31 files, typecheck and build. Compiler and graph consumers were left for their integrations.
172
170
 
173
- Task 6 delivered: typed relationship targets and conditions, warning retention, cardinality refusal, active-direction two-sided consent, generated-ground equivalence, and refused-binding intent for dependent validation. All 778 tests/32 files, typecheck/build pass. No graph resolution or execution is claimed.
171
+ Relationships delivered: typed relationship targets and conditions, warning retention, cardinality refusal, active-direction two-sided consent, generated-ground equivalence, and refused-binding intent for dependent validation. All 778 tests/32 files, typecheck/build pass. No graph resolution or execution is claimed.
174
172
 
175
- Task 7 delivered: governance variant families using schema-spelled keys and compiled values, normalized duplicate refusal, severity exclusion and no fallback from malformed conditions. Verified 793 tests/33 files, typecheck/build; coordinate overlap evaluation remains compliance-owned.
173
+ Governance variants delivered: governance variant families using schema-spelled keys and compiled values, normalized duplicate refusal, severity exclusion and no fallback from malformed conditions. Verified 793 tests/33 files, typecheck/build; coordinate overlap evaluation remains compliance-owned.
176
174
 
177
- Task 8 delivered: eight requirement clause kinds, whole-tree duplicate helper without a band exception, contract binding/retirement checks and case scenario/binding validation. Registry/dialect owners suppress derived and duplicate errors. Verified 882 tests/36 files, typecheck/build. Integration/local aggregation is Task 9; tree loading and compliance execution remain later components.
175
+ Contracts and cases delivered: eight requirement clause kinds, whole-tree duplicate helper without a band exception, contract binding/retirement checks and case scenario/binding validation. Registry/dialect owners suppress derived and duplicate errors. Verified 882 tests/36 files, typecheck/build. Integration/local aggregation followed with the compiler integration; tree loading and compliance execution were later components.
178
176
 
179
- Task 9 delivered: the public compiler now produces every semantic array and parallel source map, resolves local/external references independently of source order, validates the external pool, filters local duplicate requirements and preserves diagnostic ownership. A complete case-contract-playbook chain compiles without errors. Verified 899 tests/37 files, typecheck/build. Task 10 still owns conformance/public-surface closure and downstream handoff.
177
+ Compiler integration delivered: the public compiler now produces every semantic array and parallel source map, resolves local/external references independently of source order, validates the external pool, filters local duplicate requirements and preserves diagnostic ownership. A complete case-contract-playbook chain compiles without errors. Verified 899 tests/37 files, typecheck/build. Conformance/public-surface closure and downstream handoff follow in section 11.
180
178
 
181
179
  Conformance inputs: seven semantic fixture clauses run registry and compile. An optional `.pool.json` companion contains external `{ path, source, location }` sources, compiled under the same registry before the main file. Its purpose is realistic cross-file target ambiguity; language source syntax is unchanged. Diagnostic code/line fixtures are complemented by direct severity, refusal-unit, source-map and multiplicity tests. Public resolver, requirement occurrence and closed-vocabulary helpers supply the next graph/compliance consumers; private carrier readers remain internal.
182
180
 
@@ -193,16 +191,16 @@ Conformance inputs: seven semantic fixture clauses run registry and compile. An
193
191
  | S08 open keys, severity metadata and normalized duplicates | semantic/variants and compiler integration | variants |
194
192
  | S09 clauses, tree duplicates and structural bindings | semantic/contracts, requirements, cases and a complete compiled chain | contracts, cases |
195
193
  | S10 scenario fields/kinds, verdict refusal and deferred execution | semantic/cases and compiler integration | cases |
196
- | S11 diagnostic codes, admitted-value messages and multiplicity | diagnostics inventory and explicit carrier/integration assertions | Every emitted code has a fail fixture; FORMAT-LOSSY remains reserved for Plan 4 |
194
+ | S11 diagnostic codes, admitted-value messages and multiplicity | diagnostics inventory and explicit carrier/integration assertions | Every emitted code has a fail fixture; FORMAT-LOSSY, reserved at this checkpoint, is the formatter's (section 12) |
197
195
  | S12 structured previews and parallel surviving-product maps | compile integration and public type tests | All seven semantic pass clauses |
198
196
 
199
- At the Plan 3 checkpoint, the package README mapped each product to an authored example and its then-future consumer. Those consumers have since shipped with their own tests; language tests alone do not establish their behavior. A registered 24-cell authoring playbook is compiled and resolved through the built package as a runtime API check, without claiming procedure execution.
197
+ At the semantic checkpoint, the package README mapped each product to an authored example and its then-future consumer. Those consumers have since shipped with their own tests; language tests alone do not establish their behavior. A registered 24-cell authoring playbook is compiled and resolved through the built package as a runtime API check, without claiming procedure execution.
200
198
 
201
- Task 10 delivered: 89 semantic fixtures and a checked optional external-source pool format; public resolver/tree/vocabulary APIs; diagnostic/source ownership audit repairs; consumer mapping and published SPEC.md. Final verification: 995 tests/38 files, workspace typecheck/build, emitted-declaration consumer and built-runtime consumer. Every emitted code has a fixture; FORMAT-LOSSY is reserved until Plan 4. Semantic compilation is complete, with kernel generation/migration, formatting and downstream consumers still assigned to later stages.
199
+ Conformance and public surface delivered: 89 semantic fixtures and a checked optional external-source pool format; public resolver/tree/vocabulary APIs; diagnostic/source ownership audit repairs; consumer mapping and published SPEC.md. Final verification: 995 tests/38 files, workspace typecheck/build, emitted-declaration consumer and built-runtime consumer. Every emitted code had a fixture; FORMAT-LOSSY was reserved until the formatter (section 12). Semantic compilation was complete; kernel generation/migration, formatting and downstream consumers came later (section 12 and the downstream packages).
202
200
 
203
- Plan 4 scope-review correction to Plan 3 section 8.4 acceptance: interface, protocol and shape are retired registration keywords and receive KEYWORD-RESERVED. They do not become floor registrations. Three extraction regressions and three fail fixtures cover the correction. Verified 1001 tests/38 files, typecheck and build before migration.
201
+ Scope-review correction to the semantic acceptance: interface, protocol and shape are retired registration keywords and receive KEYWORD-RESERVED. They do not become floor registrations. Three extraction regressions and three fail fixtures cover the correction. Verified 1001 tests/38 files, typecheck and build before migration.
204
202
 
205
- ## 12. Plan 4 contract (delivery evidence below)
203
+ ## 12. Kernel and format contract (delivery evidence below)
206
204
 
207
205
  P01. The native kernel under .ia/src/floor is the source of the generated closed-set data and digest. Build tooling uses the real parser, registry, compiler and compliance schema checker, validates every record plus closed memberships/routing references, and emits no bytes on refusal. The language runtime remains pure with no package dependency. Checked-in generated data bootstraps the validator; reproducibility/drift checks compare a fresh validated rendering against it. Colocated build-tool specification owns filesystem behavior.
208
206
 
@@ -212,18 +210,20 @@ P03. Formatter coverage includes every existing conformance source, strings/pros
212
210
 
213
211
  Formatter refinement before implementation: the preservation gate also compares logical-line depth/boundaries, so indentation cannot change record ownership while preserving lexical token values. Comment inventories include exact physical line and text; blank-line positions remain unchanged. The format conformance clause alone admits .formatted.txt (expected success output) and .candidate.txt (a deliberately changed candidate supplied to the public write guard); these files are not IA input extensions.
214
212
 
215
- Plan 4 Task 2 delivered: 118 native floor records validate through language and compliance before deterministic embed generation. Closed constants and all 54 verb spellings now consume generated data; shape defaults, kind lanes, primitive anchors, dimension paths and digest are public. Root build checks output drift. Evidence: 1001 language tests, 62 compliance tests and 21 build-tool mutation/reproducibility tests, workspace and tool typecheck/build. Migration ran through the shared parser from seven hashed donor inputs; normal build has no donor dependency. Formatter and native five-system corpus remain pending.
213
+ Kernel generation delivered: 118 native floor records validate through language and compliance before deterministic embed generation. Closed constants and all 54 verb spellings now consume generated data; shape defaults, kind lanes, primitive anchors, dimension paths and digest are public. Root build checks output drift. Evidence: 1001 language tests, 62 compliance tests and 21 build-tool mutation/reproducibility tests, workspace and tool typecheck/build. Migration ran through the shared parser from seven hashed predecessor inputs; the normal build needs none of them. The formatter and the native five-system corpus were still pending at this checkpoint.
216
214
 
217
- Plan 4 Task 4 delivered: pure scanner-driven format and preservation APIs, raw multiline/trivia retention, structural-depth guard and format conformance companions. Every conformance/native IA source is exercised for refusal or successful idempotence with unchanged parsed meaning. Verified 1241 language tests/39 files, 62 compliance tests and 40 tool tests, typecheck and build. Every emitted language code now has a fail fixture.
215
+ Formatter delivered: pure scanner-driven format and preservation APIs, raw multiline/trivia retention, structural-depth guard and format conformance companions. Every conformance/native IA source is exercised for refusal or successful idempotence with unchanged parsed meaning. Verified 1241 language tests/39 files, 62 compliance tests and 40 tool tests, typecheck and build. Every emitted language code now has a fail fixture.
218
216
 
219
- P04 (database bootstrap integration). Expose KERNEL_SOURCES, generated from the same validated native floor as KERNEL_DIGEST. Each path/text source and its array are frozen. This is an explicit data export for consumers needing floor records; parse/buildRegistry/compile still require explicit inputs and perform no filesystem access or implicit vocabulary loading. tools/kernel/SPEC.md K07 and the database plan Task1 own generation and consumption.
217
+ P04 (database bootstrap integration). Expose KERNEL_SOURCES, generated from the same validated native floor as KERNEL_DIGEST. Each path/text source and its array are frozen. This is an explicit data export for consumers needing floor records; parse/buildRegistry/compile still require explicit inputs and perform no filesystem access or implicit vocabulary loading. The kernel tooling (tools/kernel) and the database package own generation and consumption.
220
218
 
221
219
  ## 13. Editor projections
222
220
 
223
221
  E01. Public `references(ast)` enumerates typed values, including head/list uses and qualified relationship targets, with enclosing record and authored span. It never interprets ordinary prose as references or turns typed uses into graph edges. The shared relationship target reader supplies qualified forms.
224
222
 
225
- E02. Public `/editor` projects the existing scanner and AST to zero-based UTF-16 positions, retaining BOM, CRLF and continuation indentation. Reference ranges distinguish multiple uses on one physical line. Cursor recovery is presentation-only and never changes parse/admission results. Unsupported versions yield no semantic suggestions. Comments, strings and prose suppress structural completion.
223
+ E02. Public `./editor` exports `projectSource(source, path)`, `cursorContext(source, path, at, projection?)`, `lineRange(source, span)`, `recordsIn(ast)` and `contains(range, at)`. They project the existing scanner and AST to zero-based UTF-16 positions, retaining BOM, CRLF and continuation indentation. Reference ranges distinguish multiple uses on one physical line. Cursor recovery is presentation-only and never changes parse/admission results. Unsupported versions yield no semantic suggestions. Comments, strings and prose suppress structural completion.
226
224
 
227
225
  E03. Editor formatting uses `format` and its preservation guard. Schema-guided new drafts serialize only supported typed values; unmodeled structures remain source-editable. No second lexer or parser is introduced in a host.
228
226
 
229
- E04. Schema-aware source edits (2026-10-11, milestone generation-binding plan amendment C18): `/editor` publishes `appendRecord(text, draft)`, `addRelationship(text, identity, spelling, target)` and `setField(text, identity, path, value, schema, append?)`, each returning the whole file again with exactly one top-level record (`@word name`) changed, and `annotateRecord(text, identity, comment)`, which puts one comment line above a record. The edit is spliced into the file as it is: every other line keeps its bytes, its line ending, comments and spacing included, a byte-order mark stays, and only the edited record is formatted (`format`), in the file's line ending, so only that record's digest can move. The file must parse; it need not be formatted. `encodeValue(field, text, item?)` spells one form value for a schema field: text is always quoted, and every other type must parse as exactly one value of it, by the predicates compliance applies (id and its `in` set, ref and its `to` word, qname, number, flag, list of one, and the iso-date form), with nothing after it; line breaks, C0 and C1 controls but the tab, DEL, the Unicode line and paragraph separators and the bidirectional controls are refused. That strict spelling is an opt-in (`setField` and the CLI's authoring verbs use it). `draftSource` keeps 2.0.0's spelling through `draftValue(field, text)`: text quoted, every other type written as given, refusing only a value that would add structure: a line break (a plain `Error`, as 2.0.0 threw), and, with `SourceEditError`, a `when` condition, a comment, or a string, prose or list the value opens and does not close, which 2.0.0 wrote into the draft (a bug fix). `draftValue` called alone refuses a line break with `SourceEditError` too. A refused edit throws `SourceEditError` with a closed `reason` (parse, identity, nested, field, value, repeated, duplicate, spelling, target, structure) and changes nothing: an undeclared field, a value of another type, a field, section or record stated twice, a relationship row the section already holds word for word (a row that differs only in spelling is left to admission), a duplicate list item or record, a conditional or structured field, a comment inside a multi-line value being replaced, a nested record, and an unknown verb or a target that is neither a canonical identity nor `@word name` (either with an optional fragment). A trailing comment on a one-line field being replaced is kept. `relationshipConsent(registry, word, spelling, target, fragment?)` judges one relationship row as admission's two-sided consent rule does and names the refusing side and the system registering that side's word. No diagnostic code is added: the caller compiles the result and reports the refusal.
227
+ E04. Schema-aware source edits (2026-10-11): `/editor` publishes `appendRecord(text, draft)`, `addRelationship(text, identity, spelling, target)` and `setField(text, identity, path, value, schema, append?)`, each returning the whole file again with exactly one top-level record (`@word name`) changed, and `annotateRecord(text, identity, comment)`, which puts one comment line above a record. It replaces a comment directly above the record that starts with the same first word, so an attribution is replaced, not stacked. The edit is spliced into the file as it is: every other line keeps its bytes, its line ending, comments and spacing included, a byte-order mark stays, and only the edited record is formatted (`format`), in the file's line ending, so only that record's digest can move. The file must parse; it need not be formatted. `encodeValue(field, text, item?)` spells one form value for a schema field: text is always quoted, and every other type must parse as exactly one value of it, by the predicates compliance applies (id and its `in` set, ref and its `to` word, qname, number, flag, list of one, and the iso-date form), with nothing after it; line breaks, C0 and C1 controls but the tab, DEL, the Unicode line and paragraph separators and the bidirectional controls are refused. That strict spelling is an opt-in (`setField` and the CLI's authoring verbs use it). `draftSource` keeps 2.0.0's spelling through `draftValue(field, text)`: text quoted, every other type written as given, refusing only a value that would add structure: a line break (a plain `Error`, as 2.0.0 threw), and, with `SourceEditError`, a `when` condition, a comment, or a string, prose or list the value opens and does not close, which 2.0.0 wrote into the draft (a bug fix). `draftValue` called alone refuses a line break with `SourceEditError` too. A refused edit throws `SourceEditError` with a closed `reason` (parse, identity, nested, field, value, repeated, duplicate, spelling, target, structure) and changes nothing: an undeclared field, a value of another type, a field, section or record stated twice, a relationship row the section already holds word for word (a row that differs only in spelling is left to admission), a duplicate list item or record, a conditional or structured field, a comment inside a multi-line value being replaced, a nested record, and an unknown verb or a target that is neither a canonical identity nor `@word name` (either with an optional fragment). A trailing comment on a one-line field being replaced is kept. `relationshipConsent(registry, word, spelling, target, fragment?)` judges one relationship row as admission's two-sided consent rule does and names the refusing side and the system registering that side's word. No diagnostic code is added: the caller compiles the result and reports the refusal.
228
+
229
+ Evidence: `tests/edit-source.test.ts` pins E04's sibling-byte preservation for set-field, relationship, append and annotation edits on mixed LF/CRLF files. The cases exercise either initial ending, a BOM, noncanonical spacing and a final record with or without a terminating newline; byte comparisons do not normalize the untouched text.
@@ -4,13 +4,13 @@ import { consentFor } from '../registry/consent.js';
4
4
  import { verbOf } from '../semantic/vocabulary.js';
5
5
  import { encodeItem, encodeValue, refuse } from './values.js';
6
6
  /**
7
- * Schema-aware source edits (milestone generation-binding plan amendment C18). Each takes one whole `.ia` file's text and
8
- * returns the whole new text with exactly one top-level record changed: a record appended, one relationship row added,
9
- * one field set, or one comment put above it. The edit is spliced into the file as it is: every other line keeps its
10
- * bytes, line endings, comments and spacing included, and a byte-order mark stays. Only the edited record is formatted
11
- * (`format()`), and its lines take the file's line ending, so only its digest can change. The file must parse; it need
12
- * not be formatted. Admission is not judged here: the caller compiles the result (db's draft overlay) and reads its
13
- * findings. A refused edit throws SourceEditError and returns no text.
7
+ * Schema-aware source edits (language E04). Each takes one whole `.ia` file's text and returns the whole new text with
8
+ * exactly one top-level record changed: a record appended, one relationship row added, one field set, or one comment
9
+ * put above it. The edit is spliced into the file as it is: every other line keeps its bytes, line endings, comments
10
+ * and spacing included, and a byte-order mark stays. Only the edited record is formatted (`format()`), and its lines
11
+ * take the file's line ending, so only its digest can change. The file must parse; it need not be formatted.
12
+ * Admission is not judged here: the caller compiles the result (db's draft overlay) and reads its findings. A refused
13
+ * edit throws SourceEditError and returns no text.
14
14
  */
15
15
  const PATH = 'edit.ia';
16
16
  const BOM = '\uFEFF';
@@ -121,8 +121,8 @@ export function appendRecord(text, draft) {
121
121
  if ([...raw.ast.records, ...raw.ast.records.flatMap(nestedIn)].some((existing) => existing.discriminator === record.discriminator && existing.name.toLowerCase() === record.name.toLowerCase()))
122
122
  refuse('duplicate', `This file already declares @${record.discriminator} ${record.name}`);
123
123
  const end = raw.texts.length - 1;
124
- // The file keeps its bytes, the last line its own ending (review C-RC3), gaining the file's only if it had none; one
125
- // blank line separates the record, and only the new lines take the file's ending.
124
+ // The file keeps its bytes, the last line its own ending, gaining the file's only if it had none; one blank line
125
+ // separates the record, and only the new lines take the file's ending.
126
126
  const blank = raw.texts[end].trim() === '' ? [] : [''];
127
127
  return `${text}${raw.endings[end] === '' ? raw.eol : ''}${[...blank, ...body].map((line) => `${line}${raw.eol}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,CAAC,IAAI,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;KACpG,CAAC,CAAC;AACL,CAAC"}
@@ -129,7 +129,7 @@ export function draftValue(field, text) {
129
129
  if (field.type === 'text')
130
130
  return quotedText(text);
131
131
  const parsed = parse(PROBE(text), 'value.ia');
132
- // Review C-RC2: an opener left open would join the rows after it (another value's closer, a comment) into this one.
132
+ // An opener left open would join the rows after it (another value's closer, a comment) into this one.
133
133
  if (parsed.diagnostics.some((diagnostic) => OPEN.includes(diagnostic.code)))
134
134
  refuse('value', `${path(field)} would open a string, prose or list it does not close: ${JSON.stringify(text)}`);
135
135
  if (parsed.ast.records[0]?.head.some((row) => row.when !== undefined))
@@ -1 +1 @@
1
- {"version":3,"file":"values.js","sourceRoot":"","sources":["../../src/editor/values.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAgChF,+GAA+G;AAC/G,MAAM,OAAO,eAAgB,SAAQ,KAAK;IAE7B;IADX,YACW,MAAwB,EACjC,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;QAHN,WAAM,GAAN,MAAM,CAAkB;QAIjC,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;IAChC,CAAC;CACF;AACD,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,MAAwB,EAAE,OAAe,EAAS,EAAE;IACzE,MAAM,IAAI,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC7C,CAAC,CAAC;AAEF,oHAAoH;AACpH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAa,EAAU,EAAE,CAAC,I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,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;IAC9C,sGAAsG;IACtG,IAAI,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACzE,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,0DAA0D,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAClH,IAAI,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC;QACnE,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,4BAA4B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpF,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,CAAC;QAC/D,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,2BAA2B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACnF,OAAO,IAAI,CAAC;AACd,CAAC;AACD,yHAAyH;AACzH,MAAM,UAAU,UAAU,CAAC,KAAiB,EAAE,IAAc;IAC1D,OAAO,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AAC7B,CAAC"}
@@ -79,11 +79,11 @@ export interface SchemaField {
79
79
  readonly type: FieldType;
80
80
  readonly must: boolean;
81
81
  readonly description?: string;
82
- /** `as id in [a, b]`: the closed set every value, or every list item, must belong to (W0-L1). Only an `id` type carries it. */
82
+ /** `as id in [a, b]`: the closed set every value, or every list item, must belong to (L19a). Only an `id` type carries it. */
83
83
  readonly values?: readonly string[];
84
- /** `as ref to <word>`: the discriminator every reference must carry (W0-L2). Only a `ref` type carries it; the target's existence is a compliance concern. */
84
+ /** `as ref to <word>`: the discriminator every reference must carry (L19a). Only a `ref` type carries it; the target's existence is a compliance concern. */
85
85
  readonly target?: string;
86
- /** `as text form <form>`: the closed text form every value must match (W0-L5). Only a `text` type carries it. */
86
+ /** `as text form <form>`: the closed text form every value must match (L19a). Only a `text` type carries it. */
87
87
  readonly form?: TextForm;
88
88
  readonly span: Span;
89
89
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/registry/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EACV,WAAW,EACX,IAAI,EACJ,WAAW,EACX,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,SAAS,EACT,SAAS,EACT,UAAU,EACV,QAAQ,EACT,MAAM,gBAAgB,CAAC;AAExB,sIAAsI;AACtI,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,mHAAmH;AACnH,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACjC;AAED,sDAAsD;AACtD,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;IACvB,uGAAuG;IACvG,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,CAAC;IAC5C,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;C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AAI,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;IAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;CACrB;AAED,0KAA0K;AAC1K,MAAM,WAAW,cAAc;IAC7B,6GAA6G;IAC7G,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IACzD,gGAAgG;IAChG,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,wEAAwE;IACxE,QAAQ,CAAC,aAAa,EAAE,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC1D,sFAAsF;IACtF,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,4CAA4C;IAC5C,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IACzD,sCAAsC;IACtC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,UAAU,EAAE,CAAC,CAAC;CAC9D"}
@@ -186,7 +186,7 @@ export function logicalLines(source, path) {
186
186
  span = { kind: 'prose', line: lineNo, depth, parts: [content], dropped: false };
187
187
  continue;
188
188
  }
189
- // A line that ends inside a string never opens a list; Task 4's tokenizer refuses the string.
189
+ // A line that ends inside a string never opens a list; the tokenizer refuses the string.
190
190
  if (!w.endsInString && w.bracketDelta > 0) {
191
191
  if (trailingComment !== undefined)
192
192
  trivia.push({ kind: 'comment', line: lineNo, text: trailingComment });
@@ -1 +1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AAI,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;YACrG,SAAS;QACX,CAAC;QAED,KAAK,CAAC,IAAI,CAAC;YACT,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,MAAM;YACf,KAAK;YACL,IAAI;YACJ,GAAG,CAAC,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC;SAC9D,CAAC,CAAC;IACL,CAAC;IAED,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;QACnC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,2BAA2B,CAAC;QAChG,WAAW,CAAC,IAAI,CACd,IAAI,CACF,IAAI,EACJ,IAAI,EACJ,IAAI,CAAC,IAAI,EACT,GAAG,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,uBAAuB,EAAE,CAC9G,CACF,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;AACvF,CAAC"}
@@ -25,7 +25,7 @@ export type Cardinality = (typeof CARDINALITIES)[number];
25
25
  /** A schema field type: a value type, or `list of` one. */
26
26
  export type FieldType = ValueType | `list of ${ValueType}`;
27
27
  /**
28
- * The closed table of text forms a schema may require with `as text form <form>` (W0-L5). Language-owned, not a
28
+ * The closed table of text forms a schema may require with `as text form <form>` (L19a). Language-owned, not a
29
29
  * kernel value type: adding a form changes this table and the compliance predicate for it, never the kernel.
30
30
  */
31
31
  export declare const TEXT_FORMS: readonly ["iso-date"];
@@ -50,7 +50,7 @@ export declare const isId: (x: string) => boolean;
50
50
  export declare const isNumberText: (x: string) => boolean;
51
51
  /** The `qname` value rule (compliance C05): `system/kind/facet/name`, each a lowercase word, the kind a kernel kind. */
52
52
  export declare function isQualifiedName(x: string): boolean;
53
- /** The `iso-date` text form (W0-L5): `YYYY-MM-DD` and a real calendar date. */
53
+ /** The `iso-date` text form (L19a): `YYYY-MM-DD` and a real calendar date. */
54
54
  export declare function isIsoDate(text: string): boolean;
55
55
  export declare function isBand(x: number): x is Band;
56
56
  /** The field type spelled by a run of words: `text`, or `list of text`. */
@@ -1 +1 @@
1
- {"version":3,"file":"taxonomy.d.ts","sourceRoot":"","sources":["../src/taxonomy.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EACL,UAAU,EACV,eAAe,EACf,MAAM,EACN,UAAU,EACV,KAAK,EACL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,aAAa,EACb,UAAU,EACV,WAAW,EACX,KAAK,EACL,eAAe,EACf,WAAW,EACX,aAAa,EACd,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,KAAK,EACL,UAAU,EACV,eAAe,EACf,MAAM,EACN,UAAU,EACV,KAAK,EACL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,aAAa,EACb,UAAU,EACV,WAAW,EACX,KAAK,EACL,eAAe,EACf,WAAW,EACX,aAAa,EACb,OAAO,EACP,eAAe,EACf,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,UAAU,EACV,aAAa,GACd,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1C,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,gHAAgH;AAChH,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAA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IAAI,QAA6B,CAAC;AAC3E,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,CAAC,IAAI,UAAgC,CAAC;AAChF,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,CAAC,IAAI,aAAuC,CAAC;AAC1F,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,CAAC,IAAI,SAA+B,CAAC;AAC9E,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,CAAC,IAAI,WAAmC,CAAC;AACpF,eAAO,MAAM,UAAU,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,CAAC,IAAI,QAA6B,CAAC;AAC3E,8FAA8F;AAC9F,eAAO,MAAM,IAAI,GAAI,GAAG,MAAM,KAAG,OAA4C,CAAC;AAC9E,oHAAoH;AACpH,eAAO,MAAM,YAAY,GAAI,GAAG,MAAM,KAAG,OACgD,CAAC;AAC1F,wHAAwH;AACxH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAGlD;AACD,8EAA8E;AAC9E,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAS/C;AACD,wBAAgB,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,IAAI,IAAI,CAE3C;AAED,2EAA2E;AAC3E,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GAAG,SAAS,CAO3E"}
package/dist/taxonomy.js CHANGED
@@ -4,7 +4,7 @@ export { KINDS, CATEGORIES, PREDICATE_PAIRS, PHASES, PRIMITIVES, MOVES, AXES, LA
4
4
  export const PREDICATES = PREDICATE_PAIRS.map((pair) => pair[0]);
5
5
  export const INVERSE_OF = new Map(PREDICATE_PAIRS.map((pair) => [pair[0], pair[1]]));
6
6
  /**
7
- * The closed table of text forms a schema may require with `as text form <form>` (W0-L5). Language-owned, not a
7
+ * The closed table of text forms a schema may require with `as text form <form>` (L19a). Language-owned, not a
8
8
  * kernel value type: adding a form changes this table and the compliance predicate for it, never the kernel.
9
9
  */
10
10
  export const TEXT_FORMS = ['iso-date'];
@@ -34,7 +34,7 @@ export function isQualifiedName(x) {
34
34
  const slots = x.split('/');
35
35
  return slots.length === 4 && slots.every((slot) => /^[a-z][a-z0-9-]*$/.test(slot)) && isKind(slots[1]);
36
36
  }
37
- /** The `iso-date` text form (W0-L5): `YYYY-MM-DD` and a real calendar date. */
37
+ /** The `iso-date` text form (L19a): `YYYY-MM-DD` and a real calendar date. */
38
38
  export function isIsoDate(text) {
39
39
  const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(text);
40
40
  if (match === null)
@@ -1 +1 @@
1
- {"version":3,"file":"taxonomy.js","sourceRoot":"","sources":["../src/taxonomy.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,EACL,KAAK,EACL,UAAU,EACV,eAAe,EACf,MAAM,EACN,UAAU,EACV,KAAK,EACL,IAAI,EAGJ,aAAa,EACb,UAAU,EACV,WAAW,EACX,KAAK,EACL,eAAe,EACf,WAAW,EACX,aAAa,GACd,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,KAAK,EACL,UAAU,EACV,eAAe,EACf,MAAM,EACN,UAAU,EACV,KAAK,EACL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,aAAa,EACb,UAAU,EACV,WAAW,EACX,KAAK,EACL,eAAe,EACf,WAAW,EACX,aAAa,EACb,OAAO,EACP,eAAe,EACf,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,UAAU,EACV,aAAa,GACd,MAAM,uBAAuB,CAAC;AAQ/B,MAAM,CAAC,MAAM,UAAU,GAAyB,eAAe,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACvF,MAAM,CAAC,MAAM,UAAU,GAAmC,IAAI,GAAG,CAC/D,eAAe,CAAC,GAAG,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AAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,WAAW,CAAC,KAAK,CAAC;QAC1G,OAAO,WAAW,KAAK,EAAE,CAAC;IAC5B,OAAO,SAAS,CAAC;AACnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inventarch/language",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",