Repository navigation
Description
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 checkat 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-scriptsat the root of the branch. - THEN
git diff --exit-code -- package-lock.jsonexits 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
devops-cli-service commentedon Nov 30, 2026
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: 5Sources:
devops-cli-service commentedon Nov 30, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.
fix(ci): divide the scenarios of each Feature between two jobs (#47)
devops-cli-service commentedon Nov 30, 2026
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:
A model review of the plan found these points. They stop no draft, and a person judges them:
verify_format 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, souv runadds a risk. The issue names plaindevops openspec check. Evidence: "uv run devops openspec check"devops-cli-service commentedon Nov 30, 2026
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):
search_code({"text":"fission-ai"})list_files({"directory":"openspec"})Run 2 (stage_verify):
search_code({"text":"pins no @fission-ai/openspec"})search_code({"text":"package-lock.json","path":"src"})search_code({"text":"no version writes the skills"})search_code({"text":"openspec check"})list_files({})list_files({"directory":".devops"})search_code({"text":"devops"})search_code({"text":"Renovate"})search_code({"text":"uv run"})search_code({"text":"uv "})search_code({"text":"pyproject"})list_files({"directory":"openspec/specs"})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).
fix(ci): divide the scenarios of the full Feature tests between jobs (#…
docs(spec): plan #45 Pin `@fission-ai`/openspec in package.json (#51)
devops-cli-service commentedon Nov 30, 2026
Owner question: The step "group 1" stopped with a plan defect: the plan does not hold. Amend the plan or split the item?
Options
Recommendation: Amend the plan: the step follows the plan, so a step that cannot follow it names a defect of the plan.
Evidence
devops-cli-service commentedon Nov 30, 2026
Stopped at group 1.
Failure class:
plan_defect.Action taken: none.
Action left:
amend: change the plan of the item.Reason:
Last message of the agent (a claim that no check verified): The checkout is clean:
git status --shortprints nothing. I reverted all my edits, so no edit is left to verify.uv run devops openspec checkstill 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 onlypackage.jsonandpackage-lock.json, so I cannot add the skill tree. I ticked no task. Theplan-requestblock in my earlier reply asks to add.agents/skillsto 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 ofroadmap.implement.digest_clears_per_classandroadmap.implement.digest_clears_per_itemallow it.