Files
DeepSeek-Reasonix/internal/shellsafe
SivanColaandCursor 4588919849 fix(agent): decouple read coverage from write evidence recovery
Problem: Partial reads froze independent operations and final answers, while
rejected edits left stale path blocks after successful read/retry cycles.

Root cause: Read coverage was merged into a global write blocker. Rechecking
old edit arguments and suppressing fresh observations after writes prevented
obsolete operations from reaching a terminal state.

Fix: Track immutable operation/version/range requirements and batch-scoped
verdicts, preserve explicit full-read completion, re-deliver current evidence,
guard source/presence races, and retain host-only recovery diagnostics. Keep
permissions, opaque command boundaries and provider schema bytes unchanged.

Verification: Owning-package tests and race suites, vet, lint/repolint,
frontend typecheck/read-status tests/production budgets, desktop read tests,
and Windows test cross-compilation passed. Full-root migration and inventory
failures also reproduce on the unchanged base; one Goal timeout passed ten
isolated reruns. Native Windows and remote CI are separate gates.

Adapt the real Build regression from PR #9992 and retain its contributor credit.

Co-authored-by: Cursor <[email protected]>
2026-09-10 00:31:44 +08:00
..