Skip to content

fix(spec): devops openspec check fails with no OpenSpec pin #45

Backlog

Description

@dan-petty

Problem

devops openspec check fails in this repository. The package-lock.json at the root pins no @fission-ai/openspec.

Evidence

On a checkout with the package.json and package-lock.json of commit 6739214, the command ends with this finding:

version: The package-lock.json at the root of the checkout pins no @fission-ai/openspec, so no version writes the skills: add @fission-ai/openspec to the devDependencies of package.json and run `npm install --package-lock-only --ignore-scripts`.
OpenSpec check found 1 problem(s).

package.json holds two development dependencies: @devcontainers/cli and semver. AGENTS.md tells agents to plan each item as an OpenSpec change.

Expected

devops openspec check ends with no problem on main.

Existing tool

npm and @fission-ai/openspec, as the finding tells. Renovate then updates the pin.

Source

Source: #43

Alternatives check of 2026-11-30: in-use.
The item already names this tool.
Tool: @fission-ai/openspec (https://github.com/Fission-AI/OpenSpec), MIT, last activity 2026-11-30, maintained.
Reason: Searches found the OpenSpec CLI that the check validates, and the issue already names the fix: pin @fission-ai/openspec in devDependencies and refresh the lockfile, so one tool covers the need.

Covers:

  • Installs the openspec CLI from a devDependency pin
  • Writes skills and validates change proposals under openspec/
  • Archives a finished change under openspec/changes/archive

Lacks:

  • Does not edit package.json or package-lock.json
  • Needs npm install to write the lockfile entry
  • No devops wrapper; the repository owns the check

Proposed design

Problem statement

devops openspec check fails on main. The root package-lock.json pins no @fission-ai/openspec, so no version writes the skills. AGENTS.md tells agents to plan each item as an OpenSpec change, so the check must pass. The change adds the pin to package.json and refreshes the lockfile.

Acceptance criteria

Requirement: OpenSpec dev dependency

The root package.json MUST list @fission-ai/openspec in devDependencies at an exact version.

Scenario: The check finds the pin

  • WHEN I run devops openspec check at the root of the branch.
  • THEN the command exits 0 and prints no finding that asks to add @fission-ai/openspec to the devDependencies.

Requirement: Lockfile in sync

The root package-lock.json MUST hold the resolved entry of @fission-ai/openspec, so the lockfile agrees with package.json.

Scenario: The lockfile needs no further change

  • WHEN I run npm install --package-lock-only --ignore-scripts at the root of the branch.
  • THEN git diff --exit-code -- package-lock.json exits 0 and prints no diff.

Existing Tool Considered

@fission-ai/openspec (https://github.com/Fission-AI/OpenSpec), MIT, verdict in-use: the item already names this tool. The alternatives check in the issue body lists what the tool covers and lacks. This proposal does the part that the block says the tool lacks: it adds the exact pin to package.json by hand, runs npm install --package-lock-only --ignore-scripts to write the lockfile entry, and keeps the existing devops openspec check, which the repository owns.

Key questions

  • Which pin style does the change use for @fission-ai/openspec?: An exact version. Both devDependencies of package.json hold exact versions: @devcontainers/cli 0.91.0 and semver 7.8.6. Renovate updates them. (best practice) [sources: package.json, CONTRIBUTING.md:98]
    • Chosen: Exact version. package.json holds exact versions and Renovate updates them.
    • Rejected: Caret range. No devDependency of package.json uses a range.
  • Which file makes the check fail today?: The root package-lock.json. Its packages list holds only @devcontainers/cli and semver, and no @fission-ai/openspec entry. [sources: package-lock.json]
  • Does the change need a Renovate config update?: No. CONTRIBUTING.md line 98 says Renovate updates package.json and package-lock.json. The file .github/renovate.json extends the shared preset. [sources: CONTRIBUTING.md:98, .github/renovate.json]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/bug
    source/agent
    status/new
    value/medium
    effort/low
    scope/spec
    priority/p2-medium
    on Nov 30, 2026
  2. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (9)

    Tools considered:

    Searches run:

    • @fission-ai/openspec npm package, results: 5
    • OpenSpec spec-driven development tool CLI github, results: 5
    • OpenSpec Fission-AI spec driven development npm install openspec, results: 5
    • "openspec" cli tool change proposals specification ai coding agents, results: 5
    • Fission-AI OpenSpec github repository, results: 5
    • openspec validate list show commands openspec directory change proposal, results: 5
    • openspec npm package version pin devDependencies, results: 5
    • openspec init validate strict proposal.md tasks.md design.md, results: 5
    • OpenSpec AI coding agents spec deltas archive change openspec CLI documentation, results: 5

    Sources:

  3. added
    status/ready
    and removed
    status/new
    on Nov 30, 2026
  4. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See the section Proposed design of the body.

  5. added
    owner/service
    on Nov 30, 2026
  6. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    Plan state: branch fix/45-devops-openspec-check-fails-with-no, draft pull request #51. The pull request plans the item and closes no issue. The stage job and the step fix-plan edit this comment, and a comment of each run tells what the run did.

    The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:

    1. Pin OpenSpec in package.json and the lockfile: 4172 tokens

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • minor verify_form at tasks (1): The verify command runs only the OpenSpec check. It does not prove the criterion "Lockfile in sync". The repository has no Python project file, so uv run adds a risk. The issue names plain devops openspec check. Evidence: "uv run devops openspec check"
  7. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    The stage job staged the plan of draft pull request #51. The plan state comment of #51 holds the branch, the task groups and the findings.

    The runs of the planner and the review made 17 model request(s), and used 303246 input tokens and 6539 output tokens. The tool calls, in order:

    Run 1 (stage):

    1. search_code({"text":"fission-ai"})
    2. list_files({"directory":"openspec"})

    Run 2 (stage_verify):

    1. search_code({"text":"pins no @fission-ai/openspec"})
    2. search_code({"text":"package-lock.json","path":"src"})
    3. search_code({"text":"no version writes the skills"})
    4. search_code({"text":"openspec check"})
    5. list_files({})
    6. list_files({"directory":".devops"})
    7. search_code({"text":"devops"})
    8. search_code({"text":"Renovate"})
    9. search_code({"text":"uv run"})
    10. search_code({"text":"uv "})
    11. search_code({"text":"pyproject"})
    12. list_files({"directory":"openspec/specs"})
    13. read_file({"path":"AGENTS.md"})

    Tool calls: list_files=4 (empty=0), read_file=1 (empty=0), search_code=10 (empty=8)

    The stage job read the open pull requests and their files in 1 GraphQL request(s).

    The plan request held these comments of the item whole: #45 (comment), #45 (comment).

  8. removed
    owner/service
    on Nov 30, 2026
  9. added 2 commits that reference this issue on Nov 30, 2026
  10. added
    status/planned
    owner/service
    status/in-progress
    and removed
    status/ready
    status/planned
    on Nov 30, 2026
  11. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    Owner question: The step "group 1" stopped with a plan defect: the plan does not hold. Amend the plan or split the item?

    Options

    1. Amend the plan: A person amends the plan and runs the item again.
    2. Split the item: A person splits the item and plans each part again.

    Recommendation: Amend the plan: the step follows the plan, so a step that cannot follow it names a defect of the plan.

    Evidence

  12. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    Stopped at group 1.

    Failure class: plan_defect.
    Action taken: none.
    Action left: amend: change the plan of the item.

    Step Status Attempts Tokens in/out Last failing command
    group 1 stopped 1 585127/9379 -

    Reason:

    The group 1 (Pin OpenSpec in package.json and the lockfile) changed no file. The group may be too large or already done. Return the item for a smaller replacement of group 1, or amend the plan with a request of kind `group` that keeps the number and has fewer tasks.
    

    Last message of the agent (a claim that no check verified): The checkout is clean: git status --short prints nothing. I reverted all my edits, so no edit is left to verify. uv run devops openspec check still exits 1, as in my last run. It prints one finding: version: The package-lock.json at the root of the checkout pins no @fission-ai/openspec. The pin cannot make it pass, because the repository tracks no OpenSpec skill tree. I confirmed this earlier: with the pin applied, three "No file matches" findings remained for .claude/skills/openspec-*/**/*, .agents/skills/openspec-*/**/* and .agents/skills/.openspec-target. The check passed only after I also added the generated skill tree. My group names only package.json and package-lock.json, so I cannot add the skill tree. I ticked no task. The plan-request block in my earlier reply asks to add .agents/skills to the Changes of group 1. The job must apply that amendment before the verification can pass.

    The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.

  13. added
    status/blocked
    and removed
    status/in-progress
    owner/service
    on Nov 30, 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/lowpriority/p2-mediumscope/specsource/agentstatus/blockedtype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions