Skip to content

Declare the Rendered Reviewer Configs So the Audit Stops Reporting Them as Hub-Only #3914

Closed

Description

@ptr727

Observed

spec/audit.py KiCadLibrary reports three hub-only: drift findings for files the hub's own reviewer configuration puts in the repository:

audit run 2026-11-07T16:09:56Z | hub 7cfe988e
  DRIFT  hub-only: .coderabbit.yaml is undeclared in spec/files.json and this repo carries it - read the file and triage it in spec/divergences.json 'gaps' ...
  DRIFT  hub-only: .github/agent-policy.json is undeclared in spec/files.json and this repo carries it - ...
  DRIFT  hub-only: .pr_agent.toml is undeclared in spec/files.json and this repo carries it - ...

repo-config/configure.sh check ptr727/KiCadLibrary release, run from the same hub revision, reports all three files as matching. So their content is what the hub renders for the repository.

Expected

A file the hub renders into every fleet repository is declared in spec/files.json, or given a disposition in spec/divergences.json, so the audit does not report it as a hub-only file to delete. As it stands, RESYNC.md section 4 routes the finding to the deletion remedy, and the only thing stopping a resync from deleting a live reviewer configuration is that the path is untriaged.

Affected

ptr727/KiCadLibrary at main@e7fcda7. The same three findings likely appear in every repository the reviewer cutover has reached, since the detector derives from the hub's tracked paths rather than per repository.

Ask

Triage the three paths in spec/files.json or spec/divergences.json. Nothing is changed in KiCadLibrary for this.

Activity

  1. ptr727 commented on Nov 9, 2026

    @ptr727
    OwnerAuthor

    Reproduced on ptr727/LanguageTags at a newer hub revision: audit run 2026-11-09T16:22:38Z | hub c175d557 reports the same three hub-only: findings (.coderabbit.yaml, .github/agent-policy.json, .pr_agent.toml). repo-config/configure.sh check ptr727/LanguageTags release from that same revision reports all three ok, with .github/agent-policy.json equal to the registry rendering. So the audit and the config check still disagree as described above.

  2. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-10): PR #4037 merged into develop at dc88c9d, and its branch and worktree are removed, so this claim holds no files.

    Backlog burndown claim (attended run 2026-11-10, round 2, group G6). Branch: burndown/3914-audit-hub-only-head-reads. Issues: #3914, #3841, #4017.

    Predicted file set:

    • spec/audit.py
    • spec/divergences.json
    • spec/divergences.schema.json
    • spec/files.json
    • AUDIT.md
    • .agents/skills/audit-a-repo/SKILL.md
    • .github/skills/audit-a-repo/SKILL.md
    • .claude-plugin/fleet-skills/skills/audit-a-repo/SKILL.md
    • .claude-plugin/fleet-skills/.source-digests/audit-a-repo
    • tests/test_audit.py
    • tests/test_audit_helpers.py

    No other group may edit these files while this claim stands. The orchestrator releases it at cleanup.

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