Skip to content

docs(adr): give the repository settings to devops repos onboard - #6788

Merged
dan-petty merged 5 commits into
mainfrom
docs/6782-adr-repository-settings
Nov 22, 2026
Merged

dan-petty merged 5 commits into
mainfrom
docs/6782-adr-repository-settings

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

ADR 0035 gives the repository settings to devops repos onboard: the merge methods, the squash title and body, the security features, the environments, the variables and the rulesets, from one baseline in dan-petty/infra. OpenTofu keeps the organization checks and the transfer check. The record also holds the owner decisions D2 to D4 of #6773: no release flow and no repository secret for a private repository on the Free plan, ready and auto-merge of the template pull request with the login of the person, and the Service steps only from a clean origin/main checkout.

ADR 0026 gets amended-by: ["0032", "0035"] and a dated line. Row ACC-3 of the production readiness guideline names the onboard command and OpenTofu for the organization.

The records in force are over the token budget of the alternatives check (#5049). With ADR 0035, the check leaves out ADR 0004, ADR 0005 and ADR 0006.

Closes #6782

Change: openspec/changes/archive/2026-11-22-6782-adr-repository-settings/

@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/adr The architecture decision records and their rules labels Nov 22, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Owner review points for ADR 0035 (not part of the squash message):

  • Person step. The merge by the owner accepts the record. The branch already has status: accepted and body-hash, as docs/adr/README.md Approval requires. If you refuse the record, close the pull request with no merge.
  • Facts from the live systems on 2026-11-22. devops-cli has no tf/. dan-petty/infra has no GitHub module under tf/modules/. dan-petty/homelab has no tf/github/. kubectl get ns tofu-state answers NotFound. integrations/terraform-provider-github#3664 (the code_quality rule) is open.
  • D3 and "Only a person merges". Section 4 says that the person starts the merge with the command run. AGENTS.md stays as it is. Please confirm that this reading is correct.
  • Row ACC-3. The docs check refuses a command that does not exist, so the row says "the onboard command of ADR 0035" and does not name devops repos onboard. feat(repos): onboard a repository with one command #6773 can name the command in the row when the command ships.
  • ADR budget (fix(roadmap): the ADRs in force fill the alternatives ADR budget #5049). The records in force are over the 8,192-token budget of the alternatives check. On main, the check leaves out ADR 0001, ADR 0004 and ADR 0005. With ADR 0035 (251 tokens), it leaves out ADR 0004, ADR 0005 and ADR 0006 (gidgethub). A shorter record cannot keep ADR 0006, because ADR 0006 needs about 180 more tokens. I added the measurement to fix(roadmap): the ADRs in force fill the alternatives ADR budget #5049.
  • Transfer check. Section 2 keeps the transfer check of ADR 0026 decision 6. The import-only plan of that check shows the repository, and no OpenTofu resource writes a setting that the command owns.

The guideline invariant test refuses an issue number in a guideline.
Task 2.2 now runs that test.
@dan-petty
dan-petty marked this pull request as ready for review November 22, 2026 17:16
@dan-petty
dan-petty merged commit 9197e92 into main Nov 22, 2026
27 checks passed
@dan-petty
dan-petty deleted the docs/6782-adr-repository-settings branch November 22, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/adr The architecture decision records and their rules type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(adr): give the repository settings to devops repos onboard

1 participant