Skip to content

tests/test_gitapex_gate_local_preflight.py: stale "28 exclusions" prose count (registry now has 29) #1228

Open

Description

@tvna

Facts

Requested outcome

Update the digit at tests/test_gitapex_gate_local_preflight.py:880
from 28 to 29 (or rephrase to reference the count structurally
instead of a hardcoded digit, if that's a better long-term fix -- left
as an implementer's judgment call, not mandated here) so
test_no_prose_count_contradicts_the_registry passes again on main.

Acceptance Criteria Map

Criterion Interpretation Planned ops Proof method Residual risk
test_no_prose_count_contradicts_the_registry passes on main The hardcoded "28" in test_every_unwired_gate_records_why's docstring matches .gitapex/ssot.json's actual current non-local gate count Change 28 to 29 at tests/test_gitapex_gate_local_preflight.py:880 uv run --frozen pytest tests/test_gitapex_gate_local_preflight.py -v passes, specifically test_no_prose_count_contradicts_the_registry Low -- a one-line prose fix with no behavioral change; the underlying drift-detection test itself is not being altered

Constraints

  • Fix only the stale count; do not change test_no_prose_count_contradicts_the_registry's own detection logic.

Non-goals

  • Does not audit whether other prose counts elsewhere in the repository
    have drifted the same way -- this issue is scoped to the one instance
    this session's own full-suite run actually caught.

Note

Root-caused directly against main's own tip in an isolated worktree,
not inferred from PR #1213's own (unrelated) diff -- this is genuinely
pre-existing on main, confirmed before filing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions