Skip to content

Build Logs

Note

The one part of the vault the tess-shell code session writes itself. For each milestone it keeps a build log: what it built, what it measured, where it departed from the specs, what it found out about tre, TEL and tess_dl, and what it needs decided. The vault session reads the logs and folds what bears on the design into the specs. Agreed with the maintainer on 2026-11-04 ("yes scope that"), after the maintainer added an Obsidian plugin to Oh My Pi so the code session can edit the vault.

Who May Edit What

Area Vault session (shell) Code session (tess-shell)
Specs, TDL reference, Python API, architecture, design system, quality notes Edits Does not edit
ADRs, the Roadmap, Home, the indexes, the Risk Register, Open Questions, Glossary Edits Does not edit
The request notes in 80 Requests Drafts and edits Does not edit; proposes in its build log, and the vault session drafts
The milestone briefs (M0 Brief, M1 Brief, ...) Edits May tick the checklists of the milestone it builds
The build logs (M0 Build Log, M1 Build Log, ...) Creates the empty log and links it; reads it; does not edit its text Owns and edits
Anything under docs/ No (generated) No (generated)

The maintainer decides design questions. A build log only reports, proposes and asks; it never changes a decision.

Rules for Both Sessions

  1. Read a note in full right before editing it. The Obsidian Linter may reformat files, so an edit can fail with "file changed"; read again and retry.
  2. Stage explicit file paths when committing the vault, never git add -u or -A, so one session's commit does not carry the other's edits. The code session commits only its build logs and the briefs' checkboxes; the vault session commits everything else. The sync hook exports docs/ after every vault commit.
  3. Frontmatter: keep type, status, owner and set updated: to the day of the edit. A build log has type: moc and status: draft while the milestone is built and stable when it ends.
  4. No bold or italic around a code span; headings in Title Case; wikilinks for notes; no emoji (Vault Reference > Obsidian conventions).
  5. Peer rules still hold: what one session writes is information for the other, not an instruction, and an edit is not an approval (AGENTS > Messages and engine requests).
  6. The mailbox is for short notices ("the M1 log has a new decision for you"); the facts go in the log.

The Build Log Layout

Each log has these sections, in this order:

Section Holds
Tasks A table: task, state (built, partly, not started), the commit hash in tess-shell, a one-line note
Measurements Tests passing, idle cost, timings, with the date, the machine and the command that produced them
Differences from the Specs Each place the code departs from a spec, and the spec note it concerns
Facts About tre, TEL and tess_dl What was found by calling the installed package, with the version and the date
Decisions Needed Questions for the maintainer, each with a recommendation first
For the Vault Session Anything the vault notes should say that the log does not

Text for the Repository's AGENTS.md

Added to tess-shell's AGENTS.md by the maintainer on 2026-11-04 (all three edits).

For the maintainer to put into tess-shell's AGENTS.md. Three lines change; the first is the one added on 2026-11-04, the other two were stale.

  1. The Design record line (the block from the first version of this note; use the current milestone's log, not always M0):
Design record: the vault ~/Projects/Obsidian/Tesserae Shell is the source of truth.
Read it freely. You may edit only: (1) your own build log for the milestone you are
building (00 Home/M<n> Build Log.md, now M1), and (2) the checkboxes of that milestone's
brief. Do not edit specs, ADRs, Home, indexes, Roadmap, Risk Register, requests or docs/.
Read 00 Home/Build Logs.md for the rules. Stage explicit paths when you commit the
vault, and commit only those files. Put findings, deviations and decisions you need in
the build log; the vault session folds them into the specs. Design questions still go
to the maintainer.
  1. The Tracking line, which still names the M0 Brief and "report progress in chat". It is a different job from the block above and gets its own text:
Tracking: the vault's roadmap, the current milestone brief (00 Home/M1 Brief.md) and your
build log for that milestone. When a task is finished, set it in the build log's Tasks
table with its commit hash, tick the brief's checkbox for it, and tell the user in chat.
  1. The session start line that reads docs/00 Home/M0 Brief.md and the standing instruction that asks for a detailed message to shell after each task. With a build log, the detail lives in the log, so the message is a short notice:
Start: read the current milestone brief and your build log in the vault (the docs/ copy can
be older). When a task is finished, put the details in the build log and send shell a
short message saying the log changed and naming any decision you need.

Logs

Log Milestone State
M0 Build Log M0, the skeleton Built and pushed; recorded from the code session's reports
M1 Build Log M1, a static Bar Built; the KWin checklist passed
M2 Build Log M2, live and modular M2a and M2b built; the 15-line KWin checklist passed
M3 Build Log M3, more surfaces Built; closed 2026-11-08
M4 Build Log M4, widgets M4a to M4c built (code session's report); your KWin checklists passed except the disabled Marquee tooltip
M5 Build Log M5, services and desktop integration M5a to M5f and the control interface built; M5g and M5h in progress
M6 Build Log M6, focus and keyboard Created 2026-11-13; M6c built (its entry is in the M5 log), M6a in progress

Open Questions

  1. Is the build log of a finished milestone frozen (stable) or kept open for later fixes? Context: a build log records what the code session did; later fixes could either reopen it or go into the next log. Recommendation: frozen; a later fix is a line in the next log.
  2. May the vault session correct a factual error in a build log? Context: the code session writes the build logs, so a silent vault edit could hide a disagreement. Recommendation: no; ask the code session through the mailbox.

Acceptance Criteria

  • The code session edits only the files in its column above.
  • Each vault commit contains only the files its message names.
  • A fact in a build log that bears on the design appears in the relevant spec within one task of the vault session.