Skip to content

docs(openspec): update 3 requirements to match the code - #1707

Open
openspec-cloud[bot] wants to merge 2 commits into
mainfrom
openspec/drift/corrections-c50ac33b3351fb774c65034f27eba887
Open

docs(openspec): update 3 requirements to match the code#1707
openspec-cloud[bot] wants to merge 2 commits into
mainfrom
openspec/drift/corrections-c50ac33b3351fb774c65034f27eba887

Conversation

@openspec-cloud

@openspec-cloud openspec-cloud Bot commented Aug 20, 2026

Copy link
Copy Markdown

Last scanned: 2026-08-20 23:57 UTC

▶ View full results and scan again

The assessment found 3 requirements that no longer matched the code. OpenSpec Cloud proposed updates only for those requirements.

The scan was incomplete: 1 requirement could not be judged. These updates cover only citation-gated findings; this pull request is not a clean result for the repository.

The scan reported 43 findings in total. The other 40 need a person rather than a specification edit and stay in the check.

Scope: this pull request edits openspec/ files only.

Review Files changed before merging. OpenSpec Cloud never approves or merges this proposal.

Scan history and manual trigger

Comment /openspec-cloud on this correction pull request to request a fresh repository scan.

View the complete originating check.

🔎 3 requirements drifted — 3 at stale specs.

AI-generated · A citation proves the line exists, not that it makes the case — verify before acting.

Not a clean result. 18 requirement(s) were not verified.

🟣 Stale specs (2)

🟣 Path configuration for supported tools — spec is out of date · high

Expectedopenspec/specs/ai-tool-paths/spec.md:21

The `AI_TOOLS` array SHALL include `skillsDir` for tools that support the Agent Skills specification.

Observedsrc/core/config.ts:50

{ name: 'Devin Desktop (formerly Windsurf)', value: 'devin', available: true, successLabel: 'Devin Desktop', skillsDir: '.devin', detectionPaths: ['.devin', '.windsurf'], requiresIdeRestart: true },

Next → update the requirement to match the code.

Proposed requirement update:

--- a/openspec/specs/ai-tool-paths/spec.md
+++ b/openspec/specs/ai-tool-paths/spec.md
@@ -35,7 +35,7 @@
 #### Scenario: Windsurf paths defined
 
 - **WHEN** looking up the `windsurf` tool
-- **THEN** `skillsDir` SHALL be `.windsurf`
+- **THEN** `skillsDir` SHALL be `.devin`
 
 #### Scenario: Kimi Code paths defined
 
🟣 Experimental Isolation — spec is out of date · high

Expectedopenspec/specs/cli-artifact-workflow/spec.md:186

The system SHALL implement artifact workflow commands in isolation for easy removal.

Observedsrc/commands/workflow/index.ts:7

export { statusCommand } from './status.js';

Next → update the requirement to match the code.

Proposed requirement update:

--- a/openspec/specs/cli-artifact-workflow/spec.md
+++ b/openspec/specs/cli-artifact-workflow/spec.md
@@ -188,7 +188,7 @@
 
 #### Scenario: Single file implementation
 - **WHEN** artifact workflow feature is implemented
-- **THEN** all commands are in `src/commands/artifact-workflow.ts`
+- **THEN** all commands are in `src/commands/workflow`
 
 #### Scenario: Help text marking
 - **WHEN** user runs `--help` on any artifact workflow command

1 finding is omitted from this field to stay within its limit; review the complete originating check for every finding.

- ai-tool-paths/path-configuration-for-supported-tools#2: Changed the windsurf scenario's required skillsDir from `.windsurf` to `.devin`.
- cli-update/slash-command-updates#6: Require $ARGUMENTS to be placed in the file body (not frontmatter) for OpenCode archive commands.
- rules-injection/validate-artifact-ids-during-instruction-loading#6: Updated the expected warning text to use double quotes and to state it matches no artifact in any available schema, listing known artifact IDs.
- specs-sync-skill/skill-output#3: Changed the expected no-changes message to 'Specs already in sync; no files changed.' to match the code.

None of these reduce what a requirement demands.

Scanned at 1ebddd1 by openai/gpt-5-mini.
@openspec-cloud
openspec-cloud Bot requested a review from a team as a code owner August 20, 2026 22:18
@openspec-cloud
openspec-cloud Bot requested review from clay-good and removed request for a team August 20, 2026 22:18
@openspec-cloud

Copy link
Copy Markdown
Author

✅ Specs and code agree — nothing to do.

AI-generated · A citation proves the line exists, not that it makes the case — verify before acting.
Checked the 4 requirements selected for this PR at e501b74 (252 total).
View results · Click Refresh, then Scan again in the check. Or comment /openspec-cloud.

@openspec-cloud

openspec-cloud Bot commented Aug 20, 2026

Copy link
Copy Markdown
Author

▶ View full results and scan again

🔎 43 requirements drifted — 33 pointing at code, 10 needing a decision.

AI-generated · A citation proves the line exists, not that it makes the case — verify before acting.

On 1ebddd1; 1 requirement could not be judged — not a clean result.

🔴 CI Job Integration — code is wrong · high

Expectedopenspec/specs/ci-nix-validation/spec.md:45

The Nix validation jobs SHALL be integrated into the existing GitHub Actions workflow and required for merge.

Observed.github/workflows/ci.yml:171

if: needs.changes.outputs.nix == 'true'

Next → fix the code at .github/workflows/ci.yml:171 so it satisfies the requirement.
Protect the fix: add a regression check and link it from this requirement.

🔴 Nix Flake Build Validation — code is wrong · high

Expectedopenspec/specs/ci-nix-validation/spec.md:7

The CI system SHALL validate that the Nix flake builds successfully on every pull request and push to main.

Observed.github/workflows/ci.yml:170

needs: changes

Next → fix the code at .github/workflows/ci.yml:170 so it satisfies the requirement.
Protect the fix: add a regression check and link it from this requirement.

🔴 Nix Installation in CI — code is wrong · high

Expectedopenspec/specs/ci-nix-validation/spec.md:76

The CI environment SHALL have Nix properly installed and configured before running validation.

Observed.github/workflows/ci.yml:282

needs: [test_matrix, lint, nix-flake-validate]

Next → fix the code at .github/workflows/ci.yml:282 so it satisfies the requirement.
Protect the fix: add a regression check and link it from this requirement.

40 more findings are in the full check.

View results · Click Refresh, then Scan again in the check. Or comment /openspec-cloud.

- ai-tool-paths/path-configuration-for-supported-tools#2: Updated the Windsurf scenario to expect skillsDir '.devin' instead of '.windsurf'.
- cli-artifact-workflow/experimental-isolation#8: Updated the file-path in the Single file implementation scenario from src/commands/artifact-workflow.ts to src/commands/workflow to match current code organization.
- command-generation/toolcommandadapter-interface#2: Updated the Windsurf adapter file path pattern to use '.devin/workflows/opsx-<id>.md' to match the implemented adapter.

None of these reduce what a requirement demands.

Scanned at 1ebddd1 by openai/gpt-5-mini.
@openspec-cloud openspec-cloud Bot changed the title docs(openspec): resolve 4 OpenSpec Cloud findings docs(openspec): update 3 requirements to match the code Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants