Skip to content

fix(roadmap): stage holds an item where openspec is not set up #4629

Closed

Description

@dan-petty

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

  1. Let the Service stage an item of dan-petty/dotfiles, which has no openspec/config.yaml.
  2. 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

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/dotfiles prints 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 by created_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

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 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/bug. The fix prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. The stage opens broken draft PRs every 37 minutes in six repositories, but no user work is blocked.
    • Value: Medium. It stops ongoing generation of broken PRs and CI noise in six repositories.
    • Effort: Low. The candidate estimates about 25 lines of code and 3 tests, roughly 1 hour of work.
    • Related: feat(roadmap): onboard sets up openspec in a repository #3770, which asks for a different change. Both deal with repositories lacking openspec/config.yaml; #3770 adds the file via onboarding, the candidate holds the stage until the file exists.
  4. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 11, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 11, 2026
  6. devops-cli-service commented on Nov 11, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-11 19:36 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/lowpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions