Skip to content

Move the Hub-Tooling Disproved Claims Entries Into the Code They Constrain #2680

Closed

Description

@ptr727

The fix for #1238 adds a rule to the "Disproved Claims" preamble of .github/copilot-instructions.md, as the maintainer decided there: an entry is never about hub-hosted machinery, and a constraint on that tooling is recorded in the hub-hosted code it constrains instead. That change deliberately touched only the one entry #1238 named, since the decision kept the sweep of the remaining entries as separate work. The local review pass on that change found that several remaining entries now contradict the new rule.

Entries the rule now covers

  • The keys_unsorted entry, about the norm filter in repo-config/configure.sh, the hub-hosted configuration script.
  • The bare-SHA extraction entry, about the claims check in scripts/pr_review.py, the hub-hosted review digest.
  • The hyphenated-key entry, about .github/workflows/merge-bot-task.yml, a hub-hosted reusable workflow.
  • Possibly the sudo_implementations() entry, about host-setup/linux/install-tools.sh, depending on whether host-setup/ counts as hub-hosted machinery under the rule.

What done looks like

Each entry the rule covers is deleted from the ledger, and the constraint it records is kept beside the code it constrains, as the #1238 fix did for Q_BOT_ID in scripts/pr_review.py. An entry that turns out to be outside the rule stays, and the reason it stays is stated on this issue.

Also on the same line

The preamble sentence opening "Each names a file and a revision" runs 43 words, which prose_lint.py --check sentence-length reports. It predates the #1238 fix and was left alone there.

Activity

  1. ptr727 commented on Oct 10, 2026

    @ptr727
    OwnerAuthor

    Landed on develop in #2742. Three entries were deleted and their constraints moved into the code: keys_unsorted (configure.sh), hyphenated inputs (merge-bot-task.yml), and sudo_implementations() (install-tools.sh, since host-setup/ is hub-local and reached rather than carried). The bare-SHA claims entry was deleted too. Its disproof was already in the BODY_CLAIM comment in scripts/pr_review.py, and the rejected path-arm measurement was added there. The 43-word preamble sentence is now three sentences.

    The STANDUP.md subject-verb entry stays. The rule bars entries about hub-hosted machinery, meaning the tooling a repository reaches. STANDUP.md is a prose procedure document, not tooling, so the rule does not reach it. Its own "Delete when" condition (the sentence is reworded) still governs it.

    This closes when the develop -> main promotion carrying #2742 merges.

  2. added a commit that references this issue on Oct 10, 2026
    991b961
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions