Stable IDs for requirements, scenarios and decisions
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- markdown, node.js, typescript
- Domain
- cli, developer-experience
Research direction
Read the CLI work in #1979 and the related discussions in #2056, #2113, #743, #2157, #1967, and #2033 to understand the intended behavior. Identify the validation and archive matching entry points and their tests; the issue does not name specific files. Done means IDs in bracketed headings are validated and matched before names, duplicate IDs are rejected, and specs without IDs remain unchanged.
Written by the indexing model from the issue text.
Description
The problem
Links to a requirement, scenario or decision point at its heading text, so rewording a heading breaks them, and archive refuses a renamed scenario (#1697).
Who this affects
Anyone who links tests, tasks or code to specs. In epam/ai-dial-chat, about 1 in 4 broken spec links was just a reworded heading.
What we have in mind
### Requirement: [AUTH-3] Users sign in
#### Scenario: [AUTH-3.1] Correct password
### D1
Use Redis for sessions, because restarts must not sign users out.
- The agent writes a visible ID in square brackets at the start of the heading. There's no hidden metadata and no new command, and the CLI only reads IDs.
- Brackets are required, so ordinary headings like
SHA-256 checksumorHTTP-2 supportare never mistaken for IDs. - Validate and archive match on the ID before the name, so renames work. Dropping an ID is still refused, and a bare prefix like
NAV-5can gain brackets. - Duplicate IDs are refused, which catches two parallel changes picking the same number.
- Decisions are a
### D1heading plus one or two sentences. There are no Rationale or Alternatives fields (the concern on #2113). - Specs without IDs are unchanged.
Evidence: agents kept IDs in 264 of 265 runs (details), and all 2,022 past archives in five repos rebuild byte-identical with the change.
Plan: #1979 is the CLI side; #2134 teaches the openspec-beta skills.
Not in scope: coverage reports, checking task links to removed decisions (#2056 step 2), deliberate removals (#1843), parallel-change overlap (#1669, #1387), and databases or two-way traceability.
Consolidates #2056, #2113, #743 (discussion) and #2157, plus #1967's first two directions and #2033's Direction 3.
- Dominant language
- TypeScript
- Stars
- 76k
- Forks
- 5.2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 58
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Fission-AI/OpenSpec
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Fission-AI/OpenSpec#2337 ·
Maintainers usually reply within 1 day
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Fission-AI/OpenSpec#2311 ·
Maintainers usually reply within 1 day
-
sync-specs skill overwrites an existing ADDED requirement, contradicting the CLI's no-op/conflict rule from #1376May be free again @vaibhavdabas16 claimed this 10 days ago, and no pull request is open. Openapproved
Difficulty 1/5 Under an hour Newbie friendliness 86/100
Fission-AI/OpenSpec#2289 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
Fission-AI/OpenSpec#2208 · 2 comments ·
Maintainers usually reply within 1 day
-
Document the RFC 2119 keyword rule (attribution lost in docs rebuild) and its clarification update RFC 8174Possibly taken @sofiaali1521-cloud claimed this 5 days ago. Opendocumentation needs-triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Fission-AI/OpenSpec#2200 · 5 comments ·
Maintainers usually reply within 1 day
All issues in Fission-AI/OpenSpec
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
nicobailon/pi-subagents#3425 ·
Maintainers usually reply within 1 day
-
[PORT] A2A: map audio file parts to audio content and ignore MIME parameters (TS→Py)Possibly taken A pull request linked to this issue is open or already merged. Openarea-a2a bug port python
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
strands-agents/harness-sdk#6697 · 1 comment ·
Maintainers usually reply within 1 day
-
api technical-debt
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
opencollective/opencollective#9235 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
openwatersio/slackwater#603 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day