Repository navigation
Remove tests that entrench undesirable behavior - #1559
Merged
Merged
Conversation
Remove selected valid-diff refusals, legacy-format support, raw-ID answers, clipping policies, latency floors, and mandatory layout work. Preserve malformed-input validation, semantic identity, drawing capture, and performance upper bounds. After independent review, retain declared-language validation and noscript anchor protection, and check sticky-header allocation and cramped-pin reachability without requiring truncation or covering words. Runtime behavior is unchanged.
Remove description-only executable identity, historic vocabulary ceiling, 81-character title refusal, diagram-link inertness, and transcript preview prohibitions. Let final replies include or omit an opening while preserving final content, narration exclusion, event metadata, and streaming behavior. Keep projection-completeness protection after reviewing the bare-text case; retain the ergonomic pointer-snapping tests. Neither runtime is changed. Verified with 1,471 everyday Python tests, affected browser cases, focused commentary-exclusion coverage, pre-commit, and independent review.
Remove exact six-entry counts and mandatory peer displacement from the expanded-margin checks. Keep complete ordered Page Map actions, useful primary controls, thread reachability, focus, tooltip bounds and geometry. Open the gallery's Page Map by its ordinary keyboard route. Grow the spill fixture until overflow actually occurs rather than asserting it at five peers. Keep all six declared reaction choices as palette completeness. The user kept static thread seats and pointer word snapping. No production behavior changes; the separate gallery Undo fix remains with PR #1506. Verified with seven targeted browser cases, all 190 runtime tests, pre-commit and independent review.
leaf-agent
approved these changes
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests that pin accidental restrictions can teach future agents to preserve them. This applies the user's 23 accepted scopes from a deep audit of the suite, removing or narrowing those assertions while retaining useful behavioral guarantees. Production behavior is unchanged.
The changes release fixed margin capacities, layout and timing policies, truncation rules, description-only artifact identity, and refusals of otherwise valid content. The margin journeys now prove complete ordered Page Map access and actual spill reachability without requiring six inline entries or a fixed number of fixture peers. Tests still hold invalid-input safety, rendering readiness, meaningful labels, layout stability, optimistic actions, and final-answer semantics.
Review restored useful assertions where the original proposals went too far, including declared-language validation, passage ownership/readiness, and filename layout geometry. Five proposals were kept; the image-difference item was left to its existing owner.
Validation before integrating main: 1,471 everyday Python tests, seven affected margin browser cases, and independent code and desktop/phone review. On the integrated tree, all-file pre-commit, 190 runtime tests, the semantic-progress test, and independent integration review pass. The margin rerun passes eight cases and reproduces the gallery's hidden Undo defect at 700px before this PR's changed assertions; the existing investigation and repair owner cover it. CI runs the landing gates and changed nightly cases on the integrated tree.
The first integrated CI attempt reports 1,545 passed, 3 skipped, and one failure in the same gallery Undo journey at 1440px, before the changed Page Map assertions. The automated second attempt also fails that journey, at 700px with an invisible Undo control. The automated reviewer approved the exact head. The existing reachability repair remains with its owner, and this PR retains the test that exposes it. The user requested merging these reviewed test changes with that pre-existing CI failure outstanding.