Repository navigation
fix: the experience-degradation sweep — act budgets, serialization ratchet, canvas pre-fold - #2411
Merged
Merged
Conversation
… task, and she can finally SEE her own stopwatch The MirrorCode baseline showed exactly what DEFAULT_MAX_ACTS=8 buys on a frontier task: Atlas produced a genuinely competent case-bucketing analysis (_analyze.py, error/ipv4/stdin/width regimes) and was graded 0-pass with an EMPTY src/ — the budget ran out before implementation could begin. The cap measured our patience, not the model. Worse, the budget gated acts SILENTLY: nothing in her perception ever said how many acts remained, so an engineer's rational analysis-first plan was indistinguishable from having thirty acts until the floor vanished. Three changes: 1. DEFAULT_MAX_ACTS 8 → 32 (doc carries the incident). The cap exists to bound a runaway, so it must sit ABOVE what honest engineering needs. 2. EvalTask::max_acts — budget-as-data. A gym row can size patience to its task class; None inherits the run's budget. Honored at both the task drive and the empty-diff re-drive. 3. ACT-BUDGET PROPRIOCEPTION in the settle loop: three structural facts (contract at turn start, midpoint, two-remaining) on workspace- deliverable turns. Doctrine-compliant — each states the TRUE shape of the turn, names no file/fix/tool; pacing stays her decision. Guarded against the Speak re-perception double-stamp. Also sweeps a pre-existing unused clog_error import (bridge_client). Validated: act_observe + eval + experience + curriculum + ratchets all green (157 tests). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
enabled auto-merge (squash)
August 23, 2026 18:03
…64 site names the boundary it crosses, count never rises Solidifies the 2026-08-23 sickness doctrine as CI teeth before any model swap: 'you write js level code all the time… it's like a sickness' / 'base64 is just fucking insane'. The rule watches serde_json's owned-encode family (to_string/to_string_pretty/to_vec/to_value/ from_value) and the base64 engine shapes; each production occurrence needs a same-line // comment (>=12 chars) naming WHICH true boundary the encoding crosses (socket, disk format, wire protocol, foreign API). Between in-process layers data travels as &T/Arc<T>/handles. Ratchet, not wall — same argument as the unwrap guard verbatim: baseline 242 measured with a zero-baseline run (no slack), may only go down. to_writer/from_str/from_slice deliberately uncounted: they touch an existing byte stream, which is almost always a genuine boundary already. Adds SourceFile::for_test (cfg(test)) so rules can pin their predicate against inline fixtures. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… goes blind on big screenshots The 2026-08-23 audit's latent canvas bug, closed. The feed hooked the post-fold observation in act_observe/apply — but a flood-sized ObserveResult has already been spilled to disk and cut to a preview by then, so serde_json::from_str failed and the frame silently dropped. The desktop went blind on exactly the observations worth watching: full-page screenshots during design iteration. The hook now lives at the tool-executor seam (execute_native_batch), where the full result still exists, before fold_with_recovery cuts the preview. One owned render feeds both the canvas feed and the fold; the apply-side hook is removed (it would double-publish small results). Validated: tool_executor + canvas + act_observe + ratchets green (84). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Aug 23, 2026
… protections built for exactly them The eval framed EVERY task as directed-speech (TurnFraming::directed()), so workspace_deliverable was false even on tasks whose grade READS THE WORKSPACE (dod_shell, solution_file, ui_checks). Three protections gate on that flag and therefore never applied to the tasks they were built for: the #390 discovery-saturation gate (would have interrupted the MirrorCode discovery-only turn before it burned the budget with an empty src/), the no-deliverable Speak nudge, and the new act-budget proprioception (#2411) — which is why the stopwatch facts were absent from the restage's working memory. EvalTask::workspace_deliverable() is the one predicate (DoD shell / solution file / UI checks = graded on artifacts, not speech); the task drive and the empty-diff re-drive frame .on_workspace() from it. agent/solve already had the equivalent Deliverable::Workspace switch — eval was the one broken caller. Joel: 'this will fix all benchmarks AND most importantly any activity projects in general' — the live room path (held kanban work framed message()/self_thread() without claim-state) is the named follow-up; it needs the claim plumbed to framing. Validated: cognition::eval + act_observe + ratchets green (69 tests). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Aug 23, 2026
…al turns framed on_workspace (#2412) * fix(persona,eval,cli): kill the held_out probe storm, gate the hold before plan derivation, and give reboot eyes on eval runs Three defects from the restage's own live fire (Joel: 'the reboot sure as hell doesn't work well — you're still manually killing stuff'): 1. PROBE STORM: the serving daemon republishes its plan every tick and the hosting reconciler treats every republish as an edge, so during a roster hold the held_out probe wrote an identical pair of rows PER SECOND for the life of the hold (measured live 13:45-13:46, ~2 rows/s indefinitely). probe_held_out_once dedups per (agent, until_ms) — a renewed hold announces itself afresh; the SKIP stays per-pass. 2. CHURN: host_unattended derived a full spawn plan for held-out citizens every republish just to throw it away. The hold now gates the unattended list BY NAME before plan derivation — same filter, earlier, cheap early-return for the hold's whole life. (A plan-change gate in the reconciler loop was written and REVERTED: it would break #429's newborn-hosting under an unchanged plan.) 3. REBOOT GUARD BLIND SPOT: solve runs have had a file-backed in-flight guard since day one; cognition/eval runs had NO on-disk signal, so reboot killed a mid-task MirrorCode battery without ever asking. Each eval world now carries eval-run.json (runId + owning core pid, re-stamped on resume); in_flight_eval_runs() scans them and reboot refuses without --force when a pid-alive run stands. Marker lifetime is exactly world lifetime (Drop + orphan sweep) so no reap logic needed. Validated: persona::host + cognition::eval + boundary_serialization + ratchets green (34 tests). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(eval): DoD-graded tasks are workspace-deliverable turns — arm the protections built for exactly them The eval framed EVERY task as directed-speech (TurnFraming::directed()), so workspace_deliverable was false even on tasks whose grade READS THE WORKSPACE (dod_shell, solution_file, ui_checks). Three protections gate on that flag and therefore never applied to the tasks they were built for: the #390 discovery-saturation gate (would have interrupted the MirrorCode discovery-only turn before it burned the budget with an empty src/), the no-deliverable Speak nudge, and the new act-budget proprioception (#2411) — which is why the stopwatch facts were absent from the restage's working memory. EvalTask::workspace_deliverable() is the one predicate (DoD shell / solution file / UI checks = graded on artifacts, not speech); the task drive and the empty-diff re-drive frame .on_workspace() from it. agent/solve already had the equivalent Deliverable::Workspace switch — eval was the one broken caller. Joel: 'this will fix all benchmarks AND most importantly any activity projects in general' — the live room path (held kanban work framed message()/self_thread() without claim-state) is the named follow-up; it needs the claim plumbed to framing. Validated: cognition::eval + act_observe + ratchets green (69 tests). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Fable 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.
Three commits, one directive: fix everything degrading the citizens' experience, solidified before the model handoff.
EvalTask::max_actsbudget-as-data per gym row, and act-budget proprioception (turn-start contract / midpoint / two-remaining facts) so she can pace like an engineer instead of hitting an invisible floor.Batteries green: 157 + hygiene suite + 84 (tool_executor/canvas/act_observe).
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo