Repository navigation
Every tool result she reads has one shape: a status word and the call on line 1, then the body (HER-TOOLS one rendering) - #5635
Conversation
|
Review of #5635 at exact head fe107fb (Cormac): the right first slice of 'one rendering', and the case for a text frame is solid (no Blocker: line 1 can break. Follow-ups (fine after this PR, but each needs an owner now) Also noting, so the slices stay honest: the closed status set here is The rest I'd keep: |
…r_call_args), so a heredoc is named by its shape and never breaks line 1 (Cormac on #5635) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ead cuts, the WorkingMemoryFaculty deleted, the arbiter forwards every bid, no backwards compatibility (card c537d687) (#5637) * WIP (not pushed): working memory sizes from the one owner, WorkingMemoryFaculty deleted, arbiter forwards every bid (card c537d687) Open before push: observation.rs:358 intent_label (Fable: drop the because-clause, annotate open views with call_line); vitals_emitter.rs:94 .min(100) and llm_deliberation_faculty.rs:716 OpenOptions are flagged because this branch touches those files (literal edits); full cognition/mind suites not yet run after the arbiter change. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: drop the because-clause from results (Fable approved); open views carry her whole intent as their optional level; remove the dead capacity test constant Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: vitals gauge percentage saturates without a literal clamp; revert the doc-only touch of llm_deliberation_faculty.rs (its disk writer awaits the class handle) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: no backwards compatibility (Joel 2026-10-31: 'This is the first version'). The checkpoint carries her actions in one shape: receipt_heads, receipt_head_rooms, recent_results, result_scopes and evicted_pointers (the previous build's projection) are deleted with the legacy restore path and written_pointer; checkpoint adoption validates the records; the tests of rollback and pre-records restores are deleted Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: observation::call_args, the one argument renderer (Observation::call_line uses it; #5635's status line will) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: the provenance test stops asserting the old checkpoint tuple format Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: recent_results stays until checkpoint adoption moves onto its disk class handle (card 2b326931); adoption untouched Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: no retirement by order (Codex on #5637). A finished dispatch stays until the submitted render receipt acknowledges it; an act recorded later proves nothing about an optional source being sent. retire_perceived_dispatches is deleted; the 16-handle cap stays gone Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: drop the Faculty import the deleted faculty left unused (warning ratchet 14 -> 13) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: a record's line and summary stay in the memory owner's account (Codex on #5637) ActionRecord::resident_bytes charged only the resident body, but a ledger line renders a single-line argument whole and outlives every shed, so a large write's payload stayed in RAM outside the account after its body was reported shed. resident_bytes now charges every text the record owns (line, summary, body); body_bytes is what a shed releases, and shed candidates and collapse_over count it. The reporter's pinned charge (resident - movable) thus carries the lines, with no cap and no clip. Regression: a_whole_single_line_argument_stays_in_the_memory_owners_account_after_a_shed (a 64 KiB single-line content argument; a shed releases exactly its body, the line stays charged through a checkpoint roundtrip, the handle reachable). Mutation-proved: charging the body alone fails it. Reporter and trail fixtures add the pinned line bytes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * WM slice: drop the Faculty import wake_backlog's test no longer uses (a test-profile warning the lib ratchet does not count) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
… on line 1, then the body (HER-TOOLS, one rendering, first slice)
Before: a refusal read `code/shell-poll: [invalid] …`, a withheld verb `` `work/review` failed: … ``,
and a success was JSON that often opened `{"error":null,…}` (code/search, 91 times in a day),
which reads like a failure to a model skimming its first line. On the M5 (10-30 05:55Z to 10-31
04:01Z) 6.9% of her calls failed and 32% were wasted (failed, identical repeats, bad polls).
- tool_executor/answer.rs: `render` (line 1 `<ok|running|failed|refused> <tool>(<identifying
args>)[ <cause>]`, then the body, then `wake:` when the call became a task), with
`without_empty_fields` (null and empty top-level fields leave the body) and `exit_cause`.
- command_executor: both arms (a command's answer and a refusal) build their text through it;
nothing else frames a tool result.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…re; Qwen's template drops call ids) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…used once) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…f the deleted refusal prefixes Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…r_call_args), so a heredoc is named by its shape and never breaks line 1 (Cormac on #5635) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ation::call_line), so recency.rs is cut once, by its owner Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…_args (#5637's one renderer, re-exported by its consumer); the refusal probe carries the whole reason Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
14ddb53 to
21f99b9
Compare
…efusal's line 1 carries no cause scanned from its message: its kind arrives typed with the verb macro (Codex on #5635) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
REQUEST CHANGES on #5635 at exact head 3c21a23 (Cormac). One contract break; the rest reads right.
Verified as right:
Not blocking, named: |
…ve; an undecodable result reads 'unreadable' (schema drift, never a success) and a command that declares no outcome reads 'ran' (Cormac on #5635) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVE #5635 at exact head abc1be8 (Cormac). I read the delta from 3c21a23 (+36/-8, two files). The executor's if/else is replaced by |
How it serves the minds: consistent results mean fewer failed and repeated calls (Joel: "Formalized and robust consistent results fed back to our agents are just as important as the calls themselves"). HER-TOOLS, "One rendering", first slice; path step 2.
Change
tool_executor/answer.rs:renderproduces line 1 as<ok|running|failed|refused> <tool>(<identifying args>)[ <cause>], then the body, then awake:line when the call became a task.without_empty_fieldsdrops null and empty top-level fields, so a success no longer opens{"error":null.exit_causeputs the exit code on line 1.command_executor: both arms build their text through it. The withheld-verb refusal loses its second frame (`x` failed:), and the refusal probe carries the whole reason (no head cut).{role: tool, tool_call_id, content}(request_body.rs:466-480), with nois_erroron that wire. Qwen's template renders results as bare<tool_response>blocks with no call id, so in a parallel batch only the result's own words tie it to its call.Measured (before)
M5, 10-30 05:55Z to 10-31 04:01Z,
frictions.py(in~/.continuum/evidence/2026-10-31-tool-audit/, with the baseline):{"error":null.Prediction (hour read after deploy)
The failed share falls, and so do repeats of a call whose result she misread. No new failure class.
Tests
continuum-cognition --lib952/954 at the first commit (M5,--features metal, 05:09Z). The 2 failures pinned the deleted prefixes, and are restated against the one frame.tool_executor41/41 at the head.Follow-up (named): open views should take their scalars from the typed value at execution rather than re-parsing the rendered text (
result_scalarsreads two lines today, so it keeps working). #5630 must keep that two-line read.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo