Feature: preserve specodelic frontmatter and four-layer tables when openspec archive deploys a delta
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
Research direction
Start with the archive round-trip described in docs/src/dual-format-authoring.md and reproduce how openspec archive handles the dual-format example. Trace the archive merge entry point and inspect the migration context in openspec/changes/migrate-specs-to-dual-format. Done means deployed specs retain the YAML frontmatter and the Constraints, Model, and Properties tables without post-archive surgery.
Written by the indexing model from the issue text.
Description
Context
We dual-author spec files in the specodelic four-layer markdown format (YAML frontmatter id/kind/EARS statement + ## Constraints, ## Model, ## Properties tables) alongside the openspec grammar — one file, two parsers (specodelic's documented dual-format protocol).
Our migration change: openspec/changes/migrate-specs-to-dual-format in charly-vibes/espectacular.
Problem
openspec archive (v0.19.0) merges the openspec half of a delta into the deployed spec but strips the specodelic half — frontmatter and the three tables do not survive the deploy. Verified against docs we wrote: docs/src/dual-format-authoring.md ("Archive round-trip").
Consequences:
- Deployed specs silently lose their machine-linted layers after every archive touching the capability.
- Repos that mandate dual-format corpus-wide (like ours now does) need a manual re-derivation recipe after each archive: copy frontmatter from the archived delta, carry surviving constraint/property rows from git history, add rows for merged requirements, re-run gates.
Request
Preserve YAML frontmatter and the ## Constraints / ## Model / ## Properties tables when openspec archive merges a delta into a deployed spec (e.g., carry them verbatim from the delta, or merge table rows when both sides have them).
This keeps deployed specs lint-clean under specodelic lint without post-archive surgery, and matches openspec's design principle that specs are the source of truth — the formal layers are part of that truth.
Workaround
Documented in our repo: staged-file frontmatter mandate in pre-commit + CI (just spec-lint) makes the strip non-silent and forces re-derivation.
Thanks for a great tool — happy to provide more detail or a failing example.
- 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
-
area-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