Skip to content

Open Questions

Note

The one place to find every open item and every claim not yet verified. Each section below is embedded from the note that owns it, so this page never holds a second copy (one source of truth, AGENTS > Hard rules rule 4). Resolved items stay visible as checked boxes. A new unknown goes in its own note's open section and, if it needs a home, here (AGENTS > Session workflow).

Unverified Claims

Every claim tagged #needs-verification, grouped by folder. Where links to the section that holds the claim, Claim is the sentence the tag follows, and To verify is what the text after the tag says to check (empty when the tag stands alone). The table is built by Dataview from the notes themselves, so it never goes stale and holds no copy of a claim.

Note

Needs JavaScript queries The table uses a dataviewjs block. In Dataview's settings, turn on "Enable JavaScript Queries"; until then the block shows an error and the plain list below still works.

Note

An Obsidian Dataview query is here; it is not shown on GitHub.

Notes Only

The same notes as a plain list, with no JavaScript:

Vision

Personas and Use Cases

  • Is a notification centre a v1 use case? Context: it depends on the notification-server coexistence decision, which is not made; it is placed outside v1 in V1 Scope. Recommendation: keep it outside v1 until that decision is made.
  • What does a newly plugged monitor get when the configuration does not name it? A configurable default section (V1 Scope > Multi-monitor).
  • Which persona writes the default shell? P2 (shell author), with the maintainer as the reviewer. Confirmed 2026-10-25 with the Vision.

Architecture

System Context

  • The D-Bus names plasmashell holds on a live Plasma 6 session: observed above, for ADR-0004 Plasma Coexistence. Re-check on other distributions.
  • Which access path does each service use? Context: the candidate table above leaves Tasks, Audio and Applications open; each service needs one Integration spec (40 Specifications). Recommendation: write one Integration spec per service as its module starts, and pick the access path there.
  • Which D-Bus client library: dbus-fast on a shared asyncio service thread (ADR-0009 D-Bus Client Library, decided 2026-10-26).

Layers and Components

  • Is the value store a component of its own, or part of the shell model? Context: the component table lists it separately, while Shell Package Layout puts it in model/ next to the TEL scope. Recommendation: keep it a distinct component, implemented inside model/.
  • How a widget event (a click) reaches a module: the shell maps the event to a module method or a shell action; TEL only evaluates argument expressions (ADR-0007 Shell UI Layer > Events and module reload (2026-10-26)). The key names are set in the TDL reference (folder 41 TDL Reference/).
  • Where are theme changes read and pushed (light/dark, high contrast, reduced motion following the desktop)? Context: Goals and Non-Goals G7 asks the shell to follow the desktop. Recommendation: a runtime component that reads the desktop setting and pushes a theme change through the model, like any other value.
  • Is the global shortcut service a runtime component or a module? Context: ADR-0005 Global Shortcuts and the table above put shortcuts in modules and a shortcut service in the runtime. Recommendation: a runtime component, because it serves every module.
  • Which component builds and rebuilds the If and For branches: the shell model builder, which evaluates the condition or iterable through TEL and rebuilds that branch or entry. TEL evaluates expressions (values) only (D11, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).

Process Model and Threading

  • Who owns module threads? Context: options. A: each module starts and owns its threads, and the shell gives a helper that catches and logs thread exceptions (flexible, simple contract). B: the shell runs a shared asyncio thread for services and modules are coroutines (less thread code, forces async on module authors). C: a shell thread pool for module work. Recommendation: A, with B available as an optional shared service thread for D-Bus.
  • D-Bus client library. dbus-fast on a shared asyncio service thread, jeepney as the fallback (maintainer, 2026-10-26, ADR-0009 D-Bus Client Library).
  • Does registry I/O and the UID write run on the loop or on a single writer thread? Context: Config Discovery and Registry > The registry file proposes one writer thread, one write per 500 ms (ADR-0007 Shell UI Layer > Open Items). Recommendation: the single writer thread.
  • Does a supervisor ship in v1 or later? Context: only a supervisor outside the process recovers from a hard hang; the watchdog alone logs it, and neither is built. Recommendation: later; the v1 watchdog is enough.
  • No windows policy: stay idle (maintainer, 2026-10-26).
  • No windows mechanism. Option A, chosen 2026-10-26 and released in tre 0.5.9 on 2026-10-27: App.run(keep_alive=True) and LoopHandle.stop() (TRE-REQ-005 Keep-Alive and Loop Stop). The shell requires tre 0.5.9 or later.
  • Do value conversions run in the send or in the flush? Context: HEX to RGBA and the like can run on the module thread if pure, or on the loop in the flush. Recommendation: convert in the flush on the loop, which keeps module threads free of shell types; decide finally in the Python API spec.

Data Flow

  • Where does the value store sit, and how is a module's last value kept across a reload? Context: the store holds the latest value per module and key; a module reload stops the old instance and imports new code. Recommendation: the store lives in the shell model (model/, as in TEL Integration), and a reload keeps the stored values until the new instance sends its own, so widgets do not blank during the reload.
  • A module's .py can be reloaded at runtime (maintainer, 2026-10-26). Mechanics are proposed above.
  • How the diff of a reload works: by identity (file UID), then name, then position (proposed in Hot Reload > The diff).
  • What does output_updated do to surfaces whose size depends on the output? Context: today it keeps the surfaces and re-evaluates only the match rules. Recommendation: re-evaluate the size of those surfaces on output_updated and apply it live through set().

Decisions

ADR-0001 Shell Surface Strategy

ADR-0007 Shell UI Layer

Settled on 2026-10-25 and recorded above: file naming; the shell: key; import: and nesting; unique-name keys; module rules and Python contract; plain *_Theme.yaml, *_Style.yaml, *_Stylesheet.yaml; type: for files and kind: for surfaces (values as written: file types capitalised, surface kinds lower case); the expression language; monitor; name (required) and scope; load errors; UIDs; the config directory, search paths and registry identity; the module data hand-off; the style, stylesheet and theme split; Python 3.14 minimum.

  • Widget list for v1. Decided 2026-10-25: take the list from the surfaces and modules in V1 Scope, and add one only when a module needs it. The list is V1 Widgets.
  • Build or adopt the expression engine. Build: the Tesserae Expression Language, a separate library (ADR-0008 Tesserae Expression Language, decided 2026-10-25). Survey kept as input: Expression Languages for YAML.
  • How a module's values reach its widgets: params.<name> plus sent values (maintainer, 2026-10-26).
  • Widget keys in children:: Text: and widget: Text are the same; the unique-name form where a type repeats.
  • The module's style file type: type: Style.
  • Container widgets: Box and FlexBox.
  • Four-sided shorthand: option A (maintainer, 2026-10-26): forms YAML already understands. One number for all sides (border_thickness: 2), a list of four ([2, 2, 2, 2]), or named sides ({left: 2, top: 2, right: 2, bottom: 2}). The maintainer's brace forms were written from experience of other UI tools; they do not survive a standard YAML load (PyYAML read {2, 2, 2, 2} as {2: None} on 2026-10-26). The order of a list of four is clockwise from the top (top, right, bottom, left), confirmed by the maintainer on 2026-10-26, as tre's margin is; named sides are the unambiguous form.
  • Is "overlay" a kind? No (maintainer, 2026-10-26): the Overlay is the shell-wide layer that puts something on top of everything else, and a Panel with layer: overlay is an overlay popup panel. The kinds stay bar, frame, panel and popup. See Surface Types > Overlay.
  • What type: means in "layer surfaces (type:)". The file identifiers: _Shell.yaml, _Module.yaml and so on, with type: Shell, type: Module (maintainer, 2026-10-26). Nothing to do with rendering.
  • Writing the UID into a user's file. Decided 2026-10-25: once the file is found, the shell opens it and writes UID: below shell:. The points below are implementation defaults for that write, not open questions; the maintainer called the question obvious. Defaults — The shell edits a file the user owns. Needs: a YAML writer that keeps comments and layout; no reload loop when the watcher sees the shell's own write; behaviour for a read-only file or a file shared by two shells; and what happens when the user copies a file, so two files carry one UID. Recommendation: the writer keeps comments, writes are ignored by the watcher for that file, a read-only file is registered without injection and warned, and a duplicate UID is a load error naming both files.
  • Which key names the block in a style class? Does a class write widget: Text, block: Text or kind: Text to say which block it applies to? Context: the Label style example writes kind: Text, but kind: is the surface kind everywhere else, and the later keys call blocks with block: (Style, Theme and Stylesheet Files > Classes). Recommendation: block: Text, to match the decided block call form.
  • Widget, module and building blocks (2026-10-26). Decided: blocks called with block:, modules called by name, widget: and module: dropped. See Blocks, modules and styling above and Building Blocks.
  • The exact form of a module call: the module's name as the key, params beneath it, import: embeds a file (maintainer, 2026-10-26; see Module call, shipped modules and Path).
  • Two uses of one module in one container (maintainer, 2026-10-26): children: may be a list, each item one entry, so a module can repeat and the order is explicit. The maintainer's sketch put import: as a mapping key beside the list items; a YAML parser rejects that (checked with PyYAML: a list and a mapping key cannot share a collection), so import: is a list item too:
children:
    - Label:
        text: "label 1"
    - Label:
        text: "label 2"
    - import: Custom_Module.yaml

children: is a mapping (each name once) or a list (repeats allowed); the two do not mix inside one children:. Decided (maintainer, 2026-10-26): in a list each use has an optional name:, and without one the shell names it from its position (Label_1, Label_2), so the path name stays unique.

  • Names that exist as both a block and a module. Resolved: the module Text was a mistake and is now TextBox. Image and Icon (modules) sit on Bitmap and SVG (blocks) under different names.
  • Modules the shell ships: a stable registry-only UID; a user module of the same name overrides it.
  • Can the listed modules be made from the listed blocks? The maintainer reports yes, tested on Tesserae (2026-10-26).
  • A free-form shape block: Path is added.
  • Is TextBox editable? No (maintainer, 2026-10-26). Label and TextBox are not editable; TextInput and TextEditor are.
  • Case of block names. Should block names match case-insensitively? Context: the maintainer wrote path where the list has capitalised names. Recommendation: match case-insensitively and write the capitalised form in files.
  • Two files of the same type that conflict. Which file wins when two stylesheets set the same property? Context: proposal so far is that the later import wins. Recommendation: the later import wins, and the shell logs the conflict once at load.
  • Unique names across the shell with repeated uses: decided (maintainer, 2026-10-26). Names inside a definition are local; each use gets a path name (for example dp1_root.top_bar.Label_1.Label_Text), and the registry holds the path as the shell-wide unique name and a UID for the instance. A UID written into a file belongs to the file (the definition); an instance UID lives in the registry only. References can use the path, or a short name when it is unambiguous. List items are named by an optional name:, else from their position.
  • Params and "bubble up": decided (maintainer, 2026-10-26), opt-in only. A param declares inherit: true to be looked up the tree when it is not passed; the nearest ancestor that has it wins; a required param found nowhere is an error naming the chain searched. Everything else must be passed. See Module File > Params down the tree.
  • Popup call shape and caller context: decided (maintainer, 2026-10-26), the shell supplies the calling use to the action automatically. The module writes self.ctx.popup(popup_name) and the shell fills in the caller. See Module Context > Calling a popup.
  • Popup focus and dismissal: decided (maintainer, 2026-10-26), option 1. One flag; focus is on by default (matching tre's grab, which gives the popup the pointer and keyboard and closes it on an outside click or Escape); tooltip-like popups opt out and close when the pointer leaves. This replaces the earlier "opt-in" decision, which could not close a popup with no selections on an outside click, because clicks outside the application are not delivered to a popup without the grab. #needs-verification against tre's PopupWindow.
  • Directory spelling. Decided 2026-10-27: $XDG_CONFIG_HOME/tesserae-shell/ when it is set, non-empty and absolute, else $HOME/.config/tesserae-shell/ (Settings File > The config directory). The key for the search list is superseded by directories in settings.yaml.
  • What a registry mismatch changes. Is a removed entry's saved state dropped at once or kept for a while? Context: the maintainer decided an entry with no match is treated as removed and a new one is registered. Recommendation: keep the saved state for one session of the registry (until the next clean start), so a renamed file does not lose its state by accident.

ADR-0014 Shell File Language

  • Name. Tesserae Data Language, TDL (maintainer, 2026-10-29). #needs-verification: that the code name tdl and any PyPI package name are free and do not clash with another well-known TDL; check before registering. Resolved (maintainer, 2026-11-02): the TDL project, repository and local folder are tess-dl, the PyPI package is tesserae-dl (free on PyPI 2026-11-02; tdl is taken), and the Python import name was set to tdl on 2026-11-02 and changed to tess_dl on 2026-11-03 (D95) so that the import names of all the projects cannot clash with other packages, such as the unrelated PyPI package tdl.
  • File extension. .tdl (maintainer, 2026-10-29), not .tess, which does not say it is a data language and reads as a Tesserae file. Neither is registered in this machine's shared-mime-info (/usr/share/mime/globs2, checked 2026-10-29), which is a local check only.
  • Expression slot. {{ }} on a single line, no quotes (maintainer, 2026-10-29).
  • Grammar basics. Separators, comments, strings, colours, lengths and trailing commas, as in "What TDL Is" (maintainer, 2026-10-29).
  • Conditions and repeats. if with an optional else, and for with a required key, as recommended (maintainer, 2026-10-29).
  • Where the parser lives. As recommended (maintainer, 2026-10-29).
  • Editor support. No language server in v1 (maintainer, 2026-10-29).
  • Comparison. Done: Shell File Syntax Comparison.
  • KDL parser facts. Not applicable (maintainer, 2026-10-29).
  • Version key. TDL: then shell: (maintainer, 2026-10-29). This also replaces the extra Tesserae-file guard in ADR-0007 Shell UI Layer > File Naming (2026-10-25): the extension and TDL: tell a shell file from a YAML or Tesserae one.

Raised by the comparison (Shell File Syntax Comparison > What the TDL Sketch Shows to Settle) and answered by the maintainer on 2026-10-29:

  • Lengths and floats. <int>% for a percentage, a whole number for pixels, a float only for values that are not lengths.
  • Parentheses and commas. rgba(0 0 0 0), space separated.
  • Hex colours are quoted because # starts a comment.
  • Unquoted words are strings unless a syntax word (reading to confirm: by position).
  • Block form confirmed, with nested blocks and } } never }}.
  • A slot next to a block confirmed: {{ always opens a slot.
  • Repeated name in one container allowed, ordered by position.
  • Syntax highlighting in v1: a small TextMate grammar.

Still open, from the answers:

  • Alpha range. 0 to 255 for red, green and blue, 0.0 to 1.0 for alpha (as recommended, maintainer, 2026-10-29).
  • Unquoted text with spaces. Runs to the end of the line or the next , or closing brace (as recommended, maintainer, 2026-10-29).
  • The rewrite pass began 2026-10-29 (maintainer): breadth first through the vault tree, each level before the next. settings.yaml became settings.tdl (confirmed in D20), and the folder was renamed on 2026-10-30 (D13).
  • Two readings to confirm from "What TDL Is" items 14 and 15: syntax words are special only in key position, and spaces around { and after : are optional. Decided 2026-10-30, see Decisions on the Open Items.

Raised while rewriting the notes for TDL (2026-10-29) and decided on 2026-10-30 as recommended (D1 to D24). Each was also an open item in the note that hit it:

  • Literals not defined. Booleans (true, false), null, and an empty list []. The examples use true and false. Decide, and say whether the parser types bare words or the key's schema does. Decided 2026-10-30, see Decisions on the Open Items.
  • Names. Is a block's name only the word before the brace (root dp1_root { }, Clock { }), or can a name: key also give it? Affects module calls, the root header and the path-name rule. The notes keep a name: property where YAML had one. Decided 2026-10-30, see Decisions on the Open Items.
  • Unnamed blocks as list items ([{color: "#000", x: 0}]), as shadows and elevation need. Alternative: a repeated named block per item. Decided 2026-10-30, see Decisions on the Open Items.
  • Numeric keys (elevation { 1: ... }, the space scale 1 to 8). Alternative: named levels. Decided 2026-10-30, see Decisions on the Open Items.
  • Stylesheet selectors (.warning, #clock_label, Button:hovered, Slider::track) cannot be block names, because # starts a comment and : makes a property. Options: quoted names, or a separate selector form. Decided 2026-10-30, see Decisions on the Open Items.
  • Percent plus pixels. Is there a TDL form for tre's calc(100% - 16)? Decided 2026-10-30, see Decisions on the Open Items.
  • Named sides (thickness {top: 8, left: 24}, border_thickness). Assumed: a block with named keys. Decided 2026-10-30, see Decisions on the Open Items.
  • One-line blocks such as params { format { type: string, default: "" } } and an empty block Spacer { }. Assumed allowed. Decided 2026-10-30, see Decisions on the Open Items.
  • A repeated property key in one block: an error, or last wins? Repeated block names are allowed; repeated keys are not covered. Decided 2026-10-30, see Decisions on the Open Items.
  • How the UID write edits the file: patch the text at the tree node's position, or print the tree back out. Both keep comments. Decided 2026-10-30, see Decisions on the Open Items.
  • Several roots in one file (now several Monitor blocks): allowed, decided 2026-10-29 (Shell File still describes root).
  • TEL's structure role. ADR-0008 Tesserae Expression Language says TEL owns "structure and values" and its requirements T3 and T8 give it conditions and repeats; this ADR gives if and for to TDL. Decide whether TEL keeps any structure role, and which component builds and rebuilds those branches (the parser, the shell model or TEL) (Layers and Components). Decided 2026-10-30, see Decisions on the Open Items.
  • ADR-0011. Whether it stands for load-time validation only, is superseded, or is rewritten; which editor feedback is wanted after v1; whether schemas/ is still written to disk now that no modeline points at it; and the shape of the parsed tree when names repeat (JSON Schema and Editor Support). Decided 2026-10-30, see Decisions on the Open Items.
  • Folder rename. Done 2026-10-30: the folder 41 YAML Reference is now 41 TDL Reference, its index note is 41 TDL Reference, and the note type yaml-ref is now tdl-ref. The old names stay as aliases (see Decisions on the Open Items, D13).
  • Module context accessor. ctx.yaml() in the module context (Module Context): rename (for example ctx.file) or keep. Decided 2026-10-30, see Decisions on the Open Items.
  • Python builder signatures for If and For and whether comments count in the parity test (Python Builder). Decided 2026-10-30, see Decisions on the Open Items.
  • Layout sketch, ten questions answered by the maintainer on 2026-10-29: the metadata block is required and holds UID:; the file-type key replaces Type:; versions are strings; FileName was an example; one registry of names for blocks and modules; Kind: shape was an example; Name: is the unique name and Index: picks the monitor; several Monitor blocks are allowed; Import and Rectangle are the right spellings. See "Layout Rules".
  • Capitalised keys everywhere, with each word of a key Capitalised and joined by _ (maintainer, 2026-10-29; Layout Rules item 10).
  • One meaning of the Kind key: a reference by exact name only (Layout Rules item 11).
  • Structure words and values: If, Else, For, In, Key Capitalised; enum values lowercase (item 13).
  • Metadata keys: unknown keys are kept and ignored (item 14). Which keys are required is in the TDL language reference.
  • Instance UIDs: in the registry as Clock@<uid>; UID: injected into a use only on request (item 12).
  • Monitor selectors: Index:, Connector:, Description:, and Index: default (item 15). Open: the order when a block has several selectors.
  • Question-mark conditional for values (maintainer, 2026-10-29: "supporting this would be great", If stays). It belongs to TEL, not to TDL, so it is written inside a slot: Color: {{ hovered ? "#1e1e2e" : "#313244" }}. Outside a slot the text is an unquoted string (Layout Rules, "What TDL Is" item 14). TEL has a if c else b today; ?: needs a change in TEL, recorded as the proposed T19 in Expression Language Requirements. The maintainer carries it to the TEL project. Settled 2026-11-01: TEL accepted it (its decisions S to W) and built it, local and unreleased (Expression Language Requirements > TEL's Answers (2026-10-31)).
  • File-type key and file name disagree: the key is authoritative; a mismatch is a load error (item 16).
  • Style tokens. The $color.surface form (see Style Schema) against "no variables": the agent treated them as plain strings the shell resolves. Decided 2026-10-30, see Decisions on the Open Items.

Raised by the second rewrite pass (2026-10-29). The notes use the default shown; the maintainer has not decided:

  • Module file layout. Do Style: and Params { } sit in the body after the metadata block (as the notes show) or in the metadata block? Is Type: acceptable inside a param declaration now that it is gone as a file key? (Module File) Decided 2026-10-30, see Decisions on the Open Items.
  • Param names on a use. Written as the module declared them (format:, the notes' default) or Capitalised (Format:)? Module File's own Label example declares text and passes Text:, which is inconsistent until this is decided. Decided 2026-10-30, see Decisions on the Open Items.
  • Classes and themes. How a style class is written when a block head is normally a registered type (the notes use the class name as the head with Kind: Text inside). Whether a theme has Name: in its metadata. Whether $color.on_surface token references match On_Surface case-insensitively (Style Schema, Style, Theme and Stylesheet Files). Decided 2026-10-30, see Decisions on the Open Items.
  • Settings file. The file-type key and metadata form of settings.tdl (the notes show Settings: v1 as a placeholder), and whether settings keys are written nested or dotted (Logging.Level) (Settings File). Decided 2026-10-30, see Decisions on the Open Items.
  • Frame structure. Inner_Border, Outer_Border, Edges and the edge names Top, Right, Bottom, Left: nested blocks or properties? (Frame) Decided 2026-10-30, see Decisions on the Open Items.
  • Imported shell files. Does an imported _Shell.tdl hold surface blocks only, or its own Monitor blocks? (The notes keep "an imported file takes the importing Monitor's monitor".) Decided 2026-10-30, see Decisions on the Open Items.
  • UID position in the metadata block (UID:). The notes write it after the file-type key. Decided 2026-10-30, see Decisions on the Open Items.
  • How an action names a use: Label@<uid> or the use's Name: (Module Context). Decided 2026-10-30, see Decisions on the Open Items.
  • Schema and the metadata block. Whether the JSON Schema validates the metadata part, or the loader checks TDL: and the file-type key first (JSON Schema and Editor Support). Decided 2026-10-30, see Decisions on the Open Items.
  • Layer-window namespace. tesserae-shell.<kind>.<name> should read <type> now that surfaces have no Kind: (Surface Types). Decided 2026-10-30, see Decisions on the Open Items.

Raised by the second layout sketch (2026-10-30). Each is a question for the maintainer; the agent's recommendation follows it:

  • Is TDL now a language shared with Tesserae UI, as TUIF: and View { } suggest? This changes ADR-0006 Shell Independent of Tesserae UI only at the language level (the shell still does not depend on tesserae-ui). Recommendation: yes, TDL is a separate project like TEL, with its own repository and version; its grammar knows nothing about bars or monitors; the shell and Tesserae UI each define their own blocks and schema on top of it. Decided 2026-10-30, see Second-Sketch Decisions.
  • Where does the file type live? The sketch has no file-type key; the root block (Shell, View, and presumably Module, Style, Stylesheet, Theme) may name it. This replaces Layout Rules item 2. Recommendation: the root block names the file type and the metadata Shell: / Module: etc. goes away; the suffix must agree, as before. Decided 2026-10-30, see Second-Sketch Decisions.
  • Meaning of the Shell version. What Shell: <version> means: the format version of the shell's blocks, or the version of the Tesserae Shell program? Recommendation: the shell-format version, since a file records what it was written for; TRE:, TEL: and TUIF: are the minimum versions of the other projects. State "minimum" or "exact" for each. Decided 2026-10-30, see Third-Round Decisions.
  • Name in the metadata. Is Name: required in every file? The sketch puts it there for all types. Recommendation: required for a module (the call name), optional for the rest. Decided 2026-10-30, see Third-Round Decisions.
  • How is a monitor chosen? Name: DP-1 is a connector, which makes the unique name unstable and clashes with the decided Index:, Connector:, Description: selectors. Recommendation: keep the selectors and give Monitor its own identifier-style Name: (Name: main). Decided 2026-10-30, see Second-Sketch Decisions.
  • Dotted name paths (ShellRoot.DP-1.TopBar, .get(...)). DP-1 is not an identifier, so inside a TEL expression ShellRoot.DP-1.TopBar reads as a subtraction. Recommendation: names are identifiers (letters, digits, _), and paths use them. Decided 2026-10-30, see Second-Sketch Decisions.
  • Bar as surface or module. Is Bar a surface or a module? The sketch says it is a built-in module. Recommendation: it stays a surface type (it owns a layer window); it is called like a module and sits in the same name registry. Decided 2026-10-30, see Second-Sketch Decisions.
  • UID injection. The sketch writes UID: into the Bar block. Recommendation: only into a block that has a Name:, and only when the user asks for stable identity (Layout Rules item 12 stays). Decided 2026-10-30, see Second-Sketch Decisions.
  • Keys inside brackets. The Border: [ Color: ..., Thickness: ... ] form puts keys inside [ ] break the rule that [ ] is a list and { } a block. Recommendation: write Border { Color: "#1e1e1e", Thickness: [2, 2, 2, 2] }. Decided 2026-10-30, see Second-Sketch Decisions.
  • Key spelling. CornerRadius or Corner_Radius? Recommendation: keep the decided Corner_Radius. Decided 2026-10-30, see Second-Sketch Decisions.
  • Enum value case. Capitalised (Edge: Top) or lowercase (Layer: overlay)? Recommendation: Capitalised for every enum value, because the sketch uses it throughout and it reads the same as the keys; this reverses D13's "enum values lowercase" and needs a pass over the notes. Decided 2026-10-30, see Second-Sketch Decisions.
  • Bar geometry keys. Width, Height, Edge, Alignment, Offset against the accepted Edge, Span, Length, Thickness, Anchor, Size, Margin, Exclusive_Zone (Bar, Shell File). Recommendation: adopt the sketch's names for a Bar's placement and keep Exclusive_Zone and Layer; map them to tre's anchor, margin and size in the shell. Decide how a full-width Bar is written (Width: 100%). Decided 2026-10-30, see Second-Sketch Decisions.
  • Layout properties on every block. Flex and Grid on every block? The sketch gives the Bar its own Flex property and Grid { } block; Building Blocks has Box, FlexBox and Grid as blocks. Recommendation: keep the blocks and let a surface or module hold one layout child; do not add layout properties to every block. Decided 2026-10-30, see Second-Sketch Decisions.
  • Trailing comments. Key: value # note needs a rule, or the comment becomes part of the value. Recommendation: a # after whitespace ends an unquoted value and starts a comment; a value that needs # is quoted. Decided 2026-10-30, see Second-Sketch Decisions.
  • Import spelling. Both import: and Import: appear. Recommendation: only Import. Decided 2026-10-30, see Third-Round Decisions.
  • Margin and Padding meanings. Padding inside, Margin outside the block, as in the comments. The Bar spec's Margin is the offset from the anchored edge. Recommendation: one meaning (outside space) and a separate key for the edge offset (Offset). Decided 2026-10-30, see Third-Round Decisions.

Raised by the third rewrite pass (2026-10-30). The notes keep the shown default:

  • Alignment, Offset and Gap to tre. How the shell computes tre's anchor, size and margins from Edge, Width, Height, Alignment, Offset and Gap (the same kind of computation as the Panel attachment geometry), and how a collapsed Bar keeps a layer surface so that a size of 0 never arises at creation (Bar; #needs-verification). Decided 2026-10-31 (D61): the mapping in Bar > Mapping to tre is accepted.
  • Alignment values. START, CENTER, END are used in the examples; the maintainer has not listed the values or the default. Decided 2026-10-31 (D55).
  • The Meld key on a Panel. The key Meld: a margin on the Frame-facing sides now decides whether a Panel melds with a Frame, so the Meld key may be redundant (Panel). Decided 2026-10-31 (D56): removed on a Panel.
  • Registry state order. The registry stores a moved Panel's margin in tre's order (top, right, bottom, left), because it comes from tre's moved event. Recommendation: leave the JSON in tre's order and name the order in the registry note (Config Discovery and Registry). Decided 2026-10-31 (D57): offset in the shell's order.
  • Setting keys and values. The enum values of settings keys (Logging.Format: TEXT, JSON; KWin.Script: RUNTIME, PERSISTENT, OFF; log levels) follow the upper-case rule but are not listed in Settings File. Decided 2026-10-31 (D58).
  • Where Padding applies. The key Padding: the notes say every element with Children (Bar, Panel, Frame strips, Popup); the block-level list waits for the building blocks (Building Blocks). Decided 2026-10-31 (D59): decided in the Building Blocks step; stays open until then. Proposed 2026-11-01 in Block Reference (R6): Padding on every block with Children and also on Text and TextField, which own a text inset. Decided 2026-11-01: Padding on every block with Children and on Text and TextField (R6, Block Reference > Decisions of 2026-11-01).
  • Version-folder id. The schema $id folder used to come from Shell: v1; how TDL: and Shell: map to it is open (JSON Schema and Editor Support). Decided 2026-10-31 (D60).

Raised by the maintainer's question on slot handling (2026-10-31):

  • Where a slot ends. The idea that TDL cuts every {{ }} out of the file, passes the texts to TEL, and takes values back is mostly the design already: TDL parses the file once and gives TEL each slot's text and start (T17); TEL compiles once and re-evaluates on a name change; results go to the model, not back into the file, and the shell converts them. What is missing is a rule that lets TDL find the end of a slot without TEL's parser. Today TEL's template rule ends a part at the first }} after which the text reads as one expression (TEL project docs/language.md, section 8). Recommendation: a slot ends at the first }} that is not inside a quoted string (single or double quotes, with \ escapes), and a }} meant for the expression is written } }, the same habit as closing nested blocks. TDL then gives TEL only the inner text and TEL's template scanner is not used for shell files. Cost: an expression with nested braces needs a space. See Expression Language Requirements > Requests to the TEL Project (T17 to T20). Decided 2026-10-31 as recommended (D54).

Raised by the answers of the tess-el session (2026-10-31, Expression Language Requirements > TEL's Answers (2026-10-31)):

  • Dependency tracking for the name tree. Settled 2026-10-31: TEL built full-path tracking, so the shell uses reads and does not record reads itself (Expression Language Requirements > TEL's Answers (2026-10-31)). The earlier text follows. TEL reports only the top-level name (RootShell) until it builds full-path tracking (the TEL project's D13, which waits for the maintainer's go-ahead). Recommendation: the shell records each property read in its own object layer, so a slot depends on Top_Bar.Width and not on the whole tree; drop that when TEL has path tracking. The alternative is to re-evaluate every slot that reads RootShell on any change.
  • Go-ahead in the TEL project (given for path tracking; the cost test for T19 is still the TEL project's) for path tracking (T20) and for the cost test of the question-mark conditional (T19). Both are the maintainer's decisions in the TEL project; the shell sends nothing more.

Raised by TEL's step 5 design (2026-11-01):

  • Names of repeated entries. Adopt TEL's <name>_0001 counter names for For entries instead of Icon_<key>, as recommended under Eighth-Round Notes. Also adopt If as TEL's condition with the first true branch winning, and Else as the end of the chain. Decided 2026-11-01 (D65) for the counter names. The If chain is unchanged: If with an optional Else, no Else If; the shell calls TEL's select with the one condition.

Surfaces

Surface Types

  • Which surface types are in v1: Bar, Frame, Panel and Popup (decided 2026-10-25; Frame is in v1).
  • Which uses are Panels: OSD and desktop widgets are Panels; the launcher is a Panel on the OVERLAY layer with exclusive keyboard (decided 2026-10-25).
  • A Popup is exclusive to the monitor it is called on. It opens only on the monitor of the surface that called it, and is never anchored to a surface on another monitor (decided 2026-10-25).
  • How a Panel's attachment to another surface is written. A Panel is attached by referencing the name of the surface (decided 2026-10-25). It is a reference, not nesting. Left for the Panel spec and the TDL reference (folder 41 TDL Reference): which side or corner and what gap; what the Panel does when the target hides, moves or animates; A name that is referenced from another file resolves through the registry (decided 2026-10-25): the registry tracks names, so it knows which surface a Panel means and knows when that name no longer exists. A reference that never resolves is an error at load; a target that disappears while the shell runs is a warning, and the Panel stays hidden until it returns (ADR-0007 Shell UI Layer > Config directory and registry (2026-10-25)). The one-frame skew between separate surfaces still applies (TRE-REQ-001 Layer Surface Window > Animation).
  • Concave corners and join drawing: hit testing. Settled: tre 0.5.9 (released 2026-10-27) ships hit_shape="painted" on path nodes and a region builder that keeps holes and concave notches, so the Frame uses input_region="auto" and no explicit-rectangle workaround. Findings and history: Hit Testing for Concave Corners.

Bar

  • The placement keys: Edge, Width, Height, the Max_ and Min_ bounds, Alignment, Offset and Gap; they replace Span, Length, Thickness, Margin and the raw Anchor and Size (maintainer, 2026-10-30).
  • The mapping of Edge, Width, Height, Alignment, Offset and Gap to tre is accepted (maintainer, 2026-10-31, D61), under Geometry. A hidden or peeking Bar keeps its size and slides by a negative margin, so a size of 0 never arises. Open, #needs-verification: the points listed under the mapping table.
  • Movable: no, a Bar is anchored and a movable surface is a Panel. Floating: a Bar with a Gap looks floating but stays attached and its gap space is reserved (maintainer, 2026-10-27).
  • Auto-hide: on by default with opt-out, a default delay the user can change, keyboard reveal none by default (maintainer, 2026-10-27). Open: the default delay value, the hover strip's thickness, and the reveal key's key name (Reveal_Key).
  • The Plasma panel on the same edge: the Bar wins, unless the Plasma panel is always on top or a window is fullscreen (maintainer, 2026-10-27). Open: how, and how KWin orders two zones on one edge. #needs-verification
  • A vertical Bar: a FlexBox with a vertical direction; text rotation is opt-in (maintainer, 2026-10-27). Open: the Text_Rotation values.
  • Shadow keys: Elevation, Shadow and Shadow_Bleed (Style Schema > Shadow keys, accepted 2026-10-27).

Frame

  • What a Frame holds: a plain ring, melding Bars and Panels, or thicker edges that act as bars, all four edges or none (maintainer, 2026-10-27). The key is Edges (maintainer, 2026-10-27). The painter hosting the strips (option A) is accepted with the strips (maintainer review, 2026-10-27).
  • The Frame's layer: top, with melded Bars and Panels hosted in the Frame's surface (maintainer, 2026-10-27). The join is drawn as one path with fillets (decided 2026-11-06, above). Open: the cost of a large tree and region in the painter (to measure).
  • The four reservers plus the painter tested together on KWin, and a 4K frame with many joins: after the v1 build, in the testing phase (maintainer, 2026-10-27).
  • Fractional scale: wanted (maintainer, 2026-10-27). tre's docs say layer windows lay out in logical pixels and follow fractional scaling, and round a node's offset to a whole device pixel (layer window reference, window reference). Open: how a 1 px reserver and the ring edge look at 1.5x, tested with the rest. #needs-verification
  • A fullscreen window covers all shell elements and a maximised window does not (Surface Types > Fullscreen and maximised windows (decided 2026-10-27)). Open: how KWin stacks them and how the shell detects fullscreen.
  • Inner border, outer border, or both: both are allowed (maintainer, 2026-10-27).
  • A strip against a Bar attached to the Frame, and hiding a strip on its own: a strip and a Bar can share an edge, and a strip has all a Bar's abilities (maintainer, 2026-10-27). Open: the icon-to-Bar link.
  • The Frame hidden or shown at runtime: yes; the reservers go while hidden and return when shown (maintainer, 2026-10-27).
  • Shadows are excluded from the hit shape, for all shadows (maintainer, 2026-10-27). Open: whether tre already does this. #needs-verification
  • A gradient border's tiling: the shell repeats stops; a native repeat is TRE-REQ-006 Repeating Gradients, kept for the future (maintainer, 2026-10-27).
  • Named sides for Thickness: a block of named sides, Thickness { Top: 8, Left: 24 } (D7, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • Inner_Border, Outer_Border, Edges and the edge names are nested blocks; Edges holds Top, Right, Bottom, Left blocks (D21, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • Shadow tokens: Elevation, Shadow and Shadow_Bleed are accepted (Style Schema > Shadow keys); the Frame needs no bleed margin because the painter covers the output.
  • The hover handle is three dots, and the keys Trigger, Handle and Slide_From (maintainer, 2026-11-07; Frame > Peek Triggers and Handles (Decided 2026-11-07)).
  • Combining triggers: Trigger takes one value or a list ([HOVER, DRAG]), and AUTO takes the icon of the first; the first build may take one value (maintainer, 2026-11-07, as recommended).
  • The chevron's change of direction: tre 0.6.4's animate_param, driven by the slide progress, with a half-turn of the chevron as the fallback if the spike is poor (maintainer, 2026-11-07, as recommended).
  • Minimum thickness for a handle: 8 px for DOTS, BAR and CHEVRON, tuned on KWin (maintainer, 2026-11-07, as recommended; the chevron lowered from 12 to 8 px on 2026-11-08 because his icon is 24 by 8 px).
  • The default Slide_From for a corner Panel is the edge it is attached to (maintainer, 2026-11-07, as recommended).
  • A keyboard way into the Frame and focusable handles (M3 Build Log D102). Decided by the maintainer on 2026-11-10: shortcut mode. Enter_Shortcut_Mode puts the Frame in Shortcut_Mode: true with the initial focus, and in that mode every peek of the Frame shows at the same time, if they can render together; Next_Focus and Previous_Focus cycle through its panels, peeks, bars and strips by Tab_Index (Focus and Keyboard). Built in M6 (M6 Brief). Open there: how mode keys are delivered.
  • Handle brightness: Peek { Handle_Opacity: 0.6 }, 0 to 1, default 0.6 (maintainer, 2026-11-08, recommendation accepted).
  • Content fade: on by default, content opacity following the slide's progress with the slide's duration and easing, Content_Fade: false to opt out, for Panels, strips and Bars that slide, peek, expand or contract, and also for a plain show and hide (maintainer, 2026-11-08, recommendation accepted, "yes it also applies to a plain show and hide, with an opt-out option"). It also applies to an Expander's content (maintainer, 2026-11-08), with the same opt-out (M4 Brief W8). A module that appears or disappears through If does not fade, so the empty-state convention does not flicker as services come and go (maintainer, 2026-11-12, M5 Brief question 8).

Panel

  • Attachment geometry: Attach, Gap and Alignment, and how Attach_To treats a hidden or animating target (maintainer, 2026-10-27).
  • One Panel per target; further Panels chain to the previous Panel; opening both is opt-in. A module in a Bar can be the target (maintainer, 2026-10-27).
  • Hide and show: hidden, not closed (maintainer, 2026-10-27). Open: the window mechanics and the first-show flash.
  • Where the position is saved: the registry, for floating Panels only (maintainer, 2026-10-27). Open: the key that turns saving on.
  • A collapsed handle: as the Edge Shell does it (maintainer, 2026-10-27). Open: the key names and the hover zone's size.
  • Dragging across monitors: not now, something to look into later (maintainer, 2026-10-27).
  • Auto-hide timing for an OSD: a reasonable default the user can set; the caller controls the reset (maintainer, 2026-10-27). Open: the default value.
  • Shadow keys: as ADR-0010 defines them (maintainer, 2026-10-27).
  • Keys the type adds, and the baseline for other types: no additions at this time (maintainer, 2026-10-27).
  • A module as the target: Attach and Alignment use the module's laid-out rectangle; the gap is measured from the parent Bar's outer edge (decided 2026-10-27, confirmed 2026-11-04).

All nine were answered on 2026-10-28.

  1. Parent: the caller's surface; Attach_To optional (maintainer, as recommended).
  2. Placement words: Attach, Alignment, Gap, as the Panel (as recommended).
  3. Size: AUTO by a headless measuring pass, a fixed Width and Height, Max_Width and Max_Height; a content change while open closes and reopens (as recommended).
  4. Opening without input: a Popup opens in response to input; a shortcut-opened menu is an overlay Panel (as recommended).
  5. One open at a time, except submenus (as recommended).
  6. Create on open, destroy on close (as recommended).
  7. Clicks on other shell surfaces close a focused Popup (as recommended).
  8. Tooltip behaviour: keys Close_On_Exit, Exit_Delay, Enter_Delay and Open_On_Enter; the caller is the hovered module; a Tooltip key is opt-in for every module, built-in and custom; the same key works by hand on blocks and surfaces (maintainer, 2026-10-28). The key names were settled the same day (below). Open: how the shell reads a module's rectangle.
  9. Shadows: the visual shape (border plus body size) is what the compositor places; the transparent shadow margin is ignored and is not part of the popup's size. tre sets the geometry to the whole surface today, so this is a workaround now and TRE-REQ-007 Popup Body Geometry later (maintainer, 2026-10-28).
  10. Content larger than Max_Width or Max_Height: clamp and scroll (maintainer, 2026-10-28).
  11. The default Max_Width and Max_Height: 300 and 400 (maintainer, 2026-10-28).
  12. The tooltip key: Tooltip: true | false on a Popup; Tooltip: <file> or an inline Popup on a module, and the same on a block or surface when written by hand (maintainer, 2026-10-28).
  13. The default delays: Enter_Delay 500 ms and Exit_Delay 200 ms (maintainer, 2026-10-28).

Modules and Runtime

Clock Module

  • strftime patterns (maintainer, 2026-10-27, the recommendation). Open: locale-aware names through the locale param.
  • Follow the desktop's 12 or 24 hour setting and locale by default; the user can set both (maintainer, 2026-10-27). Open: how KDE exposes them. #needs-verification
  • format is validated when the use is loaded, through a hook in the module contract (maintainer, 2026-10-27, "on use loaded"). The hook is proposed in Module Contract.
  • No calendar to start with (maintainer, 2026-10-27).
  • The shell offers a shared time source (maintainer, 2026-10-27); the shape is in Module Context > A shared time source.

Shell Start and Stop

All seven were answered on 2026-10-28.

  1. One instance: a lock; a second start is refused.
  2. Exit codes: the table above.
  3. Failure notice: a desktop notification when the shell stops at start or fails a reload, opt-out.
  4. Config directory creation: create it with the default folders when missing.
  5. Timeouts: 3 seconds per module and 10 seconds in total.
  6. Ready notice: the shell notifies systemd (READY=1 and STOPPING=1 on NOTIFY_SOCKET).
  7. Lock path: $XDG_RUNTIME_DIR/tesserae-shell/, not the config directory.
  8. XDG_RUNTIME_DIR is required, with no fallback; the shell checks it in pre-flight and sets the sticky bit on its lock file (maintainer, 2026-10-28, as recommended; the control socket was dropped by ADR-0013).

Config Discovery and Registry

All seven were answered on 2026-10-28, as recommended.

  1. Scan depth: recursive for all types.
  2. A copied file with a duplicate UID: an error naming both.
  3. Retention of removed records: 30 days.
  4. What a rebuilt record holds: name, kind or type and file from the scan; saved state is lost.
  5. Named entries: registry-only UIDs for entries inside a file.
  6. A backups/ folder under the config directory for the first UID write.
  7. Unimported shell files: a _Shell.tdl in Shells/ that nothing imports is ignored with an info notice.
  8. Should the registry writer be one thread that writes once per 500 ms? Context: the registry file is rewritten on UID writes and scans, and a burst of changes should not cause a burst of writes. This was proposed and never asked. Recommendation: yes, one writer thread with a 500 ms write interval.
  9. The UID write: the shell patches the text at the node's position and does not print the tree back out (D10, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  10. A property key repeated inside one block is an error naming both places; repeated block names are allowed (D9).

Validation and Errors

All seven were answered on 2026-10-28, as recommended.

  1. Unknown keys are errors.
  2. Rule slugs in logs, no numeric codes.
  3. Stop at 50 errors.
  4. A notification for a failed start or reload, opt-out.
  5. A check command (it needs the IPC and CLI note).
  6. A size limit of 1 MiB per TDL file.
  7. Stage 5 only after every file passes stage 4.

Raised by the move to TDL (ADR-0014 Shell File Language), not yet asked:

  1. Should the TDL error list (rule slugs for syntax errors such as an unclosed brace or an unclosed slot) in TDL Language > Errors be accepted as proposed? Context: the list is a proposal and the maintainer has not decided it. Recommendation: accept it as the first list and extend it as real errors appear.

Answered on 2026-10-30 ("Do all as you would recommend", ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)):

  • A property key repeated inside one block is an error naming both places (D9).
  • Boolean and null literals, and how unquoted words become numbers, for stage 4 types: the key's declared type decides (D2).
  • Stage 3 reads the metadata block first, then TDL:, then the root block, which picks the schema (D12, with the file-type key replaced by the root block). The error text for each rule is part of the TDL error list in TDL Language > Errors.

Hot Reload

All seven were answered on 2026-10-28.

  1. The diff key: by identity, then name, then position. Giving blocks that must survive a reorder is the author's job.
  2. Watcher library: inotify_simple with a 200 ms debounce.
  3. Panel state across a reload: shown, hidden and collapsed survive by name.
  4. A failed apply: try to restore the window, then close it and continue.
  5. A notice when a reload applies: off by default.
  6. Settings keys: Hot_Reload and Reload_Debounce.
  7. TEL compile on a worker thread: yes; TEL does all the work and reports the answer (maintainer, 2026-10-28). Still to confirm in the TEL project: no shared mutable state.

IPC and CLI

  • The channel: one D-Bus interface, no socket (ADR-0013 Control Interface, maintainer, 2026-10-28).
  • The bus name io.github.mindderivative.TesseraeShell (maintainer, 2026-10-28).
  • The command name tesserae-shell (maintainer, 2026-10-28).
  • argparse for the CLI (maintainer, 2026-10-28, as recommended).
  • jeepney as the CLI's D-Bus client (as recommended).
  • A call command that reaches module @action methods (as recommended).
  • An events subcommand: later, not v1 (as recommended).
  • A log-level command (as recommended).
  • The KWin helper commands under kwin, with consent (as recommended).
  • Client exit codes 3 and 5 (maintainer: "That is fine").
  • FullscreenState as a full list of outputs (as recommended).
  • Shell completion scripts: later (maintainer: "Later is fine").
  • A settings.tdl key Control to turn the interface off, and Status may list module names (maintainer, 2026-10-28).

Logging

All nine were answered on 2026-10-28, as recommended.

  1. The logger: Loguru, as a formal decision.
  2. enqueue=True for both sinks.
  3. tre's stderr: forward it into the log.
  4. diagnose off by default, with a key to turn it on.
  5. A JSON file format as an option, text by default.
  6. File permissions: directory 0700, files 0600.
  7. Library records at WARNING and above by default.
  8. Per-source levels: later, not v1.
  9. Under systemd, a shorter console line without the timestamp.
  10. The console key: name accepted 2026-10-29 (see the key table in Configuration).

tess-dl Handover

  1. Should tess-dl publish 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.
  2. 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-dl session after a TDL-REQ-###, not the shell session directly.

tess-utils Brief

  1. Private repository (maintainer, 2026-11-03).
  2. The shell's code session starts the build; any project may add (maintainer, 2026-11-03).
  3. Where the sync script lives: option C, a manifest vendor.json in tess-utils and a short script in each consumer, the shell writing the first (maintainer, 2026-11-10, as recommended).
  4. Bundled by each PyPI-released project at release time, pulling the latest from tess-utils (maintainer, 2026-11-03).
  5. "Latest" means the latest tag, not main (maintainer, 2026-11-10).
  6. Credentials: the maintainer's standard GitHub credentials (2026-11-10). No separate deploy key for now; a CI release job, if one is ever made, is a new question.
  7. The "100+" was an example of where a project could go over a long time, not a present count (maintainer, 2026-11-03). On 2026-11-03 a compiled extension was not wanted yet; on 2026-11-08 the maintainer wants releases as a single compiled .so (tess-utils Brief > Decision Direction: One Compiled .so per Release (2026-11-08)). The dependency rule is still ADR-0019 Dependency Policy: a library only for what would be a project of its own, otherwise a few lines of our own code.
  8. The compiled build tool: typed Python compiled with mypyc; Rust only for a compelling need (maintainer, 2026-11-08).
  9. Pillow stays outside the .so and is imported lazily by tess_utils.image (maintainer, 2026-11-08, as recommended).
  10. Linux x86_64 on CPython 3.14 first; macOS and Windows when there is a strong way to test them (maintainer, 2026-11-08). The stable ABI (abi3) is still to be settled when the compiler is chosen.
  11. Git tags for the .so versions, and the release file as a GitHub release asset on the private repository (maintainer, 2026-11-08: "Agreed" and "git tags are fine"). The wheels of the consumers are platform wheels (accepted).
  12. tess-utils pushed and the v0.1.0 release exists on GitHub (maintainer, 2026-11-10: the repository shows the 0.1.0 release). The code session reports (peer message, 2026-11-10) that v0.1.1 is pushed and released on the private repository at the maintainer's word, and that the real tools/vendor_utils.py sync from GitHub works and the shell carries it (D111); the vault cannot see GitHub.
  13. The shell replaces its own converters in binder/convert.py with tess_utils, keeping the typed Value, Origin and BindError wrappers in the shell (maintainer, 2026-11-10, as recommended; done by the code session).
  14. The compiled file has no submodule imports (tess_utils.color); the public API is the top-level names (maintainer, 2026-11-10, as recommended).

Events and Actions

  1. The spelling of two-word events is the underscore rule: On_Anim_Start (maintainer, 2026-11-04).
  2. Can a "before" handler cancel the thing it precedes (a veto)? Context: events run either before or after the thing happens, so a "before" handler could in principle stop it. Recommendation: no veto in v1; a handler only observes and may run an action.
  3. How are the older event names and the later additions reconciled? Context: the twelve v1 events and the list of possible later ones come from the maintainer's M3 answers (see Events and Actions > The Events), and the older names in this note differ in places. Recommendation: keep the maintainer's twelve as the canonical v1 set and list the older names as later additions until each is needed.
  4. What is the final shape of the event record and of On_Input(Event, Args)? Context: the handler example reads event.name, event.source, event.time, and event.old and event.new for changes. Recommendation: fix exactly that record for v1 and add fields only with a new event that needs them.
  5. Call, caller.data and submenus: as recommended (maintainer, 2026-11-10), written above.

TEL Integration

  1. How is the name tree built and updated on a hot reload (M2b)? Context: the choices are to rebuild the whole tree or to patch the changed element. Recommendation: rebuild the whole tree at M2b, because a reload is rare, and patch only if a measured cost demands it.
  2. At M2a a slot reads only the module's own sent values and params; a slot in a shell file or in a module call's param is not-built (as built, M2 Build Log). The name tree and other modules' keys wait for a module that needs them.
  3. evaluate_tracked with a conditional expression is re-tracked for the names it reads now: confirmed by a test in tess-shell (077d347, M2 Build Log).
  4. A slot error on the first build leaves the property unset and logs the error (as built).

M3 Brief

All six were answered on 2026-11-04, together with G1 to G9 ("As recommended" for each).

  1. M3 is split into M3a, M3b and M3c, in that order.
  2. G1: "Events and Actions" is written (Events and Actions) from the maintainer's list of twelve events and the possible later additions.
  3. G2: hand-written default palettes, generation from the accent later.
  4. G3: the portal reader belongs in M3a, so dbus-fast comes in before M4.
  5. G8: measure the Frame on KWin first (C1) and decide from the figures.
  6. The Clock's locale and tooltip move to M3b.

Added on 2026-11-04

  1. Decided yes by the maintainer (2026-11-05). Does mdi ship in the package from M3? The earlier decision is that v1 ships only mdi (2026-11-01), and D26 left the icon set out of M2. Recommendation: yes, as package data with its Apache 2.0 licence text and the per-icon exceptions list (R-23), read as the lowest-priority set after the user's Icons folders.

M4 Brief

  1. Scope: TextBox, TextEditor, Badge, Tooltip, Toggle, Marquee text and Checkbox are all V1 (maintainer, 2026-11-08), so M4 builds them with the rest.
  2. M5 stays one milestone, broken into smaller parts (M5 Brief); release is M7 and focus and keyboard is M6 (M6 Brief) (maintainer, 2026-11-08).
  3. W1 and W7: the vault session writes Standard Modules and the v1 accessibility note before M4a (maintainer, 2026-11-08, as recommended). Written, and on 2026-11-10 the maintainer answered all their open questions (Standard Modules, Accessibility), so both are at review.
  4. W3 and the wrap: Wrap is word wrapping now, character wrapping later; a single-line field has horizontal scroll or ellipsis, a multi-line field wraps by word or does not (maintainer, 2026-11-08).
  5. W3: the ellipsis shows while a single-line field is not edited and the text scrolls to keep the caret visible; the keys are the block key Wrap: WORD \| NONE for multi-line and the style key Overflow extended with SCROLL for single-line, default SCROLL (maintainer, 2026-11-08, as recommended).
  6. W8: the surface content fade applies to an Expander (maintainer, 2026-11-08).
  7. The boundary with M6: M4 widgets work by the pointer and a clicked text field takes typed text; Tab and arrow-key focus, the focus ring, :focused and keyboard operation of every widget are M6 (maintainer, 2026-11-08, as recommended).
  8. W3 and tre: the maintainer chose (a) with (b) meanwhile (2026-11-08, "As you recommend"): he carries TRE-REQ-016 Text Input Wrap and Overflow to tre, and the shell builds a workaround for the single line (fixed height, scroll through selection and tre's caret_move, ellipsis at rest). A multi-line TextEditor has no word wrap until tre supports it (no shell-side route): it ships with Wrap: NONE behaviour or waits, and Standard Modules > TextEditor says so.
  9. W5: Pillow lives in tess_utils, imported lazily by tess_utils.image, outside the compiled .so (maintainer, 2026-11-08; tess-utils Brief, ADR-0017 Shared Utilities). The shell lists Pillow in its own pyproject.toml and never imports it directly. The image module is built when M4b needs Bitmap and Image.
  10. The shell side of Enabled: the shell stops the widget's events itself, since tre only sets the accessibility state (maintainer, 2026-11-08, as recommended).
  11. Is Part: <name> the key that declares a part of a module (a block in its layout), with Module::part and Module::part:hovered|pressed|disabled as the only selector forms for now? Context: the code session reports (not confirmed here) that the spec was silent and it built Part:; .class::part and #name::part give a "not built" warning; a part rule weighs between class and name. Recommendation: yes; the vault writes Part into Block Reference and the part selectors into Style Schema. Maintainer, 2026-11-13: as recommended.
  12. Is this the right behaviour for a disabled block? Context (code session's report): the block and all its descendants take no hover, press or click; a click is swallowed at the block; pointer_down and pointer_up still bubble, so a press on a disabled block still dismisses a Popup; no tooltip opens over it; re-enabling under the pointer restores hover at the next pointer event. Recommendation: yes; the vault writes it into Standard Modules and Accessibility. Maintainer, 2026-11-13: as recommended.
  13. Should Call check its arguments against the action's Python signature at load? Context: the spec says an unknown argument is a load error, but no note declares an action's parameters, so the code session built only the checks that the target module and action exist (reported, not confirmed). Target is the module's Name, as in Clock.cycle_format; the arguments arrive unordered in event.args. Recommendation: yes, read the parameter names from the @action method's signature, so a module declares nothing extra; the vault amends Events and Actions. Maintainer, 2026-11-13: as recommended.
  14. Does caller.uid stay the uid of the use of the module that opened the Popup, not a module uid? Context: the Popup note says "module name and UID", but a Popup cannot reach a module UID (reported). Recommendation: yes; the vault corrects the Popup note. Maintainer, 2026-11-13: as recommended.
  15. Does Enabled on a use of a module disable that module's root block and so its whole subtree? Context: Standard Modules says modules take the common keys; the first report said a module call took only its own parameters. The code session now reports (build log, not confirmed here) that a module call takes the common block keys and forwards them to its root, which is the recommendation. Recommendation: yes; the vault writes it into Standard Modules. Maintainer, 2026-11-13: as recommended.
  16. When a surface holds a text field, may the shell override an explicit Keyboard: NONE with ON_DEMAND? Context (reported): a field needs the keyboard to take typing, and the code session overrides the written value silently. Recommendation: yes, with one warning at load naming the surface and the field, so the override is not silent. Maintainer, 2026-11-13: as recommended.
  17. Is synchronous image decoding acceptable for M4? Context (reported): the spec says decoding runs off the loop thread and the image "appears when ready"; the code session decodes on the loop thread, and has not measured a decode against a frame. Recommendation: yes for M4; build the off-thread path when a measured decode of a typical icon or photo exceeds 8 ms, and record the measurement in M4 Build Log. Maintainer, 2026-11-13: as recommended.
  18. Should module rule keys pass down the chain of first children of a module's layout, instead of styling the module's root block only (D40)? Context (reported): a module whose root is a wrapper then lets a stylesheet rule such as Clock { Background: ... } reach the visible block. Recommendation: yes, and the vault amends the D40 wording in Style Schema to the first-child chain. Maintainer, 2026-11-13: as recommended.
  19. Should On_Text_Commit stay silent when Max_Length rejects an edit? Context (reported): tre fires input even then, so the shell's On_Text_Commit fires although the text did not change, while On_Changed does not. Recommendation: yes, the shell ignores a commit whose text equals the previous text. Maintainer, 2026-11-13: as recommended.
  20. Is a submenu declared only as a named Popup (Submenu: Share_Menu), with the inline MenuItem { Children { Menu } } form left out of v1? Context (reported): only the named form is built; two spellings of one thing would break one-spelling-per-key. Recommendation: yes; the vault amends Events and Actions to the named form. Maintainer, 2026-11-13: as recommended.
  21. Should a submenu get the caller.data of the Menu that opened it? Context (reported): today a submenu's caller.data is empty, so a submenu item cannot act on the item of the parent menu. Recommendation: yes, read-only and inherited from the Menu that opened it. Maintainer, 2026-11-13: as recommended.
  22. Are .class::part and #name::part left out of v1? Context (reported): only Module::part is built; the others warn "not built". Recommendation: yes; part rules are written under the module name (M4 Brief question 12). Maintainer, 2026-11-13: as recommended.
  23. Should a disabled Marquee text that is cut with an ellipsis still show a tooltip with its whole text? Context: on KWin (maintainer, 2026-11-11) no tooltip showed over the disabled Marquee however long the pointer stayed; the checklist and Standard Modules > Marquee text expect the whole text in a tooltip. The cause is probably the rule of question 13 that no tooltip opens over a disabled block (reported decision 4, not confirmed); without the tooltip a disabled cut text cannot be read. Recommendation: yes; the rule of question 13 gets one exception, the automatic whole-text tooltip of cut text, and the code session fixes it. Maintainer, 2026-11-13: as recommended.
  24. Is the one input-method check on KWin (task A2) needed before M4 is done? No: the maintainer did not perform it and does not care about that part (2026-11-11). The input-method behaviour of text fields stays untested (V1 Widgets, Questions After Testing).

M5 Brief

Questions 1 to 7 were answered on 2026-11-05 for this plan when it was M4 (1 to 5 and 7 as recommended; 6 as stated). Question 8 is open; 9 was answered on 2026-11-08.

  1. G1: move Tasks and the launcher to M5 with the KWin script and the shortcuts? Recommendation: yes. (Changed 2026-11-08: Tasks stay in M5, the launcher moves to M6.)
  2. G2: the empty-state convention, available plus If. Recommendation: yes; one rule for every module.
  3. G3: run the audio spike at the start of the Audio part and decide by ADR (asked as M4c). Recommendation: yes.
  4. The split of the services in that order (asked as M4a to M4d), with Tray movable. Recommendation: yes. (Split further on 2026-11-08: M5a to M5h.)
  5. G4: write the module specs in the order Battery, Workspaces, Network, Media, Audio, Tray, each at review before its part. Recommendation: yes; the vault session writes them.
  6. Battery is tested on the fake service only; there is no laptop check. The Battery KWin check is therefore the hidden state on this desktop (IsPresent false) plus the fake service.
  7. Decided: all six, in that order. Does the default shell show all six at once on the Bar, or is the default Bar a smaller set? This changes the shipped Main_Shell.tdl, not the modules. Recommendation: all six, in the order Workspaces, Media, Network, Audio, Battery, Tray, Clock.
  8. G12: should the content fade skip a module that appears or disappears through If, so that only a surface's own motion and an Expander fade? Context: a fade on every If change would make the empty-state convention (G2) flicker as services come and go. Recommendation: yes. Yes: the content fade skips a module that appears or disappears through If; only a surface's own motion and an Expander fade (maintainer, 2026-11-12, as recommended).
  9. M5 stays one milestone, broken into smaller parts (maintainer, 2026-11-08), with focus and keyboard as M6 and release as M7.
  10. Should a call to a service with no owner raise ServiceUnavailable (with .state), rather than return UNAVAILABLE as D-Bus Service Layer > Calling a Service says? Context (code session's M5a report, not confirmed here): a return value would make every call site compare against a sentinel; the state is also on bus.state(name) and in available. Recommendation: raise, and the vault rewrites the spec line to match. Maintainer, 2026-11-12: as recommended.
  11. Is "an unread service counts as unavailable" right, so available is false right after proxy() and turns true when the service is read, a few milliseconds later? Context (reported): a module with two services may get false, true. Recommendation: yes; the module is hidden until its service is read. Maintainer, 2026-11-12: as recommended.
  12. Should a module hear on_service_lost for a service that was absent from the start? Context (reported): nothing was lost; the module sees available: false and gets on_service_found when the service appears. Recommendation: no. Maintainer, 2026-11-12: as recommended.
  13. When the IPC interface is built, who re-requests the shell's own bus name after a bus restart? Context: the layer has Bus.on_reconnect(hook); the shell owns no bus name yet. Recommendation: the IPC module, through Bus.on_reconnect and once at start. Maintainer, 2026-11-12: as recommended.
  14. Is the AND rule right for available when a module uses several services (all present)? Context (reported): Tray (watcher plus an item) and Media (several players) use more than one. Recommendation: yes; a module that needs "any" (Media) makes one proxy per player after it finds them and reads bus.state(name). Maintainer, 2026-11-12: as recommended.
  15. Should a one-shot proxy.get leave a PropertiesChanged rule on the bus for the life of the module? Context (reported): get is cached and subscribes the first time; fresh=True asks the service directly. Recommendation: accept; fresh=True covers the rare one-off read. Maintainer, 2026-11-12: as recommended.
  16. Keep the identity scheme for a module call inside If and For (parent use, the For's place in the layout, the entry's TEL name, and the call's place, with no source line)? Context (code session's report of d47f5d4, not confirmed here): a first version used the source line, and the shell's own UID: write shifted every key on the first hot reload; a live test caught it. Recommendation: yes. Maintainer, 2026-11-13: yes.
  17. Should a module call inside an If stay one static use, so only its blocks come and go and start and stop do not run on a flip? Context (reported): in a For each entry is its own use with use_added and use_removed. Recommendation: yes. Maintainer, 2026-11-13: yes.
  18. Should the next piece of work be a module call in a For inside a Popup? Context (reported): the Tray menus need it, and the uses end when the Popup closes; today it is an error naming the call. Recommendation: yes, as separate work before the Tray part. Maintainer, 2026-11-13: yes.

Reported by the code session, not confirmed here (peer messages, 2026-11-12): the maintainer answered the M5b decisions in its session: a {{ }} slot in an icon param, yes; a hidden module takes no Bar Spacing, fix now; keep the warning when a service leaves; leave profile unused until the Menu that switches profiles; a TRE-REQ for the tre visible: false layout-space quirk, not filed because the shell handles it; an unknown runtime icon shows the broken-image icon; a module call inside If and For, as separate work. These are recorded in M5 Build Log, and the specs below follow them.

  1. Should the code session fix the Workspaces current-desktop marker now? Context: it is the M5b KWin failure of 2026-11-13 (see KWin Results below): the marker does not follow a desktop change, and clicks stop working after the first switch. Recommendation: yes, before M5c; the code session finds the cause (reported: the module reads KWin's current, and a fake KWin passes), and a test that changes current on a second real property signal is added. Done without waiting for an answer: the code session reports the fix in aab71a4 (a click compared against a stale own copy of current: certain; the module did not listen to KWin's currentChanged and countChanged: inferred, not seen on your KWin). The maintainer re-tested it on KWin and it works (2026-11-13).
  2. Inside an entry of a For call, should ctx.caller stay as built: for a handler written on the call it is the holder of the call, and for the entry's own layout it is the entry's use? Context (code session's report of 36fa502, not confirmed here; it is question 19 in the M5 Build Log). Recommendation: keep. Maintainer, 2026-11-13: keep.
  3. Should caller.data stay a copy made when the Popup opens? Context (reported; build log question 20). Recommendation: keep. Maintainer, 2026-11-13: keep.
  4. Is a shell-file If or For written directly in a Popup's content left out for now? Context (reported; build log question 21): it is still refused; module layouts inside a Popup can use them (the Tray menus). Recommendation: yes, not now. Maintainer, 2026-11-13: yes.
  5. Should the Network tooltip's Wi-Fi percent round down in fives (72 and 73 both show 70), or to the nearest five (72 shows 70, 73 shows 75)? Context (code session's M5c report, 01dc853, not confirmed here; its question 22): your answer to the Network spec was "rounded to 5", and the spec's own acceptance bullet (72 to 73 changes nothing sent) only fits round-down; the code session built round-down. Recommendation: keep round-down, and the spec says "rounded down in fives". Decided by the orchestrator on 2026-11-13 (directive rule 7, Tier 1): as recommended.
  6. Should the icon rows that the Network spec's table lacks, which the code session filled (for example connected with no known kind shows network), be folded into the spec's table? Context (reported; its question 23). Recommendation: yes; the vault copies them from the build log into the table. Decided by the orchestrator on 2026-11-13 (directive rule 7, Tier 1): as recommended.
  7. When a VPN is the primary connection, should the icon describe the link under it and the tooltip add VPN <name>? Context (reported; its question 24): the spec said a VPN is never the kind, but it did not say what to show when NetworkManager reports the VPN as primary. Recommendation: yes. Decided by the orchestrator on 2026-11-13 (directive rule 7, Tier 1): as recommended.
  8. Should the Network state-change announcement to assistive technology be left to the M6 accessibility pass? Context (reported; its question 25): the spec proposed one polite announcement when the state changes to or from connected; it is not built. Recommendation: yes, M6 builds every announcement together. Decided by the orchestrator on 2026-11-13 (directive rule 7, Tier 1): as recommended.

M6 Brief

  1. The parts: M6a focus, M6b keyboard operation, M6c shortcuts, M6d keyboard-only access and the launcher (maintainer, 2026-11-10, as recommended).
  2. The launcher belongs to M6 (it needs a shortcut), not M5 (maintainer, 2026-11-10, as recommended).
  3. K3: the Shortcuts action names: see Global Shortcuts > Open Questions (maintainer, 2026-11-10); four given, the rest by testing.
  4. K4: the live shortcut test on this machine at the start of M6c, after a copy of kglobalshortcutsrc (maintainer, 2026-11-10, as recommended).

M2 Brief

All seven were answered on 2026-11-04 ("1. yes ... 6. yes, 7. M2b").

  1. M2 is split into M2a and M2b, in that order.
  2. Design first: the TEL Integration note is written while M1 is built (TEL Integration).
  3. G3, G4, G5 and G6 are accepted as recommended (module contract, context API, value types, module file).
  4. G7: the Clock in M2 has format, hour_cycle and timezone; locale and the tooltip wait for M3.
  5. G8: the file UID write is in M2a, with a backup outside the config folder.
  6. G10: tokens and themes move to M3; M2 uses literal values.
  7. B5: icon sets are in M2b.

M1 Brief

All six were answered on 2026-11-03. The tess-shell session reported the first five over the mailbox and the maintainer confirmed them in chat: "That is correct, I added SVG and agreed to M1 - M5. Yes, they can."

  1. Scope: the blocks Box, FlexBox, Text, Rectangle, Spacer and SVG, inline Style only, one Bar. SVG was added by the maintainer.
  2. The typed tree classes live in binder/model.py and schema imports them.
  3. The binder builds each surface with Window.build only.
  4. Theme tokens are resolved by the shell before binding; M1 has none (literal values only).
  5. The Block Reference "tre" columns are corrected against tre by a test at T3, and the notes are fixed from its output.
  6. The code session may start T1 to T4 before the design notes reach review.

Render Binder Design

  1. font_family takes one string; a comma-separated stack is accepted; rendering of the fallback is to check in a real window.

  2. fill colours text (tess-shell, snapshot test).

  3. Does the binder resolve theme tokens ($color.surface) itself, or does the shell resolve them before binding? Context: tokens arrive with M2. Recommendation: the shell resolves them, so the binder sees literal values.
  4. What shape does View take for If and For branches (M2)? Context: IfNode and ForNode exist from M1, and M2b built View.rebuild (Render Binder Design > The View and the Later Operations). Recommendation: keep the one View and let rebuild replace the branch or entry that TEL reports as changed.
  5. Is the key table hand-written or generated from the Block Reference? Context: a test guards it either way. Recommendation: hand-written, guarded by the test.

M0 Brief

  1. The code session waits for tesserae-engine 0.6.0 (maintainer, 2026-11-03).
  2. check is syntax-only in M0; the schema comes with M1 (maintainer, 2026-11-03).
  3. T9 results are written to a file under tests/perf/ in the repository (maintainer, 2026-11-03: "add it to a file"), not only reported in chat.

Testing Strategy

  1. M1 commits one reference PNG of the example at 400x32, compared with a tolerance (maintainer, 2026-11-04, D17).
  2. Which other blocks get reference images? Context: M1 has one reference PNG; more images cost review time when looks change. Recommendation: add one image per block when that block is built, with the same tolerance.
  3. Does the table-vs-docs test read the vault directly in the maintainer's environment, or a copy under tests/data/ that a script refreshes? Context: CI has no vault. Recommendation: the copy, so CI works.
  4. Do we adopt tre's headless sway setup for the CI job? Context: the job is needed once the first LayerWindow is built. Recommendation: adopt tre's setup at that point.
  5. Do we set a coverage target? Context: a target early on rewards trivial tests. Recommendation: none at first; report coverage only.

Shell Package Layout

  1. When should the PyPI name tesserae-shell be registered? Context: the name is free today. Recommendation: register it when the first release nears.
  2. Should services/ split into its own library later? Context: the D-Bus layer is useful beyond the shell. Recommendation: not now; revisit after the first release.
  3. What is the folder layout of a shipped module? Context: user modules keep the TDL and Python files side by side (Module File). Recommendation: modules/<name>/ with the TDL and Python files side by side, as user modules are.
  4. Are the import rules enforced with import-linter or with a small test of our own? Context: the acceptance criteria already name tests for the forbidden imports. Recommendation: a small test of our own, to avoid another dependency.

Performance Budgets

  1. Do you accept the proposed values above, or change them? Context: see Performance Budgets > Proposed Values for the Missing Numbers. Recommendation: accept them as the v1 starting values and revise after the first measurements.
  2. Are the budgets checked in automated tests (a headless idle-CPU test) or only measured by hand in v1? Context: Vault Reference > Design completeness checklist lists testing through window.simulate. Recommendation: measure by hand in v1 and add the headless idle-CPU test once the budgets have held through one milestone.
  3. Which machine counts as the reference: the maintainer's AMD desktop, or a slower laptop? Context: the budgets are only meaningful against one machine. Recommendation: the AMD desktop sets the numbers; spot-check on a slower laptop before release.
  4. For the four misses, do you change the budget or ask for a fix? Context: see Performance Budgets > M7c Reading (code session's report, 2026-11-19; not run in the vault). Recommendation: B02 raise to 6 (it misses by 3% in one artificial Bar, and the default shell reads 4.07); B12 change to 2 ms p99 (the CLI end to end is 58 ms against 100); B14 change to 2 calls, because the shell matches the client library; B18 keep 15 ms as a target and ask the code session for a fix or a cheaper bind of large trees. Separately, ask for a look at the 7 MiB reload retention. Answered by the maintainer on 2026-11-19: use the recommendation. B02 is now at most 6 wake-ups per second, B12 at most 2 ms p99, B14 2 calls per action, B18 stays 15 ms as a target with a fix requested, and the reload retention gets a look.

Wayland Protocols

Answered on 2026-10-28.

  1. The window list: the KWin script (as recommended).
  2. Virtual desktops: the KWin D-Bus interface (as recommended).
  3. A diagnostic: part of tesserae-shell status, not a new command (as recommended).
  4. Blur behind translucent surfaces: an engine request later (as recommended).
  5. The data-control protocol and a clipboard test: tre answered and then built the test (see Clipboard above). The shell still has its own test criterion (Wayland Protocols > Acceptance Criteria); it can reuse tre's helpers. The maintainer asked for the test to be filed with tre on 2026-10-29; it already existed as tre issue 243.
  6. Binding KDE-private protocols from a service or autostart launch: permission given (maintainer, 2026-10-28). Tested as a systemd user service: it works. An autostart launch is still untested.

KWin Integration

All seven were answered on 2026-10-28 or 2026-10-29 (as recommended).

  1. How the script is loaded: at run time by the shell; a persistent install through the command.
  2. Which rule, if any: raise the shell's surfaces; opt-in.
  3. A test script inside KWin: permission given and the test done (above).
  4. The script id and folder tesserae-shell-kwin in kwin/TesseraeShell/.
  5. The silent-script warning after 5 seconds.
  6. The settings keys KWin.Script and KWin.Hide_On_Fullscreen.
  7. An OSD on top of a fullscreen window: none in v1, consistent with the earlier decision that a fullscreen window always covers every shell element; revisit if a need appears. (This one had no recommendation written; I took the earlier decision as the answer.)
  8. The namespace convention: every shell surface uses the layer-shell namespace tesserae-shell.<type>.<name>, the type in lower case (maintainer, 2026-10-29, as proposed; the placeholder reads <type> since D24).
  9. May the rule test back up kwinrulesrc to /tmp, write one rule group and remove it again on this machine? Context: kwin rule install writes one group and remove restores the file; the test needs permission, like the shortcut test in Global Shortcuts > Open Questions item 1. Recommendation: yes, in the testing phase and not before, after the backup.

Plasma Coexistence

  1. Should the shell offer a tesserae-shell doctor command that prints the owners table for a bug report? Context: the owners table in this note is what a bug report needs, and the command would print it from busctl-style reads. Recommendation: yes, but after v1.

D-Bus Service Layer

  1. Do the hooks on_service_lost and on_service_found belong to the module contract or to the helper's subscription call? The module contract, so every module handles a service the same way (maintainer, 2026-11-12, as recommended). They are written into Module Contract.
  2. Should the system bus connection open lazily or at start? Lazily, on the first call that needs it (maintainer, 2026-11-12, as recommended).
  3. What is the Applications source for the launcher? Desktop entries read from the files for v1; KRunner is left as a later search backend (maintainer, 2026-11-12, as recommended). The files, their folders and the search belong to the Applications spec owed before M6d (M6 Brief). #needs-verification

Global Shortcuts

  1. Test permission: the live test with a throwaway component, after a copy of kglobalshortcutsrc to /tmp, in the testing phase and not before (maintainer, 2026-11-10, as recommended).
  2. The u flags: the maintainer found nothing in the note that said plainly what they are. Written plainly in Global Shortcuts > The u Flags in Plain Words (2026-11-10).
  3. A held key does not repeat the toggle (maintainer, 2026-11-10, as recommended).
  4. The portal path is not built in v1; commands only (maintainer, 2026-11-10, as recommended; Portals).
  5. The action names: Enter_Shortcut_Mode, Exit_Shortcut_Mode, Set_Shortcut_Mode, Next_Focus and Previous_Focus are given (Focus and Keyboard). The form is Shortcuts { Name: "keys" } (2026-11-08). The names of the other actions are now a question under Questions After Testing (item 7 of 2026-11-10 asked for them to follow the test).
  6. Key strings: any case is accepted, ctrl+shift+F1 and Ctrl+Shift+F1 alike, and converted to the backend's form. A string the shell cannot parse is a value error with file:line:column (maintainer, 2026-11-08, as recommended).
  7. Precedence: the desktop's or compositor's global shortcut wins over the shell's; the shell warns about conflicts with the desktop and within the shell; a change in System Settings on KDE wins as before. On a compositor with no global mechanism the shell cannot listen globally, and says so once at start (maintainer, 2026-11-08; this replaces my recommendation that the user's Shortcuts win over a surface default).
  8. Two shell actions that share a key at the same level: neither works, with one warning naming both (maintainer, 2026-11-08; this replaces my recommendation that the first in load order keeps it).
  9. Modes: decided by the maintainer on 2026-11-10 as Shortcut_Mode: true | false on a surface, with Enter_Shortcut_Mode, Exit_Shortcut_Mode, Next_Focus, Previous_Focus and Tab_Index; written in Focus and Keyboard. Open there: how mode keys are delivered (recommendation: the mode's surface takes keyboard focus, not more global shortcuts) and the name of the action that sets the mode on a focused Panel.

Shortcuts Stay Changeable

The maintainer asked (2026-11-10, items 4 and 7) that shortcuts be as dynamic as possible, and where not, easy to change or tweak after testing. So: no key and no action binding is hard-coded; every key comes from settings.tdl Shortcuts or from a surface's own declared key; the Shortcuts block is read again at hot reload and the registrations are updated (a changed key is re-registered, a removed one is unregistered, with no restart); and the Shortcut_Mode of a surface can be changed at run time (Focus and Keyboard). The live test and the first weeks of use decide the final keys and where each key is declared.

Portals

  1. Should the shell ship a .desktop file and which application id should it use for Register and delivery? Context: the portal Registry needs an id that matches the basename of a .desktop file (see the registry paragraph above); the Delivery notes must record it. Recommendation: use the shell's own D-Bus name as the id and ship the matching .desktop file in the package; the exact id is fixed in the Delivery notes. #needs-verification Decided by the orchestrator on 2026-11-13 (directive rule 7): as recommended.
  2. Is the GlobalShortcuts portal worth building for any v1 target? Context: v1 registers shortcuts through the KDE shortcut service (Global Shortcuts) and commands cover other compositors. Recommendation: no. Decided by the orchestrator on 2026-11-13 (directive rule 7): as recommended.
  3. What does type.system.font_family hold when the desktop names no font? Context: the spec did not say. As built the token is always defined and holds sans-serif, so check does not report a bad token for a layout that uses it; whether tre accepts the generic name sans-serif is untested. Recommendation: keep it, and confirm the generic name against tre before the note is stable. #needs-verification Answered by the maintainer on 2026-11-16: it holds the default font family. This replaces the built sans-serif. Settled the same day: the default is Roboto, tre's bundled font, and the shell ships no font of its own (the code session found that sans-serif measured 0x0 in tre and would have drawn no text; tess-shell PR #31 built it). The maintainer chose Roboto as the default. Shipping and registering a font of the shell's own would be a separate change that nobody has asked for.
  4. Does a theme that sets type.system.font_family itself keep its value over the desktop's font? Context: as built, yes. Recommendation: yes; a theme's own value is the author's choice, like a fixed accent. Answered by the maintainer on 2026-11-16: yes, a theme's own value wins over the desktop's font.
  5. Is the font's size offered too? Context: font-name carries a size (Hack Nerd Font 10 on this machine); as built only the family is offered. Recommendation: family only for now; a size token can follow if a theme needs it. Answered by the maintainer on 2026-11-16: as recommended, family only.
  6. Keep two names for reduced motion: Appearance.reduced_motion for the portal key alone and motion_reduced for the combined flag? Context: the two names differ only in word order and are easy to confuse. Recommendation: keep one public flag, the combined one, and make the single key private. Answered by the maintainer on 2026-11-16: as recommended. One public flag, the combined one; the single reduced-motion key becomes private. This changes the built names, so it is a follow-up for the code session.
  7. Does an icon theme set in code beat the portal's? Context: as built, yes; the shell's tests rely on it, and no shell file key sets a theme today. Recommendation: yes. Answered by the maintainer on 2026-11-16: as recommended, yes: an icon theme set in code beats the portal's.
  8. May a portal icon-theme change notify listeners without comparing it to kdeglobals? Context: comparing would read a file on the loop thread; the cost of not comparing is one redundant icon refresh. Recommendation: yes, as built. Answered by the maintainer on 2026-11-16: as recommended, yes: notify without comparing to kdeglobals.
  9. Is a wrong-typed portal key logged at debug only? Context: Portals > Failure Modes and Recovery says the key uses its default; the one warning is kept for the portal being unavailable. Recommendation: yes, as built. Answered by the maintainer on 2026-11-16: as recommended, yes: a wrong-typed key is logged at debug only.
  10. Should the schema export list type.system.font_family, so the configuration application can offer it? Context: it is documented only in the repository's README today; a test requires the export's token list to equal the shipped theme's tokens. Recommendation: yes, as a separate list of tokens the shell supplies, so that test keeps its meaning. Answered by the maintainer on 2026-11-16: as recommended: the schema export lists type.system.font_family in a separate list of tokens the shell supplies, so the test that the main list equals the shipped theme keeps its meaning. A follow-up for the code session.
  11. Should an open Tray menu also refresh its icons on a theme change? Context: as built only the item icons refresh; an open menu keeps the old icons until it is opened again. Recommendation: leave it; a theme change while a menu is open is rare and the menu is short-lived. Answered by the maintainer on 2026-11-16: yes, an open Tray menu refreshes its icons on a theme change. This differs from the recommendation and from what was built (only item icons refresh), so it is a follow-up for the code session.

Expression Language Requirements

  • TEL's name: Tesserae Expression Language, tel in code (now tess_el, 2026-11-03). PyPI: tesserae-expression-language, else tel (taken on 2026-10-25), else tess-el.
  • Redesign or extraction: a redesign starting from expr.py.
  • Who owns structure: TDL owns If and For; TEL evaluates expressions (values) only (D11, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30); first answered 2026-10-25 as TEL owning both).
  • TEL's repository and licence: mindderivative/tess-el, MIT (2026-10-25). Local project ~/Projects/pyDev/projects/tess-el.
  • TEL's PyPI name and first release: tesserae-el 0.1.0, language version 0.1 (released 2026-11-02, reported by tess-el, checked on PyPI). The ongoing release process is the maintainer's.
  • Statements and events: none in TEL. The maintainer told tess-el that TEL is an expression language only and that statements, events and handlers belong to the shell (2026-10-26, T15). Syntax and form are worked out in the TEL project (2026-10-25).
  • How do the shell and any other TEL user share TEL's releases without blocking each other? Context: the shell is one of several TEL consumers, and a release that the shell needs must not wait on another user's schedule. Recommendation: the shell pins a released tesserae-el version and asks for changes through requests the maintainer carries to the TEL project, so no consumer waits on another.
  • T17 to T20 are accepted requirements from ADR-0014 (maintainer, 2026-10-31). The tess-el session answered the shell's four questions on 2026-10-31 (see "TEL's Answers"). No request was filed.
  • T3 and T8 are narrowed to expression-level conditionals and comprehensions; structure conditions and repeats are TDL's (D11, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)). T17, T18 and T19 are unchanged.

TDL Reference

Common Keys and Conventions

  • What a version change of TDL: or of a version pin means (the format is a string, 0.1).
  • Case rules: keys and block heads are Capitalised, enum values full upper case (D33), Kind: takes an exact name (ADR-0014 Shell File Language > Layout Rules, items 4, 10, 11 and 13).
  • Unknown keys are errors (decided 2026-10-28, Validation and Errors); unknown metadata keys are kept and ignored (ADR-0014, item 14).
  • The expression delimiter: a slot on one line (ADR-0014, 2026-10-29), written <| |> since TDL 0.2 (2026-11-14; double braces before). The expression syntax inside it is TEL's.
  • Whether a block is named by the word before the brace or by a key: the head is the type and Name: is the unique name (ADR-0014, item 6).
  • Units beyond pixels (a scale-aware unit).
  • A TDL form for a percentage plus pixels: none in v1; it waits for a surface that needs it (D6, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • Boolean and null spellings: bare true, false, null; [] is the empty list (D2).
  • How a repeated use names itself in the file; see TDL Language > Open.

Shell File

  • Several root blocks in one file: now several Monitor blocks, allowed (decided 2026-10-29, ADR-0014 Shell File Language > Layout Rules, item 9).
  • Where shell files live: $HOME/.config/tesserae-shell/Shells/, or the directory settings.tdl names (decided 2026-10-27, Settings File).
  • The top-level shell file is Main_Shell in settings.tdl, default Main_Shell.tdl; it names the file only (Settings File).
  • The names of the surface keys: accepted by the maintainer on 2026-10-29. Their types follow the per-type specs.
  • How a surface lays out its modules (order, spacing, alignment): a surface layout key, or the surface being a container widget.
  • The keys each surface type adds (Surface Types).
  • How Edge, Width, Height, Alignment, Offset and Gap map to tre: accepted in Bar > Mapping to tre (D61) and built in M1 (bar_geometry, tested on the worked examples).
  • Whether a surface is named by the word before the brace or by a key: the head is the type and Name: is the unique name (ADR-0014, item 6).
  • The order in which the shell tries several monitor selectors on one block: Connector, then Description, then Index (ADR-0014 Layout Rules, item 15, decided 2026-10-30).
  • What an imported _Shell.tdl contains: surface blocks only, which take the importing Monitor's monitor (D22, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).

Module File

  • Params types in M2 are string, number and boolean; defaults are in v1 because the Clock needs them (maintainer, 2026-11-04, G6).
  • The root is Module { Params { ... } Children { ... } }; Children may hold a single block, not only a container (G6).
  • The widget property names and which belong in style or on the widget. Settled with the themes in M3a.
  • Where a module file's own Style: and Params { } sit: inside the Module { } root block (D17, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • Whether Type: stays inside a param declaration: yes, as a property, not a file key (D17). Open: Default: and the type names (Module File > Params).
  • Whether a module can declare the keys its Python sends. Deferred past M2.
  • Whether a module can contain other modules: the flow diagram says yes ("Can Nest"); the meaning for params, names and UIDs is open (Shell Structure).
  • How events are declared on a widget and how they name @action methods. Settled with Events and Actions before M3b (M3 Brief).
  • Whether a module call may take the name word before the brace: yes, the head is the module's metadata Name: (ADR-0014, item 7). Open: how a repeated use names itself in the file (TDL Language > Open).

Style, Theme and Stylesheet Files

  • The full property list per widget, and which belong in style and which on the widget.
  • The class key: Kind: Text inside the class, the one meaning of Kind: (ADR-0014 Shell File Language > Layout Rules item 11).
  • The theme token set and file shape: proposed in Style Schema > Theme Tokens; the values belong to 50 Design System (not started).
  • The stylesheet rule shape: Rule { Selector: "...", ... } blocks, the selector a quoted string (D5; Style Schema > Stylesheet Selectors).
  • The precedence order: theme, stylesheet, style, inline (decided).
  • Whether a style file may extend another.
  • Light/dark and high-contrast switching: in the theme, or in several theme files.

Style Schema

The maintainer accepted the proposal as written on 2026-10-27; the names below are the starting set and may change while the shell is built and tested.

  • The principles and the key set.
  • The colour role names.
  • Modes inside one theme.
  • The $group.name reference form.
  • The state, part and selector forms.
  • Which keys are style and which are block layout properties: as proposed, with the split revisited when the blocks are specified.
  • Elevation as a level number. Superseded 2026-11-02: it is a percentage (D88). Open: the curve from the percentage to the shadow, and the values of Max (the design system).
  • The JSON Schema generation from block declarations: JSON Schema and Editor Support, ADR-0011 JSON Schema for Shell Files.
  • TDL forms for selectors (Rule blocks, D5), number keys (named levels and steps, D4) and unnamed list blocks (repeated named blocks, D4), ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30).
  • The case of token references against Capitalised token keys: matched ignoring case (D16).

Settings File

  • The keys above are the starting set. Which other global settings belong here is deferred to building and testing the shell (maintainer, 2026-10-27); new keys are added to this note as they are found.
  • A configured directory list is searched first and the default folder is the fallback (decided 2026-10-27; reading confirmed by the maintainer the same day).
  • ~ and environment variables are allowed; an unresolved path is an error (decided 2026-10-27).
  • A bad settings.tdl stops the shell with an error on the console and in the log, in $HOME/.config/tesserae-shell/logs/ (decided 2026-10-27).
  • settings.tdl is read before the registry, because it can move the registry (decided 2026-10-27).
  • Reload: Logging applies at once; Directories and Main_Shell need a restart (accepted as proposed, 2026-10-27).
  • Log file naming log_yyyy-mm-dd.log, a new file each local day, no deletion unless Logging.Retention is set (decided 2026-10-27). Open: a real midnight crossing, tested at the testing phase.
  • If the configured registry path has no registry, the shell creates an empty one (decided 2026-10-27). Moving the registry by hand: the user moves the file and sets Registry in settings.tdl; the shell uses the file at the new path. If files already carry UIDs and the registry is new or empty, the shell logs a warning and rebuilds each entry's registry record from the UID in its file rather than issuing new UIDs (recommendation adopted and confirmed by the maintainer, 2026-10-27; the rebuild rules belong to ADR-0007 Shell UI Layer > UIDs and the registry (2026-10-25) and are open there).
  • Per-monitor settings belong in the shell file's Monitor block, not here (Shell File, TDL Language > Monitors (Shell Schema)) (recommendation adopted 2026-10-27).
  • The name settings.tdl is confirmed (D20, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • The metadata form of settings.tdl: the root block Settings { } with a required Name: (D20 as revised by D26 and D39).
  • The Settings entry in the schema set: settings.schema.json (JSON Schema and Editor Support > Files).

JSON Schema and Editor Support

  • Accept ADR-0011 JSON Schema for Shell Files (2026-10-27).
  • Draft: draft-07 keywords (decided 2026-10-27).
  • Location: $HOME/.config/tesserae-shell/schemas/, ignored by version control (decided 2026-10-27). The modeline part of that decision (relative for files in the config directory, absolute for others) died with the YAML language server.
  • jsonschema cost: lazy import, a validation cache, and its location $HOME/.cache/tesserae-shell/ (decided 2026-10-27). Open: jsonschema's own dependencies on the target Python. #needs-verification
  • Editor support in v1: no language server; a small TextMate grammar ships (maintainer, 2026-10-29, ADR-0014 Shell File Language).
  • An Obsidian view of the schemas is out of scope; the maintainer's editor is the target.

Redesign questions after ADR-0014 Shell File Language, answered by D12 (ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)) unless marked open:

Note

Redesign of ADR-0011 - [x] ADR-0011 stands for load-time and reload validation of the parsed tree; the editor part is dropped. - [ ] After v1, which editor feedback is wanted (completion, hover, diagnostics), and by what route: a TDL language server, an editor plugin that reads these schemas, or none? D12 keeps the schemas for a future language server and decides nothing more. - [x] schemas/ is still generated on disk, for the tesserae-shell schema command and a future language server. - [x] The block part is an ordered list of entries (head, properties, children) that keeps repeated names. - [x] The loader reads the metadata block first (checks TDL and Name), then picks the schema by the root block and the suffix; the schema then validates both the metadata part and the block part. - [ ] What does the TDL parser cost on 50, 500 and 5000 entries? Re-measure with the validation numbers above. - [ ] Do the schema-path-to-position mapping and the oneOf versus if/then findings hold on a TDL tree? - [ ] What does the TextMate grammar cover beyond highlighting (nothing else is planned)?

Python API

Module Contract

  • self.ctx is set by the base class before start(); there is no constructor argument (maintainer, 2026-11-04, M2 decisions, G3).
  • Only @action-marked methods are callable from a shell file (maintainer, 2026-10-26).
  • Is action the final decorator name, and may an action return a value? Context: the value form of an event key (a bare action name, or a block with Action: and named arguments) was decided on 2026-11-01 in Block Reference > Events; Events and Actions uses action and ignores a returned value in v1. Recommendation: keep action and ignore return values in v1.
  • What are the Block base class and Prop helper of a custom block? Context: Block Reference > Custom Block API (Decided) describes the custom block API. Recommendation: define both exactly as that section states and add nothing else in v1.
  • How a module used several times is named: a use's Name: is for the file, references and expressions, and Python uses the <Module>@<uid> key (D23, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30); the head word is the module name, ADR-0014 Shell File Language > Layout Rules, items 6 and 7). Which names an expression reads (params, sent values) stays open under Integration.
  • The package is tess_shell; a module writes from tess_shell import Module, action (maintainer, 2026-11-04, G3).
  • M2 offers only ctx.on_tick("second" or "minute"), driven by the shared wall-clock source; ctx.every and ctx.after wait until a module needs them (G4).
  • reload() takes no arguments; the module re-reads ctx.config (G3).

Module Context

  • M2: ctx.send(key, value) takes one key and one value (G4); a dict form can come later.
  • ctx.uses is a mapping from <Module>@<uid> to the use, as in the example (G4).
  • Can a module send to a specific monitor? Context: deferred past M2; no M2 module needs it. Recommendation: not before a module needs it.
  • Is ctx.state_dir needed, or is ctx.data_dir enough? Context: deferred past M2; the Clock needs neither. Recommendation: offer only ctx.data_dir until a module needs a separate state directory.
  • What does ctx.tdl() return for imported files and for values that are TEL expressions: the raw text or the evaluated value? Context: a module reads data, not syntax. Recommendation: the evaluated value, with the raw text reachable through the tree view.
  • The name ctx.yaml is renamed ctx.tdl (D14, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • What shape does the read-only view of the TDL tree have: does it support lookup by Name:, and does it expose comments? Context: D12 (ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)) fixes the tree as an ordered list of entries (head, properties, children) that keeps repeated names, with the metadata block read first. Recommendation: offer lookup by Name: and do not expose comments.
  • The brace shorthand {2, 2, 2, 2} is not defined; the three forms of D7 stand (ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • M2: ticks come from one shared wall-clock source scheduled to the next second or minute boundary; a module's tick subscriptions end on stop() and on a replacement of its instance (G4).
  • Param names written on a use stay as the module declared them (D18, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • An action names a use by the Label@<uid> key from ctx.uses (D23, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).

Python Builder

  • What is the entry point: a function that returns the model, a class, or a script that calls the shell API? Context: the choice shapes how the shell finds and runs a Python-defined shell. Recommendation: a function that returns the model, because it is the easiest to test and to compare with a TDL tree. #needs-verification
  • How is a Python-defined shell found, and where is its UID stored (P4)? Context: a TDL file keeps its UID in the metadata block. Recommendation: keep the UID in the model's metadata, as a TDL file does, and find the shell through one configured entry point.
  • Is the Python form a separate package or part of the shell package? Context: a separate package keeps the shell import-light. Recommendation: part of the shell package in v1, split later if needed.
  • How do errors point to Python source lines (P3)? Context: TDL errors point to file lines. Recommendation: record the call site (file and line) when a head is constructed and report it in errors.
  • Is importing between Python and TDL part of v1 (P7)? Context: it doubles the loader work. Recommendation: no, not in v1.
  • If and For signatures stand, and the parity test compares trees, including metadata, and ignores comments and layout (D15, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • What are the signatures of the metadata setter and the head constructors? Context: see Python Builder > Metadata and Heads (Proposed Signature Sketch). Recommendation: adopt the sketch as written.

Value Types and Conversion

  • The four conversions above are v1 (maintainer, 2026-10-26). Additions later.
  • Should the shell warn when a key is sent but no view reads it? Context: deferred past M2. Recommendation: log it at debug level only, with no user-facing warning.
  • Are units logical pixels only, or also a scale-aware unit? Context: TDL fixes the file spelling: pixels as a whole number, 50% for a percentage (ADR-0014 Shell File Language); percent plus pixels is not in v1 (D6, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)). Recommendation: logical pixels and percentages only in v1.
  • Named sides are a block, and no brace shorthand is defined (D7, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • true, false and numbers are typed by the key's schema, not the parser (D2, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)).
  • How does rgba(...) alpha convert to 0 to 255 (rounding)? Context: colours are sent in M3 or later, and tess_utils decides. Recommendation: round to the nearest integer.
  • How is an image sent, and who owns the buffer? Context: deferred past M2. Recommendation: the module hands the buffer over on send and the shell owns it afterwards. #needs-verification
  • Can a module declare its keys and types in its TDL file? Context: deferred past M2. Recommendation: not in v1; the key schema stays in the module's Python code.

Design System

Building Blocks

  • A module author can add a block, in Python, shipped with the module (maintainer, 2026-11-01). The mechanism is a proposal in Block Reference > Custom Blocks (R12).
  • A free-form Path block: added (2026-10-26).
  • Whether the listed modules can be built from the listed blocks: the maintainer reports yes, tested on Tesserae (2026-10-26). Expander and Marquee need animated layout and translate properties; Slider, Toggle and Button need pointer and drag events from the blocks.
  • Grid: tre has a grid (display: "grid", grid_template_columns, grid_template_rows, row_gap, column_gap); the mapping of Columns, Rows and Spacing is in Block Reference > Grid.
  • The default hit shape of Path and the shape blocks: painted (maintainer, 2026-10-27): the reason to use a shape is for the look and for the hit box to be the painted shape. tre 0.5.9 has hit_shape box (its default) or painted; the shell's shape blocks set painted. SVG and Canvas are not covered by hit_shape (Hit Testing for Concave Corners).
  • How icons are found: the shipped SVG set (a JSON file), then the freedesktop icon theme, then the config Icons folder, then the locations a developer lists in the settings file (maintainer, 2026-11-01; Block Reference > Icons (R7)).
  • The state model: data in through Text and edits out through On_Changed, with no two-way binding (R6, maintainer, 2026-11-01).
  • Accessibility defaults for each block (roles, labels, keyboard operation) (Goals and Non-Goals G7): as in Block Reference > Accessibility Defaults (maintainer, 2026-11-01).

V1 Widgets

  • Which of TextBox, TextEditor, Badge, Tooltip, Toggle, Marquee text and Checkbox are v1: all of them (maintainer, 2026-11-08).
  • Which text-input behaviour TextField needs for v1: single-line and multi-line (maintainer, 2026-11-08). Wrapping: Wrap means word wrapping for now and character wrapping comes later; a single-line field has horizontal scroll or an ellipsis, because wrapping a single line makes no sense; a multi-line field wraps by word or does not. The key names are proposed in M4 Brief W3.
  • The properties and states of each: Block Reference; proposals R1 to R11 decided 2026-11-01. The v1 block set is R11.

Engine Requests

TRE-REQ-001 Layer Surface Window

  • Confirm the absences listed under What tre has today in the tre source. Done in tre #195.
  • Choose the implementation path (I1, I2, I3). Spike recommends I2 (tre #196); the maintainer confirms.
  • Check which of wl_output v4 and xdg-output-unstable-v1 KWin exposes for stable output names. wl_output v4 gives names (spike).
  • Decide keyboard focus for popups under a "none" parent. Overlay route uses keyboard="exclusive" while a menu is open.
  • Decide whether LayerWindow.animate covers only margins or also size and exclusive_zone (the request recommends margins only). Margins only, as built.
  • Negative margins on KWin: accepted and honoured (spike).
  • Phase 5 (#205) reviewed against this note on 2026-10-23: met on sway, with the gaps listed under Phase 5 as built. Margin drag is updated for the relative-pointer drag.
  • Review tre's scoping of phase 6 (#206): 6a done; 6b approved and built as PopupWindow (tre #223), in 0.5.8.
  • Should the shell clamp margin drag in the moved handler, or ask tre for an optional clamp to the usable area? Context: margin drag ignores other surfaces' exclusive zones, so a widget can be dragged over a bar. Recommendation: clamp in the shell, which needs no tre change; ask tre only if the shell cannot read the usable area.
  • reduced_motion on a LayerWindow: met headless in the hand-off; a live portal change on a layer surface was not run.
  • Does the shell need mask-aware hit testing before TRE-REQ-003? Context: tre #204 made hit testing follow corner_radius only; masks and clip_children stay ignored. Recommendation: do not ask tre yet; decide when the frame prototype shows a concrete need.
  • Should the shell prototype the screen frame on its side before you decide on TRE-REQ-003? Context: tre did the overlay route (6a) and built PopupWindow (6b, #223) in 0.5.8, so the popup half is settled: use PopupWindow for menus. The spike's -1 painter and 1 px reserver results support the frame layout. Recommendation: yes, prototype first, then decide on TRE-REQ-003 from the result.
  • tre's animation progress is clock-driven (Tree::tick_all(now: Instant)). What the loop does when frames stop is untested; requirement 2 still needs a test.
  • Check the 0.5.7 docs for the mask API, concave corners, blend modes and shape-aware box hit-testing. Hit testing follows corner_radius, not masks (tre #204).
  • Decide whether v1 targets wlroots-family compositors as well as KWin, which affects which compositors the acceptance tests cover. Both KWin and wlroots (maintainer, tre #195). Only sway and KWin tested.

TRE-REQ-005 Keep-Alive and Loop Stop

  • What stop() does to open windows: closes them all unconditionally, each hears closed, then run() returns (tre).
  • keep_alive is an argument of run(), not of App (tre).
  • Non-Wayland: keep_alive works, with no output events and no error (tre).
  • The closed reason for a stop: "stopped", on ordinary windows too (as built, per tre).

Research

D-Bus Libraries for Python

  • The maintainer's choice of library: dbus-fast on a shared asyncio service thread, jeepney as the fallback (ADR-0009 D-Bus Client Library).
  • The shared service thread is part of the chosen design (ADR-0009 D-Bus Client Library).
  • The name and shape of the helper for modules (42 Python API, to write).
  • PipeWire access path (D-Bus, wpctl, a library): a separate survey.

Logging with Loguru

  • Choose a logger: Loguru, chosen by the maintainer on 2026-10-28 in Logging (the runtime spec).
  • Python 3.14 support and maintenance: confirmed by the maintainer and the repository (see above). Still to test: that the pinned release runs on 3.14.
  • Default log location: $HOME/.config/tesserae-shell/logs/, configurable in settings.yaml (decided 2026-10-27, Settings File).
  • Log file naming log_yyyy-mm-dd.log, a new file each local day, retention left to the user (decided 2026-10-27, Settings File > Log files). A Loguru 0.7.3 test showed the {time:YYYY-MM-DD} path field works and a restart appends, but rotation adds a timestamp suffix to the finished file, so the shell swaps the sink itself at midnight.
  • Defaults for variable display in tracebacks: diagnose off, tested 2026-10-28 (Logging > Safety); decided 2026-10-28.
  • Decide how TEL reports problems without depending on the shell's logger.

Shadows on Layer Surfaces

  • Whether KWin draws an org_kde_kwin_shadow shadow for a wlr-layer-shell surface: yes on top and overlay, KWin 6.8.1 (see the live test).
  • Bottom and background layers, and how the shadow follows a surface that animates its size.
  • How Plasma's own panels get their shadow (plasma-framework / plasma-workspace source).
  • How Waybar, eww, Fabric, AGS/Astal, Quickshell shells and COSMIC do shadows.
  • How the Edge Shell prototype drew its shadows.
  • Whether tre can expose the surface for route A, and whether the engine accepts a shadow request (Vault Reference > Requests between projects). Ask the tre session before writing a request.
  • The memory cost of the larger transparent buffer for route B: 134 KB per buffer for a 32 px margin on a 320x140 body (see the performance test). Still to measure at Frame size, per Surface Types > Performance budget.

Questions After Testing

Questions that a test, a probe or a release must answer first. Each is embedded from the note that owns it.

tess-utils Brief

Answered by: the first mypyc build of tess_utils (see question 10 above).

  1. Should the compiled .so target the stable ABI (abi3) or a CPython 3.14 specific build? Context: question 10 left it open until the compiler is chosen; mypyc output may not support abi3, which only a build shows. Recommendation: the CPython 3.14 specific build unless mypyc produces abi3 without cost.

Render Binder Design

  • Do AUTO and EXPAND map in tre as the Block Reference sizes say, for each block? Context: the shell maps EXPAND to flex_grow 1 with align_self stretch because tre refuses expand; this is untested per block (Block Reference). Answered by: rendering each block with both values in a real window. Recommendation: test the blocks that take Width and Height first and record the result in the Block Reference.

ADR-0001 Shell Surface Strategy

Answered by: the first Tesserae Shell build running on KWin (maintainer, 2026-10-25: deferred to the testing phase).

  • Which KWin release first exposes zwlr_layer_shell_v1? Context: the design assumes KWin 6.8.1, where tre tested. Answered by: running the build on older KWin releases. Recommendation: record the first release that works as the minimum KWin version in this ADR.
  • What is the org_kde_plasma_shell status for third-party clients? Context: Option D is not pursued, so nothing in the design depends on it. Answered by: probing the protocol on the live KWin session. Recommendation: probe once and record the result; no design change.
  • Are non-layer-shell compositors (GNOME) out of scope for v1? Context: until answered the design targets KWin and wlroots compositors; LayerWindow raises UnsupportedPlatform elsewhere. Answered by: the first run on a non-layer-shell compositor. Recommendation: declare them out of scope for v1.
  • How do gtk-layer-shell and Quickshell attach a layer role to a toolkit surface? Context: this informs Option B, which is not pursued. Answered by: reading their source. Recommendation: skip unless Option B is reopened.

D-Bus Service Layer

  1. Are 1 ms (own work in a callback) and 50 ms (logged slow callback) the right numbers? Keep them until the spike shows real callback times, then set them from the measured p99 (maintainer, 2026-11-12, as recommended). The numbers are proposals until the D-Bus spike with the real modules measures them.

Focus and Keyboard

  1. How are mode keys delivered? Option A, the mode takes keyboard focus (maintainer, 2026-11-10, as recommended). Yes, the shell may use EXCLUSIVE keyboard mode for the length of the mode if KWin does not hand focus over after a global key (maintainer, 2026-11-10, as recommended); the live KWin test shows whether it is needed.
  2. What are KWin's focus rules for layer surfaces, and which Keyboard mode (ON_DEMAND or EXCLUSIVE) does the mode need? Context: on Wayland the compositor decides which layer surface has keyboard focus. Recommendation: try ON_DEMAND first and use EXCLUSIVE for the duration of the mode only if KWin does not hand focus over. Answered by: the live KWin test (key press, then check which surface receives key events). Until that test: the maintainer decided on 2026-11-15 that shortcut mode keeps EXCLUSIVE as the default and the recommendation to try ON_DEMAND first is not taken; Debug { Mode_Keyboard: ON_DEMAND } in settings.tdl stays as the switch to try the other mode. Built this way in 45f7a9f (the code session's report).

Global Shortcuts

Numbers 3, 4 and 7 keep the numbers they had in Open Questions, because other notes refer to them.

  1. Does a component without a desktop file appear in System Settings with its friendly name? Answered on 2026-11-15 by the maintainer's hand check: yes, it shows as "Tesserae Shell" with both rows and their keys (Global Shortcuts > KWin Hand Check of M6c (maintainer, 2026-11-15; code session's report, not run in the vault)). Original text: Context: the maintainer answered "No" on 2026-11-10, but the vault cannot tell whether that means "it does not appear" or "not needed", and the question is a fact about KDE. Recommendation: treat it as unanswered and settle it by the live test; if the component shows only by its id, ship a desktop file for the friendly name (Portals). Answered by: the live test with a throwaway component (Open Questions item 1). #needs-verification
  2. Which TDL key sets the shortcut of a Panel or a module action (Shortcut), and what is its value type? Context: Reveal_Key is decided in name only (Bar); the maintainer (2026-11-10) wants this tested before a decision, with shortcuts as dynamic as possible and easy to change afterwards (Global Shortcuts > Shortcuts Stay Changeable). Recommendation: Shortcut: "keys" on the Panel or module, a string in the same form and parsing rules as the Shortcuts block (item 8), with Reveal_Key as the Bar's name for the same thing. Answered by: the live test, registering a shortcut from a surface key and from Shortcuts. Decided by the orchestrator on 2026-11-13 without the live test: Shortcut: "keys" on a Panel, equal to a Toggle_<Name> entry (Global Shortcuts > Action Names and Forms (Decided 2026-11-13)).
  3. What are the names of the shell actions other than Enter_Shortcut_Mode, Exit_Shortcut_Mode, Set_Shortcut_Mode, Next_Focus and Previous_Focus? Context: the maintainer (2026-11-10) left the rest of the list for testing, with the same requirement as question 4: dynamic, and easy to change after tests; the form is Shortcuts { Name: "keys" }. Recommendation: one action per surface verb (toggle, show, hide) named in Verb_Surface style like the four given names, fixed after the live test shows which actions are used. Answered by: the live test and the first weeks of use. Decided by the orchestrator on 2026-11-13: Toggle_<Name>, Show_<Name>, Hide_<Name> and block entries that carry a handler (Global Shortcuts > Action Names and Forms (Decided 2026-11-13)).

KWin Integration

  1. Which key names does the rule file use, and does the rule raise the shell's surfaces above other windows? Context: the rule is opt-in and its keys are not written yet. Recommendation: use the key names KWin writes when the same rule is made in System Settings, copied from a backed-up kwinrulesrc, and keep the rule to one group. Answered by: the rule test of question 8 with the live KWin 6.8.1. Update, 2026-11-16: the maintainer says the rule does apply on his real KWin and that every overlay-layer surface (Popups and Panels with Layer: OVERLAY) sat above the Plasma panels in all his testing. A private kwin_wayland --virtual run by the code session showed otherwise (the shell's surface listed with an empty class); the code session withdrew that claim, since a private KWin does not reproduce how the real one classifies or stacks things. The rule file's keys were created from the shell's own kwin rule show, and whether KWin applies a rule change without a logout is not recorded. #needs-verification

Plasma Coexistence

  1. Does a second tray host see items that registered before it joined? Context: the watcher's RegisteredStatusNotifierItems property lists them, so the host would read it at registration. Recommendation: read the property at registration (as proposed). Answered by: starting the shell as second host while items are registered and comparing its list with the property.
  2. How does an app behave when it checks IsStatusNotifierHostRegistered and only the shell's host is present? Context: plasmashell normally registers a host. Recommendation: keep the shell's host registered at all times so such apps show their icon. Answered by: a test with plasmashell stopped, in a throwaway session.
  3. Do the same name owners hold on Plasma versions before 6.8 and on Fedora, KDE neon and Arch? Context: the owners table was read on one machine (KWin 6.8.1). Recommendation: state the table as verified for 6.8 only and add a column per distribution as results arrive. Answered by: reading busctl --user list on each distribution.

Portals

  1. Does ReadAll need a registered app id? Context: the Registry says an unsandboxed app registers before any other portal call; whether reads work without it is unknown. Recommendation: always call Register first (as the acceptance criteria say) unless the test shows reads fail or break with it. Answered by: calling ReadAll on org.freedesktop.appearance with and without Register on this machine. Update, 2026-11-16 (code session's report of a real-session run with the maintainer's yes, backed up and undone): Register without the desktop file installed fails with "App info not found"; with io.github.mindderivative.TesseraeShell.desktop in ~/.local/share/applications there is no warning and the appearance settings are read. So installing the desktop file is what makes the portal accept the app id (Packaging and Session Start > The Desktop File). Whether ReadAll itself needs the registration was not tested.
  2. Does the KDE backend emit SettingChanged for the accent colour and the colour scheme at once, and for a custom colour scheme? Context: the theme re-resolve is coalesced to one per frame (Portals > Failure Modes and Recovery). Recommendation: re-resolve on either signal and read all keys again, so the order of signals does not matter. Answered by: changing scheme, accent and a custom scheme in System Settings while busctl --user monitor watches the portal.
  3. Does tre have a reduced-motion switch for the shell to set, or does the shell apply it alone? Context: acceptance requires no animation with reduced-motion 1. Recommendation: the shell applies it alone (it already does for Panels, D49) and uses a tre switch only if one exists. Answered by: checking tre's window and animation reference and a spike with an animated surface.
  4. Is the 100 ms budget from signal to screen met on a loaded machine? Context: the code session saw test_a_scheme_change_on_the_bus_reaches_the_bar_within_100_ms take 1076 ms once in 6 runs of a CI shard, unexplained, one sample. Recommendation: keep the budget and read it on an idle machine; look again if it repeats. Answered by: repeating the test on an idle machine and on CI. Update, 2026-11-15 (code session's report, tess-shell PR #19): the same unexplained wait of about 650 ms before the portal reader saw a signal happened in 2 of 36 CI runs of one shard, while applying the look itself always took 0 to 1 ms. The test is now the best of five runs with a 3 s hang guard, so the 100 ms budget is checked on the shell's own work and the signal's arrival is not. Where the wait comes from is still unknown (the bus, the runner or the reader thread).

Battery Module

Answered by: a check of every mdi name in the icon table against the shipped icon set.

  1. Do all the mdi names in the icon table exist in the shipped set? Context: a missing name shows no icon. Recommendation: run the check before M5 starts this module and rename any that fail. #needs-verification

Workspaces Module

Answered by: the first test on a real KWin session, and a D-Bus read of the desktop list.

  1. Which call switches desktops: setting current or /KWin setCurrentDesktop(int)? Context: current names the desktop by id; the KWin call uses a number and can race a reorder. Read-only checks cannot answer it. Recommendation: set current.
  2. Is the type of desktops a(iss) or a(uss)? Context: see the warning above; the wrong signature fails the call. Recommendation: read the property on a real session and use what it returns. #needs-verification

Logging

Answered by: a check of Loguru's behaviour and of systemd.exec(5).

  1. Does logger.remove() flush the enqueued records at stop? Context: both sinks use enqueue=True, so a lost queue would lose the last lines before exit. Recommendation: assume yes only after a test that logs, stops and counts the lines. #needs-verification
  2. Can forwarding tre's stderr into the log block the process? Context: a full pipe or a slow sink could stall the forwarder. Recommendation: forward on its own thread and test with a burst of output. #needs-verification
  3. What does JOURNAL_STREAM mean in systemd.exec(5)? Context: the shell uses it to detect that it runs under systemd and shortens the console line. Recommendation: read the man page and test under a user unit before relying on it. #needs-verification

Shell Start and Stop

Answered by: a test on the target session that lists the lock directory after a cleaner pass and checks the sticky bit.

  1. Does any cleaner run on the target session, and is the sticky bit honoured on the lock files? Context: a cleaner that removes the lock file would allow a second instance. Recommendation: keep the sticky bit and verify on the real session. #needs-verification

Events and Actions

  1. Does tre report animation start and end to the shell? #needs-verification Context: On_Anim_Start and On_Anim_End depend on it. Recommendation: raise them from the shell's own animation timers if tre does not report them. Answered by: a probe of tre's animation reporting.
  2. Can tre parent a popup to a popup? Context: submenus in Call need it (question 5 above). Recommendation: if tre cannot, open the submenu as a sibling popup positioned beside its parent. Answered by: the M4c tre probe.

V1 Widgets

  1. Do composition and input methods work with a real input method on layer surfaces? The check was not performed and the maintainer does not care about it (2026-11-11); it stays untested.
  2. Does tre's text_input support each text-input behaviour (single-line scroll or ellipsis, multi-line word wrap or none)? Yes with tre 0.6.6 (TRE-REQ-016, verified headless by the code session, not repeated in the vault), and the maintainer's KWin check of the fields passed (M4a rows 15 to 20, 2026-11-11).

Testing Strategy

  1. How does tre expose the accessibility tree to a test? Context: Accessibility checks need it. Recommendation: assert on the tree if tre exposes one, and otherwise check roles through the shell's own model. Answered by: a probe of tre's accessibility API.

TRE-REQ-001 Layer Surface Window

  1. Do window.set(x=, y=, always_on_top=, skip_taskbar=) do anything on Wayland, so that Option C could place or stack a bar under KWin? Context: tre #195 reads the source: they call set_outer_position and set_window_level, which winit documents as unsupported on Wayland, and skip_taskbar is Windows only. Recommendation: treat Option C as unusable and keep the layer-surface route (I2); confirm only if a live session is cheap to run. Answered by: a live KWin session test.
  2. Do covered surfaces keep receiving frame callbacks, and how do KWin's own map and unmap effects treat layer surfaces? Context: the spike did not test frame callbacks under a fullscreen window. Recommendation: test under a fullscreen window before the bar ships. Answered by: a live KWin test with a fullscreen window over the bar.
  3. Does reduced_motion follow Plasma's animation speed? Context: tre reads it from the settings portal (org.freedesktop.appearance reduced-motion); with Plasma 6.8 at speed factor 0.25 it reported 0, so it likely does not follow the factor. 0.5.8 also makes the OS reduced-motion and contrast preferences send live changes on a desktop whose portal only has GNOME's older keys (enable-animations, high-contrast) (upgrade notes). Recommendation: do not rely on the factor; offer a shell setting for reduced motion. Answered by: toggling the Plasma animation setting and the portal value on a live session.
  4. Which is the first KWin release that exposes zwlr_layer_shell_v1? Context: shared with ADR-0001. Recommendation: keep the KWin 6.7 floor already stated. Answered by: checking KWin release notes or a build probe.

TRE-REQ-005 Keep-Alive and Loop Stop

  1. Is the idle cost with zero windows acceptable? Context: with keep_alive and no windows, tre checks CPU ticks and wake-ups over 5 s (Process Model and Threading > Performance notes). Recommendation: accept if the loop shows no CPU ticks and no wake-ups in 5 s. Answered by: the 5 s CPU tick and wake-up measurement.
  2. Does KWin behave the same as sway for keep_alive with zero windows? Context: the acceptance criteria were checked on sway. Recommendation: ship only when both behave the same. Answered by: running the same zero-window test on a live KWin session.

TRE-REQ-008 SMIL Animation in SVG Nodes

  1. Does usvg drop SMIL elements or fail on them? Context: it drew the test icons without error. Recommendation: no action unless a test shows a failure; the pre-pass design does not depend on the answer. Answered by: parsing the animated mli icons with usvg directly.
  2. Is the cost of re-parsing a small document per sample acceptable? Context: tre's target is 30 icons per frame in under 4 ms, to be measured in issue #245. What tre does while only an svg_time animation runs (wake-ups, hidden or occluded windows) was unverified on 2026-11-01; tre measured it on 2026-11-02 (see "Built in tre"). Recommendation: accept tre's target of 30 icons per frame in under 4 ms. Answered by: tre's measurement in issue #245.

TRE-REQ-011 Drain call_soon at Loop Start

  1. Does the same hold with windows open and without keep_alive? Context: tested only with keep_alive and no windows. Recommendation: run the repro with one open window before sending, and widen the request if it also fails. Answered by: the repro run with a window open and no keep_alive.

TRE-REQ-012 Draw a Window Changed in Another Window's Callback

  1. Does the same happen for Window (xdg toplevel) windows as for layer surfaces? Context: the shell has layer surfaces only. Recommendation: run repro_cross_window_redraw.py with two ordinary windows and widen the request if it also fails. Answered by: that repro with Window instead of LayerWindow.
  2. Why does a window with a recurring timer draw promptly after such a change while one without does not? Context: observed in the repro; the cause is inside tre's loop. Recommendation: leave it to tre; it is not needed to state the request. Answered by: tre's diagnosis, or a repro with and without b.every(...).

TRE-REQ-013 Structure-Preserving Path Morph

  1. Is the morph sample count 96 (path.rs) or 48 (the code session's figure) for the build it ran? Context: the code session ran tesserae-engine 0.6.1 in its venv; 0.6.3 is released. Recommendation: use the figure measured on the released 0.6.3. Answered by: reading MORPH_SAMPLES or measuring on 0.6.3.
  2. Can a shader node be hit-tested and clipped today? Context: the docs read do not say. Recommendation: keep the request for Part B of mechanism 2 until a test shows it works. Answered by: a test shader node with hit_shape and a clip.
  3. Does the SMIL d morph the code session is probing already keep arcs and curves (TRE-REQ-008 SMIL Animation in SVG Nodes)? Context: if it does, mechanism 3 is partly covered. Recommendation: wait for the probe before changing mechanism 3. Answered by: the code session's probe.