Skip to content

fix(eval): setup and DoD shells run in the run's world — defect 2's sibling - #2400

Merged
joelteply merged 1 commit into
canaryfrom
fix/dod-runs-at-the-run-root
Aug 23, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/dod-runs-at-the-run-root

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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

…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
joelteply enabled auto-merge (squash) August 23, 2026 11:57
@joelteply
joelteply merged commit 2c37818 into canary Aug 23, 2026
5 checks passed
@joelteply
joelteply deleted the fix/dod-runs-at-the-run-root branch August 23, 2026 12:08
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant