Skip to content

Generate the Qodo Compliance Checklist Into the Central Settings Repository #1464

Open

Description

@ptr727

Scope narrowed (2026-11-10, maintainer answer below). #3913 built the central Qodo settings repository, scripts/central_config.py, and its drift check. What remains here is only the compliance-checklist half: choosing the declarative rules and generating codebase_standards/global/pr_compliance_checklist.yaml and metadata.yaml into ptr727/pr-agent-settings, covered by central_config.py check. It stays deferred until Qodo auto-reviews more than one fleet repository. The original text follows.

Follow-up from #1321, whose decision is recorded at
#1321 (comment). The maintainer
picked Option 1 plus the Qodo half of Option 2, after the measurement that made the Qodo half
decidable.

What was proved

A global pr-agent-settings repository under the account owner is honored for a personal account,
which Qodo documents as an organization-level feature. Both halves were measured on
ptr727/PlexCleaner#959:

  • a setting in the global .pr_agent.toml reaches the review, proved by flipping
    use_images_and_animations and observing the same comment re-render four times, and
  • a declarative rule in codebase_standards/global/pr_compliance_checklist.yaml is enforced on a
    repository that carries no checklist of its own, proved by a Rule violations (1) finding naming
    a rule title that exists only in the settings repository.

The repository used for the measurement was deleted once it had answered, deliberately, so that
no hand-written settings repository exists to conflict with the generated one this issue calls for.
Nothing is lost by that: the layout, the fixed folder names and both proofs are recorded here and in
the #1321 comment linked above. The generator creates the repository, which is an outward-facing
write needing the maintainer's permission at the time.

The work

Generate the settings repository from the hub the way the skills trees are generated, so the rules
are authored once in the hub, applied to every repository under the owner, and auditable from git.

  • Decide which rules belong in a compliance checklist. A rule must be declarative. An
    instruction telling the reviewer to emit a particular finding is refused as a way to fabricate
    findings, which the measurement observed directly.
  • Add a generator, following the pattern scripts/build_dist.py uses for the carried skills trees,
    producing codebase_standards/ and the root metadata.yaml that maps a repository to the folders
    applying to it. The names codebase_standards, global and groups are fixed by Qodo.
  • Add an audit check so the settings repository is measured against its generated form, in the same
    way a carried tree is.
  • Record the repository in registry/repos.json if a settings repository is a kind the registry
    should know about, which is a question this issue should settle rather than assume.

What bounds it

Qodo currently reviews one repository in this fleet. The paid identity is billing-blocked across
the account and the free identity is star-gated, so the enforcement this buys today reaches
PlexCleaner and nothing else. That does not change the design, and it does change how much the
work is worth doing first.

Relates #1321.

Activity

  1. added
    agents
    decision
    and removed
    decision
    on Sep 9, 2026
  2. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Decision triage split the undecided item out of this issue into #3739, which carries the decision label. Everything else here stays as ordinary work an agent can do without the maintainer.

  3. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Maintainer answer to the split decision #3739 (decision triage, 2026-11-01): Option 1: defer all three and do not create the pr-agent-settings repository yet. Deferred until Qodo auto-reviews more than one fleet repository. Until then no agent works this issue, the generator and audit check included.

  4. added
    deferred
    on Nov 1, 2026
  5. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

    Researched question (decision triage, 2026-11-10).

    #3913 (47116c7) built the generator half: the ptr727/pr-agent-settings repository, scripts/central_config.py, and its drift check. What remains is choosing the declarative rules and generating codebase_standards/global/pr_compliance_checklist.yaml and metadata.yaml there, with central_config.py check covering them. Should that remaining half be built now, stay deferred, or be closed?

    1. Keep it deferred on the same trigger, and narrow this issue to the checklist half (recommended). The 2026-11-01 trigger, "Qodo auto-reviews more than one fleet repository", is still unmet. docs/pr-reviewer-reference.md:17 records that Qodo auto-reviews PlexCleaner alone. Qodo is advisory, and the hub's .pr_agent.toml already carries a compliance guideline. Narrowing the title and body stops a later session from rebuilding what Generate the Central CodeRabbit and Qodo Settings From the Hub #3913 shipped. The Session Handoff [review-cutover]: Step-2 Reports In, Step 3 Left to Peer Sessions, Check-In 1 Next #3877 check-in on or after 2026-11-13 can revisit the trigger.
    2. Build it now as an extension of central_config.py. The step is small now that the repository and generator exist. It needs a hub PR and a PR in pr-agent-settings with its own go-ahead, and today it binds PlexCleaner only.
    3. Close as not planned. The move to policy-driven review lowers the value of Qodo-side enforcement.

    Evidence: 47116c7 (#3913), scripts/central_config.py:77-80 and :224, docs/repo-config.md:40-44, registry/repos.json:394, docs/pr-reviewer-reference.md:17, .pr_agent.toml:13, #3739, and the 2026-11-01 answer on this issue. No codebase_standards path exists on main.

    Blocks: none.

  6. added
    decision
    on Nov 10, 2026
  7. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

    Answered by the maintainer, 2026-11-10: option 1, keep it deferred on the same trigger and narrow the issue to the checklist half.

    The remaining work is choosing the declarative rules and generating codebase_standards/global/pr_compliance_checklist.yaml and metadata.yaml into ptr727/pr-agent-settings, with central_config.py check covering them. The generator half shipped in #3913 and is not to be rebuilt. The work waits for the trigger recorded on 2026-11-01: Qodo auto-reviewing more than one fleet repository. The #3877 check-in on or after 2026-11-13 is the next natural moment to re-read it.

  8. changed the title [-]Generate the Qodo Settings Repository From the Hub So Fleet Rules Are Authored Once and Auditable[/-] [+]Generate the Qodo Compliance Checklist Into the Central Settings Repository[/+] on Nov 10, 2026
  9. removed
    decision
    on Nov 10, 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

    agentsdeferred

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions