Repository navigation
Fix what the pre-release hand test of dev found - #2567
Merged
Merged
Conversation
A task refused by the daily limit still bought its summary helper, and a watch's model check and a provider retry could start after another call had spent the day's allowance. DailyLimitReached is now the one reading of the live ceiling: the turn rail, the helper doors, automation watches and the provider's per-attempt route gate all call it, with the rail's exact words. Preauthorization lifts it exactly as it lifts the rail. Found by the pre-release hand test (F-2.k4 helpers, F-2.k5 summary helper). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Background knowledge compilation wrote its cost only to knowledge.sqlite, so 221 compiler calls for 33 typed messages (43% of a session's spend) never reached the day total, /cost or Spend, and it kept starting calls after the daily limit. Every priced compiler answer - empty, length-capped, invalid or rejected included - now writes one `knowledge` ledger line and a receipt, each attempt asks the shared daily gate first, and a reached limit pauses the build with the rail's words until the limit rises or the day turns. The compiler also asked with the literal effort "none", which bypassed the router's reasoning-disable adaptation; a provider that ignored it reasoned to the 8000-token ceiling and answered nothing. It now asks with EffortOff. Found by the pre-release hand test (F-2.k3, F-2.k4, and the macOS leg). Co-Authored-By: Claude Opus 5.5 <[email protected]>
settings.md said knowledge capture had to be enabled per project; a fresh profile turns it on by itself and existing history waits for Build. The pages now say that, that compilation is a paid call counted in Spend, that the daily limit pauses it, and that a capped task keeps its last summary. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Since #1888 the session record spelled every path against the session, workspace or home root, and mapRecord dropped the whole record when one path sat outside them - so a folder on another drive, or beside the workspace, was accepted on screen and silently gone after a restart. A path no base holds is now kept as written, absolute, exactly as resolve already reads an older build's absolute path. Another computer keeps the record unchanged and says the folder is not on its disk. Found by the pre-release hand test (F-2.k1, a regression from v0.8.2). Co-Authored-By: Claude Opus 5.5 <[email protected]>
When a computer had unpublished turns and another computer took the chat, the brancher kept those turns in a retained branch and saved original -> branch. A later take-back reacquired the original but never removed that redirect, so every reopen resolved to the branch, whose head this tree did not know, and the window became a viewer of its own chat: every tool said "<name> continued this chat; this window now only shows it", across restarts. A successful take (and its already-here path) now removes the chat's own redirect before the vault hook and the replacement drive open, keeping the retained branch and every other mapping. Found by the pre-release hand test (F-6.k2). Co-Authored-By: Claude Opus 5.5 <[email protected]>
A finished task whose change could not land - the person had made an untracked file the task also wrote - ended "done" with no way to decide; its work sat on a kept branch, and after a restart "resolve" was refused as already settled. The state came from the run outcome alone, and only a remote run's NeedsDecision made it the person's call. A local conflicted landing now ends `your call` with `a resolve it`, the checkpoint keeps the landing's reason and paths so the question survives a restart, and resolving lands the task's file and keeps the person's as `<name>.yours`. This was already true of v0.8.2. Found by the pre-release hand test (F-3.k3). Co-Authored-By: Claude Opus 5.5 <[email protected]>
In the pre-release hand test the command never returned a receipt, and a failed attempt left committed membership changes behind that degraded sync for minutes (F-6.k1; the timing analysis is in #2559). By the design law - a capability that cannot work is absent, not broken - it is removed from this release: `codeaf cluster lead` is an unknown command, help offers only `cluster status`, and the leadership client stays compiled for #2559 to restore. The relay is untouched. The three manual-truth gates that pinned the old promise are rewritten to pin the new one. This is a decided contract change, not a loosened test: every probe question still has to reach coordination-and-workers, the facts that are still true stay required, and only the transfer promise is replaced with "the coordinating computer cannot be chosen by hand", `codeaf cluster status`, and #2559. The system prompt, docs/relay.md and the continuing-a-chat page say the same. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A follow-up sent from Home's ask-here pane while the reply was still being
written was submitted again beside the live reader, so the pane applied the
running turn's deltas twice ("principle principle"); the late steer's wake
streamed only to wake subscribers, so its automation card never reached the
pane, and on dev the pane could sit at "thinking" for minutes. A follow-up
now parks until the current stream closes, the way the chat's own composer
does; submitted and wake streams reach the pane through one reader; and a
subscriber that arrives while a card is waiting is shown that card.
The garbling and the lost card were already in v0.8.2. Found by the
pre-release hand test (F-4.k5).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Two things an existing person met in silence now say so once, plainly: - v0.8.2 standing orders and rules are not migrated (#1831), and they simply vanished on the update. The first interactive launch of a home that holds them now says how many standing orders and rules were found, that they were not carried over, and where the list is; the report (v3/standing-upgrade-report.txt) is written before the notice is marked seen, the old folder is left untouched, and a headless start never uses the notice up. - After pairing, a turn typed in v0.8.2 during a rollback stays in the original transcript and never reached the new build's copy. A new copy now stamps the original's length, fingerprint and turn count in copy-ready, and opening the chat says how many turns typed in an older codeaf are kept in which file, once per growth. Nothing is merged (that is #2560); a copy made before this change stays silent rather than guess. One report-and-acknowledgement helper carries both. Found by the pre-release hand test (F-7.k1, F-6b.k). Co-Authored-By: Claude Opus 5.5 <[email protected]>
The split derived the session id from the transcript's immediate parent; transcripts now live at <session>/.cell/transcript.jsonl, so it found `.cell`, no ledger tree, and printed only `spend`. It now derives the id for both layouts. Found by the pre-release hand test (F-2.k7). Co-Authored-By: Claude Opus 5.5 <[email protected]>
The run's failure was dropped when the engine summary was mapped into the session's RunSummary, so a task refused by the daily limit ended only "incomplete" and "nothing to land". The failure now rides through, and the ending and report carry the rail's words. Found by the pre-release hand test (F-2.k6). Co-Authored-By: Claude Opus 5.5 <[email protected]>
The engine road built its surface options without OneModel, so /status said "crew auto · codeaf picks the worker, planner and checker" under --one-model. It now carries the same applied launch the in-process road does. models-and-cost.md also gains the /cost split, the daily-limit task ending and this --one-model reading. Found by the pre-release hand test (F-2.k2). Co-Authored-By: Claude Opus 5.5 <[email protected]>
The conversation's total on meta.json was written once, at the turn's seal, so a detached title billed afterwards never reached Home's card: it read $0.0020 where /cost read $0.0034. Every bill - a seal, a task fold, an auxiliary call - now owes one coalesced spend stamp that settles the user stamp first and reads the live books when it writes. Found by the pre-release hand test (F-5.k1). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Found by the pre-release hand test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Found by the pre-release hand test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Found by the pre-release hand test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Found by the pre-release hand test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Found by the pre-release hand test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Found by the pre-release hand test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…p their precision Found by the pre-release hand test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Found by the pre-release hand test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Found by the pre-release hand test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…cope The tab bar says `Memory` and Home's recent panel says `activity`, but the pages said `Memories` and `sessions`; screen.md said /quit ends the whole program, while it closes only the conversation in front and codeaf stays up while another is held. The pages now match the screen, the probes still reach them, and they also carry this wave's smaller changes (the empty-team and zero-memory readings, the plain knowledge label, the two-answer edit card, time limits ending incomplete, the accept / not right guidance, tiny crew costs, the legacy variable spelling and the reading clock). Found by the pre-release hand test (F-1.k2, F-1.k3, F-4.k2, F-5.k2). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… session config cmd/codeaf may not build a session.Config that skips applyV3Governance (the task-audit law). The knowledge wiring now calls session.DailyLimitReachedAt(profileDir, preauthorized), which builds what it needs inside the session package; there is still one gate. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…iling The local conflicted-landing decision brought it to 17 decisions against 15. Its outcome and landing words move into a named helper along the phase its comments already drew; no ceiling or debt row changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The prompt never promised the verb, and the added sentence put the lean prefix over its budget. It is removed; the prompt is byte-for-byte what dev ships. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Parking a follow-up behind the live reply left the spinner's clock from the first reply; the follow-up now restarts it when it is submitted, so the pane still starts and advances its spinner before any reply. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Expected values change only where the wave changed behaviour on purpose, each with a comment naming the decision: a person's Stop now records its ending explicitly, positive sub-cent crew costs keep four places, the tab is Memory, and the knowledge compiler sends reasoning.enabled=false (EffortOff). The knowledge transport fixture reports instead of calling t.Fatal from the provider worker, which had stranded the caller until the package timed out. TestAgreementDoesNotBuyASecondCompletion now waits on its existing watchReadings synchronisation, because the daily gate's I/O let the finite script outrun the sidecar; every assertion is kept. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…er filesystem The person's files were moved into a holding folder in the system temp directory with os.Rename, which fails with EXDEV when /tmp is a separate filesystem (tmpfs on many Linux systems); the failure was swallowed into a generic refusal, so 'resolve it' landed nothing. The holding folder now lives inside the repository's git directory, a cross-device move falls back to copy-then-remove, a move or restore failure names its real reason, and the task room says 'your call' as the main card does. Found by the hand check of this branch (F-9a.k2). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Since #1888, reopening a conversation whose only spend was a folded task rebuilt the parent's usage from the transcript digest, which turned the folded worker totals into fresh ledger rows - 23 already-paid worker calls were billed again. Folded task usage is now marked in the journal and never becomes a billable digest row, so reconstruction adds nothing for calls already recorded. Old duplicate rows are not rewritten. Found by the hand check of this branch (F-9a.k3). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bash workers were built without the parent conversation, so their ledger rows had no root and /cost could not attribute task spend to the conversation's tree. The run carries the conversation into the worker's existing root field - attribution on each existing row, never a second bill - and /cost shows conversation and tasks. models-and-cost.md says so, and why reopening adds no second charge. Found by the hand check of this branch (F-9a.k1). Co-Authored-By: Claude Opus 5.5 <[email protected]>
The conflicted-landing reading made every your-call node's room header say 'your call', which overrode a design's own 'awaiting your look'. The pending-decision reading now applies only to a node with no named phase, so a conflicted landing still agrees with its card and a design still says its phase. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A task that ended your call counted as ended work, so the open room stopped reading its page and kept saying 'your call' beside the person's own 'resolve it · you' receipt after the landing settled. The beat now keeps reading a page that is waiting on the person until the store says it settled. Found by the hand check of this branch (F-9c.k1). Co-Authored-By: Claude Opus 5.5 <[email protected]>
AbirAbbas
marked this pull request as ready for review
November 10, 2026 10:22
AbirAbbas
added a commit
that referenced
this pull request
Nov 10, 2026
dev's pre-release hand-test fixes (#2567) meet app/v3 in 23 files. Every behaviour from both sides is kept; where both sides fixed the same thing, one implementation remains (provider retry admission after waits, the late spending save, the shared daily-limit gate, compiler billing). The knowledge compiler needed a ruling, because the two sides' retry contracts disagreed: - The retry policy is app/v3's: a five-second backoff doubling to 120 seconds, and a persisted three-attempt cap per input that survives reopening the vault. Build or a new source resets the cap; a job-owned failure is retried only by its owner. A persisted total bound is a stronger money guard than a time pause. - dev's persisted 30-second paid-failure pause becomes a two-second repeat guard held in memory by the open vault. It keeps the refusal dev's test asserts (an identical request right after an unusable paid answer is not bought again) without blocking app/v3's deliberate retries. - The cap's key is now each ordinary source's id and content hash. The old key hashed max(arrived), which a revisit moves to now, so the cap could reset silently. - The compiler asks with reasoning disabled (EffortOff, dev's fix for a provider that ignored effort "none" and billed 8000 reasoning tokens for nothing), with the request identity unchanged so cached answers stay cached. - One billing path: the daily gate runs before every compiler call and provider attempt, and each billed answer writes one ledger line and one receipt, usable or not. Proofs, by name: P1 TestKnowledgeOrdinaryBuildCapsEveryBilledAnswer P2 TestKnowledgeOrdinaryBuildRetryCapSurvivesRepeatedHandovers P3 TestKnowledgeDailyLimitBlocksEveryRetry, TestKnowledgeDailyLimitBlocksTransportRetry P4 TestKnowledgeMixedPaidAnswersMatchCallLogLedgerAndReceipts Co-Authored-By: Claude Opus 5.5 <[email protected]>
AbirAbbas
added a commit
that referenced
this pull request
Nov 10, 2026
The second full pre-release hand test of dev@b0dfe9702 (after #2567), on Linux and macOS with the v0.8.2 upgrade, rollbacks and the live tmux suite, found these; each fix is its own commit with a test that fails with the fix reverted, and every flow was rechecked by hand on the final branch binary. - An unsent draft survives reopening its chat from Home after Ctrl+C, on every road; a composer that never loaded the saved draft cannot overwrite it, while a send, edit or clear always replaces it and an unreadable record is still kept aside. - A remote task's spend is counted once when its conversation arrives on the worker: paid calls carry one identity (session.UsageCallID; local ledger rows keep their schema and derive it), and reconstruction never writes a row for a call the ledger holds. - The older-turns notice survives a chat moving away and back (the copy-ready stamp is carried forward). - A late reconciled receipt reaches Home's card. - A landing whose work is kept on a branch names the branch again; routine landings stay quiet. - The tmux suite and the manual follow decisions already made: the Memory tab (#1943), the first-conversation starter (#680), folded endings (#1893). Minor findings not fixed here are in #2575; #2582 is a known count gap (dollars correct). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The pre-release hand test of
dev@0fa1b5da7drove the real binary against a real model in throwaway homes, onLinux and macOS. Every defect it found is fixed here. Each fix is its own commit with its own test, and each new
test fails on the old code.
Draft until the hand check passes. Every finding's exact repro is being redone on a binary built from this
branch before this leaves draft.
Existing users
The first interactive launch now says how many were found and that they were not carried over, and writes a
list to recreate them from. The old folder is left untouched.
the new build's copy. Opening the chat now says how many turns are kept in which file. The merge itself is After pairing, turns typed in v0.8.2 during a rollback never reach the new build's copy of the chat #2560.
through Wormhole: your codeaf follows you between computers (on by default) #1888.
Money
knowledgeline,including empty, length-capped and rejected ones. In the hand test, 221 compiler calls for 33 typed messages,
43% of the session's spend, had never reached the day total,
/costor Spend.reached limit pauses knowledge building with the rail's words, and a capped task no longer bills its summary
helper.
EffortOffinstead of the literal"none", which bypassed therouter's reasoning-disable adaptation.
/costshows itsconversation and tasks split again. A task stopped by the daily limit says so.
Sync and tasks
and after a restart.
codeaf cluster leadis hidden until it can return its receipt (codeaf cluster lead never returns a receipt: the client's 30 s budget ends before the relay's post-commit wait and a fallback election #2559). This is a decided contract change:the three manual-truth gates are rewritten to the new promise, and every probe still reaches its page.
your callwitha resolve it, and keeps the person's file as<name>.yours, including after a restart. This was already true of v0.8.2.the card. The garbling was already in v0.8.2.
Smaller
Each has its own commit:
/statusnames--one-modelon the engine road.incomplete.Memory,activityand/quit.Follow-ups filed: #2559 (cluster lead timing), #2560 (merge rollback turns), #2562 (the read hand-off during
discussion).
🤖 Generated with Claude Code