Skip to content

Nightly doc-drift job files churn issues from the doc-refs backlog #7627

Closed

Description

@squid-protocol

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

The PR gate catches only new drift; the 160-finding baseline (47 once #7617 merges) is the backlog. Turn the backlog into small churn-sized issues instead of one big sweep.

Change: a scheduled job (nightly, or folded into an existing nightly workflow to save a runner) runs python3 tests/doc_refs_audit.py --json. It groups the baselined findings by area: skills, rules and agents, wiki, docs/, package READMEs, tests/. For each area it opens or updates one issue labelled documentation, listing up to about 4 files per issue so each fits the 5-file cap. It never opens a PR.

  • Dedupe: if an open issue with the same marker title exists, update its body instead of filing a duplicate.
  • Close: when an area has no findings left, close its issue.
  • After a fix merges: shrink the baseline (--write-baseline). The fixing PR can do it, or the job can say "N fixed, shrink the baseline" in its summary.
  • Follow .claude/rules/ci-workflows.md on runner cost. The job is stdlib-only and needs no install.

Acceptance: with the baseline non-empty, a run produces area issues with file:line lists. A second run updates them rather than duplicating them. An area at zero findings closes its issue.

Activity

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

    @squid-protocol
    OwnerAuthor

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

  3. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Acceptance met by #7684: nightly doc-drift job groups the baseline by area into chunked issues, dedupes by title (second run updates, not duplicates), closes at zero findings, never opens a PR; covered by 7 tests. First live run via workflow_dispatch will open the area issues.

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