Skip to content

Remove tests that entrench undesirable behavior - #1559

Merged
max-sixty merged 4 commits into
mainfrom
codex/prune-test-constraints
Oct 2, 2026
Merged

max-sixty merged 4 commits into
mainfrom
codex/prune-test-constraints

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

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.

This was written by Codex on behalf of max-sixty

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.
@max-sixty
max-sixty merged commit 9800200 into main Oct 2, 2026
4 of 6 checks passed
@max-sixty
max-sixty deleted the codex/prune-test-constraints branch October 2, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants