Repository navigation
fix(eval): setup and DoD shells run in the run's world — defect 2's sibling - #2400
Merged
Merged
Conversation
…ibling Found live on the MirrorCode maiden round: run_dod spawned bash in the PROCESS CWD, so setup_shell staged task fixtures into the real repo checkout (a mirrorcode/ tree appeared in the operator's working copy) while her hands and artifacts lived in the #312 ephemeral clone — the DoD then graded a world containing the fixtures but not her work: 100% false fails plus operator-tree pollution. DS-1000's clean sweep predates the ephemeral roots, when CWD *was* the workspace — coincidence, not design. run_dod takes the resolved run root (task pin or ephemeral clone — the same authority test_grade_file adopted in #2384) and sets current_dir at all three call sites (setup, solo DoD, team DoD). None preserves cwd for callers that genuinely run there. Regression test proves the DoD's world is the root and nothing lands in the process cwd. MirrorCode maiden run fda23ab2 is VOID (never recorded); Take 2 launches post-deploy as the unlearned baseline. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
enabled auto-merge (squash)
August 23, 2026 11:57
joelteply
added a commit
that referenced
this pull request
Aug 23, 2026
…ss citizen tool (#2402) perception/hot-edit (AiSafe, native, Provided — ObserveCommand's shape exactly): apply a CSS patch to a live page and re-observe, without touching disk. Params target/css/viewport?/selector?; result = the same flattened ObserveResult an observe returns (patched page's image + structure + craft facts) plus appliedCss and delta {pixelsChanged, totalPixels, ratio} — the money signal of the iterate-loop, per patch. The eye-node opens the target, replaces the <style data-continuum- hot-edit> layer wholesale (empty css clears; proven in a real browser), re-observes at the caller's viewpoint so a selector-scoped delta frames the same pixels. Scene surfaces refuse loudly for free (hotPatchCss is DOM vocabulary; SceneSurface rejects foreign verbs). Stateless-but- effective contract stated in the tool doc: the page reloads per call, so she passes her FULL accumulated css each time; a persistent session table (open-on-first-call, LRU eviction, handle on the wire) is the named next step — the session machinery already supports it. Agentic-surface ceiling re-pinned per the ratchet's own protocol: descriptions SHRUNK first (238→191 tokens), growth stated plainly. Built by a worktree agent (real-browser patch-replace proof; one pre-existing serving_footprint test failure dispositioned as pristine- base, untouched); integrated onto post-#2400 canary. 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.
MirrorCode's maiden round glass-boxed it live: setup staged into the repo checkout, her work lived in the clone, the DoD graded the wrong world. Same constraint fix as #2384, applied to the shell path at all three sites, with the regression test.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo