Repository navigation
Description
Problem
Design and owner decisions: #6773 (design comment and decision comment of 2026-11-22). The settings of the 7 existing repositories differ (2026-11-22 table on #6773).
Proposed remedy
- Run
devops repos onboard --planfor devops-cli, infra, devtools, danielpetty.com, homelab, vibes and devcontainer-features, record the pending changes, and the owner runs--confirmfor each.
Acceptance criteria
-
devops repos onboard --all --planreports no pending change.
Person steps
- The owner runs
--confirmfor each repository.
Dependencies
Alternatives check of 2026-11-23: not-applicable.
Class: chore, no search.
Tool: none found.
Proposed design
Problem statement
The settings of the seven existing repositories named in the issue differ from the baseline that devops repos onboard applies. The owner must run the command with their own gh login, because only a person changes repository settings. The issue changes no file in devops-cli; its proof is the live devops repos onboard --all --plan check for the seven repositories.
Acceptance criteria
Requirement: Plan lists the pending rows before confirmation
devops repos onboard dan-petty/<name> --plan SHALL list each pending row of each of the seven repositories before the owner confirms it.
Scenario: Plan before the confirmations
- WHEN the owner runs
devops repos onboard dan-petty/<name> --planfor devops-cli, infra, devtools, danielpetty.com, homelab, vibes and devcontainer-features before any confirmation - THEN the command lists each row that differs from the baseline for that repository and exits 1 when a row is pending
Requirement: Pending a person after the merge
After the plan pull request merges, the owner MUST run devops repos onboard dan-petty/<name> --confirm for each of the seven repositories.
Scenario: Owner runs the confirmations after the plan merge
- WHEN the owner runs
devops repos onboard dan-petty/<name> --confirmwith their own gh login for the seven repositories after the plan pull request merges - THEN each command exits 0 and reports no row with state
failed
Requirement: The seven repositories reach the baseline
devops repos onboard --all --plan MUST report clean for the seven repositories after the owner confirms them and their template pull requests merge.
Scenario: Drift check after the confirmations
- WHEN the owner runs
devops repos onboard --all --planwith their own gh login after the template pull requests of the seven repositories merge - THEN the command reports
cleanfor devops-cli, infra, devtools, danielpetty.com, homelab, vibes and devcontainer-features
Existing Tool Considered
The alternatives check of 2026-11-23 in the issue body returned not-applicable with the tool line none found. The project command devops repos onboard covers the need, and ADR 0035 records that it owns the repository settings. The command uses the open Copier program to render the baseline. This issue builds no code, so the cost to build, keep and fix it is zero tokens and zero time. No external tool is adopted.
Key questions
- Which repositories does this issue bring to the baseline?: The seven repositories named in the issue: devops-cli, infra, devtools, danielpetty.com, homelab, vibes and devcontainer-features.
--all --planreads every repository ofservice.repos, so the final check asserts the state of these seven and makes no claim about other repositories. [sources: docs/repos/onboard.md] - Does the issue change any file in devops-cli?: No. The command already exists, and the work is live GitHub settings plus the template pull requests that the command opens in the target repositories. No pull request of devops-cli delivers it. [sources: AGENTS.md, docs/adr/0035-the-onboard-command-owns-the-repository-settings.md, docs/repos/onboard.md]
- Which flags does the owner pass to
devops repos onboardfor an existing repository?: The owner runsdevops repos onboard dan-petty/<name> --confirmwith no release flag. The flags--release-typeand--release-flow/--no-release-flowgive answers only before.copier-answers.ymlexists. After the first render the command refuses a flag that gives another value, with exit status 2. (best practice) [sources: docs/repos/onboard.md]- Chosen: Use the answers file. The existing repositories already have
.copier-answers.yml, so the command takes their release answers and no flag is refused. - Rejected: Pass
--release-typeor--no-release-flow. The command refuses a flag that gives another value after the first render, with exit status 2.
- Chosen: Use the answers file. The existing repositories already have
- How does devops-cli get the
pythonrelease type?: The owner decision on feat(repos): onboard a repository with one command #6773 setspython. The existing.copier-answers.ymlholds the release answers, so the owner changes the answer withcopier update --data <question>=pythonif the file does not hold it. The owner does not pass--release-type, because the command refuses that flag after the first render. (best practice) [sources: docs/repos/onboard.md]- Chosen: Set the answer in
.copier-answers.yml. The answers file wins over the flags after the first render. - Rejected: Pass
--release-type python. The command refuses the flag when the answers file holds another value.
- Chosen: Set the answer in
- Does the nightly read-only Job prove the seven repositories?: No. The nightly Job uses the App token, and rows 2 and 10 can be
not readablewith that token. The owner runs the proof with their own gh login, which reads those rows. [sources: docs/repos/onboard.md]
Fit
Fits in one pull request.
Suspected block
None.
Activity
dan-petty commentedon Nov 22, 2026
Both share the devops repos onboard command, but #6773 builds the command while the candidate runs it once to bring 7 repos to baseline.devops-cli-service commentedon Nov 23, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.
dan-petty commentedon Nov 23, 2026
Plan of 2026-11-23 (
devops repos onboard --all --planin a manual run of CronJobrepos-drift, runner image with copier, template dan-petty/infra v0.8.0).service.reposholds 9 repositories, not 7.Row 6 is a person step in the 4 repositories that get a release flow (the release key), and row 5 needs
github.release_app_client_idin the config of the person.Facts that the person checks before
--confirm:PR_TITLE,PR_BODY, auto-merge, update branch and delete branch, the same as the baseline. The read-only App token of the Job does not get these fields, and the row counts a missing field as a difference (new bug issue). The other 8 repositories differ for real.can_approve_pull_request_reviewstrue.main, which has nocode_coveragerule. The live ruleset has one, so--confirmremoves it.version.txt, because the template answers default to release typesimple. devops-cli usespython.release.yml, release-please files andversion.txt.Command for each repository, after those choices:
devops repos onboard dan-petty/<name> --confirm(--release-type,--release-flowand--onlyas chosen).dan-petty commentedon Nov 23, 2026
Owner decisions of 2026-11-23 on the plan above, as recommended:
python, and row 10 waits until the template asks whether the ruleset gates coverage (feat(templates): ask whether the ruleset gates coverage infra#62, feat(repos): answer the coverage question of the template #6876), so thecode_coveragerule stays.release.yaml.The person runs these from a devcontainer on devtools 1.1.3 or later (it has
copier), afterdevops config set github.release_app_client_id <value>:After #6876 and a release of infra#62:
devops repos onboard dan-petty/devops-cli --only 10 --confirm. Then the acceptance check isdevops repos onboard --all --planwith no pending row.dan-petty commentedon Nov 25, 2026
Returning #6784 because bringing the seven repositories to baseline requires live GitHub repository-settings changes reserved to a person and changes no file in the repository:
AGENTS.md, Only a person changes repository settings (devops repos onboard --all --confirmacrossdevops-cli,infra,devtools,danielpetty.com,homelab,vibes, anddevcontainer-features).Plan lists pending changesandNo pending change after confirmation) and verified 0 sub-issues: both scenarios verify livedevops repos onboard --all --planafter the owner runs--confirm, with no code, test, or documentation changes deliverable in a pull request.devops-cli-service commentedon Nov 25, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 26, 2026
Row 10 was applied to dan-petty/devops-cli on 2026-11-26 at 15:51 UTC, while #6876 is open. The decision of 2026-11-23 kept it pending. The
mainruleset lost thecode_coveragerule and has lower CodeQL, code quality and review thread settings (#7326), and it requires eight check names that the release pull request never reports (#7318). A person restores the ruleset. Do not run row 10 on devops-cli again before #7326 is fixed.dan-petty commentedon Nov 27, 2026
Evidence from dan-petty/homelab, 2026-11-27: a merge that was not up to date broke a check on
main.mainof homelab hasrequired_status_checks: []andstrict_required_status_checks_policy: false, asgithub/repository.yamlof the template says.make k8s-parityonmainnow fails: "the pins of devops-cli do not name one release tag". Each pull request of homelab gets this failure until dan-petty/homelab#521 (all seven pins to v0.224.2) merges.Onboard keeps
strict_required_status_checks_policyfrom the template (settings_rows.pychanges only the list of checks). So--confirmfor homelab adds required checks, but a pull request can still merge on checks of an old base. A strict policy, or a merge queue, would have refused this merge. That is a decision for the owner, because each Renovate pull request then needs a rebase before it merges.devops-cli-service commentedon Nov 27, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 28, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.