You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move install.py's Probe and State-Describing Messages Onto the Operations Rule #2606
Pull request #2536 adds CODESTYLE.md "Operations and Failure Messages". It says to let the real operation be the check rather than probing first, and that a failure message claims nothing about the state the failure left. The same pull request names read_regular_file() and write_regular_file() in host-setup/agent-safety/claude/install.py as the hub's shared primitives in OPERATIONS.md. That file still has sites that predate the rule and break it, so a session following OPERATIONS.md there finds model code that contradicts the rule.
Per GOVERNANCE.md "Design Before Code", sites in files a change does not touch move in a change of their own, filed as one issue naming each. These are those sites, as of install.py on develop when #2536 was brought up to date.
Sites
The local-file check probes with os.lstat(local_path) before reading, around line 598, rather than letting the read's own FileNotFoundError decide absence.
IncompleteWrite messages say the path "was left incomplete", around lines 555 and 560.
Refusal messages open with "Nothing was installed", around lines 1313, 1320, and 1356.
A refusal message says "No hook or setting was changed", around line 1348.
Done Looks Like
Each site either follows the rule, or the rule's wording is changed to allow it with the reason stated. That tree is the agent's own guard, so the change is worked in an attended session.
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.
Activity
Model the Threat and Reuse Before Building, and Give Review a Design …
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.