Skip to content

BUG: openspec validate --strict succeeds, but openspec archive fails validation #498

@wreed4

Description

@wreed4

I'm getting these errors on archive

Proposal warnings in proposal.md (non-blocking):
  ⚠ Requirement must contain SHALL or MUST keyword
  ⚠ Requirement must have at least one scenario
  ⚠ Requirement must contain SHALL or MUST keyword
  ⚠ Requirement must have at least one scenario
  ⚠ Requirement must contain SHALL or MUST keyword
  ⚠ Requirement must have at least one scenario
  ⚠ Requirement must contain SHALL or MUST keyword
  ⚠ Requirement must have at least one scenario

But validate succeeds with no issue. The headers in question I THINK are because my agent put in extra headers into the spec

---

### Documentation Requirements     <---- I think this is the issue

### Requirement: AI Application Documentation

Teams building AI applications SHALL document agent definitions, prompts, and integration patterns.

#### Scenario: Agent Definition Documentation
yadayadawhatever

while I could just get my agent to stop doing that, and I probably will, I don't think the validation should succeed with openspec validate and fail when I go to archive it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions