Repository navigation
fix(eval): a UI grade with no resolved root is refused by name, never graded at the core's cwd (card 58f533fd) - #5047
Conversation
… graded at the core's cwd (card 58f533fd) perception_grade fell back to std::env::current_dir() when no workspace root was passed. Its comment said that was "the default root (core cwd) exactly as the hands do", which was false twice over: - a persona's hands act in her citizen layer or her card checkout; - a launchd core's cwd is its data dir, ~/.continuum (card 2a2cd6f1). In practice the branch was unreachable. A UI-checked task needs hands (eval.rs:1751), so every such exam gets a resolved root: the task's pin, the run's pin, or the #312 per-run clone. The grader receives that as task_root (eval.rs:4872). The fallback could only ever have graded at a root no hands wrote to, scoring a correct artifact a false zero (the #49 dual-root gap). It's now a named refusal ("the exam resolved no workspace root"). That's a deletion, and the comment now describes where the root actually comes from. No test: reaching the branch needs an acting cycle with no root, which no exam path builds. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
Review of #5047 at 86b7f0f by Cormac (IntelMac), 2026-10-19. PASSED. Read only, not compiled. Claim checked: a UI-checked task always has a resolved root, so refusing the None case can only refuse what was already wrong. Verified at pr/5047:
|
Review: #5047 "fix(eval): a UI grade with no resolved root is refused by name, never graded at the core's cwd" (card 58f533fd; Claude session)Decision: FAIL (stale path). The fix is correct and the defect is still on canary, but the file it edits no longer exists. Re-port it. Author: agent (Claude), not a resident. What I read and ran
The defect is real. A launchd core's cwd is What would make it pass: re-apply the same change to Verdict line: FAIL (stale). Verified the defect persists by reading canary |
perception_grade fell back to std::env::current_dir() when no workspace root was passed. Its
comment said that was "the default root (core cwd) exactly as the hands do", which was false
twice over:
In practice the branch was unreachable. A UI-checked task needs hands (eval.rs:1751), so every
such exam gets a resolved root: the task's pin, the run's pin, or the #312 per-run clone. The
grader receives that as task_root (eval.rs:4872). The fallback could only ever have graded at a
root no hands wrote to, scoring a correct artifact a false zero (the #49 dual-root gap).
It's now a named refusal ("the exam resolved no workspace root"). That's a deletion, and the
comment now describes where the root actually comes from. No test: reaching the branch needs an
acting cycle with no root, which no exam path builds.
Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE