Skip to content

Verify the Interaction-Limit Pilot on the Hub From GitHub State and Commit Its Verification Record #4434

Backlog

Description

@ptr727

Problem

PR #4393 (for #4364, now closed) made repo-config/configure.sh apply set no public-interaction limit until a committed verification record, repo-config/interaction-verification.json, shows that a pilot repository verified one. The record is not committed yet. So no interaction limit is set by apply anywhere in the fleet, and none will be until the pilot is verified. #4364 closed on promotion #4428, which leaves this step tracked here alone.

State

  • Pilot chosen: ptr727/ProjectTemplate, the maintainer's answer at the 2026-11-26 triage.
  • Limit set by hand: collaborators_only, set 2026-11-26 at about 21:45 UTC, expiring 2027-05-26T21:45:00Z. Read it back with gh api repos/ptr727/ProjectTemplate/interaction-limits.
  • The verification is an agent's job, not the maintainer's. The maintainer asked, 2026-11-26, that a handoff session verify the four bots from GitHub state and open the record PR, rather than him watching them. The procedure below is written for that session.

Agent Verification Procedure

Every check reads GitHub state on ptr727/ProjectTemplate for activity that started after the limit was set, 2026-11-26T21:45:00Z. Activity from before that proves nothing.

  1. Confirm the limit is still in force before and after the checks. gh api repos/ptr727/ProjectTemplate/interaction-limits must read limit: collaborators_only with origin: repository. If it reads empty, stop and report: the limit lapsed or was removed, and nothing below counts.

  2. Pick the PR the reviewers are checked on. On the hub, Copilot, CodeRabbit, and Qodo all have trigger: explicit in .github/agent-policy.json, so each reviews only when asked. A develop -> main promotion PR is the natural one, since pr_review.py --request owes Copilot there. Any PR whose head was pushed after the limit works if each reviewer is asked on it.

  3. Ask each reviewer on that PR's head the way scripts/pr_review.py does, through its request path and the review policy's commands. Record the time of each ask.

  4. Verify each bot from its own output, after its ask and on that head:

    • Copilot: a review by copilot-pull-request-reviewer whose commit is the head.
    • CodeRabbit: a review or a review comment by coderabbitai, or its CodeRabbit check run on the head concluding with posted output. A check reading success over a rate-limit comment is not coverage.
    • Qodo: a comment or review by qodo-free-for-open-source-projects. No hub PR in the 40 before the limit carries any Qodo output, so first confirm it answers on the hub at all. If it does not answer after an ask, compare with a PR from before the limit. A silent Qodo on both sides is a Qodo installation gap, not a limit failure. Report it to the maintainer rather than recording it as verified.
    • Dependabot: a pull request authored by app/dependabot and created after the limit was set. .github/dependabot.yml runs daily, so one appears within a day. Its checks must run.
  5. Look for the failure signal too. A bot error comment naming interaction limits, or an ask that drew a reply from no bot, is a failure. On a failure, stop and ask the maintainer whether to remove the limit with gh api -X DELETE repos/ptr727/ProjectTemplate/interaction-limits. Removing it is a settings write, so it waits for his go-ahead.

  6. When all four are verified, open a hub PR into develop, driven per drive-pr, adding repo-config/interaction-verification.json with exactly this shape and nothing else:

    {
      "pilot": "ptr727/ProjectTemplate",
      "date": "<YYYY-MM-DD of the verification>",
      "bots": ["Copilot", "CodeRabbit", "Qodo", "Dependabot"]
    }

    The PR body carries the evidence: for each bot, the link to the review, comment, check run, or PR that proves it, and its timestamp after the limit. Merging it into develop follows the ordinary go-ahead for that PR.

  7. Then the rollout. Once the record is on main through a promotion, configure.sh apply sets the limit on every public repository and renews the hub's. Before that apply, check that the README of each collaborators repository links to no Discussions page, since apply turns Discussions off there. A fleet-wide apply is the maintainer's to run or approve per repository.

The hand-set limit expires 2027-05-26 and nothing renews it until the record lands and an apply runs, so the record should follow the verification closely.

Evidence

Done looks like

  • Each of the four bots verified from GitHub state under the hub's limit, with the evidence links in the record PR's body.
  • repo-config/interaction-verification.json on main through that PR and a promotion.
  • A configure.sh apply has set the limit on each public repository, and configure.sh check reports it in force.

Activity

  1. ptr727 commented on Nov 26, 2026

    @ptr727
    OwnerAuthor

    Triage question, 2026-11-26.

    PR #4393 made repo-config/configure.sh apply set no public-interaction limit until repo-config/interaction-verification.json records that a pilot repository verified one. The record is not on main, so no limit is set anywhere in the fleet. The pilot is yours to run by hand: pick one public collaborators repository, set its collaborators_only limit for six months, and observe Copilot, CodeRabbit, Qodo, and Dependabot each still working under it. Which repository is the pilot, and when do you run it?

    Eleven cataloged repositories are public and collaborators (no publicInteraction declared). All of them take the default agent policy, which runs all three reviewers on auto, and all get Dependabot pull requests. None has a limit today.

    The limit can be set in Settings > Moderation options > Interaction limits, or with one call:

    gh api -X PUT repos/ptr727/ProjectTemplate/interaction-limits -f limit=collaborators_only -f expiry=six_months

    A hand-set limit expires in six months and nothing renews it until the record lands, so the record should follow the verification closely.

    Options:

    1. Pilot on the hub, run now (recommended). The README names the hub as its example of a reference-only repository. Its Discussions are already off, so the later apply changes nothing there beyond the limit. It has the most pull request traffic in the fleet, so all three reviewers and Dependabot are observed within a day. A silenced reviewer shows up at once in the hub's own review loop, and the limit is removed with one call if it does. Once you report what each bot did, an agent opens the hub pull request committing the record with that evidence.
    2. Pilot on a quieter repository, such as Utilities, run now. A failure there stalls nothing important. Its pull requests are mostly Dependabot's, so verifying the three reviewers needs a pull request opened by hand to exercise them.
    3. Defer the pilot until a stated date. No limit is set anywhere until then, and every public repository stays open to comments, issues, and pull requests from any account.

    Evidence: PR #4393, promotion #4428 ("Owed by the maintainer"), #4364 (closed), main:repo-config/README.md "Public Interaction", main:registry/repos.schema.json publicInteraction (absent means collaborators), main:spec/agent-policy.default.json (all three reviewers auto), RESYNC.md section 3 step 5. No repo-config/interaction-verification.json on main or develop, and the hub's interaction-limits reads empty on 2026-11-26.

  2. added
    decision
    on Nov 26, 2026
  3. ptr727 commented on Nov 26, 2026

    @ptr727
    OwnerAuthor

    Maintainer's answer, 2026-11-26 triage: option 1, the hub is the pilot. The limit was set at the maintainer's go-ahead: collaborators_only, expiring 2027-05-26, read back from repos/ptr727/ProjectTemplate/interaction-limits. Still owed: the maintainer reports what Copilot, CodeRabbit, Qodo, and Dependabot each did under it, and then an agent opens the pull request committing repo-config/interaction-verification.json with that evidence.

  4. removed
    decision
    on Nov 26, 2026
  5. changed the title [-]Run the Interaction-Limit Pilot by Hand and Commit Its Verification Record[/-] [+]Verify the Interaction-Limit Pilot on the Hub From GitHub State and Commit Its Verification Record[/+] on Nov 27, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions