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
test: ratchet internal patches and private imports in tests/ #5248
Child 18 of the ADR modernization (#5233). Code. It enforces ADR 0007 as it is written, so it needs no new decision.
The review of each record that this item changes:
ADR 0007 (supersede after owner decision 4 (tests record)): The seam and fake rules hold (internal patches fell from 1,925 to 223). The program ban is not enforced: 67 live marks remain, and the openspec contract tests skip in CI. One ratchet over all of tests/ can go in now.
Proposed Solution & Architectural Design
tests/invariants/test_source_tree.py gets ceilings that only fall over all of tests/: 223 string patches of devops_cli names and 146 private imports. Correct docs/TESTING.md:246.
Rules of the ADR process (docs/adr/README.md, #5225) that apply:
Use one form for a Status History line, 30 words at most: 'YYYY-MM-DD: Amended by ADR NNNN, section S | Amended by the owner decision in #N, section S | Superseded by ADR NNNN | Fact out of date: (#N) | Living detail moved to (#PR).' The PR that makes a fact of a record wrong adds the line (AGENTS.md rule 8). An agent never edits the body of an accepted record.
Activity
dan-petty commentedon Nov 12, 2026
Both enforce ratchets on internal patches and private imports in tests/, but the candidate sets new ceilings at lower counts in a specific file while #1309 defined the original ratchet.