Skip to content

feat(roadmap): onboard checks a repository for the roadmap jobs #1359

Closed

Description

@dan-petty

Problem or Motivation

The roadmap jobs and the roadmap Service (devops serve --service) manage a repository only when some prerequisites hold. No command checks them. A person finds a missing one when a job fails.

This item was written on 2026-10-08, when eight prerequisites held. Newer decisions removed most of them. Measured at origin/main be31875:

  • ADR 0016 deleted .github/roadmap.toml and the board read. No code in src reads that file. The board rows and the board copy are gone. The file .devops/roadmap.toml is another file. It is optional: declared_steps in implement_steps.py reads it as empty when it is absent. So it is not a row.
  • ADR 0015 replaced the machine account with the GitHub App devops-cli-service. The settings service.machine_account and k8s.github_account are removed. The collaborator rows, --grant-board and the login criteria are gone.
  • Intake already stops with a ConfigurationError when .github/labels.yml is missing or has no type/* label (fix(roadmap): the metrics job walks release tags in each repository's own clone, and a missing or type-less labels.yml stops intake as a configuration error before any model call #1358, closed).
  • devops roadmap inbox already lists the labels of .github/labels.yml that the repository lacks. It writes nothing.

Still true: the person who adds a repository finds out what is missing one failure at a time. This item gives that person one command that lists every missing prerequisite and fixes what is safe to fix.

This item is part 1 of 2. It reads the prerequisites and creates labels. Part 2 (a child of this item) writes the two files. The first-backlog findings of 2026-10-09 stay in the comments. They are not in scope here, except the rule about protected branches, which is in part 2.

Proposed Solution & Architectural Design

Add devops roadmap onboard [--repo owner/name]. It checks one repository against the prerequisites below and prints one row for each. Without --repo, it uses the origin of the checkout, as the other roadmap commands do.

The rows

# Prerequisite How the command reads it The step when it is missing
1 Issues are turned on GET repos/<owner>/<name>, field has_issues Print devops gh api -X PATCH repos/<owner>/<name> -f has_issues=true. Never run it.
2 The App devops-cli-service is installed on the repository See "The App row" below Print the step for a person: add the repository to the installation.
3 .github/labels.yml is on the default branch, is valid, and declares a type/* label other than type/epic declared_specs(store, ref=None) in roadmap/pull_labels.py, then the shared type/* rule (see "Where the code goes") Part 2 writes it. Part 1 prints the missing or invalid reason.
4 Every label of that file exists on GitHub diff_labels against the label listing --confirm creates each missing label with POST repos/<owner>/<name>/labels. A label that exists with another color or description is listed and never edited.
5 .github/workflows/clear-status.yml is on the default branch The contents API Part 2 writes it.
6 The repository is in service.repos The local settings Print the line to add to config.yaml, then devops k8s deploy-stack. Never write the file.

A row has one state: present, missing, or not readable with the reason. Row 4 reads not readable when row 3 is not present, because there is no file to compare.

Why these rows, and why these steps are printed

  • Row 1 is printed, not written. AGENTS.md reserves repository settings for a person. The installation token also has no administration permission (CONST_GITHUB_APP_TOKEN_PERMISSIONS). The 2026-10-08 body wrote the setting. This body does not.
  • Row 5 is a prerequisite. ADR 0016 says that a closed issue holds no status/* and no owner/* label. It says that clear-status.yml removes them when an issue closes. A repository without the file keeps stale labels on closed issues. I did not trace which readers depend on this. The ADR states the rule, so the row stays.
  • Row 6 is printed. config.yaml is the owner's file (AGENTS.md rule 12). So the command names the line and leaves the edit to the person. feat(k8s): Read homelab config from in-cluster Gitea, drop overrides #1291 may move the ConfigMap into the private configuration repository. If so, the printed step names that file instead.
  • Row 4 only creates. devops gh labels sync also edits. Onboarding must not change a label that a person set.

The App row

The row reads present or missing only when the process acts as the App. acts_as_github_app() is true when the environment holds DEVOPS_CLI_SERVICE_GITHUB_APP_PRIVATE_KEY. The command then reads GET /installation/repositories through GitHubSession.paginate("/installation/repositories", iterable_key="repositories"). The row is present when the list holds the repository. It is missing when it does not.

In every other case, the row reads not readable as <login>. <login> is GitHubSession.login. The step printed is: "A person adds the repository at the installation page of the App. Run this command as the App, or look at the page."

No call of a person's token reads the installation. I tested each endpoint with the gh login of a person, on 2026-11-06:

Endpoint Token Answer
GET /user/installations gh login, scopes gist, read:org, repo, workflow HTTP 403, "You must authenticate with an access token authorized to a GitHub App"
GET /repos/<owner>/<name>/installation the same HTTP 401, "A JSON web token could not be decoded"
GET /app the same HTTP 401, the same text
GET /installation/repositories the same HTTP 403, "You must authenticate with an installation access token"

The GitHub REST page for apps says that GET /app and GET /repos/{owner}/{repo}/installation need a JWT. The page for installations does not name the token type of GET /installation/repositories. The 403 text above does name it.

What I could not test here: this workstation has no App private key in its environment. So I did not read GET /installation/repositories with an installation token, and I did not sign a JWT. The acceptance criteria below test the row against GitHubApiFake. A live check of the present and missing answers needs one run in a cluster Job, as the App. A run with service.github_app.token_repository set lists only that one repository, so the row can read present for it and no other.

Modes

  • --dry-run makes no request. It prints the read endpoints and the possible writes, with placeholders, in the form of inbox_requests in request_plan.py. The label writes depend on what the reads return, so the output cannot list them exactly.
  • --plan reads and prints the rows. It writes nothing. A run with no mode flag does the same and prints a note.
  • --confirm reads, creates the missing labels of row 4, and prints the steps of rows 1, 2 and 6. A second --confirm right after the first sends no write.
  • The three flags exclude each other, as _one_mode in commands/roadmap.py enforces for the other roadmap commands.
  • The exit code is 1 when a row is missing, and 0 otherwise. A not readable row does not change the code. The output ends with the count of such rows.

Where the code goes

Feasibility

Checked at origin/main be31875, on 2026-11-06. The working tree HEAD was older, so I read the files with git show at that commit.

  • GET repos/dan-petty/devops-cli returns has_issues, default_branch, private and fork.

  • .github/workflows/clear-status.yml is on the default branch of this repository (1094 bytes).

  • devops_cli.github.labels.diff_labels returns (to_create, to_update, unchanged), so create-only needs no new diff code.

  • declared_label_specs raises yaml.YAMLError or pydantic.ValidationError for an invalid file. The declared property of the intake class already maps these errors.

  • The App endpoint answers are in the table above. The installation-token read is not tested.

  • The roadmap store protocol has no read of has_issues. The command reads it through the session, in one request.

Acceptance criteria

  • A test with GitHubApiFake gives each row its state for a repository that has everything. A second test does it for a repository that lacks each prerequisite in turn.

  • With has_issues false, row 1 is missing and the printed step is the PATCH command. No run of the command sends a PATCH.

  • Without the App key in the environment, row 2 reads not readable as <login> and the command sends no request to /installation/repositories. With the key, row 2 is present when the list holds the repository and missing when it does not.

  • Each of these makes row 3 missing with the reason, and row 4 not readable:

    • labels.yml is missing.
    • labels.yml is not YAML.
    • labels.yml is not a list of labels.
    • labels.yml has no type/* label other than type/epic.
  • --confirm sends one POST to repos/<owner>/<name>/labels for each missing label. It sends no PATCH or DELETE for a label. A label with another color is listed and kept.

  • A second --confirm sends no write.

  • --dry-run makes zero requests. Its output lists the read endpoints and the possible writes, with placeholders, as inbox_requests does.

  • --plan sends no write. Two mode flags together fail with the usage error that the other roadmap commands use.

  • The exit code is 1 when a row is missing and 0 when all rows are present or not readable.

  • Row 6 prints the service.repos line and devops k8s deploy-stack. The command does not write config.yaml.

  • docs/roadmap/onboard.md exists. The README lists the command. The invariant tests for docs pass.

Order of work

  1. Write the tests with GitHubApiFake. The fake may need the route /installation/repositories. Add it under tests/support, never in src.
  2. Write onboard.py, then the command, then onboard_requests, then the page.

Target Subsystem

Roadmap CLI (src/devops_cli/roadmap/onboard.py, src/devops_cli/commands/roadmap.py) and the GitHub session (src/devops_cli/github/session.py, src/devops_cli/github/app_installation.py).

Existing Tool Considered

  • gidgethub (the project GitHub library, ADR 0006): every read and write goes through GitHubSession. No new HTTP code.
  • A label-sync tool: not needed. A tool that syncs labels also edits them, and this item must not edit a label. diff_labels already holds the create-only diff, so a tool adds a dependency and no function. I did not check the license or the activity of any such tool, and the repository holds no earlier check of one.
  • devops gh labels sync: creates and edits. Kept for a person who wants edits.
  • gh repo edit --enable-issues: sets row 1. It is a repository setting, so the command prints the step.
  • GitHub CLI and REST for the installation: no endpoint reads the installation with a person's token (see the table).
  • tomli-w, gh project copy, --grant-board: not needed. The board and .github/roadmap.toml are gone.

Proposed design

Problem statement

The roadmap jobs and the roadmap Service manage a repository only when six prerequisites hold. No command checks them, so a person finds each missing one when a job fails. This item adds devops roadmap onboard, which prints one row for each prerequisite and creates the labels that the repository lacks. The App installation, the issues setting and the service.repos entry stay steps that a person runs.

Acceptance criteria

Requirement: One row for each prerequisite

The onboard command SHALL print one row for each of the six prerequisites, and each row SHALL hold one state: present, missing, or not readable with its reason.

Scenario: A repository that holds every prerequisite

  • WHEN the command runs with --plan on a repository that holds all six prerequisites
  • THEN it prints six rows, each present or not readable with its reason, and it exits 0

Requirement: The issues setting is printed, never written

When has_issues is false, the command SHALL set row 1 to missing and SHALL print the devops gh api -X PATCH command, and it MUST NOT send a PATCH.

Scenario: Issues are turned off

  • WHEN the repository reports has_issues: false
  • THEN row 1 is missing, the output holds the step devops gh api -X PATCH repos/<owner>/<name> -f has_issues=true, and no request of the run uses PATCH

Requirement: The App row without the App key

Without the App private key in the environment, the command SHALL set row 2 to not readable as <login> and MUST NOT send a request to /installation/repositories.

Scenario: A run as a person

  • WHEN DEVOPS_CLI_SERVICE_GITHUB_APP_PRIVATE_KEY is absent from the environment
  • THEN row 2 reads not readable as <login> and the fake records no request to /installation/repositories

Requirement: The App row as the App

With the App private key in the environment, the command SHALL set row 2 to present when GET /installation/repositories lists the repository, and to missing when it does not.

Scenario: The installation lists the repository

  • WHEN the environment holds the App key and the installation listing holds the repository
  • THEN row 2 is present; with the repository removed from the listing, row 2 is missing

Requirement: The labels file is judged

The command SHALL set row 3 to missing with the reason when .github/labels.yml is absent, is not YAML, is not a list of labels, or declares no type/* label other than type/epic, and it SHALL set row 4 to not readable.

Scenario: Each invalid labels file

  • WHEN each of the four invalid files is on the default branch in turn
  • THEN row 3 is missing with the matching reason and row 4 is not readable

Requirement: Labels are created and never edited

--confirm SHALL send one POST to repos/<owner>/<name>/labels for each declared label that GitHub lacks, and it MUST NOT send a PATCH or a DELETE for any label.

Scenario: Two labels are absent and one differs

  • WHEN --confirm runs on a repository that lacks two declared labels and holds a third with another color
  • THEN the fake records two label POST requests, no PATCH and no DELETE, and the output lists the differing label as kept

Requirement: A second confirm writes nothing

A second --confirm after a successful one SHALL send no write.

Scenario: Two confirms in a row

  • WHEN --confirm runs twice with no change to the repository between the runs
  • THEN the second run sends no POST, PATCH or DELETE

Requirement: A dry run makes no request

--dry-run SHALL make no request and SHALL print the read endpoints and the possible writes with placeholders.

Scenario: The request plan

  • WHEN the command runs with --dry-run
  • THEN the fake records zero requests and the output lists each read endpoint and each possible write with a placeholder

Requirement: One mode flag at a time

The command SHALL refuse two mode flags with the usage error that the other roadmap commands use, and --plan SHALL send no write.

Scenario: Two mode flags

  • WHEN the command runs with --plan and --confirm together
  • THEN it prints the usage error, exits 1, and sends no request

Requirement: The exit code follows the missing rows

The command SHALL exit 1 when a row is missing, and 0 when every row is present or not readable.

Scenario: One missing row

  • WHEN exactly one row is missing
  • THEN the command exits 1; with no missing row it exits 0 even when a row is not readable

Requirement: The service.repos row is printed

Row 6 SHALL print the service.repos line and the devops k8s deploy-stack step when the repository is absent from the setting, and the command MUST NOT write config.yaml.

Scenario: A repository outside service.repos

  • WHEN the repository is not an entry of service.repos
  • THEN row 6 is missing, the output holds the line to add and devops k8s deploy-stack, and config.yaml is unchanged

Requirement: One copy of the type rule

The type/* rule SHALL live in one function in src/devops_cli/roadmap/title_labels.py, and intake and onboard SHALL both call it.

Scenario: The shared rule

  • WHEN intake and onboard each read the same declared label names
  • THEN both get the same type/* names other than type/epic from the one function

Requirement: The command is documented

docs/roadmap/onboard.md SHALL document the command, and the README command list SHALL link it.

Scenario: The documentation invariant

  • WHEN the documentation invariant tests run
  • THEN they pass, docs/roadmap/onboard.md exists, and the README lists devops roadmap onboard

Existing Tool Considered

No alternatives check has run. gidgethub, the project GitHub library, covers every read and write through GitHubSession.rest and GitHubSession.paginate, so the change adds no HTTP code. No open, maintained tool covers the onboarding check: a label-sync tool also edits labels, and this command must only create them, while diff_labels already gives the create-only diff. The rest is project code: one module, one thin command, one request-plan function, one language entry and one page. Written cost: about 45k tokens to build, about 10k tokens a month to keep and fix, and about one working day.

Key questions

  • Which open, maintained tool creates the missing labels without editing a label that a person set?: None. diff_labels already returns the labels to create, and one POST to the labels endpoint writes each one. A label-sync tool also edits labels, which this command must not do. (best practice) [sources: src/devops_cli/github/labels.py, .github/labels.yml]
    • Chosen: diff_labels and a label POST. It gives the create-only diff that the command needs, with no new dependency.
    • Rejected: A label-sync tool. It edits existing labels, and onboarding must not change a label that a person set.
    • Rejected: devops gh labels sync. It creates and edits; it stays for a person who wants edits.
  • How does the command read whether the App is installed on the repository?: When the environment holds the App private key, the command reads GET /installation/repositories through GitHubSession.paginate(..., iterable_key="repositories") and reports present or missing. In every other case it reports not readable as <login>, because no endpoint reads an installation with a person's token. (best practice) [sources: src/devops_cli/github/app_installation.py, src/devops_cli/github/session.py]
    • Chosen: GET /installation/repositories as the App. It is the one listing that an installation token reads, and paginate already reads a listing page by page.
    • Rejected: GET /repos/{owner}/{repo}/installation with a JWT. It needs a JWT, and a person's token gets HTTP 401.
    • Rejected: GET /user/installations with a person's token. GitHub answers HTTP 403, because the endpoint needs an App-authorized token.
  • Does the command send the PATCH that turns on issues?: No. It prints the devops gh api -X PATCH command. A repository setting is a person's work, and the App token holds no administration permission. (best practice) [sources: AGENTS.md, src/devops_cli/config/constants.py]
    • Chosen: Print the step. AGENTS.md reserves repository settings for a person, and the installation token holds no administration permission.
    • Rejected: Send the PATCH. The token cannot grant it, and a roadmap job must not change a repository setting.
  • Where does the shared type/* rule live?: In one function in src/devops_cli/roadmap/title_labels.py. It takes the declared label names and returns the type/* names other than type/epic. Intake and onboard both call it. (best practice) [sources: src/devops_cli/roadmap/intake.py, .github/labels.yml]
    • Chosen: One function in title_labels.py. Both callers get one copy of the rule, and a change to it lands in one place.
    • Rejected: Keep the rule in the intake class. Onboard would hold a second copy, and the two copies could disagree.
    • Rejected: Put the rule in onboard.py. Intake would then import the onboard module for a label rule.
  • Which file holds the onboard command?: src/devops_cli/commands/roadmap.py, as a thin command that calls check_onboarding and apply_onboarding. refactor(roadmap): split the roadmap commands by kind #3186 may split that file by kind, and the command then moves with the others. (best practice) [sources: src/devops_cli/commands/roadmap.py]
    • Chosen: A thin command in commands/roadmap.py. Every other roadmap command lives there, and the logic stays in roadmap/onboard.py for the Service to call.
    • Rejected: A new command module. It splits the roadmap commands across two files before refactor(roadmap): split the roadmap commands by kind #3186 decides the split by kind.
  • Which state does row 4 take when row 3 is not present?: not readable with the reason of row 3. The command has no declared label list to compare with the repository, so a missing row would report a defect that no read established. (best practice) [sources: .github/labels.yml]
    • Chosen: not readable. The command has no label list to diff, so it cannot claim that a label is missing.
    • Rejected: missing. It reports a defect that no read established, and it turns the exit code to 1 for a file problem that row 3 already names.
  • Is .github/workflows/clear-status.yml a prerequisite of a managed repository?: Yes. ADR 0016 states that a closed issue holds no status/* and no owner/* label, and this workflow removes them when an issue closes. A repository without the file keeps stale labels on closed issues. [sources: docs/adr/0016-labels-hold-the-roadmap-items-fields.md, .github/workflows/clear-status.yml]
  • What form does the --dry-run output take?: The read endpoints and the possible writes with placeholders, rendered by render_dry_run from the requests that a function of request_plan.py returns, as inbox_requests does. [sources: src/devops_cli/commands/roadmap.py, src/devops_cli/roadmap/request_plan.py]
  • Does the change add HTTP code to the repository?: No. GitHubSession.rest sends each read and write through gidgethub, and GitHubSession.paginate reads the installation listing. The command reuses RoadmapStore.repository_file and repository_labels for the file and the labels. [sources: src/devops_cli/github/session.py, src/devops_cli/roadmap/store.py]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/feature
    scope/cli
    scope/github
    priority/p2-medium
    on Oct 8, 2026
  2. dan-petty-bot commented on Oct 8, 2026

    @dan-petty-bot
    Collaborator

    Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.

    • Priority: P2-Medium. The manual setup caused six repositories to fail on every poll for ~26 minutes on 2026-10-08, but the work is repeatable by hand and does not block existing managed repositories.
    • Value: High. Every new repository requires eight manual steps across the GitHub API, project boards, labels, and service config, and missing any one causes the Service to error on every poll.
    • Effort: High. The command must validate and create or fix eight heterogeneous prerequisites spanning repository settings, project board copy/link, collaborator grants, file commits, label sync, and service config updates.
  3. removed
    priority/p2-medium
    on Oct 8, 2026
  4. dan-petty commented on Oct 9, 2026

    @dan-petty
    OwnerAuthor

    Finding: first-backlog survey of the seven onboarded repositories (2026-10-09)

    Surveying the seven repositories onboarded on 2026-10-08 for their first backlog found five more things onboarding should check or set up. Each is a candidate row or plan line for this item, not a new item:

    1. Onboarding commits go straight to the default branch and never read its CI. In one repository, each of its four onboarding commits (roadmap.toml, the board template, the task directory, labels.yml) turned main red, because a docs test requires every .github/ file to appear in the README's directory map. Another repository's main had been red for three weeks before onboarding, and nothing reported it. Proposed: --plan reads the default branch's latest check runs and reports a red branch; files go in through a pull request (as the criteria already allow) so the repository's own gate runs first.
    2. Existing label automation is not detected. One repository has an issues: opened workflow that keyword-labels every new issue with labels labels.yml doesn't declare, and a hardening workflow keyed on the bare bug label, so type/bug fixes skip it. Proposed: --plan lists workflows that run on issues events or match on label names, as information.
    3. labels.yml has no type for CI work. Titles may use ci(...), but there is no type/ci, and type/infra's description names only Kubernetes, Docker, DevContainer and OpenTofu, so CI items land on type/chore or type/infra by guess.
    4. GitHub's default labels stay next to the type/* set (bug, enhancement, documentation, ...), so a person can pick the wrong one. Proposed: --plan lists them; removal stays a person's choice.
    5. The board template's milestone view is empty without release milestones. The copied board's "Sprint Kanban" view filters on milestone:"current", which matches nothing in a repository that tracks only a backlog (the 2026-10-09 choice for all seven).

    Also seen: a repository that is a fork had never run a workflow (Actions on forks stay off until enabled), and the onboarding commits put its main ahead of upstream, so every later upstream sync needs a merge commit. Onboarding a fork should say so.

  5. dan-petty commented on Oct 26, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Priority: P1-High. The change resolves a critical problem that prevents the roadmap service from functioning on repositories.
    • Value: High. This change enables automated setup of repositories, improving user experience and reducing manual effort.
    • Effort: Medium. Developing a command to check and set up prerequisites requires moderate development effort.
  6. dan-petty commented on Oct 27, 2026

    @dan-petty
    OwnerAuthor

    Refine cannot set this item to Ready at 0f00e96 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

    • Every prerequisite is something the roadmap jobs or the Service read (ADR 0001, ADR 0002), so the command belongs beside intake and run.
    • devops repos manages local clones (clone-org, clone, list, sync/update). devops gh labels and devops gh project are general GitHub tools.
    • init would suggest scaffolding a new repository. This command adds an existing one to the jobs, and fix(roadmap): the metrics job walks release tags in each repository's own clone, and a missing or type-less labels.yml stops intake as a configuration error before any model call #1358 already calls that onboarding.
    • Every roadmap command uses at most --dry-run, --plan and --confirm (commands/roadmap.py:163-495).
    • --plan already prints the rows and exits 1 when one is missing or pending.
    • Copy an existing board, or create one from .github/project-template.json (refactor(github): board fields are written only through the roadmap store, and projects.py keeps provisioning #999's provisioning)? Proposed: copy the board that the --from repository's roadmap.toml names.
    • A copy keeps the views with their settings, the fields with their options' names, colors and descriptions, and the configured built-in workflows. GitHub's API can't configure those workflows.
    • A copy leaves out auto-add workflows, which the board must not have anyway (prerequisite 4).
    • It is what was done on 2026-10-08.
    • The template stays what gh project sync builds a person's first board from. --from covers every repository after that.
    • refactor(github): board fields are written only through the roadmap store, and projects.py keeps provisioning #999 is unaffected: it keeps provisioning in projects.py, and onboarding writes no item field.
    • Defaulting to the checkout's origin or a packaged copy would use a source nobody configured, which breaks the fail-closed rule.
    • The source must pass its own check first.
    • --from is needed only when there is something to copy. A fully onboarded --plan doesn't need it.
    • How is roadmap.toml written, when no dependency can write TOML (tomllib only reads)? Proposed: render it through render_template (jinja2, already a dependency) from RoadmapConfig.model_fields, with each field's description as its comment.
    • The parse-back check and the every-field test catch a key that RoadmapConfig gains later, as feat(roadmap): agent filing quota: release credit, ratio throttle, borrowing and per-release tuning #1153 added keys.
    • Editing the board line in the source's text would be a hand-rolled TOML edit, and it would copy the source's own comments.
    • Alternative: add tomli-w, the maintained writer from tomllib's author, and drop the comments.
    • The seven files from 2026-10-08 already hold the 22 roadmap labels, so any of those repositories as --from gives exactly that set.
    • A filter that drops scope/* and review/* would build this repository's label families into the command, and refactor(github): the board's priority field is the only priority source, and stray type labels merge into type/bug #880 changes the set.
    • The plan lists every label it will create, so a person sees any unexpected one before --confirm.
    • On a private repository on GitHub Free, the protection and rules reads answer 403, as both private managed repositories did. The branch read works on every plan.
    • On 2026-10-08 the files were committed straight to each default branch. In one repository a ruleset requires pull requests, and the commit went through on the person's bypass. Onboarding never relies on a bypass, so under this rule that repository would get a pull request.
    • A ruleset refuses a direct write from any actor without a bypass.
    • protected may read true for a ruleset that wouldn't block the write. The cost is one pull request a person merges.
    • Alternative: always open the pull request and drop the branch read. Every onboarding would then need a merge and a second run.
    • The person can't read the grant through the API (see Problem), so a run can't tell a missing grant from a present one.
    • Sending the grant on every --confirm would mean --confirm is never a no-op. It would also lower an Admin grant to Write.
    • The machine account's view (--plan run as it) reports a missing grant and names devops roadmap onboard --grant-board -R / for the person to run.
    • Rejected alternative: send the grant on every --confirm.
    • devops config set rewrites the whole file from the settings model (settings.py:1139-1151). So the command names the line and the file, leaves the edit to the person, then names deploy-stack.
    • feat(k8s): Read homelab config from in-cluster Gitea, drop overrides #1291 may move the ConfigMap into a configMapGenerator in the private configuration repository on an Argo CD-managed cluster. If so, whichever item lands second makes the printed step name that file instead.
    • These are the reads every job starts with (open_roadmap, then the board and its fields).
    • The machine account's two grants are verified by --plan run as the machine account.
    • Should the Service run the check and report a repository that isn't onboarded once, instead of logging a traceback on every poll? Proposed: yes, but in the Service-logging item that fix(roadmap): the metrics job walks release tags in each repository's own clone, and a missing or type-less labels.yml stops intake as a configuration error before any model call #1358 proposes, not here.
    • That item already changes how _execute_batch (service.py:170-185) logs configuration errors. Splitting the change across two items would have both edit _execute_batch and service_job (run.py:854-871).
    • It should stop the jobs only on prerequisites 1-5, which every job reads. labels.yml stays with intake's ConfigurationError from fix(roadmap): the metrics job walks release tags in each repository's own clone, and a missing or type-less labels.yml stops intake as a configuration error before any model call #1358, so metrics and refine keep running in a repository that lacks only that file.
    • This item provides check_onboarding for it to call. When that item is filed, link it here.
  7. added
    priority/p1-high
    status/new
    effort/medium
    on Oct 28, 2026
  8. 7 remaining items

  9. added
    status/ready
    and removed
    status/new
    on Nov 6, 2026
  10. devops-cli-service commented on Nov 6, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at dc9815e (see proposed design in issue body).

    Moved to new items: #3753.

  11. added a commit that references this issue on Nov 8, 2026
    d0635a3
  12. added
    status/in-review
    and removed
    status/ready
    on Nov 8, 2026
  13. removed
    status/in-review
    on Nov 8, 2026
  14. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    Contributor
  15. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-08 21:00 UTC

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

    effort/mediumpriority/p1-highscope/cliscope/githubtype/featurevalue/high

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions