tess-dl Handover¶
Note
The tess-dl project becomes the source of truth for the TDL language (maintainer, 2026-11-02, ADR-0014 Shell File Language > Ninth-Round Decisions (2026-11-02) D66). This note says which parts of TDL Language move to tess-dl, which stay in this vault as the shell's schema, and how the move happens without a gap. Done on 2026-11-02 (D66, D92): the library API and the first-slice brief moved to tess-dl/docs/ (api.md, first-slice.md), the vault keeps pointers, and the syntax and lexical parts of TDL Language are replaced by pointers to tess-dl's docs/language.md. Still in the vault: the shell's schema and the decisions.
What Moves and What Stays¶
| Section of TDL Language | Goes to tess-dl (language) |
Stays in this vault (shell schema) |
|---|---|---|
| Two Layers | The table's first row; the statement that other projects add their own blocks | The shell and Tesserae UI rows |
| A File, the sample | The file shape with a neutral sample (no bars) | The shell sample, moved into Shell File |
| The Metadata Block | --- block, TDL: and Name: rules, UID: placement (D10), unknown keys kept, versions are strings |
Which pins a shell requires (TEL, TRE, Shell), the meaning of minimum versions (D37) |
| The Root Block | Exactly one root block; the block's word is its type | The table of root blocks and suffixes; the suffix check |
| Punctuation | All of it | Nothing |
| Values (lexical kinds) | Word, string, number, percent, call, list, slot, template, escapes, comments, the bare-hash rule | Length, colour, enum, boolean, four-sided: typing and defaults |
| Names and the Registry | Name characters, dotted paths, reserved structure words, repeats | The built-in name registry, modules, Kind, instances |
| Structure Words | Children, Import, If, Else, For, In, Key |
How the shell resolves Import and Key |
| Monitors, Sizes (Shell Schema) | Nothing | All of it |
| Errors | The language-level codes (D52) | Schema and load errors, including shell-root-suffix (D91) |
| Editor Support | The TextMate grammar (lives next to the parser) | The JSON Schema (JSON Schema and Editor Support) |
| Acceptance Criteria | The language-level ones, as the conformance corpus | The schema-level ones |
How the Move Happens¶
- First slice in
tess-dl. Thetess-dlsession writes the language reference (docs/language.md) and the conformance corpus from TDL Language and TDL Library API. The sources are the vault notes; the text is rewritten for readers from other UI frameworks (ADR-0014 Shell File Language > Ninth-Round Decisions (2026-11-02) D68). - Differences are
TDL-REQ-###. When thetess-dltext must differ from the vault, or a rule is unclear, it becomes aTDL-REQ-###in80 Requests, carried by the maintainer (Vault Reference > Requests between projects). - Hand over, section by section. When a section is in
tess-dland its corpus passes, the matching section here becomes a short summary with a link to thetess-dlpage, so there is one source of truth (rule 4). The vault keeps the shell's schema and the decisions that explain it. - The ADR stays. ADR-0014 Shell File Language records why the language is as it is; the decision history is not moved.
- Until then, the vault note is the working text and
tess-dlmay read it. - All TDL documentation moves. The maintainer plans to move all of the TDL documentation into
tess-dl/docs/eventually (2026-11-02, D92). This note lists the first sections; the rest follow, and the vault keeps only the shell's schema and the decisions. - The test corpus belongs to
tess-dl. The shell proposes cases throughTDL-REQ-###and does not edit the corpus (tess-dl First Slice).
Open Questions¶
- Should
tess-dlpublish its docs as a site, or keep Markdown in the repository? Context: the tre and Tesserae projects publish sites. Recommendation: a site, as the sibling projects do, once the first slice is stable. - Who edits the language text when a shell need changes it? Context: the owner of the language text must be one party after the move. Recommendation: the
tess-dlsession after aTDL-REQ-###, not the shell session directly.
Acceptance Criteria¶
- Every row above has a single owner after the move.
- No rule of the language is stated in both places.
- Every language-level acceptance case in TDL Language appears in the conformance corpus.