Skip to content

feat(roadmap): onboard writes labels.yml and clear-status.yml from --from #3742

Not planned

Description

@dan-petty

Problem or Motivation

Part 1 of #1359 adds devops roadmap onboard. It checks a repository and creates missing labels. It cannot yet put the two files in the repository that the roadmap jobs need: .github/labels.yml and .github/workflows/clear-status.yml. A person copies them by hand.

On 2026-10-08 the files went straight to each default branch. In one repository a ruleset required pull requests, and the commit passed only because the person had a bypass. The first-backlog finding of 2026-10-09 adds a second fault. Each direct commit turned one main branch red, because the docs test of that repository had not seen the new files. A direct commit skips the gate of the repository. A pull request does not.

This item is part 2 of 2. It needs part 1.

Proposed Solution & Architectural Design

Add --from owner/name to devops roadmap onboard. Extend row 3 and row 5 with a write.

The source

  • --from names a repository that passes its own check (rows 3 and 5 are present there). The command copies the text of .github/labels.yml and .github/workflows/clear-status.yml from the default branch of that repository.
  • --from is needed only when a file is to be copied. A fully onboarded repository does not need it.
  • No default source exists. A default would use a source that nobody configured. The command fails and names --from when a file is missing and the option is not given.
  • The command validates the copied labels.yml with declared_label_names and the type/* rule before it writes anything. It refuses a source that fails.
  • The command writes the copy as it is. It does not edit the text.

How the files get in

  • The command reads GET repos/<owner>/<name>/branches/<default>. If protected is true, it opens a pull request. Otherwise it commits to the default branch.
  • The rule never relies on a bypass. protected can read true for a rule that would not block the write. The cost is one pull request that a person merges. The alternative, to always open the pull request, costs a merge and a second run for every repository.
  • Direct commit: one PUT repos/<owner>/<name>/contents/<path> for each file, so there is one commit for each file.
  • Pull request: POST git/refs for the branch devops/onboard-roadmap from the default branch, one PUT for each file with branch set, then POST pulls. The title is chore(roadmap): add the files the roadmap jobs need. The pull request is not a draft, and a person merges it.
  • The branch can exist already, from an earlier run. Then POST git/refs fails with HTTP 422. The command reads the branch first (GET git/ref/heads/devops/onboard-roadmap). If the branch exists and no pull request is open, the command reuses it. It reads the files on the branch. It writes only the files that are missing there, and then opens the pull request. If the branch holds a file with other text than the source, the command fails and names the file and the branch. It never overwrites that file.
  • All requests go through GitHubSession.rest (gidgethub, ADR 0006). The code uses no git clone and no new dependency.
  • A file that already exists is never replaced. The command writes only a file that row 3 or row 5 reads missing.

The pending state

A new row state, pending: an open pull request from devops/onboard-roadmap holds the file. The command reads it with GET repos/<owner>/<name>/pulls?head=<owner>:devops/onboard-roadmap&state=open. A pending row makes the exit code 1, as a missing row does. A second --confirm while the pull request is open sends no write.

A run can stop part way, for example after the branch and one file are written. The next run finds the branch and no open pull request. It follows the rule above and finishes the work. That reasoning is not tested here.

Feasibility

Checked at origin/main be31875, on 2026-11-06:

  • GET repos/dan-petty/devops-cli/branches/main returns protected: true. GET repos/dan-petty/devops-cli/branches/main/protection returns HTTP 404, "Branch not protected". GET repos/dan-petty/devops-cli/rulesets returns one ruleset. So the ruleset alone set the flag on this repository.
  • A ruleset with no pull_request rule may set the flag too. I did not test this. The rule can open a pull request that was not needed. The cost is stated above.
  • The branch read answered on a public repository. I did not test a private repository on GitHub Free.
  • The gh login of a person has the scope workflow, so a person's token can write a workflow file. The App token has workflows: write since fix(roadmap): the App token can push a workflow file #3519. I did not test a write of a file, because this analysis writes nothing.
  • A fork has Actions off until a person turns them on. The command does not read this setting, because the read needs administration rights. The page docs/roadmap/onboard.md says it in one line.

Acceptance criteria

  • With protected false, --confirm sends one PUT to the contents API for each missing file, to the default branch. It sends no POST to pulls.

  • With protected true, --confirm creates the branch, puts each missing file on it, and opens one pull request. It sends no PUT to the default branch.

  • A file that exists on the default branch is never written.

  • A missing file with no --from fails before any write, and the error names --from.

  • A --from repository with an invalid labels.yml, or with no type/* label, is refused before any write. The error names the reason.

  • With an open pull request from the branch, the rows read pending, the exit code is 1, and --confirm sends no write.

  • With the branch present, no open pull request, and a file missing on it, --confirm sends no POST to git/refs. It writes the missing file to the branch and opens one pull request.

  • With the branch holding a file with other text than the source, --confirm fails before any write. The error names the file and the branch.

  • --dry-run lists the writes of both paths as requests and sends none.

  • The copied text equals the text of the source byte for byte.

  • docs/roadmap/onboard.md describes --from, the protected-branch rule and the fork note.

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).

Existing Tool Considered

  • gidgethub (the project GitHub library, ADR 0006): contents, refs and pulls requests go through GitHubSession.rest.
  • gh pr create and a local clone: rejected. They need a clone and a second process, and ADR 0006 keeps the project's own requests on the session.
  • Git Data API for one commit of both files: rejected for now. It needs five requests for a gain of one commit. A pull request is squashed on merge.
  • GitHub template repositories and actions/github-script: do not fit. They create a new repository or run inside one, and this command adds files to an existing one.

Alternatives check of 2026-11-18: in-use.
The repository already uses this tool.
Tool: gidgethub/gidgethub (https://github.com/gidgethub/gidgethub), Apache-2.0, last activity 2026-09-25, maintained.
Reason: Searches found gidgethub, the project's GitHub API client: it sends every contents, refs and pulls request the write needs, but it carries no policy for the source check, the protected-branch rule or the pending row.

Covers:

  • Contents API reads and writes via GitHubSession.rest
  • Ref create and read for devops/onboard-roadmap
  • Pull request create and open pull request listing
  • Repository and branch reads for default_branch and protected

Lacks:

  • --from source validation with the type/* rule
  • Choice of direct commit or pull request from protected
  • pending row, exit code 1 and no second write
  • Dry-run listing of both write paths
  • Byte-for-byte copy and branch file conflict refusal

Proposed design

Problem statement

devops roadmap onboard checks a repository and creates its missing labels. It cannot yet write the two files that the roadmap jobs need: .github/labels.yml and .github/workflows/clear-status.yml. A person copies them by hand, and a direct commit skips the gate of the repository. This item adds --from owner/name and writes each absent file by a direct commit or by a pull request, as the default branch requires.

Acceptance criteria

Requirement: The absent files are copied

With --confirm on a default branch that reads protected: false, the command SHALL write each absent file with one PUT to the contents API and SHALL send no POST to pulls.

Scenario: An unprotected default branch gets a direct commit

  • WHEN the default branch reads protected: false, .github/labels.yml is absent and --confirm is given
  • THEN the command sends one PUT to repos/<owner>/<name>/contents/.github/labels.yml with the message chore(roadmap): add .github/labels.yml and sends no POST to pulls

Requirement: A protected branch gets a pull request

When the default branch reads protected: true, the command SHALL create the branch devops/onboard-roadmap, put each absent file on it and open one pull request.

Scenario: A protected default branch gets a pull request

  • WHEN the branch read answers protected: true, one file is absent and --confirm is given
  • THEN the command sends one POST to git/refs, one PUT for the file with branch set and one POST to pulls, and sends no PUT to the default branch

Requirement: The pull request opens as a draft

The command SHALL open the pull request as a draft and MUST NOT send a request that marks it ready.

Scenario: A protected branch gets a draft pull request

  • WHEN the command opens the pull request from devops/onboard-roadmap
  • THEN the POST to pulls carries draft: true and no request to pulls/<number> marks it ready

Requirement: An existing file stays

The command MUST write a file only when the contents read of the default branch answers HTTP 404 for that path, and MUST NOT replace a file that exists.

Scenario: An invalid labels file is left alone

  • WHEN .github/labels.yml exists on the default branch with invalid text, row 3 reads missing and --confirm is given
  • THEN the command sends no PUT for labels.yml, reports row 3 as missing with its reason and exits 1

Requirement: An absent file needs a source

The command MUST fail before any write and name --from when a file is absent, no open pull request holds it and the option is absent.

Scenario: No source is given

  • WHEN .github/workflows/clear-status.yml is absent, no open pull request holds it and the run gives no --from
  • THEN the command exits 1, prints an error that names --from and sends no write request

Requirement: A bad source is refused

The command MUST refuse a --from source whose labels.yml cannot be parsed, fails declared_label_specs, or holds no type/* label other than type/epic, before any write.

Scenario: A source with no assignable type label

  • WHEN the source .github/labels.yml holds only type/epic
  • THEN the command exits 1, the error names the reason and the command sends no write request

Requirement: The source is read at its default branch

The command SHALL read GET repos/<owner>/<name> for the target and for the source and SHALL read each file at the default_branch it names.

Scenario: A source whose default branch is trunk

  • WHEN the --from repository reports default_branch: trunk
  • THEN the command reads .github/labels.yml and .github/workflows/clear-status.yml at ref=trunk

Requirement: An open pull request shows pending

The command SHALL read the open pull request from devops/onboard-roadmap before it requires --from, SHALL report a file that the pull request holds as pending, and SHALL exit 1 and send no write.

Scenario: A second confirm sends no write

  • WHEN one open pull request from devops/onboard-roadmap holds the absent file and --confirm is given with no --from
  • THEN the row reads pending, the exit code is 1 and the command sends no write request

Requirement: An earlier branch is reused

The command MUST reuse the branch devops/onboard-roadmap when it exists and no pull request is open, and MUST NOT create the ref again.

Scenario: A run that stopped part way finishes

  • WHEN the branch exists, no pull request is open and one file is absent on the branch
  • THEN the command sends no POST to git/refs, writes the absent file to the branch and opens one pull request

Requirement: A different branch file stops the run

The command MUST fail before any write and name the file and the branch when the branch holds a file whose bytes differ from the source or do not decode as UTF-8.

Scenario: A branch file differs from the source

  • WHEN the branch holds .github/labels.yml with other text than the source and --confirm is given
  • THEN the command exits 1, the error names the file and the branch and the command sends no write request

Requirement: A dry run lists both paths

--dry-run SHALL list the requests of the direct path and of the pull request path and SHALL send no request.

Scenario: A dry run of each path

  • WHEN --dry-run runs once with a protected default branch and once with an unprotected one
  • THEN each run lists its planned requests and sends no request

Requirement: The copy matches the source

The text that the command writes MUST equal the text of the source file byte for byte.

Scenario: The workflow file is copied unchanged

  • WHEN the command writes .github/workflows/clear-status.yml from a --from repository
  • THEN the bytes that the contents request carries equal the bytes that the source read returns

Requirement: The page documents the option

docs/roadmap/onboard.md SHALL describe --from, the protected-branch rule, the pending row, the draft pull request and the fork note, and docs/index.md SHALL link the page.

Scenario: The page holds the five lines and the index links it

  • WHEN the documentation check reads docs/roadmap/onboard.md and docs/index.md
  • THEN the page holds a line that names --from, a line that names the protected-branch rule, a line that names pending, a line that says the pull request opens as a draft and a line that says a fork needs Actions turned on, and docs/index.md links the page

Requirement: The new writes use the session

Each write request that this change adds MUST go through GitHubSession.rest, and the command MUST start no git clone and no gh process for a write.

Scenario: A run against a fake session

  • WHEN the command runs with --confirm against a test session
  • THEN each new write request reaches the fake session and no git or gh process starts for a write

Existing Tool Considered

gidgethub (https://github.com/gidgethub/gidgethub), Apache-2.0, maintained, last activity 2026-09-25. Through GitHubSession.rest (ADR 0006) it covers every REST request: the repository and branch reads, the contents reads and writes, the ref create and read, and the pull request create and listing. It lacks the policy: the --from source check, the choice of files, the protected-branch rule, the pending row, the reuse of an existing branch, the refusal of a branch file that differs, the distinction between an absent file and one that cannot be compared, and the dry-run listing of both paths. The project builds that policy itself: about 250 lines in src/devops_cli/roadmap/onboard.py and about 400 lines of tests, about 70k tokens to build, about 20k tokens a month to keep and fix, and about 3 days elapsed.

Key questions

  • Which files does the command write, and when?: It writes .github/labels.yml and .github/workflows/clear-status.yml only when the contents read of the default branch answers HTTP 404 for the path. A row 3 that reads missing for an invalid file that exists writes nothing. The command reports that row and exits 1. (best practice) [sources: src/devops_cli/roadmap/onboard.py:141, src/devops_cli/roadmap/onboard.py:169]
    • Chosen: Write only a path that answers HTTP 404. row 3 reads missing for a file that exists but is invalid, so the row alone would replace a file that a person wrote
    • Rejected: Write every path whose row reads missing. the command would overwrite an invalid labels.yml that exists and break the rule that an existing file stays
  • Where does the command get the text of the two files?: --from owner/name names a repository whose rows 3 and 5 read present. The command reads both files at that repository's default branch and writes the text as it is. A missing file with no --from fails, because no default source exists. (best practice) [sources: src/devops_cli/roadmap/onboard.py, .github/labels.yml, .github/workflows/clear-status.yml]
    • Chosen: --from owner/name. the source passes its own check, so the copied labels file is one that a roadmap job already accepts
    • Rejected: Templates inside the CLI. the CLI would carry a second copy of the two files, and that copy would drift from the files that the jobs read
    • Rejected: The local checkout. the command may run for another repository, and the checkout may hold other text
  • How does the command learn the default branch of the target and of the source?: It reads GET repos/<owner>/<name> for each repository and uses the default_branch it names. It never assumes main. _repository_default_branch reads the same field for pr create, and the release pick reads a branch through the session. (best practice) [sources: src/devops_cli/commands/pr.py:995, src/devops_cli/release/merge_candidate.py:271]
    • Chosen: Read the default_branch field. the API states the default branch, so a repository whose branch is trunk is read correctly
    • Rejected: Assume main. a repository whose default branch is not main would read the wrong ref or fail with HTTP 404
    • Rejected: Use the target's default branch for the source. the source and the target may name different default branches
  • How does the command choose a direct commit or a pull request?: It reads GET repos/<owner>/<name>/branches/<default>. A protected: true answer opens one pull request from devops/onboard-roadmap. A false answer commits to the default branch. The rule never uses a bypass. (best practice) [sources: docs/adr/0004-ci-is-the-authoritative-gate.md:5, src/devops_cli/release/merge_candidate.py:271]
    • Chosen: Read protected. one request decides and the rule needs no bypass; the cost is one pull request that a ruleset did not require
    • Rejected: Always open a pull request. every repository pays one merge and a second run
    • Rejected: Read the rulesets and predict the block. the read needs administration rights that the command does not hold
  • How does the command treat a branch devops/onboard-roadmap that an earlier run made?: It reads the branch first. With no open pull request, it reuses the branch, writes only the files that are absent on it and opens the pull request. A branch file with other text than the source stops the run, and the command never overwrites it. (best practice) [sources: docs/adr/0011-releases-come-from-trunk-towncrier-uv-and-semver-tags-instead-of-a-bespoke-cut.md:38, openspec/changes/archive/2026-11-08-1359-onboard-checks-a-repository-for-the-roadmap-jobs/design.md:11]
    • Chosen: Reuse the branch and refuse a different file. a run that stopped part way finishes, and an edit that a person pushed to the branch stays
    • Rejected: A new branch for each run. stale branches and open pull requests pile up
    • Rejected: Force-update the ref. it would discard work that a person pushed to the branch
  • How does the command read a file that the branch holds?: It reads the path at ref=devops/onboard-roadmap with RoadmapStore.repository_file. A GitHubFileNotFoundError means the file is absent. Any other error fails the run and names the file. (best practice) [sources: src/devops_cli/roadmap/stores/github_store.py:1001, src/devops_cli/roadmap/stores/github_store.py:1019, src/devops_cli/roadmap/onboard.py:125]
    • Chosen: Read through the store and treat only GitHubFileNotFoundError as absent. it tells an absent file from one that cannot be compared, so the command never overwrites a file it cannot read
    • Rejected: Treat a None from the typed client as absent. the typed client also answers None for a file it cannot decode, so the command could overwrite a file that exists
    • Rejected: Read the whole tree. it reads more than the two paths and still needs the file text
  • How does a row show a file that an open pull request holds?: A new row state pending shows a file that is absent on the default branch but present on devops/onboard-roadmap while a pull request from that branch is open. The command reads the open pull request before it requires --from. A pending row makes the exit code 1, and a second --confirm sends no write. (best practice) [sources: src/devops_cli/github/pr_monitor.py:120, src/devops_cli/roadmap/onboard.py]
    • Chosen: Add pending and read the open pull request and the branch file. the row tells a file that waits for a merge from one that no run wrote, and a second run stays quiet
    • Rejected: Keep missing until the merge. a second --confirm would try the write again and fail with HTTP 422
    • Rejected: Add pending from any open pull request without reading the file. a file that exists on the default branch would read pending too
  • How many commits does the pull request path make?: One PUT for each file with branch set. The branch gets one commit for each file, and the squash merge gives the default branch one commit. (best practice) [sources: CONTRIBUTING.md:153, .github/pull_request_template.md:1, src/devops_cli/roadmap/stores/github_store.py:448]
    • Chosen: One PUT for each file. two requests write both files, and the squash merge removes the extra commit
    • Rejected: The Git Data API for one commit. it needs five requests for a gain that the squash merge removes
  • What check does the copied labels.yml pass before a write?: The command parses the copied text with declared_label_specs and declared_type_labels, the functions that row 3 uses, and requires one type/* name other than type/epic. A source that fails either check is refused before any write. (best practice) [sources: src/devops_cli/roadmap/onboard.py:157, src/devops_cli/roadmap/onboard.py:169, src/devops_cli/roadmap/title_labels.py]
    • Chosen: The functions that row 3 uses. the copy passes the same check as the file that row 3 accepts, so the two cannot disagree
    • Rejected: declared_label_names alone. a source that declares only type/epic would land and intake would refuse the repository
    • Rejected: No check of the source. a broken source would land in the target repository and break intake there
  • Can the command write .github/workflows/clear-status.yml, and what happens when the token cannot?: Yes. The App installation token asks for workflows: write. A person's token needs the workflow scope. A token without it gets HTTP 403 on a workflow file, and the command's error path reports the failed request and exits 1. [sources: src/devops_cli/config/constants.py:1465, openspec/specs/github-app-identity/spec.md:101, docs/adr/0015-roadmap-jobs-act-as-a-github-app-on-the-personal-account.md:9, openspec/changes/archive/2026-11-04-3519-app-token-pushes-workflow-files/proposal.md:5, src/devops_cli/commands/roadmap.py:1012]
  • Does part 1 of feat(roadmap): onboard checks a repository for the roadmap jobs #1359 block this item at this commit?: No. src/devops_cli/roadmap/onboard.py and the devops roadmap onboard command exist at this commit, so part 1 has merged. This item extends them and needs no dependency. [sources: src/devops_cli/roadmap/onboard.py, src/devops_cli/commands/roadmap.py:982]
  • What commit message does a direct write use?: Each direct commit carries chore(roadmap): add <path>, such as chore(roadmap): add .github/labels.yml. The message follows the Conventional Commit form that the repository uses for commits and pull request titles. (best practice) [sources: CONTRIBUTING.md:135, CONTRIBUTING.md:153]
    • Chosen: chore(roadmap): add <path>. it names the file and follows the Conventional Commit form
    • Rejected: The pull request title for both commits. two commits with the same message do not say which file each adds
    • Rejected: No message. the contents API requires a message
  • Does the pull request open as a draft?: Yes. The project opens every pull request as a draft: CONTRIBUTING.md says devops pr create always opens a draft and devops pr ready is the only way out, and AGENTS.md repeats the rule. The command sends draft: true in its POST to pulls; a person marks the pull request ready and merges it. (best practice) [sources: AGENTS.md:14, CONTRIBUTING.md:129, CONTRIBUTING.md:130, CONTRIBUTING.md:132, src/devops_cli/github/pr_plans.py:151, openspec/specs/pull-request-form/spec.md:178]
    • Chosen: Open as a draft. the project records that every pull request opens as a draft, and devops pr create has no option for another state
    • Rejected: Open ready for review. it contradicts the recorded draft-first rule and would need an exception for this command
  • Which requests of the command go through GitHubSession.rest?: The new write requests go through GitHubSession.rest. The new branch-file reads and the part-1 rows 3 to 5 reads go through RoadmapStore, which runs gh api through its runner; rows 1 and 2 already use GitHubSession.rest. The change adds no read transport. [sources: src/devops_cli/github/session.py:97, src/devops_cli/roadmap/stores/github_store.py:1015, src/devops_cli/commands/roadmap.py:1006]
  • Can protected read true when no rule would block the write?: Yes. The branch answer carries protected, and a ruleset alone can set it: on 2026-11-06 branches/main of this repository answered protected: true while branches/main/protection answered HTTP 404 and rulesets listed one. A ruleset with no pull_request rule can set it too. The command accepts one pull request that a person merges, and it never needs a bypass. [sources: tests/github/test_github_contract.py:88, docs/adr/0011-releases-come-from-trunk-towncrier-uv-and-semver-tags-instead-of-a-bespoke-cut.md:25]
  • Does the command read whether a fork has Actions turned on?: No. The read needs administration rights that the command does not hold. docs/roadmap/onboard.md states in one line that a fork needs Actions turned on. (best practice) [sources: src/devops_cli/config/constants.py:1465, docs/adr/0015-roadmap-jobs-act-as-a-github-app-on-the-personal-account.md:35]
    • Chosen: State it in the page. the command holds no administration rights, and a fork with Actions off runs no roadmap job
    • Rejected: Read the setting and refuse the run. the read needs administration rights that the token does not hold

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/feature
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/high
    on Nov 6, 2026
  2. dan-petty commented on Nov 6, 2026

    @dan-petty
    OwnerAuthor

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

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. It automates a manual file-copy step that has caused red branches, but it is not a security fix or a blocking defect.
    • Value: Medium. It removes a manual step that has already caused two incidents of red main branches.
    • Effort: High. It requires GitHub API calls for branches, refs, pulls, and contents, plus branch-reuse logic, validation, and a new pending state.
    • Related: feat(roadmap): onboard checks a repository for the roadmap jobs #1359, which asks for a different change. Both are parts of the roadmap onboard feature; #1359 checks and creates labels, while the candidate writes labels.yml and clear-status.yml from a --from source.
  3. added
    priority/p2-medium
    on Nov 6, 2026
  4. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    Contributor

    Refine cannot set this item to Ready at 72c52c6 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.

  5. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    Contributor

    Alternatives check: in-use

    Reason: Searches found no open tool that copies .github/labels.yml and .github/workflows/clear-status.yml into an existing repository and chooses a direct commit or a pull request from the branch's protection. gidgethub, which the project already uses through GitHubSession.rest (ADR 0006), covers the REST requests the command needs but none of the policy around them, so it covers only a part of the issue.

    The item already names this tool.

    Tool: gidgethub/gidgethub (https://github.com/gidgethub/gidgethub)

    • License: Apache-2.0
    • Last activity: 2026-09-25
    • Maintained: yes

    Covers:

    • The GitHub REST requests the command needs, through GitHubSession.rest: repository and branch reads, contents reads and writes, ref create and read, and pull-request create and listing
    • Writing file contents to a branch or the default branch and opening a pull request from a ref, with no git clone or second process

    Lacks:

    • The choice of which files to copy and the --from source: failing before any write when a file is missing and the option is absent, and refusing a source that fails declared_label_names or has no assignable type/* label
    • The protected-branch rule that reads protected and picks a direct commit or a pull request, and the --dry-run listing of both paths
    • The pending row state, the reuse of an existing devops/onboard-roadmap branch, and refusing a branch file whose bytes differ from the source
    • Telling a missing file from one that cannot be compared (binary, oversized or non-UTF-8) rather than overwriting it

    Tools considered:

    Searches run:

    • github-label-sync sync labels.yml to repository CLI, results: 5
    • CLI copy files from one GitHub repository to another via API create pull request, results: 5
    • safe-settings sync .github settings.yml labels across repositories pull request, results: 5
    • github-label-sync npm sync labels from file, results: 5
    • "github-label-sync" github repository labels yaml, results: 5
    • gidgethub python GitHub API library, results: 5
    • peter-evans create-pull-request action commit files to another repository, results: 5
    • Probot settings app labels.yml sync repository labels, results: 5
    • tool to add workflow file to many GitHub repositories automatically pull request, results: 5
    • repository-settings app github sync settings.yml labels to repositories, results: 5

    Sources:

    Checked on 2026-11-08. A person decides what this means for the item. The check changes no label and closes no issue.

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

    @devops-cli-service
    Contributor

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

  8. added
    owner/service
    on Nov 16, 2026
  9. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Owner question: The inputs of the step of the task group "Read the source files and refuse an invalid labels file" hold 64154 tokens, over the budget of 64000 tokens, also after the model split the groups once. Split the group or raise the budget of the step?

    Options

    1. Split the group: A person splits the group and runs the item again.
    2. Raise the budget: A person raises the budget of the step and runs the item again.

    Recommendation: Split the group: the plan check keeps the budget of the step.

    Evidence

  10. removed
    owner/service
    on Nov 16, 2026
  11. dan-petty commented on Nov 24, 2026

    @dan-petty
    OwnerAuthor

    Split the group.

  12. dan-petty commented on Nov 25, 2026

    @dan-petty
    OwnerAuthor

    Commit 019753720 (#6773) replaced devops roadmap onboard with devops repos onboard and removed src/devops_cli/roadmap/onboard.py.

    Commit f3a1e9a4a (#4660) removed .github/workflows/clear-status.yml because the Service removes closed-issue labels directly.

    devops repos onboard renders .github/labels.yml and the repository workflows from the Copier template into a draft pull request.

    This repository holds no devops roadmap onboard command anymore, so this issue closes as not planned.

  13. removed
    status/ready
    on Nov 25, 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

    effort/highpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions