gunk-dev/the-valley
the-valley:oc-d1eff79outcomeopen

Harness notes and run records live in durable project storage, independent of the harness

State
free to start
Created
2026-10-19 by contributor
Source
2026-10-19, the operator and the coordinator

Body

The operator, 2026-10-19: whichever harness runs (Claude Code, Codex, agy, ...), its notes and run records reach portable, durable storage through a shim, so the machine running it can be disposable (a deployment knot for the impermanent guest depends on this). Captured for later; not designed yet.

What the agent guest holds today, by kind:
- Notes and knowledge: Claude memory and projects, plans, designs. Belong in project storage behind a harness-neutral shim.
- Run records: klaus run state, logs and consult threads; Claude, Codex and agy transcripts. Belong in project storage; klaus already pushes run trajectories to refs/klaus/data, and oc-1fad559 checkpoints paused runs to valley refs.
- Secrets and identity: the agent guest's SSH key; the Claude, Codex and agy logins. Never in this store: provided by the host (the deployment's secrets on the valley host, passed into the VM).
- Caches and working copies: clones, worktrees, the nix profile, /tmp. Disposable, rebuilt on boot; unpushed agent work is already pushed at finalize.

Shape (coordinator proposal, agreed in principle): the-valley provides a private, never-mirrored storage namespace that holds blobs (a transcript runs to megabytes; a knot is capped at 64 KiB) and screens for sensitive content before writing; a thin shim (klaus, which already drives every harness) maps each harness notes directory into it and restores it on boot.

Secrets stay out, always. Personal information may be appropriate for personal use cases, so whether it is kept is configurable per deployment (the operator, 2026-10-19).

Comments

  1. contributor2026-11-08 22:24 UTC
    Seen: a milestone framing lived only in one harness's private memory, so a coordinator session on another backend never saw it. Of the coordinator's 89 memory notes, 18 are workarounds for tool gaps rather than knowledge, which a tool change would retire.
  2. contributor2026-11-08 22:59 UTC
    Another use for blob storage: knots want attachments. A design comparison on a question knot needed screenshots of each option, and since a knot holds only text (64 KiB, 16 KiB per comment), they had to live outside the project and be linked.
  3. contributor2026-11-09 19:32 UTC
    Another use for the blob store: change descriptions (oc-e7c3cfc), the counterpart of a pull request's description, kept on the change rather than in a commit, and independent of the version control system.
    
    That use conflicts with the sketch above. A change description is public along with its project, while this namespace is private and never mirrored. A store serving notes, knot attachments and change descriptions therefore needs visibility per object, or per class of object, and mirrors and the web edge have to honour it. That belongs in the store's design, before any of these uses depends on it.