You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide what .behold/layout.json is: a per-user cache outside the project, or a shared layout as a declared chant diagram #469
boundariesEpic: boundaries between chant, hud, studio, behold and fountain (INTENTIUS/chant#3166)questionFurther information is requestedworkspace-panebehold as an arugula pane; decisions and the why in the workspace block
.behold/layout.json is the one file behold writes inside a served project (README "The hand-layout sidecar", src/layout.ts). The README says two things about it: the layout is "shareable, reviewable in a diff, and honoured by behold export", and also ".behold/ is per-user state ... add it to the served project's .gitignore". Under the workspace spec's rule that the repo is the database (INTENTIUS/chant#3158), it has to be one or the other:
a cache: one operator's arrangement, kept outside the project (with ~/.behold/ or localStorage), never in the tree; or
a fact: a shared team view of the estate, in which case it's a workspace artifact. chant already has diagrams (declared artifacts pinned to the renderer that made them, workspace-declaration.mdx §Diagrams), and it would be written through chant like any other fact, not by behold directly.
Proposal
Decide which (or support both: per-user deltas as cache, a named shared layout as a declared diagram). Either way behold stops writing into the served project itself.
Done when
behold writes nothing inside a served project, and a shared layout, if kept, is a declared artifact chant validates.
.behold/layout.json becomes a per-user cache outside the project, so behold writes nothing in a served project at all. AGENTS.md's invariant changes to match when this is built.
Landed on integration/chant-goal in 378e56a (merge of 24a8061). The hand layout is now a per-user cache at <user cache>/behold/layouts/<sha256(realpath)[:32]>.json (~/Library/Caches, %LOCALAPPDATA%, $XDG_CACHE_HOME or ~/.cache; BEHOLD_CACHE_DIR moves it), 0600 in a 0700 dir like the serve registry. An existing .behold/layout.json is read once into the cache and never written or deleted. AGENTS.md's Invariant now says behold writes nothing in a served project; doctor --fix copies a loose estate's layout to the root's cache entry. No shared/declared-diagram layout was built (the ruling chose cache only).
boundariesEpic: boundaries between chant, hud, studio, behold and fountain (INTENTIUS/chant#3166)questionFurther information is requestedworkspace-panebehold as an arugula pane; decisions and the why in the workspace block
Activity
lex00 commentedon Oct 23, 2026
Maintainer ruling (2026-10-23)
.behold/layout.jsonbecomes a per-user cache outside the project, so behold writes nothing in a served project at all. AGENTS.md's invariant changes to match when this is built.Keep the hand layout in a per-user cache outside the project (#469)
Merge #469: hand layout in a per-user cache outside the project
lex00 commentedon Oct 24, 2026
Landed on
integration/chant-goalin 378e56a (merge of 24a8061). The hand layout is now a per-user cache at<user cache>/behold/layouts/<sha256(realpath)[:32]>.json(~/Library/Caches,%LOCALAPPDATA%,$XDG_CACHE_HOMEor~/.cache;BEHOLD_CACHE_DIRmoves it), 0600 in a 0700 dir like the serve registry. An existing.behold/layout.jsonis read once into the cache and never written or deleted. AGENTS.md's Invariant now says behold writes nothing in a served project;doctor --fixcopies a loose estate's layout to the root's cache entry. No shared/declared-diagram layout was built (the ruling chose cache only).Read tiers from buildParams and move operator settings out of .behold…