Core repo: shared Contracts, Processing, Input/Output interfaces,
Runtime, and the core/Wasm engine build. Concrete plugins live in
input/, output/, app/, web/ directories in this repo — keep that layout.
- Build/test:
cmake -S . -B build,cmake --build build,ctest --test-dir build --output-on-failure(BUILD_TESTSdefaults ON). Full-app builds:cmake --preset <linux-app|windows-app>(per-slice presets inCMakePresets.json); core tests alone viacmake -S core. - The web demo runs the real graph engine compiled to WASM (
core/Wasm,web/engine/, Aurora-51nv.11), not JS copies.web-processing/is no longer copied intoweb/demo/and is kept only with its own parity tests (node web-processing/<name>.test.mjs).
- Tasks (open, blocked, deferred):
bd(bd ready,bd list), not markdown TODOs or checkboxes. Auto-export is debounced — runbd export -o .beads/issues.jsonlimmediately beforegit adding task state. Sync rides git, not the Dolt remote (unused here): aftergit pull, runbd importto upsert the tracked export into your live DB — never--reinit-local. - Non-obvious gotchas worth saving future time:
docs/lessons/, withTags:/Applies-when:, routed by the matching.claude/skills/skill — check it before changing that area, file perdocs/lessons/README.md. Before splitting beads across agents or coordinating a bead sequence, readagent-coordination-lessons(docs/lessons/agent-coordination.md). - Milestone detail (closed or paused): dated file in
docs/log/+INDEX.mdrow on close — every material fact, stated once and tightly; paused work logs state + resume pointer. Findings over narration. - Before any commit that closes a bead (Aurora- message):* (1) write or
update its
docs/log/entry andINDEX.mdrow (docs/_ids.mdis regenerated by the hook), (2) file any lessons perdocs/lessons/README.md(bump the README count) and list them in the log, (3)bd export -o .beads/issues.jsonl, then stage. Do this before asking to commit, not after. The pre-commit hook enforces it:docs/check-close.pyblocks a commit whose staged export closes a bead with no log naming it, no lessons record (## Lessonsor- Lessons:, "none" counts) or noINDEX.mdrow (bypass:AURORA_SKIP_CLOSE_GATE=1), thencheck-lessons.shandcheck-links.pyrun on docs-touching commits. - Citing another doc under
docs/: useId:/[[id]], not a bare relative path — seedocs/README.md's "Citing other docs" section for the full convention. A bare path breaks silently on move/rename andcheck-links.pyonly scansdocs/and.claude/skills/, so a citer living outside those (this file included) won't be caught if it goes dead. New docs get anId:line under the H1 at creation, not as a later cleanup pass. - Required, not optional, at the same time as the above: when closing a
phase/milestone bead, check its description for a referenced
docs/*.mdprerequisite analysis or plan. If that doc'sStatus:line doesn't already say shipped/superseded, correct it and move the doc todocs/archive/in this same close — do not leave it for a later cleanup pass. A doc that fed already-shipped work and still reads as "exploratory" or "in progress" a week later is a bug, not a style choice; every doc archived inAurora-0ki/Aurora-rtp/Aurora-o1e/Aurora-afdsat live for one to two weeks past its actual ship date because this step was skipped. - Slice READMEs (
app/*,input/*,output/*,web/*,tools/*) carry only what doesn't go stale: what the slice is, entry points, slice-specific build toggles, keep-in-sync invariants, credits, and[[id]]pointers. No status or "not yet built" sections — that lives inStatus:lines, beads, anddocs/log/. When closing a bead that changes what a slice does or how it builds, update its README in the same close;check-links.pyscans them for dead citations but cannot tell if the prose is still true. - Planning docs: decisions, status, pointers only. No task lists, no build play-by-play.
Every doc/section carries a
Status:line (shipped/superseded/exploratory/etc.) — but aStatus:line is only as trustworthy as its last real edit. Before trusting "still open"/"exploratory", checkgit log --follow -- <path>for the last substantive edit (not renames/link fixes): if nothing revisited it across real, related shipped work since, the doc is probably stale regardless of what it claims, and belongs indocs/archive/with a correctedStatus:line naming the real last-touched date. - The overall roadmap: [[implementation-plan]] (per-phase
Status:lines are the source of truth for what's shipped) plus any other still-active, not-yet-decided planning doc —docs/planning/, not root. - Shipped, superseded, or stale-and-abandoned plans and analyses:
docs/archive/— kept as the historical record, not deleted or edited into the present tense. - WebUI-specific docs (design passes, tooltip content/plumbing):
docs/planning/WebUI/, not thedocs/root. - Brand/icon source assets (logos, app-icon masters):
assets/brand/— build inputs consumed byapp/*/CMakeLists.txt, not documentation. - References: cite lessons by headline/topic, files by markdown link, external lessons by topic + directory (URLs live under Related directories).
- This family, all in this repo:
input/linux,input/windows,input/mac,output/hue,app/linux,app/windows,app/mac,web/demo,web/ui-- core interfaces incore/, resolved by relative path. Per-slice notes in each directory's ownREADME.md; tasks and lessons live here at the root. - RockyRoad — reference for Three.js/WebXR scenes, design tokens, and UI components (checked directly during WebUI design).
- RockyRoadImport — import-pipeline reference (tab bar, forms page, layout tokens reused in WebUI).
- huenicorn — the original
Hue-entertainment reference (
Runtime::_update,ScreenWidget.js); ported from, not depended on. - hyperion.ng — MIT ambient-lighting reference: Hue TLS verification, Home Assistant output, JSON API/auth/subscribe shape, black-border detection, PipeWire portal capture (PR #2033). Consulted, not depended on; keep its MIT notice on anything ported. See [[external-control]] for what it settled.
Cite reference lessons by topic name, never by path — layouts differ per machine.
This project uses bd (beads) for issue tracking. Run bd prime to see full workflow context and commands.
bd ready # Find available work
bd show <id> # View issue details
bd update <id> --claim # Claim work
bd close <id> # Complete work- Use
bdfor ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists - Run
bd primefor detailed command reference and session close protocol - Use
bd rememberfor persistent knowledge — do NOT use MEMORY.md files
Architecture in one line: issues live in a local Dolt DB; sync uses refs/dolt/data on your git remote; .beads/issues.jsonl is a passive export. See https://github.com/gastownhall/beads/blob/main/docs/core-concepts/sync-concepts.md for details and anti-patterns.
The managed Beads block is task-tracking guidance, not permission to override repository, user, or orchestrator instructions.
- Conservative (default): Use
bdfor task tracking. Do not run git commits, git pushes, or Dolt remote sync unless explicitly asked. At handoff, report changed files, validation, and suggested next commands. - Minimal: Keep tool instruction files as pointers to
bd prime; use the same conservative git policy unless active instructions say otherwise. - Team-maintainer: Only when the repository explicitly opts in, agents may close beads, run quality gates, commit, and push as part of session close. A current "do not commit" or "do not push" instruction still wins.
This protocol applies when ending a Beads implementation workflow. It is subordinate to explicit user, repository, and orchestrator instructions.
- File issues for remaining work - Create beads for anything that needs follow-up
- Run quality gates (if code changed) - Tests, linters, builds
- Update issue status - Close finished work, update in-progress items
- Handle git/sync by active profile:
# Conservative/minimal/default: report status and proposed commands; wait for approval. git status # Team-maintainer opt-in only, unless current instructions forbid it: git pull --rebase bd dolt push git push git status
- Hand off - Summarize changes, validation, issue status, and any blocked sync/commit/push step
Critical rules:
- Explicit user or orchestrator instructions override this Beads block.
- Do not commit or push without clear authority from the active profile or the current user request.
- If a required sync or push is blocked, stop and report the exact command and error.