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:
- Accessibility
- ADR-0001 Shell Surface Strategy
- ADR-0004 Plasma Coexistence
- ADR-0005 Global Shortcuts
- ADR-0007 Shell UI Layer
- ADR-0008 Tesserae Expression Language
- ADR-0009 D-Bus Client Library
- ADR-0011 JSON Schema for Shell Files
- ADR-0012 Keeping the Shell Above Plasma Panels
- ADR-0013 Control Interface
- ADR-0014 Shell File Language
- ADR-0015 Render Binder
- ADR-0021 Audio Access
- Applications Module
- Audio Access Spike
- Audio Module
- Bar
- Battery Module
- Block Reference
- Building Blocks
- Clock Module
- Common Keys and Conventions
- Config Discovery and Registry
- Configuration Application
- Crash Recovery and Watchdog
- D-Bus Libraries for Python
- D-Bus Service Layer
- Data Flow
- Events and Actions
- Expression Language Requirements
- Expression Languages for YAML
- Familiar Names Audit
- Focus and Keyboard
- Frame
- Global Shortcuts
- Hand Checks
- Hit Testing for Concave Corners
- Hot Reload
- IPC and CLI
- JSON Schema and Editor Support
- KWin Integration
- Layers and Components
- Logging
- Logging with Loguru
- M3 Build Log
- M4 Brief
- Media Module
- Module Context
- Module Contract
- Module File
- Network Module
- Packaging and Session Start
- Panel
- Plasma Coexistence
- Popup
- Portals
- Prior Art - Linux Shell Surfaces
- Problem Statement
- Process Model and Threading
- Python Builder
- Render Binder Design
- Security Model
- Settings File
- Shadows on Layer Surfaces
- Shell File
- Shell Start and Stop
- Shell Structure
- Standard Modules
- Style Schema
- Style, Theme and Stylesheet Files
- Surface Types
- System Context
- Tasks Module
- TDL Language
- TEL Integration
- tess-utils Brief
- Testing Strategy
- Tray Module
- TRE-REQ-001 Layer Surface Window
- TRE-REQ-005 Keep-Alive and Loop Stop
- TRE-REQ-006 Repeating Gradients
- TRE-REQ-007 Popup Body Geometry
- TRE-REQ-008 SMIL Animation in SVG Nodes
- TRE-REQ-009 Batch and Tree Building
- TRE-REQ-011 Drain call_soon at Loop Start
- TRE-REQ-012 Draw a Window Changed in Another Window's Callback
- TRE-REQ-013 Structure-Preserving Path Morph
- TRE-REQ-014 Popup Input Region
- TRE-REQ-015 Linear-Light Edge Blending
- TRE-REQ-016 Text Input Wrap and Overflow
- TRE-REQ-017 Caret Movement by Visual Row
- TRE-REQ-018 Tab Leaves a Multi-Line Text Input
- TRE-REQ-019 Popup Close Before Placement
- TRE-REQ-020 Layer Window Update Before the Surface Exists
- TRE-REQ-021 Announce Without a Node
- TRE-REQ-022 Content-Sized Layer Surface
- TRE-REQ-023 Active Descendant
- TRE-REQ-024 Outside Press and Keyboard Leave on Layer Surfaces
- TRE-REQ-025 Third-Party Licence Notices in the Wheel
- TRE-REQ-026 Lost Connection Signal and Layer Shell Re-Probe
- TRE-REQ-027 Announce Keeps Call Order
- TRE-REQ-028 App Drops Closed Windows
- V1 Scope
- Validation and Errors
- Value Types and Conversion
- Vault Reference
- Version Policy and Migration
- Wayland Protocols
- Workspaces Module
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
Integrationspec (40 Specifications). Recommendation: write oneIntegrationspec per service as its module starts, and pick the access path there. - Which D-Bus client library:
dbus-faston 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 insidemodel/. - 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
IfandForbranches: 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
asynciothread 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-faston a shared asyncio service thread,jeepneyas 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)andLoopHandle.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
.pycan 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_updateddo 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 onoutput_updatedand apply it live throughset().
Decisions¶
ADR-0001 Shell Surface Strategy¶
- Confirm tre has no layer-shell or external-surface API (Window reference, source). Confirmed in tre #195, now superseded by the build.
- Specify popup behaviour (parenting, grabs, dismissal) in
TRE-REQ-001. Built asPopupWindowin tre 0.5.8; see TRE-REQ-001 Layer Surface Window > Popups. - Choose the backend path for layer surfaces: I2 built, a second event queue on
winit'swl_display; tre binds layer-shell v5 itself. See TRE-REQ-001 Layer Surface Window > Implementation candidates.
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:andwidget: Textare the same; the unique-name form where a type repeats. - The module's style file type:
type: Style. - Container widgets:
BoxandFlexBox. - 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'smarginis; 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: overlayis 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.yamland so on, withtype: 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:belowshell:. 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: Textorkind: Textto say which block it applies to? Context: the Label style example writeskind: Text, butkind:is the surface kind everywhere else, and the later keys call blocks withblock:(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:andmodule: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 putimport: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), soimport: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
Textwas 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
pathwhere 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 optionalname:, else from their position. - Params and "bubble up": decided (maintainer, 2026-10-26), opt-in only. A param declares
inherit: trueto 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'sPopupWindow. - 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 bydirectoriesinsettings.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
tdland 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 aretess-dl, the PyPI package istesserae-dl(free on PyPI 2026-11-02;tdlis taken), and the Python import name was set totdlon 2026-11-02 and changed totess_dlon 2026-11-03 (D95) so that the import names of all the projects cannot clash with other packages, such as the unrelated PyPI packagetdl. - 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.
ifwith an optionalelse, andforwith a requiredkey, 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:thenshell:(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 andTDL: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.yamlbecamesettings.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 usetrueandfalse. 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 aname:key also give it? Affects module calls, the root header and the path-name rule. The notes keep aname: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: ... }, thespacescale 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 blockSpacer { }. 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
Monitorblocks): allowed, decided 2026-10-29 (Shell File still describesroot). - 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
ifandforto 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 Referenceis now41 TDL Reference, its index note is41 TDL Reference, and the note typeyaml-refis nowtdl-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 examplectx.file) or keep. Decided 2026-10-30, see Decisions on the Open Items. - Python builder signatures for
IfandForand 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 replacesType:; versions are strings;FileNamewas an example; one registry of names for blocks and modules;Kind: shapewas an example;Name:is the unique name andIndex:picks the monitor; severalMonitorblocks are allowed;ImportandRectangleare 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,KeyCapitalised; 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:, andIndex: 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",
Ifstays). 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 hasa if c else btoday;?: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.surfaceform (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:andParams { }sit in the body after the metadata block (as the notes show) or in the metadata block? IsType: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 declarestextand passesText:, 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: Textinside). Whether a theme hasName:in its metadata. Whether$color.on_surfacetoken references matchOn_Surfacecase-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 showSettings: v1as 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,Edgesand the edge namesTop,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.tdlhold surface blocks only, or its ownMonitorblocks? (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'sName:(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 noKind:(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:andView { }suggest? This changes ADR-0006 Shell Independent of Tesserae UI only at the language level (the shell still does not depend ontesserae-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 presumablyModule,Style,Stylesheet,Theme) may name it. This replaces Layout Rules item 2. Recommendation: the root block names the file type and the metadataShell:/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:andTUIF: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-1is a connector, which makes the unique name unstable and clashes with the decidedIndex:,Connector:,Description:selectors. Recommendation: keep the selectors and giveMonitorits own identifier-styleName:(Name: main). Decided 2026-10-30, see Second-Sketch Decisions. - Dotted name paths (
ShellRoot.DP-1.TopBar,.get(...)).DP-1is not an identifier, so inside a TEL expressionShellRoot.DP-1.TopBarreads 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
Bara 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 theBarblock. Recommendation: only into a block that has aName:, 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: writeBorder { Color: "#1e1e1e", Thickness: [2, 2, 2, 2] }. Decided 2026-10-30, see Second-Sketch Decisions. - Key spelling.
CornerRadiusorCorner_Radius? Recommendation: keep the decidedCorner_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,Offsetagainst the acceptedEdge,Span,Length,Thickness,Anchor,Size,Margin,Exclusive_Zone(Bar, Shell File). Recommendation: adopt the sketch's names for a Bar's placement and keepExclusive_ZoneandLayer; map them to tre'sanchor,marginandsizein 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.
FlexandGridon every block? The sketch gives the Bar its ownFlexproperty andGrid { }block; Building Blocks hasBox,FlexBoxandGridas 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 # noteneeds 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:andImport:appear. Recommendation: onlyImport. Decided 2026-10-30, see Third-Round Decisions. - Margin and Padding meanings.
Paddinginside,Marginoutside the block, as in the comments. The Bar spec'sMarginis 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,sizeand margins fromEdge,Width,Height,Alignment,OffsetandGap(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,ENDare 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 theMeldkey may be redundant (Panel). Decided 2026-10-31 (D56): removed on a Panel. - Registry state order. The registry stores a moved Panel's
marginin tre's order (top, right, bottom, left), because it comes from tre'smovedevent. 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):offsetin 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 withChildren(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):Paddingon every block withChildrenand also onTextandTextField, which own a text inset. Decided 2026-11-01:Paddingon every block withChildrenand onTextandTextField(R6, Block Reference > Decisions of 2026-11-01). - Version-folder id. The schema
$idfolder used to come fromShell: v1; howTDL:andShell: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 projectdocs/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
readsand 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 onTop_Bar.Widthand not on the whole tree; drop that when TEL has path tracking. The alternative is to re-evaluate every slot that readsRootShellon 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>_0001counter names forForentries instead ofIcon_<key>, as recommended under Eighth-Round Notes. Also adoptIfas TEL's condition with the first true branch winning, andElseas the end of the chain. Decided 2026-11-01 (D65) for the counter names. TheIfchain is unchanged:Ifwith an optionalElse, noElse If; the shell calls TEL'sselectwith 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
OVERLAYlayer 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 usesinput_region="auto"and no explicit-rectangle workaround. Findings and history: Hit Testing for Concave Corners.
Bar¶
- The placement keys:
Edge,Width,Height, theMax_andMin_bounds,Alignment,OffsetandGap; they replaceSpan,Length,Thickness,Marginand the rawAnchorandSize(maintainer, 2026-10-30). - The mapping of
Edge,Width,Height,Alignment,OffsetandGapto 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
Gaplooks 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_Rotationvalues. - Shadow keys:
Elevation,ShadowandShadow_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,Edgesand the edge names are nested blocks;EdgesholdsTop,Right,Bottom,Leftblocks (D21, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)). - Shadow tokens:
Elevation,ShadowandShadow_Bleedare 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,HandleandSlide_From(maintainer, 2026-11-07; Frame > Peek Triggers and Handles (Decided 2026-11-07)). - Combining triggers:
Triggertakes one value or a list ([HOVER, DRAG]), andAUTOtakes 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,BARandCHEVRON, 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_Fromfor 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_Modeputs the Frame inShortcut_Mode: truewith the initial focus, and in that mode every peek of the Frame shows at the same time, if they can render together;Next_FocusandPrevious_Focuscycle through its panels, peeks, bars and strips byTab_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: falseto 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 throughIfdoes 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,GapandAlignment, and howAttach_Totreats 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:
AttachandAlignmentuse 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).
Popup¶
All nine were answered on 2026-10-28.
- Parent: the caller's surface;
Attach_Tooptional (maintainer, as recommended). - Placement words:
Attach,Alignment,Gap, as the Panel (as recommended). - Size:
AUTOby a headless measuring pass, a fixedWidthandHeight,Max_WidthandMax_Height; a content change while open closes and reopens (as recommended). - Opening without input: a Popup opens in response to input; a shortcut-opened menu is an overlay Panel (as recommended).
- One open at a time, except submenus (as recommended).
- Create on open, destroy on close (as recommended).
- Clicks on other shell surfaces close a focused Popup (as recommended).
- Tooltip behaviour: keys
Close_On_Exit,Exit_Delay,Enter_DelayandOpen_On_Enter; the caller is the hovered module; aTooltipkey 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. - 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).
- Content larger than
Max_WidthorMax_Height: clamp and scroll (maintainer, 2026-10-28). - The default
Max_WidthandMax_Height: 300 and 400 (maintainer, 2026-10-28). - The tooltip key:
Tooltip: true | falseon 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). - The default delays:
Enter_Delay500 ms andExit_Delay200 ms (maintainer, 2026-10-28).
Modules and Runtime¶
Clock Module¶
-
strftimepatterns (maintainer, 2026-10-27, the recommendation). Open: locale-aware names through thelocaleparam. - 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
-
formatis 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.
- One instance: a lock; a second start is refused.
- Exit codes: the table above.
- Failure notice: a desktop notification when the shell stops at start or fails a reload, opt-out.
- Config directory creation: create it with the default folders when missing.
- Timeouts: 3 seconds per module and 10 seconds in total.
- Ready notice: the shell notifies systemd (
READY=1andSTOPPING=1onNOTIFY_SOCKET). - Lock path:
$XDG_RUNTIME_DIR/tesserae-shell/, not the config directory. -
XDG_RUNTIME_DIRis 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.
- Scan depth: recursive for all types.
- A copied file with a duplicate UID: an error naming both.
- Retention of removed records: 30 days.
- What a rebuilt record holds: name, kind or type and file from the scan; saved state is lost.
- Named entries: registry-only UIDs for entries inside a file.
- A
backups/folder under the config directory for the first UID write. - Unimported shell files: a
_Shell.tdlinShells/that nothing imports is ignored with an info notice. - 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.
- 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)).
- 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.
- Unknown keys are errors.
- Rule slugs in logs, no numeric codes.
- Stop at 50 errors.
- A notification for a failed start or reload, opt-out.
- A
checkcommand (it needs the IPC and CLI note). - A size limit of 1 MiB per TDL file.
- Stage 5 only after every file passes stage 4.
Raised by the move to TDL (ADR-0014 Shell File Language), not yet asked:
- 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.
- The diff key: by identity, then name, then position. Giving blocks that must survive a reorder is the author's job.
- Watcher library:
inotify_simplewith a 200 ms debounce. - Panel state across a reload: shown, hidden and collapsed survive by name.
- A failed apply: try to restore the window, then close it and continue.
- A notice when a reload applies: off by default.
- Settings keys:
Hot_ReloadandReload_Debounce. - 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). -
argparsefor the CLI (maintainer, 2026-10-28, as recommended). -
jeepneyas the CLI's D-Bus client (as recommended). - A
callcommand that reaches module@actionmethods (as recommended). - An
eventssubcommand: later, not v1 (as recommended). - A
log-levelcommand (as recommended). - The KWin helper commands under
kwin, with consent (as recommended). - Client exit codes 3 and 5 (maintainer: "That is fine").
-
FullscreenStateas a full list of outputs (as recommended). - Shell completion scripts: later (maintainer: "Later is fine").
- A
settings.tdlkeyControlto turn the interface off, andStatusmay list module names (maintainer, 2026-10-28).
Logging¶
All nine were answered on 2026-10-28, as recommended.
- The logger: Loguru, as a formal decision.
-
enqueue=Truefor both sinks. - tre's stderr: forward it into the log.
-
diagnoseoff by default, with a key to turn it on. - A JSON file format as an option, text by default.
- File permissions: directory 0700, files 0600.
- Library records at
WARNINGand above by default. - Per-source levels: later, not v1.
- Under systemd, a shorter console line without the timestamp.
- The
consolekey: name accepted 2026-10-29 (see the key table in Configuration).
tess-dl Handover¶
- Should
tess-dlpublish its docs as a site, or keep Markdown in the repository? Context: the tre and Tesserae projects publish sites. Recommendation: a site, as the sibling projects do, once the first slice is stable. - Who edits the language text when a shell need changes it? Context: the owner of the language text must be one party after the move. Recommendation: the
tess-dlsession after aTDL-REQ-###, not the shell session directly.
tess-utils Brief¶
- Private repository (maintainer, 2026-11-03).
- The shell's code session starts the build; any project may add (maintainer, 2026-11-03).
- Where the sync script lives: option C, a manifest
vendor.jsonintess-utilsand a short script in each consumer, the shell writing the first (maintainer, 2026-11-10, as recommended). - Bundled by each PyPI-released project at release time, pulling the latest from
tess-utils(maintainer, 2026-11-03). - "Latest" means the latest tag, not
main(maintainer, 2026-11-10). - 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.
- 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.soper 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. - The compiled build tool: typed Python compiled with
mypyc; Rust only for a compelling need (maintainer, 2026-11-08). - Pillow stays outside the
.soand is imported lazily bytess_utils.image(maintainer, 2026-11-08, as recommended). - 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. - Git tags for the
.soversions, 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). -
tess-utilspushed and thev0.1.0release exists on GitHub (maintainer, 2026-11-10: the repository shows the 0.1.0 release). The code session reports (peer message, 2026-11-10) thatv0.1.1is pushed and released on the private repository at the maintainer's word, and that the realtools/vendor_utils.py syncfrom GitHub works and the shell carries it (D111); the vault cannot see GitHub. - The shell replaces its own converters in
binder/convert.pywithtess_utils, keeping the typedValue,OriginandBindErrorwrappers in the shell (maintainer, 2026-11-10, as recommended; done by the code session). - 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¶
- The spelling of two-word events is the underscore rule:
On_Anim_Start(maintainer, 2026-11-04). - 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.
- 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.
- What is the final shape of the event record and of
On_Input(Event, Args)? Context: the handler example readsevent.name,event.source,event.time, andevent.oldandevent.newfor changes. Recommendation: fix exactly that record for v1 and add fields only with a new event that needs them. -
Call,caller.dataand submenus: as recommended (maintainer, 2026-11-10), written above.
TEL Integration¶
- 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.
- 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 isnot-built(as built, M2 Build Log). The name tree and other modules' keys wait for a module that needs them. -
evaluate_trackedwith a conditional expression is re-tracked for the names it reads now: confirmed by a test intess-shell(077d347, M2 Build Log). - 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).
- M3 is split into M3a, M3b and M3c, in that order.
- G1: "Events and Actions" is written (Events and Actions) from the maintainer's list of twelve events and the possible later additions.
- G2: hand-written default palettes, generation from the accent later.
- G3: the portal reader belongs in M3a, so
dbus-fastcomes in before M4. - G8: measure the Frame on KWin first (C1) and decide from the figures.
- The Clock's
localeand tooltip move to M3b.
Added on 2026-11-04¶
- Decided yes by the maintainer (2026-11-05). Does
mdiship in the package from M3? The earlier decision is that v1 ships onlymdi(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'sIconsfolders.
M4 Brief¶
- Scope: TextBox, TextEditor, Badge, Tooltip, Toggle, Marquee text and Checkbox are all V1 (maintainer, 2026-11-08), so M4 builds them with the rest.
- 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).
- W1 and W7: the vault session writes
Standard Modulesand 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 atreview. - W3 and the wrap:
Wrapis 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). - 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 \| NONEfor multi-line and the style keyOverflowextended withSCROLLfor single-line, defaultSCROLL(maintainer, 2026-11-08, as recommended). - W8: the surface content fade applies to an Expander (maintainer, 2026-11-08).
- 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,
:focusedand keyboard operation of every widget are M6 (maintainer, 2026-11-08, as recommended). - 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
selectionand tre'scaret_move, ellipsis at rest). A multi-line TextEditor has no word wrap until tre supports it (no shell-side route): it ships withWrap: NONEbehaviour or waits, and Standard Modules > TextEditor says so. - W5: Pillow lives in
tess_utils, imported lazily bytess_utils.image, outside the compiled.so(maintainer, 2026-11-08; tess-utils Brief, ADR-0017 Shared Utilities). The shell lists Pillow in its ownpyproject.tomland never imports it directly. Theimagemodule is built when M4b needs Bitmap and Image. - 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). - Is
Part: <name>the key that declares a part of a module (a block in its layout), withModule::partandModule::part:hovered|pressed|disabledas the only selector forms for now? Context: the code session reports (not confirmed here) that the spec was silent and it builtPart:;.class::partand#name::partgive a "not built" warning; a part rule weighs between class and name. Recommendation: yes; the vault writesPartinto Block Reference and the part selectors into Style Schema. Maintainer, 2026-11-13: as recommended. - 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_downandpointer_upstill 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. - Should
Callcheck 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).Targetis the module'sName, as inClock.cycle_format; the arguments arrive unordered inevent.args. Recommendation: yes, read the parameter names from the@actionmethod's signature, so a module declares nothing extra; the vault amends Events and Actions. Maintainer, 2026-11-13: as recommended. - Does
caller.uidstay 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. - Does
Enabledon 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. - When a surface holds a text field, may the shell override an explicit
Keyboard: NONEwithON_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. - 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.
- 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. - Should
On_Text_Commitstay silent whenMax_Lengthrejects an edit? Context (reported): tre firesinputeven then, so the shell'sOn_Text_Commitfires although the text did not change, whileOn_Changeddoes not. Recommendation: yes, the shell ignores a commit whose text equals the previous text. Maintainer, 2026-11-13: as recommended. - Is a submenu declared only as a named Popup (
Submenu: Share_Menu), with the inlineMenuItem { 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. - Should a submenu get the
caller.dataof the Menu that opened it? Context (reported): today a submenu'scaller.datais 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. - Are
.class::partand#name::partleft out of v1? Context (reported): onlyModule::partis 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. - 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.
- 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.
- 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.)
- G2: the empty-state convention,
availableplusIf. Recommendation: yes; one rule for every module. - G3: run the audio spike at the start of the Audio part and decide by ADR (asked as M4c). Recommendation: yes.
- 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.)
- G4: write the module specs in the order Battery, Workspaces, Network, Media, Audio, Tray, each at
reviewbefore its part. Recommendation: yes; the vault session writes them. - 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 (
IsPresentfalse) plus the fake service. - 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. - 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 everyIfchange 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 throughIf; only a surface's own motion and an Expander fade (maintainer, 2026-11-12, as recommended). - M5 stays one milestone, broken into smaller parts (maintainer, 2026-11-08), with focus and keyboard as M6 and release as M7.
- Should a call to a service with no owner raise
ServiceUnavailable(with.state), rather than returnUNAVAILABLEas 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 onbus.state(name)and inavailable. Recommendation: raise, and the vault rewrites the spec line to match. Maintainer, 2026-11-12: as recommended. - Is "an unread service counts as unavailable" right, so
availableis false right afterproxy()and turns true when the service is read, a few milliseconds later? Context (reported): a module with two services may getfalse, true. Recommendation: yes; the module is hidden until its service is read. Maintainer, 2026-11-12: as recommended. - Should a module hear
on_service_lostfor a service that was absent from the start? Context (reported): nothing was lost; the module seesavailable: falseand getson_service_foundwhen the service appears. Recommendation: no. Maintainer, 2026-11-12: as recommended. - 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, throughBus.on_reconnectand once at start. Maintainer, 2026-11-12: as recommended. - Is the AND rule right for
availablewhen 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 readsbus.state(name). Maintainer, 2026-11-12: as recommended. - Should a one-shot
proxy.getleave aPropertiesChangedrule on the bus for the life of the module? Context (reported):getis cached and subscribes the first time;fresh=Trueasks the service directly. Recommendation: accept;fresh=Truecovers the rare one-off read. Maintainer, 2026-11-12: as recommended. - Keep the identity scheme for a module call inside
IfandFor(parent use, theFor'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 ownUID:write shifted every key on the first hot reload; a live test caught it. Recommendation: yes. Maintainer, 2026-11-13: yes. - Should a module call inside an
Ifstay one static use, so only its blocks come and go andstartandstopdo not run on a flip? Context (reported): in aForeach entry is its own use withuse_addedanduse_removed. Recommendation: yes. Maintainer, 2026-11-13: yes. - Should the next piece of work be a module call in a
Forinside 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.
- 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 changescurrenton 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 ofcurrent: certain; the module did not listen to KWin'scurrentChangedandcountChanged: inferred, not seen on your KWin). The maintainer re-tested it on KWin and it works (2026-11-13). - Inside an entry of a
Forcall, shouldctx.callerstay 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. - Should
caller.datastay a copy made when the Popup opens? Context (reported; build log question 20). Recommendation: keep. Maintainer, 2026-11-13: keep. - Is a shell-file
IforForwritten 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. - 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.
- 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. - 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. - 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¶
- The parts: M6a focus, M6b keyboard operation, M6c shortcuts, M6d keyboard-only access and the launcher (maintainer, 2026-11-10, as recommended).
- The launcher belongs to M6 (it needs a shortcut), not M5 (maintainer, 2026-11-10, as recommended).
- K3: the
Shortcutsaction names: see Global Shortcuts > Open Questions (maintainer, 2026-11-10); four given, the rest by testing. - 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").
- M2 is split into M2a and M2b, in that order.
- Design first: the TEL Integration note is written while M1 is built (TEL Integration).
- G3, G4, G5 and G6 are accepted as recommended (module contract, context API, value types, module file).
- G7: the Clock in M2 has
format,hour_cycleandtimezone;localeand the tooltip wait for M3. - G8: the file UID write is in M2a, with a backup outside the config folder.
- G10: tokens and themes move to M3; M2 uses literal values.
- 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."
- Scope: the blocks
Box,FlexBox,Text,Rectangle,SpacerandSVG, inlineStyleonly, one Bar.SVGwas added by the maintainer. - The typed tree classes live in
binder/model.pyandschemaimports them. - The binder builds each surface with
Window.buildonly. - Theme tokens are resolved by the shell before binding; M1 has none (literal values only).
- The Block Reference "tre" columns are corrected against tre by a test at T3, and the notes are fixed from its output.
- The code session may start T1 to T4 before the design notes reach
review.
Render Binder Design¶
-
font_familytakes one string; a comma-separated stack is accepted; rendering of the fallback is to check in a real window. -
fillcolours text (tess-shell, snapshot test). - 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. - What shape does
Viewtake forIfandForbranches (M2)? Context:IfNodeandForNodeexist from M1, and M2b builtView.rebuild(Render Binder Design > The View and the Later Operations). Recommendation: keep the oneViewand letrebuildreplace the branch or entry that TEL reports as changed. - 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¶
- The code session waits for
tesserae-engine0.6.0 (maintainer, 2026-11-03). -
checkis syntax-only in M0; the schema comes with M1 (maintainer, 2026-11-03). - 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¶
- M1 commits one reference PNG of the example at 400x32, compared with a tolerance (maintainer, 2026-11-04, D17).
- 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.
- 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. - Do we adopt tre's headless sway setup for the CI job? Context: the job is needed once the first
LayerWindowis built. Recommendation: adopt tre's setup at that point. - Do we set a coverage target? Context: a target early on rewards trivial tests. Recommendation: none at first; report coverage only.
Shell Package Layout¶
- When should the PyPI name
tesserae-shellbe registered? Context: the name is free today. Recommendation: register it when the first release nears. - 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. - 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. - Are the import rules enforced with
import-linteror 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¶
- 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.
- 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. - 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.
- 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.
- The window list: the KWin script (as recommended).
- Virtual desktops: the KWin D-Bus interface (as recommended).
- A diagnostic: part of
tesserae-shell status, not a new command (as recommended). - Blur behind translucent surfaces: an engine request later (as recommended).
- 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.
- 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).
- How the script is loaded: at run time by the shell; a persistent install through the command.
- Which rule, if any: raise the shell's surfaces; opt-in.
- A test script inside KWin: permission given and the test done (above).
- The script id and folder
tesserae-shell-kwininkwin/TesseraeShell/. - The silent-script warning after 5 seconds.
- The settings keys
KWin.ScriptandKWin.Hide_On_Fullscreen. - 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.)
- 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). - May the rule test back up
kwinrulesrcto/tmp, write one rule group and remove it again on this machine? Context:kwin rule installwrites one group andremoverestores 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¶
- Should the shell offer a
tesserae-shell doctorcommand 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 frombusctl-style reads. Recommendation: yes, but after v1.
D-Bus Service Layer¶
- Do the hooks
on_service_lostandon_service_foundbelong 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. - Should the system bus connection open lazily or at start? Lazily, on the first call that needs it (maintainer, 2026-11-12, as recommended).
- 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¶
- Test permission: the live test with a throwaway component, after a copy of
kglobalshortcutsrcto/tmp, in the testing phase and not before (maintainer, 2026-11-10, as recommended). - The
uflags: the maintainer found nothing in the note that said plainly what they are. Written plainly in Global Shortcuts > TheuFlags in Plain Words (2026-11-10). - A held key does not repeat the toggle (maintainer, 2026-11-10, as recommended).
- The portal path is not built in v1; commands only (maintainer, 2026-11-10, as recommended; Portals).
- The action names:
Enter_Shortcut_Mode,Exit_Shortcut_Mode,Set_Shortcut_Mode,Next_FocusandPrevious_Focusare given (Focus and Keyboard). The form isShortcuts { 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). - Key strings: any case is accepted,
ctrl+shift+F1andCtrl+Shift+F1alike, and converted to the backend's form. A string the shell cannot parse is a value error withfile:line:column(maintainer, 2026-11-08, as recommended). - 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
Shortcutswin over a surface default). - 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).
- Modes: decided by the maintainer on 2026-11-10 as
Shortcut_Mode: true | falseon a surface, withEnter_Shortcut_Mode,Exit_Shortcut_Mode,Next_Focus,Previous_FocusandTab_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¶
- Should the shell ship a
.desktopfile and which application id should it use forRegisterand delivery? Context: the portal Registry needs an id that matches the basename of a.desktopfile (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.desktopfile 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. - 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.
- What does
type.system.font_familyhold when the desktop names no font? Context: the spec did not say. As built the token is always defined and holdssans-serif, socheckdoes not report a bad token for a layout that uses it; whether tre accepts the generic namesans-serifis untested. Recommendation: keep it, and confirm the generic name against tre before the note isstable. #needs-verification Answered by the maintainer on 2026-11-16: it holds the default font family. This replaces the builtsans-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 thatsans-serifmeasured 0x0 in tre and would have drawn no text;tess-shellPR #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. - Does a theme that sets
type.system.font_familyitself 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. - Is the font's size offered too? Context:
font-namecarries a size (Hack Nerd Font 10on 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. - Keep two names for reduced motion:
Appearance.reduced_motionfor the portal key alone andmotion_reducedfor 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 singlereduced-motionkey becomes private. This changes the built names, so it is a follow-up for the code session. - 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.
- 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 tokdeglobals. - 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.
- 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 liststype.system.font_familyin 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. - 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,
telin code (nowtess_el, 2026-11-03). PyPI:tesserae-expression-language, elsetel(taken on 2026-10-25), elsetess-el. - Redesign or extraction: a redesign starting from
expr.py. - Who owns structure: TDL owns
IfandFor; 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-el0.1.0, language version 0.1 (released 2026-11-02, reported bytess-el, checked on PyPI). The ongoing release process is the maintainer's. - Statements and events: none in TEL. The maintainer told
tess-elthat 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-elversion 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-elsession 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
rootblocks in one file: now severalMonitorblocks, 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 directorysettings.tdlnames (decided 2026-10-27, Settings File). - The top-level shell file is
Main_Shellinsettings.tdl, defaultMain_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,OffsetandGapmap 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, thenDescription, thenIndex(ADR-0014 Layout Rules, item 15, decided 2026-10-30). - What an imported
_Shell.tdlcontains: 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¶
-
Paramstypes in M2 arestring,numberandboolean; defaults are in v1 because the Clock needs them (maintainer, 2026-11-04, G6). - The root is
Module { Params { ... } Children { ... } };Childrenmay 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:andParams { }sit: inside theModule { }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
@actionmethods. 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: Textinside the class, the one meaning ofKind:(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.namereference 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.
-
Elevationas a level number. Superseded 2026-11-02: it is a percentage (D88). Open: the curve from the percentage to the shadow, and the values ofMax(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 (
Ruleblocks, 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.tdlstops the shell with an error on the console and in the log, in$HOME/.config/tesserae-shell/logs/(decided 2026-10-27). -
settings.tdlis read before the registry, because it can move the registry (decided 2026-10-27). - Reload:
Loggingapplies at once;DirectoriesandMain_Shellneed a restart (accepted as proposed, 2026-10-27). - Log file naming
log_yyyy-mm-dd.log, a new file each local day, no deletion unlessLogging.Retentionis 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
Registryinsettings.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
Monitorblock, not here (Shell File, TDL Language > Monitors (Shell Schema)) (recommendation adopted 2026-10-27). - The name
settings.tdlis confirmed (D20, ADR-0014 Shell File Language > Decisions on the Open Items (2026-10-30)). - The metadata form of
settings.tdl: the root blockSettings { }with a requiredName:(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. -
jsonschemacost: 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.ctxis set by the base class beforestart(); 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
actionthe 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 withAction:and named arguments) was decided on 2026-11-01 in Block Reference > Events; Events and Actions usesactionand ignores a returned value in v1. Recommendation: keepactionand ignore return values in v1. - What are the
Blockbase class andProphelper 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 writesfrom 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.everyandctx.afterwait until a module needs them (G4). -
reload()takes no arguments; the module re-readsctx.config(G3).
Module Context¶
- M2:
ctx.send(key, value)takes one key and one value (G4); a dict form can come later. -
ctx.usesis 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_dirneeded, or isctx.data_direnough? Context: deferred past M2; the Clock needs neither. Recommendation: offer onlyctx.data_diruntil 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.yamlis renamedctx.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 byName: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 fromctx.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.
-
IfandForsignatures 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,falseand 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, andtess_utilsdecides. 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 ofColumns,RowsandSpacingis 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 hashit_shapebox(its default) orpainted; the shell's shape blocks setpainted. SVG and Canvas are not covered byhit_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
Iconsfolder, then the locations a developer lists in the settings file (maintainer, 2026-11-01; Block Reference > Icons (R7)). - The state model: data in through
Textand edits out throughOn_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:
Wrapmeans 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_outputv4 andxdg-output-unstable-v1KWin exposes for stable output names.wl_outputv4 gives names (spike). - Decide keyboard focus for popups under a
"none"parent. Overlay route useskeyboard="exclusive"while a menu is open. - Decide whether
LayerWindow.animatecovers only margins or also size andexclusive_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
movedhandler, 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_motionon aLayerWindow: 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 followcorner_radiusonly; masks andclip_childrenstay 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 builtPopupWindow(6b, #223) in 0.5.8, so the popup half is settled: usePopupWindowfor menus. The spike's-1painter and 1 px reserver results support the frame layout. Recommendation: yes, prototype first, then decide onTRE-REQ-003from 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 hearsclosed, thenrun()returns (tre). -
keep_aliveis an argument ofrun(), not ofApp(tre). - Non-Wayland:
keep_aliveworks, with no output events and no error (tre). - The
closedreason for a stop:"stopped", on ordinary windows too (as built, pertre).
Research¶
D-Bus Libraries for Python¶
- The maintainer's choice of library:
dbus-faston a shared asyncio service thread,jeepneyas 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 insettings.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:
diagnoseoff, 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_shadowshadow for awlr-layer-shellsurface: 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
tresession 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).
- Should the compiled
.sotarget the stable ABI (abi3) or a CPython 3.14 specific build? Context: question 10 left it open until the compiler is chosen;mypycoutput may not supportabi3, which only a build shows. Recommendation: the CPython 3.14 specific build unlessmypycproducesabi3without cost.
Render Binder Design¶
- Do
AUTOandEXPANDmap in tre as the Block Reference sizes say, for each block? Context: the shell mapsEXPANDtoflex_grow1 withalign_selfstretchbecause tre refusesexpand; this is untested per block (Block Reference). Answered by: rendering each block with both values in a real window. Recommendation: test the blocks that takeWidthandHeightfirst 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_shellstatus 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;
LayerWindowraisesUnsupportedPlatformelsewhere. 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¶
- 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¶
- How are mode keys delivered? Option A, the mode takes keyboard focus (maintainer, 2026-11-10, as recommended). Yes, the shell may use
EXCLUSIVEkeyboard 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. - What are KWin's focus rules for layer surfaces, and which
Keyboardmode (ON_DEMANDorEXCLUSIVE) does the mode need? Context: on Wayland the compositor decides which layer surface has keyboard focus. Recommendation: tryON_DEMANDfirst and useEXCLUSIVEfor 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 keepsEXCLUSIVEas the default and the recommendation to tryON_DEMANDfirst is not taken;Debug { Mode_Keyboard: ON_DEMAND }insettings.tdlstays as the switch to try the other mode. Built this way in45f7a9f(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.
- 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
- Which TDL key sets the shortcut of a Panel or a module action (
Shortcut), and what is its value type? Context:Reveal_Keyis 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 theShortcutsblock (item 8), withReveal_Keyas the Bar's name for the same thing. Answered by: the live test, registering a shortcut from a surface key and fromShortcuts. Decided by the orchestrator on 2026-11-13 without the live test:Shortcut: "keys"on a Panel, equal to aToggle_<Name>entry (Global Shortcuts > Action Names and Forms (Decided 2026-11-13)). - What are the names of the shell actions other than
Enter_Shortcut_Mode,Exit_Shortcut_Mode,Set_Shortcut_Mode,Next_FocusandPrevious_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 isShortcuts { Name: "keys" }. Recommendation: one action per surface verb (toggle, show, hide) named inVerb_Surfacestyle 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¶
- 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 withLayer: OVERLAY) sat above the Plasma panels in all his testing. A privatekwin_wayland --virtualrun 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 ownkwin rule show, and whether KWin applies a rule change without a logout is not recorded. #needs-verification
Plasma Coexistence¶
- Does a second tray host see items that registered before it joined? Context: the watcher's
RegisteredStatusNotifierItemsproperty 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. - How does an app behave when it checks
IsStatusNotifierHostRegisteredand 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. - 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 liston each distribution.
Portals¶
- Does
ReadAllneed 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 callRegisterfirst (as the acceptance criteria say) unless the test shows reads fail or break with it. Answered by: callingReadAllonorg.freedesktop.appearancewith and withoutRegisteron this machine. Update, 2026-11-16 (code session's report of a real-session run with the maintainer's yes, backed up and undone):Registerwithout the desktop file installed fails with "App info not found"; withio.github.mindderivative.TesseraeShell.desktopin~/.local/share/applicationsthere 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). WhetherReadAllitself needs the registration was not tested. - Does the KDE backend emit
SettingChangedfor 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 whilebusctl --user monitorwatches the portal. - 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-motion1. 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. - 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_mstake 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-shellPR #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.
- Do all the
mdinames 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.
- Which call switches desktops: setting
currentor/KWin setCurrentDesktop(int)? Context:currentnames the desktop by id; the KWin call uses a number and can race a reorder. Read-only checks cannot answer it. Recommendation: setcurrent. - Is the type of
desktopsa(iss)ora(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).
- Does
logger.remove()flush the enqueued records at stop? Context: both sinks useenqueue=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 - 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
- What does
JOURNAL_STREAMmean insystemd.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.
- 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¶
- Does tre report animation start and end to the shell? #needs-verification Context:
On_Anim_StartandOn_Anim_Enddepend 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. - Can tre parent a popup to a popup? Context: submenus in
Callneed 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¶
- 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.
- Does tre's
text_inputsupport 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¶
- 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¶
- 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 callset_outer_positionandset_window_level, whichwinitdocuments as unsupported on Wayland, andskip_taskbaris 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. - 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.
- Does
reduced_motionfollow Plasma's animation speed? Context: tre reads it from the settings portal (org.freedesktop.appearancereduced-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. - 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¶
- Is the idle cost with zero windows acceptable? Context: with
keep_aliveand 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. - Does KWin behave the same as sway for
keep_alivewith 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¶
- Does
usvgdrop 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 animatedmliicons withusvgdirectly. - 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_timeanimation 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¶
- Does the same hold with windows open and without
keep_alive? Context: tested only withkeep_aliveand 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 nokeep_alive.
TRE-REQ-012 Draw a Window Changed in Another Window's Callback¶
- Does the same happen for
Window(xdg toplevel) windows as for layer surfaces? Context: the shell has layer surfaces only. Recommendation: runrepro_cross_window_redraw.pywith two ordinary windows and widen the request if it also fails. Answered by: that repro withWindowinstead ofLayerWindow. - 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¶
- 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: readingMORPH_SAMPLESor measuring on 0.6.3. - 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_shapeand a clip. - Does the SMIL
dmorph 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.
Links¶
- Home · Roadmap · Risk Register · Index