Skip to content

docs(repo-fleet-hygiene): security-review.md restates the GraphQL alias page size as a literal in a current-state claim #2825

Closed

Description

@kyle-sexton

Summary

plugins/repo-fleet-hygiene/skills/audit/reference/security-review.md:63 restates the aliased-GraphQL page size as a bare 100 literal inside a current-state security assertion:

Rate cost for the aliased GraphQL page is documented as bounded (measured cost 1 per call; ≤100
aliases / ≤100 nodes per page).

That is the same drift vector #2709 fixed in SKILL.md: the number is owned by MERGED_PR_GRAPHQL_ALIAS_PAGE in plugins/repo-fleet-hygiene/skills/audit/scripts/audit-fleet.sh, but this sentence hardcodes it. If the constant is ever retuned, line 63 silently becomes a false claim in the document a reviewer consults to accept the plugin's egress and rate posture.

Why this is not a frozen historical record

Lines 5–6 of the same file are a historical record ("the merged-PR batch limit was raised from hardcoded 100 to 200"), and literals there are correct as written. Line 63 is different — it sits in item 5 (Data egress) and asserts what the shipped collector does today, ending in an Accepted verdict. It is a live claim, so it must track the constant.

Line 16 of the same file already does this correctly, naming MERGED_PR_GRAPHQL_ALIAS_PAGE rather than its value.

Evidence

Suggested fix

Rewrite line 63 to name the constants instead of their values, matching line 16 — e.g. "measured cost 1 per call; at most MERGED_PR_GRAPHQL_ALIAS_PAGE aliases and the same number of nodes per page". If a concrete number is wanted for a reader who will not open the script, present it explicitly as the value at time of review rather than as the contract.

Severity

Low. Documentation-only; no runtime behavior is affected. Filed so the drift vector is tracked rather than rediscovered by the next security review.

Provenance

Surfaced by a fresh-context verifier agent during the 2026-08-15 audit-verification program, outside the filed scope of #2709. Re-verified against origin/main at 119924045 on 2026-08-16.

Activity

  1. added
    needs-triage
    on Aug 16, 2026
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

    needs-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions