Skip to content

Doc-refs fixes in a worker PR don't count toward the 5-file cap #7625

Closed

Description

@squid-protocol

Part of #7624 (step 2). Needs #7623.

With #7623, a PR that renames a path, drops a flag or adds a module fails doc-refs-audit until it fixes the doc. A worker near the 5-file cap then has two bad choices: break the cap (an automatic send-back by the precheck, promoter-bot#70) or leave CI red.

Change:

  • .claude/agents/gitgalaxy-pr-worker.md (the "At most 5 hand-written files" bullet): a markdown edit that only fixes a doc-refs finding this PR caused counts like a regenerated file, so it falls outside the 5. Name those files in the PR body under Doc-refs fixes:.
  • Cross-repo: promoter-bot's precheck excludes the files listed under Doc-refs fixes: from its count, but only when every listed file is .md and the diff to each one is small (for example, at most 10 changed lines per file). This needs a companion PR in promoter-bot, merged first.
  • The owner's night-shift skill (personal, not in this repo): add the same exception to its "5-file split rule" paragraph. This is the owner's edit.

Why markdown is safe to exempt: the send-back causes measured on 2026-10-26 were collateral breaks, stale derived files, red main and conflicts. A one-line doc fix rarely causes any of them.

Acceptance: the worker brief and the precheck both carry the exception. A test in promoter-bot covers both directions: a .md-only list is excluded from the count, and a list containing a .py file is not.

Activity

  1. added
    documentation
    ci-cd
    on Nov 3, 2026
  2. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7625-20261104T1111Z (host nyx) ended without a PR. ssh fetch denied in v6; sent back to use worktree ref

  3. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Precheck side: squid-protocol/promoter-bot#106. Listed Doc-refs fixes: files are exempt from the 5-file count only when every one is a changed .md file with at most 10 changed lines; otherwise none are. It merges before the gitgalaxy worker-brief PR. The night-shift skill paragraph is still the owner's edit.

  4. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7625-20261104T1112Z (host nyx) ended without a PR. pushed by tick, PR #7682

  5. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7625-20261104T1207Z (host nyx) ended without a PR. no change: the 5-file precheck lives in promoter-bot churn script, not gitgalaxy; owner asked

  6. squid-protocol commented on Nov 5, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7625-20261105T0848Z (host nyx) ended without a PR. No PR needed: doc-refs exemption already in worker brief (#7682) and precheck (promoter-bot#106). Only open item: owner's night-shift skill 5-file paragraph lacks the exception; issue #7625 stays open for that.

  7. squid-protocol commented on Nov 5, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7625-20261105T1027Z (host nyx) ended without a PR. No PR: repo halves already merged (#7682, promoter-bot#106). Only the owner's night-shift skill 5-file paragraph still needs the Doc-refs exemption; #7625 stays open for that.

  8. squid-protocol commented on Nov 5, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-11-05T12:11Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  9. squid-protocol commented on Nov 5, 2026

    @squid-protocol
    OwnerAuthor

    Acceptance met: worker brief carries the exemption with its limits (#7786) and promoter-bot#106 holds the precheck with both-direction tests. The night-shift skill paragraph is the owner's personal edit.

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

    ci-cdclaim:nyxdocumentation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions