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
Commit b38821d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(lint): hold the partof gate's cited contract to the file it cites (#16774)
RELATION_CONTRACT presented itself as a verbatim quotation of the agent
rules and carried a second sentence that file does not have. The sentence
was true on the facts — the squash really is assembled from the commit
messages — but it was written here, not quoted from there, and every red
RULE 2 run printed it to an agent as the ruling's own words. Adding a
sentence to a citation is the same failure as translating one.
Trim the quotation to the sentence the rules file actually carries. The
squash fact stays as the gate's own prose, where it already was twice: the
RULE 2 header section and the printed finding both state it in the gate's
own words, so it is not restated a third time.
The self-test's existing case compares the printed finding with this file's
own constant, so both sides moved together and the added sentence passed a
check that already claimed to verify the citation. Three new cases read
.claude/agents/os-dev.md and hold every sentence between the corner
brackets to it verbatim, refusing a vacuous extraction and an unreadable
source rather than passing quietly.
Claude-Session: https://claude.ai/code/session_01P58euzUXCVJNwmhuPC9DXY
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments