Skip to content

Carry the full latest finding in handoff files; start the daemon for handoff commands - #30

Merged
jbwinters merged 2 commits into
mainfrom
fix/handoff-fidelity-20261116
Nov 16, 2026
Merged

jbwinters merged 2 commits into
mainfrom
fix/handoff-fidelity-20261116

Conversation

@jbwinters

Copy link
Copy Markdown
Contributor

Fixes three problems from an outside review of 0.5.0-alpha.15.

  1. Handoff files dropped most of the task state. Export summarized hot memory to 280 characters, so the receiving machine lost the failing tests and next step. It now carries the latest request and final response for the workspace (plus any pending import or explicit save), up to 5,000 characters. Observed source excerpts are left out because the file travels. Import keeps up to 9,000 characters (was 6,000).
  2. handoff import failed with "daemon is not running" after setup and install. Export and import now start the daemon the same way hooks do (respecting CROSSHEAD_HOOK_AUTOSTART=0).
  3. crosshead memory hot printed truncated ids. It now prints the newest three checkpoints' request and finding.

Tests: two new tests in tests/runtime/handoff-cross-machine.test.ts. Both fail with the fixes removed. Full suite 606/606 locally.

Not changed: the fidelity level still reads "high" when the structured next-action and open-items fields are empty; those fields are only filled from export flags.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

jbwinters and others added 2 commits November 16, 2026 11:56
…or handoff commands

- Export put the hot summary through a 280-character cut, so a capsule lost
  the failing tests and next step that a same-machine session would get. It now
  carries the latest request and final response for the workspace (and any
  pending import or explicit save) up to 5,000 characters, without source
  excerpts. Import keeps up to 9,000 characters of the rendered handoff.
- handoff export and import start the daemon the way hooks do, so a fresh
  machine can import right after setup and install.
- crosshead memory hot prints saved checkpoint text, newest first, instead of
  field names with truncated ids.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jbwinters
jbwinters merged commit 409c627 into main Nov 16, 2026
11 of 13 checks passed
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