Skip to content

Wormhole: continue a chat on another computer (pair, sync, take back) - #1888

Draft
AbirAbbas wants to merge 95 commits into
devfrom
abir/wormhole
Draft

AbirAbbas wants to merge 95 commits into
devfrom
abir/wormhole

Conversation

@AbirAbbas

@AbirAbbas AbirAbbas commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

What this is

Project Wormhole: continue a chat on another computer. Pair a second computer with a link (or a six-digit code). Its home then lists the chats running on your other computers, and "continue here" moves a chat over with its workspace files, git history, saved tool output and task records. One computer holds a chat at a time. Sync goes through the hosted relay at codeaf.agentfield.ai/fabric or your own codeaf relay, sealed end to end: the relay sees only ciphertext.

It is opt-in on every build. Moving chats is off unless CODEAF_CELLS=1 is set when codeaf starts, on both computers. With it unset, every build behaves as dev did before this PR (no cell, no seal, no store, no extra daemon, no relay traffic, no move rows). Windows does not have it; WSL does.

This lands the work Sankalp built (first opened as draft #1738) and Ara ported to zeropoint95/wormhole, merged onto current dev, then fixes what an audit, two code reviews, a regression round and hand testing found.

Decisions (Abir)

  • Opt-in everywhere (C26). Cells default off on dev, staging, source, rc and stable; CODEAF_CELLS=1 turns them on. Measured reason: each chat keeps its own full copy of its folder, ignored output included (4 chats in a 31 MB folder = 124 MB; a 225 MB repo + 200 MB ignored dist/ = 449 MB for one chat). Revisit the default once one folder's chats share a store and ignored output is skipped.
  • Chats keep today's command access (C23). New chats are host-bound: commands have the network and the same access as on dev. The sandbox and /setup stay in the code, dormant for chats.
  • Existing chats are left as they are (C24). Opening an older chat never migrates it, so every codeaf build sharing ~/.codeaf can still resume it. Only chats started with moving chats on can move.
  • Nothing is deleted to save disk (C25). No automatic eviction; codeaf cell gc is explicit and removes only what it captured and can restore.
  • Engine: furrow's source lives in its own repository (furrow 0.2.0: the workspace codeaf's engine grew into furrow#10, v0.2.0); codeaf checks the embedded engine's verbs once per process and turns moving chats off with one sentence if they are missing.
  • Git history travels sealed; working-tree secret files move only through the encrypted vault. Size budget raised by the measured cost (PERF.md).
  • Hosted relay: redeployed by the owner from relay/hosted/DEPLOY.md (staging first). This PR deploys nothing.

What changed beyond the port

  • Moving a chat never loses work: stale reopen enters continuation; take-back keeps the other computer's un-uploaded turns as a branch you can open separately or discard; forced takes are conditional on the holder and fence in both relays; a displaced window becomes view-only.
  • The client refuses to move a chat through a relay that cannot condition a take (the hosted worker live today ignores the condition, so two computers could both win). Pairing, listing and viewing still work against it; "continue here" says the service must be updated.
  • Secrets: every seal screens the whole tree before capturing (a first turn that changed nothing used to seal an unread gitignored .env into the local pack); certificate bundles are no longer mistaken for private keys; the notice says what is kept where.
  • A home that never paired sends nothing to any relay. CODEAF_SYNC_URL=off stops all traffic.
  • The new command runner behaves as dev for everyone: resident health checks and helper processes drain output as before (a check that exited 0 with a child holding its pipe was reported failed); composer ! commands count as changes for the seal.
  • Stable/opt-out guidance: devices keeps dev's reachable-name text, pair --help names CODEAF_CELLS=1, relay --help exits 0, and every moving-chat manual section says it is opt-in.
  • Earlier rounds: blank first launch, continue-here not opening, displaced window still writing, moved chat writing to the old folder, arrival card eating input, Ubuntu 24.04 AppArmor jail probe, tests independent of the staged engine, resident executor seat, .cell text refusal, approve key, self-hosted pairing page, journey reporting PASS on failed steps.

How it was checked (2026-10-22 regression round)

Every flow below was driven on the real binary and compared with today's dev (4eb6cadee), in isolated homes:

  • Stable build and opt-out default: first run, home and every place, CLI and slash doors, zero sync traffic (strace + a logging server), no new files or processes, seeded-home upgrade and downgrade with all history intact, startup time the same (RSS +4.8 MB).
  • Command runner: 26 flows (streams, exit codes, cancel, background children, jobs, promotion, timeouts, automations, do/exec/run, senior-dev, delegated tasks, compaction, resume): same as dev; no door lacks a seat.
  • furrow v0.1.0 → v0.2.0: CLI verbs and JSON, snapshots, restore, fork, merge, whole-copy tasks, CODEAF_FURROW override, and store compatibility in both directions: same as dev.
  • Remote access: serve / chat --at, attachments, scheduled automations over --at, revoke, the old --relay flag: same as dev.
  • Moving chats (CODEAF_CELLS=1, two homes, local Go relay and the original worker under wrangler dev): link and code pairing, online and offline continue, take back with open separately / discard, one winner, revoke, quiet home, first-seal secret, ! sealing, explicit gc, old relay refused with zero take requests.
  • TestPairJourney 13/13 online and offline on the merged head; TestAutomationsE2E green; furrow standing W1: contract, resolver, /standing page, threshold line (in progress) #10 cargo tests 244/244.
  • Model-backed suites (TestTUIE2E, the journey's model-driven step) were not run after 17:25 UTC: the machine's OpenRouter key was revoked mid-round. The journey was run with its one model step replaced by !make test.

Test it yourself (two computers)

  1. On both computers, build this branch with the engine: make build FURROW_ARTIFACT=<a furrow 0.2.0 binary> until v0.2.0 is tagged, and export CODEAF_CELLS=1 (put it in your shell profile).
  2. Optional: your own relay (codeaf relay --listen :8787 --store <dir>) and CODEAF_SYNC_URL=http://<host>:8787 on both. Unset, the hosted relay is used; until it is redeployed, "continue here" through it refuses on purpose.
  3. On the new computer codeaf pair; on the other paste the link into home (alt+d) or run codeaf pair approve <token>, compare the four digits, press a.
  4. Start a NEW chat on A and work in it; on B open home (space space) and alt+m, or pick the row and choose 1 continue here.
  5. Check: B says "Moved from A in Ns"; files, git history and .env are there; B's commands reach the network; A only shows the chat. Take it back on A, and try a turn on B while it is offline to see open separately. Then /devices, r on B.

Before this leaves draft

  • furrow 0.2.0: the workspace codeaf's engine grew into furrow#10 merged and v0.2.0 tagged, then internal/furrowbin/pin.json pinned to its four assets. (Also fixes a pre-existing bug on dev and stable: the pinned v0.1.0 Linux engine needs glibc 2.39, so it cannot run on Ubuntu 22.04, Debian 12 or RHEL 9.)
  • Owner hand test across two real machines.
  • Hosted relay redeployed from relay/hosted/DEPLOY.md (staging first) before anyone relies on moving chats through it.

🤖 Generated with Claude Code

ZeroPoint95 and others added 30 commits October 3, 2026 23:39
Add the pairing, relay, cell engine, executor, handoff and sync machinery,
with the corresponding commands, manual pages and verification.
An OpenTUI (bun) app that maps the PR 1738 two-machine work: machines,
codeaf Go pieces, hosted and self-hosted relay, and the furrow engine,
with draggable boxes, a detail pane per node, and step-through flows for
pairing, continuing a chat, and furrow seal/fork/materialize. Diagram
content lives in src/data.ts; tests check every file path it names.

Run: cd tools/atlas && bun install && bun start. Test: bun test.
Upstream codeaf tracks no binaries; builds come from make build or
GitHub Releases. PR 1738 added this 84.5 MB linux/arm64 ELF by mistake.
`codeaf atlas` opens the two-computer architecture map — pairing, devices,
cells, sync and the furrow engine — as draggable boxes and arrows, built on
the Bubble Tea v2 the other surfaces already use (charm.land/bubbletea/v2),
with no new module dependency. The view is a cell canvas: mouse cell-motion
dragging with the package's own rectangle hit-testing, tab+enter and click for
the detail panes, 1/2/3 or f for the flows, left/right to step, p to play, ?
for the legend, q or ctrl+c to quit through the alternate screen.

The diagram is one typed data file, internal/atlas/data.go, and the view
renders only from it. data_test.go fails the build when a files[].Path no
longer exists or an edge names a node that is not there, so the map cannot
drift from the code silently. The tests drive the model directly: drag moves
a box and re-routes its arrows, tab+enter opens the pane, stepping a flow
highlights its step, play toggles, the legend shows, q quits, and the frame
fits 80x24.

Before the port, every claim in the TypeScript twin's data was checked
against the source. The corrections are mirrored into
tools/atlas/src/data.ts so both versions agree: the four-digit check is the
first two bytes of sha256(pubkey) mod 10000 (uint16_be), the link is approved
from the chat card or `codeaf pair approve` and not a home card, CODEAF_CELLS=0
is the cells off switch, the takeover is run by syncsetup's Continuer.Take
through internal/handoff (not the other way round), the engine repository type
is FurrowRepository, and `furrow fork COMMAND` refuses --json. The hosted
relay's "no recovery key" line, which no code supported, became the documented
"no request log and no account table"; machine A gained the drive-side file
its "publishes each turn" claim rests on; and the furrow-cli summary no longer
overstates --json. `bun test` and `bun run typecheck` still pass.

The command is on the help page inside the existing line cap (the two `codeaf
why` synopsis pairs folded into one), the chat manual gained an atlas page
section, and the change carries an entry in docs/changes/unreleased/.

submitted a change that the project's own build or tests do not pass. senior-dev's model said: The atlas architecture map is now a `codeaf atlas` subcommand (internal/atlas on Bubble Tea v2, one typed data file, nine deterministic Go tests), every claim in the TypeScript twin's data was verified against the source and the corrections mirrored into both files, and the binary builds, draws in a pty and quits cleanly — with the changelog and manual entries the repo's gates demand. senior-dev observed: 1 of the project's 2 build and test commands failed. submitted candidate failed verification (1 failing entrypoint); shipping it anyway as the run's own answer: 95242 bytes across 12 file(s), tree 00bda30096e0
Combine the pairing, executor, memory, relay and atlas changes with the
upstream interfaces, keeping both sets of changes.
/atlas opens the same architecture map `codeaf atlas` draws — the same
internal/atlas model and data, not a copy — as a fullscreen sheet over the
conversation. esc or q closes it and hands the chat back whole, draft
included; the map's own playing flows run on the chat's loop through one
beat message. It is registered in the command table beside /pair and
/devices, documented on the running-from-the-terminal manual page, and
TestAtlasOpensTheMapAndReturnsToTheChat drives it through the real router.

Three merges of upstream dev's chat work needed the same commit:

- chordregistry_test.go still listed standMarkKey, the ctrl+enter marking
  chord dev unbound on purpose (queueing took the chord; the marked door is
  /standing). The row goes with the chord.
- The takeover sentence rode a synchronous open; dev's opens from home now
  land off the loop (homeOpenLater), so the sentence and the setup card
  were being said into the conversation the person was LEAVING. The
  takeover's closing work now rides the open ([app.homeTakenSaid]) and is
  spent at its landing.
- The two-computer pages joining the manual corpus shifted retrieval for
  five of the reachability probes. The asker's own words are now headings
  on the pages that answer them, which is the manual law's own fix.
After a pairing, neither computer had a device record: a device wrote its
own record only at its next chat start (syncsetup.Sync.putDevice), so
codeaf devices said 'nothing is paired yet' on the computer that had just
printed 'Paired.', and after a link pairing only the joiner was on the
directory. Now the same upsert every chat start makes runs when a pairing
finishes: on the side that showed the code, the side that typed it, the
side that approved the link and the side that joined by link
(cmd/codeaf/pair.go, pairlink.go). A device may only ever write its own
record, so the fix builds no record for anyone else: PutOwnDevice is the
one record-building path, exposed minimally from syncsetup and reused.

The pairing itself succeeding is the contract, so a record that did not
land is one line on the terminal (pair.RecordUnsaidLine) and the exit
stays 0 — the next chat start writes it anyway. The upsert is a seam on
pairDoor like the mailbox and joining seams, so one test process can run
two doors against two homes: TestDevicesAfterACodePairingShowsBothComputers
and TestDevicesAfterALinkPairingShowTheApprover drive the real doors
through the in-process relay and assert each side's devices list shows
the other.
Keep the build output outside the tracked source tree.
The command table's every row must have a fate on home (homefate_test.go),
and /atlas joined the table without one. It rides with the commands that
need a conversation first: the map is raised over a conversation's frame,
so home opens one and runs the command against it, the way /manual and
/files do.
…ts first map

internal/atlas grows a Map type (Name, Title, one-line Description, Nodes,
Edges, Flows) and Maps, the ordered registry every entry point reads, with
ByName for lookups. The diagram content moves from the Atlas global into
Pairing, a named map, in internal/atlas/pairing.go — a maps subpackage would
have imported atlas for the types while the registry imported the maps back,
so the data stays in-package. The model, view and frame take a *Map; atlas.Run
opens the first registered map and RunMap opens any named one. The tests hold
every registered map to the tree (files, edges, flows) and keep the names
unique.
…d tab completion

Bare codeaf atlas and bare /atlas now raise a picker over the registry —
one row per map, its description, enter opens the row the cursor is on,
esc/q hands the terminal or the conversation straight back. A name opens
that map in both surfaces; an unknown name refuses with the registry's
own sentence — no map "nope" — naming what is available, non-zero from
the CLI and said in the transcript from the chat. /atlas tab-completes
map names through the same argument-list seam /export and /attach
complete paths through, and codeaf help says atlas [map].
Boxes and the help, detail and flow panels now blank what is under them,
so arrows run under boxes instead of through them and panels are no longer
see-through. Arrow labels are placed after the boxes, at the nearest free
spot on their own arrow, and skipped when none is free. Text is measured in
runes, not bytes, so a line with '—' or '•' no longer runs over the border.
The pairing map is titled Pairing with a short description, so the
pickers read 'pairing  two computers, one chat'.
Both pickers (codeaf atlas and /atlas) now draw rows with one shared
atlas.PickRow: the map name in bold (accent on the cursor row), padded to
the longest name, then its one-line description in the muted tail colour,
the codeaf list shape of a name and a dim tail. The pairing map's full
one-line description is back, without the PR reference.
pidA and holderState read /proc/<pid>/task/<pid>/children and
/proc/<pid>/exe, so on macOS durability-hosted.sh failed with "no process
under pane runs the binary under test". The lookup now lives in two small
helpers, childPids and exeOf: they keep the /proc path on Linux, and where
/proc is absent use pgrep -P for children and ps -o comm= (the full exec
path on macOS) for the executable. Both sides of the comparison are
resolved with filepath.EvalSymlinks.
…urrent furrow

"could not continue this chat here" now carries the take's first error line,
so a failing move can be diagnosed from the screen. The Linux move failures
behind it came from a Mac cross-build embedding the pinned furrow release
(v0.1.0), which predates cells; docs/testing-anywhere.md now says how to hand
a source-built Linux furrow to the build instead.
…findable as soon as its first call is durable

The hosted durability e2e failed its tightest mode: kill the holder 500ms
after a lone call completes, and the other machine could not take the chat —
'handoff: read chat <id>: directory: not found'. The chat's directory record
is created by its first publish, and on a Mac the relay's Disk store made
each of a frame's pointer files durable with its own full disk flush
(flush_other.go: 'one fsync each'). The first publish of a chat carries the
whole workspace closure — a git repository's internals alone are dozens of
objects — so that first publish was 600-700ms behind the call it carried, and
a machine dying inside that window left a completed call no other machine
could find.

Timing against a real relay on this Mac: seal 67ms, export 16ms, one
PutFrame (66KB, 83 objects) 607ms, directory create 2ms. The whole delay was
the relay's per-pointer fsyncs.

Darwin has no syncfs, but it has the same pair of primitives: F_BARRIERFSYNC
writes a file's data to the device, ordered after the writes before it, and
one F_FULLFSYNC flushes the disk's write cache, which commits everything the
barriers wrote. flushFiles on darwin now does one barrier per file and one
final full sync for the batch — the same group commit flush_linux.go already
gives Linux, where syncfs was introduced for exactly this: thousands of
per-fsync journal commits were what made a large frame outlast every client
deadline. A batch of one file keeps its plain full sync, which is the common
case and is fully durable on its own.

Trade-off: the batch's durability rests on the barrier fsyncs writing every
file's data before the final flush, which is what the flags promise; nothing
waits per object any more. The client is untouched: a seal still never waits
on the network, the publish still fires the moment a turn is noted, and the
record is created immediately after the upload it points at, so a chat's
directory record exists no later than the moment its first completed call is
durable on the relay — now about 100ms after the call instead of 700ms.

The first publish's head is observed on the relay ~100ms after the call
finished (was ~700ms); all three kill modes of the hosted durability e2e
(500ms, 2s, 5s) pass.
…r that is not here

A chat taken over from a machine whose project folder is not on this one
was labelled "proj-a (copy here)", which reads as a copy of proj-a being
on this machine — and there is no such folder here. The marker now says
where the project is: "proj-a (copy from another machine)", one const
(session.MovedCopyWord) that the conversation footer (host.go's movedWord),
the home projects panel (world.go's readProject + projectWord) and the
footer under home's cursor (homedraft.go's targetProject, reading the
world scan's gone map and never the disk) all share, so the surfaces
cannot drift into disagreeing about the same chat. A chat back in its own
folder is named by it plainly: the marking follows the recorded folder
being absent, not the chat's history.
It lacked its opening --- fence and used kind: fix where entries say fixed,
so make changelog-check refused it.
Shorter title (under 100 characters) and surface remote, one of the
allowed surfaces; make changelog-check passes.
…a confirmation

The pairing panel took every press and acted on none, so a drag over the
code it shows never selected anything. A press on the panel still answers
nothing (its own law), but it may now arm a sweep (pairdrag.go): a drag
selects and copies the panel's rows — the code, its lines, and the link
card's rows — over the same clipboard road with the same copied · N chars
word, and c while the code is shown copies the code alone; the hint line
names the key.

Replacing a computer's own chats was a flag of the terminal command and
never a keystroke in a chat. It is both now: /pair <code> --replace asks
first, states what is lost, and joins only on an explicit yes; a no or esc
leaves everything untouched, and a home with nothing of its own is joined
without the question. The plain refusal names the in-chat way; the
terminal's --replace behaviour is unchanged.
The approving side prints "<name> (<OS>) wants to pair", with the OS of the
computer that asked. The test pinned "linux", so it passed on Linux CI and
failed on every Mac.
This repository runs no GitHub Actions: builds and releases happen locally
and upstream syncs are merged by hand. .github/.gitignore keeps stray
workflow files out of accidental commits; a sync merge can still reintroduce
tracked workflows, which is deliberate.

build-cross keeps the six-platform list inline; it previously read the
release workflow, which no longer exists. Its windows/amd64 build fails on
main for a pre-existing reason (internal/cellstore uses Unix-only syscalls);
the workflow built Windows on a Windows runner instead.
Brings Sankalp's two-computer work, as ported by Ara, onto current dev:
pairing by link or code, the device list, cells, encrypted sync through a
hosted or self-hosted relay, "continue here", and codeaf atlas.

Kept from dev: every CI workflow (the branch had deleted them), the
automations that replaced standing orders, and the #1830 memory rework.
The standing-order files stay deleted; the one seam they carried, giving
a run's tools the execution seat, now lives in the automation runner.

Restored to dev: changes the imported snapshot carried that were not this
feature (fallback-pin filtering, harness-question publication, skill
import budgets, performance budgets, cancellation polling, a wording
sweep and its new law). Kept from the branch only what the feature needs:
the memory event ledger a moved chat replays, the config writers vault
restore uses, and the execution-context plumbing the executor law demands.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…only with a capable engine

Moving chats needs furrow, which runs on Unix, so on Windows the identity
pairing, device naming, rotation and every move door are absent and the
explicit commands say to use WSL. dev's own remote access (serve, chat
--at, --host, the six-digit machine pairing) keeps working there.

Cells now default on for dev, staging and source builds and off for rc
and stable; CODEAF_CELLS=1 or 0 overrides. Where cells are off the doors
say how to turn them on instead of half-running.

An engine without the verbs cells call (export, published, want, import,
rebind, materialize, serve, changed-path sealing) makes cells absent
with one sentence. It is probed once per process from the engine's help,
never from its version string, since a source build also says 0.1.0.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
AbirAbbas and others added 30 commits October 21, 2026 19:42
The continuing page said 'relay' in a heading and in the git-history
sentence; the device pages name it the sync service. A self-hosted pairing
test used an all-A key, which the colour law read as #AAAAAA.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The device sheet opens on this device's own row, where r is rightly not
offered, and the journey waited for it there. It now waits for the sheet,
moves to the other computer and expects r remove on that row.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…limits

Ubuntu 23.10 and later let a user namespace be created but give the process no capabilities in it, so the jail's re-exec of the helper with ambient CAP_SYS_ADMIN was denied (fork/exec /proc/self/exe: permission denied) while the probe, which only ran true, said namespaces worked. Every jailed call failed, ordinary work included. The probe now runs the real helper in a no-op mode with the same attributes. Without the jail, work that must have the network denied is refused with the existing sentence and other work runs unconfined, said once per session.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
cell.Available asks the staged engine, so package tests passed or failed with whichever furrow the build happened to stage (CI staged the pinned v0.1.0, which lacks the exchange verbs). Tests that only need cells available now declare it with celltest.Available; tests that run the engine require a real one with celltest.RequireEngine. FirstRun no longer dereferences an absent sync.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A moved chat's model kept the old computer's absolute paths from its history and wrote there. The next request now carries a note naming the device it came from, the old folder and the new one, and the file tools map an absolute path under the old folder to the same place in the new one, never writing into the old folder even when it exists here.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A message typed while the arrival card was up was swallowed by the card. Printable input now reaches the box; enter on an empty box still answers the card.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Approving from a home that never ran codeaf said to run codeaf pair, which joins rather than approves. It now says this device has no identity yet and to start codeaf here once.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The real binary keeps its engine after the window closes, so every
journey run left a daemon per workspace behind (28 after five runs). The
journey now ends every engine whose workspace lies under its homes or
workspaces, moved copies included.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The probe step makes its own home and workspace, so its engine survived
the cleanup that covered the journey's two homes. Every engine under the
test's temporary root is now ended.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
TestNoToolDecodesItsOwnArgumentsWithEncodingJSON holds every tool to
decodeToolArguments. The moved-copy mapper decoded with json.Unmarshal;
it now uses the same door, and still passes arguments that are not one
object on untouched for the tool's own refusal.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
With cells on, every new chat was minted sandboxed, so its ordinary
commands had no network, could not write outside the workspace and saw a
private /tmp; the model was never told and decided the network was down.
New chats now declare host-bound. Cells that already declare sandboxed
keep their class.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Every .pem name was withheld as a private key, so a venv's certifi
cacert.pem went to the vault. Private keys are now recognised by their
headers, PuTTY keys by their format line, and PKCS#12 by suffix.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The new runner gave command health checks and helper processes a 200 ms
pipe-drain bound and captured their output, so a check that exits 0 while
a child keeps the pipe open was reported failed and could restart a
healthy service. Health checks discard output again, and fd, pdftotext
and the senior-dev searches wait for their pipes as before.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A ! command ran outside the recorded call boundary, so the turn-end seal
saw no change and a file edited only with ! could miss the next snapshot,
and a chat moved right after could arrive without it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Opening a chat could evict an idle owned folder, removing every entry
while the capture held fewer, so withheld and excluded files were lost.
Eviction is now only the explicit cell gc, which removes only what the
capture holds and restores byte-identical.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ing chats turns on (C24)

Opening an existing chat with cells on migrated it into the cell layout,
so older codeaf builds sharing the home could no longer resume it. It now
keeps its layout. On builds where moving chats is off, devices prints
dev's reachable-name text, pair --help names CODEAF_CELLS=1, relay --help
exits 0, and the manual says so in each section a question reaches.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A first turn that changed no file passed an empty changed list to the
guard, so only those paths were screened while the engine's first
snapshot captured the whole workspace, and an unread gitignored .env
landed in plain text in the local pack.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… take (C7)

The hosted worker live today ignores the expected holder and fence, so two
computers continuing at once both won. Both relays in this tree now state
that takes are conditional, and the client refuses a displacing take
through a service that does not, with one sentence saying it needs an
update. Pairing, listing and viewing keep working.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… chat (C6)

Taking a chat back kept such turns as a branch, but the card offered only
discard. It now offers open separately, which opens the branch as its own
chat and leaves the main chat as it is. The card also explains an old sync
service, and the standing check's removal notice reaches home.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
With cells on, every chat kept its own full copy of its folder in its
store, ignored output included (four chats in a 31 MB folder took 124 MB;
a 225 MB repo with a 200 MB ignored dist/ took 449 MB for one chat), and
nothing reclaimed it. Moving chats is now off on every channel unless
CODEAF_CELLS=1 is set when codeaf starts; with it unset every build
behaves as dev did before this change. Tests that need cells opt in.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…w declared

The full suite found what the focused runs missed after C25 and C26: three
home-card tests assumed moving chats was on by default, the gc test sealed
without requiring an engine, a setup test pinned the old 'only this folder
is writable' sentence, and hiding the budget row where cells are off took
it out of the one registry the settings laws read. The row stays declared
on every build; its hint already says nothing is removed automatically.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Conflicts kept both sides: dev's /dismiss wording and /processes section
beside the PR's /setup sections, both sets of manual probes, the slash
list with processes and the pairing commands, and in app.go both the seal
notice and dev's gesture reset, then the atlas drag before dev's process
list hover.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
dev's alt+j (completionToastKey, #1893) arrived after this branch's chord
registry law; it is claimed in the conversation context.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ow names its model

The merge kept two keys.md sections under the same heading (the branch's and
dev's #1893 rewrite), so the manual returned the shorter one; dev's current
wording stays. #1893 records the model on settled run rows, so the cell
index rebuild now carries it too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… test follows dev's unbounded storage

dev's contextual-memory change made storage unbounded (the prompt budget is
applied at assembly) and grew Store.Write; with this branch's seal of the
added event it held 16 decisions against the ceiling of 15. The add half
(room check, event, projection, read-back) is now addMemoryOn. The cell
memory ledger test pinned the old room refusal; a write past the block's
size is now admitted and its add travels like any other.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
On Linux and macOS every channel can pair and move chats with no variable
set; Windows stays absent until the engine port lands. Help text and the
devices and relay doors stop telling people to opt in, and tests that pinned
the old opt-in default now pin C27. A home that never paired still sends
nothing to any relay.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Every page that said moving chats was off unless CODEAF_CELLS=1 now says
what is true, keeps the real limits (Windows, older chats, pairing first),
and long movement sections are split so each one is retrievable.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

2 participants