Skip to content

Onboarding: palace layout parity, egress receipt docs, path bugs - #87

Merged
huximaxi merged 5 commits into
mainfrom
fix/onboarding-gaps
Sep 13, 2026
Merged

Onboarding: palace layout parity, egress receipt docs, path bugs#87
huximaxi merged 5 commits into
mainfrom
fix/onboarding-gaps

Conversation

@huximaxi

@huximaxi huximaxi commented Sep 9, 2026

Copy link
Copy Markdown
Owner

The templates kit builds rooms/<room>/CLAUDE.md; loci-cli only recognised _palace/ or rooms-at-root, so loci status against a kit-built palace returned no palace found. Found and reproduced during a from-zero onboarding rehearsal.

  • loci-cli gains a third layout (RoomsDir); five unit tests cover all three shapes plus the negative cases. cargo build and cargo test both clean.
  • The egress receipt (loci-wal, loci audit, loci wal verify) shipped to main in July with no public documentation anywhere. Documented now, including the honest bound (the hash chain alone is not keyed tamper-evidence; that needs a verified bundle).
  • Path and prerequisite fixes found by the same rehearsal: the handover path, the template pointer, a sandbox-only find example, a missing Rust prerequisite before cargo install.
  • A Palace: line in the identity block plus the existing LOCI_PALACE variable give tooling one place to find the palace; the two setup doors (manual, agent-driven) now each say what the other builds.

Diff bleed-checked for internal names and local paths.

@huximaxi
huximaxi marked this pull request as ready for review September 9, 2026 06:45
- loci-cli now accepts the rooms/ layout the templates kit builds
  (validate() gains a RoomsDir variant; loci status no longer says
  'no palace found' against a kit-built palace). Five new unit tests,
  cargo build and cargo test both clean.
- Document the egress receipt: loci audit and wal verify get a real
  section in loci-cli/README.md, and CHANGELOG's Unreleased is filled
  in (the receipt shipped on main in July with no public docs).
- Rust prerequisite added before cargo install; the handover path
  (soul/handovers/ vs handover/) and template pointers (_templates/
  vs templates/) reconciled across SETUP-GUIDE, FIRST-SESSION,
  AGENT-SETUP and the CLAUDE-master template; the sandbox-only
  find /sessions example replaced with something that works on a
  real machine.
- A Palace: line in the global identity block and the LOCI_PALACE
  env var give tools one place to find the palace; SETUP-GUIDE and
  AGENT-SETUP each get one paragraph naming what the other door
  builds, since they currently produce slightly different palaces.

Verified: cargo test -p loci-cli palace:: (5/5 pass), cargo build
clean, diff bleed-checked for internal names and local paths.
The three new layout tests (this branch) used real private-palace room
names (great-hall, engine-room, observatory) as test fixtures. Public
repo, so swapped for generic placeholders consistent with the fourth
test's own convention (work-room, writing-room). No behavior change;
cargo build and cargo test -p loci-cli both clean, 5/5 pass.
FreshEyes caught it during the gauntlet Cipher pass: the sentence
listed guides for crystals, the garden, retrieval and scheduled
tasks as if that named everything beyond the core five, but the
folder holds a dozen more files. Read as inexact rather than wrong.
@huximaxi
huximaxi force-pushed the fix/onboarding-gaps branch from 14cb84a to 88c43cd Compare September 9, 2026 06:53
Resolve CHANGELOG.md Unreleased conflict as the union: restore the #84
loci-wal / loci-cli entries (dropped from main by #81's squash), keep the
#81 rain + token-window entry, add #87's Fixed section. loci-cli builds
clean; 11 unit tests pass.
#83 (rc.4 CSP hardening) and #87 touch the same two desktop files
(dashboard.rs, src-tauri/main.rs); auto-merged cleanly, disjoint regions,
no manual resolution. loci-cli/ unchanged by this merge.
@huximaxi
huximaxi merged commit 299c2c9 into main Sep 13, 2026
5 checks passed
@huximaxi
huximaxi deleted the fix/onboarding-gaps branch September 13, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant