Repository navigation
Description
Problem Description
The stage writes openspec/changes/<issue>-<slug>/ in every repository. 0 of the 6 other repositories hold openspec/, and none declares an archive step (src/devops_cli/roadmap/implement/implement_steps.py:63-66). So nobody archives these folders. On 2026-11-11, 9 draft plan pull requests are open: dan-petty/vibes#173, dan-petty/vibes#174, dan-petty/vibes#175, dan-petty/dreamscaper#15, dan-petty/dreamscaper#16, dan-petty/dreamscaper#17, dan-petty/dotfiles#6, dan-petty/dotfiles#7 and dan-petty/dotfiles#8. Their tasks name uv run devops ci docs and uv run devops docs generate, which cannot run in those repositories. The stage runs every 37 minutes for each repository.
Reproduction Steps
- Let the Service stage an item of dan-petty/dotfiles, which has no
openspec/config.yaml. - Read the draft plan pull request that it opens.
Expected vs Actual Behavior
Expected: the stage holds the item until onboarding adds OpenSpec to the repository, and it opens no pull request.
Actual: the stage opens a draft pull request with an openspec/changes/ folder and with tasks that cannot run in the repository.
Proposed Solution & Architectural Design
- Add one helper,
uses_openspec(source, ref). It is true whenopenspec/config.yamlis atorigin/<default>. - Use it in the stage selection. The stage holds an item in a repository without the file, with the reason "the repository has no openspec/config.yaml; onboarding adds it (feat(roadmap): onboard sets up openspec in a repository #3770)", and writes no branch.
- fix(pr): pr create fits a repository without openspec #3767 (
devops pr create) and the archive step of the toolchain preset item use the same helper, so there is one switch. - Do not build a plan that stays only in the issue body. That is a second plan system with no user.
- Owner decision 3 (2026-11-11): all 6 other repositories get OpenSpec through onboarding (feat(roadmap): onboard sets up openspec in a repository #3770). The hold ends when the onboarding pull request merges
openspec/config.yaml.
After the rollout
Owner decision 2 (2026-11-11): after this item ships, close these 9 draft plan pull requests: dan-petty/vibes#173, dan-petty/vibes#174, dan-petty/vibes#175, dan-petty/dreamscaper#15, dan-petty/dreamscaper#16, dan-petty/dreamscaper#17, dan-petty/dotfiles#6, dan-petty/dotfiles#7 and dan-petty/dotfiles#8. Each holds verify and documents tasks that cannot run in its repository. The stage plans the items again after onboarding.
Target Subsystem
SDLC, Git & PR Governance (src/devops_cli/roadmap/stage/).
Existing Tool Considered
OpenSpec defines the project by openspec/config.yaml, which openspec init writes. The helper reads that file at the default branch. No other tool is necessary. Cost: about 25 lines and 3 tests, about 80,000 tokens and 1 hour to build.
Acceptance Criteria
- A test with a fake repository that has no
openspec/config.yaml: the stage round pushes no branch and records the hold reason. -
uv run devops roadmap explain <n> --repo dan-petty/dotfilesprints the reason. - A test shows no change for devops-cli.
- In the 24 h after the rollout, the Service opens 0 new plan pull requests in repositories without
openspec/config.yaml(GET pulls?state=all, filtered bycreated_at). - The 9 draft plan pull requests above are closed, each with a comment that names this issue.
Dependencies
None. Related: #3767 and #3770.
Source: #4627
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.The stage opens broken draft PRs every 37 minutes in six repositories, but no user work is blocked.It stops ongoing generation of broken PRs and CI noise in six repositories.The candidate estimates about 25 lines of code and 3 tests, roughly 1 hour of work.Both deal with repositories lacking openspec/config.yaml; #3770 adds the file via onboarding, the candidate holds the stage until the file exists.devops-cli-service commentedon Nov 11, 2026
Released in v0.112.3: https://github.com/dan-petty/devops-cli/releases/tag/v0.112.3
devops-cli-service commentedon Nov 11, 2026
Live since 2026-11-11 19:36 UTC