Feature: preserve specodelic frontmatter and four-layer tables when openspec archive deploys a delta
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 76k
- Forks
- 5.2k
- Ø Merge
- 1 T. 5 Std.
- Gemergte PRs (30 T.)
- 58
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Fission-AI/OpenSpec
-
enhancement needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Fission-AI/OpenSpec#2337 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Fission-AI/OpenSpec#2311 ·
Maintainer antworten meist innerhalb von 1 Tag
-
sync-specs skill overwrites an existing ADDED requirement, contradicting the CLI's no-op/conflict rule from #1376Evtl. wieder frei @vaibhavdabas16 hat das vor 10 Tagen übernommen, und es ist kein Pull Request offen. Offenapproved
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
Fission-AI/OpenSpec#2289 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Fission-AI/OpenSpec#2208 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Document the RFC 2119 keyword rule (attribution lost in docs rebuild) and its clarification update RFC 8174Evtl. vergeben @sofiaali1521-cloud hat das vor 5 Tagen übernommen. Offendocumentation needs-triage
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Fission-AI/OpenSpec#2200 · 5 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Fission-AI/OpenSpec
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
tashfeenahmed/freellmapi#2217 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
remotion-dev/skills#37 ·
-
gui: a narrow window's gateway key row with a line under it wraps its faded badges onto blank linesOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
-
Slider: Escape during a thumb drag keeps and commits the dragged value, unlike ui-sdk's other dragsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
vercel-labs/ui#1758 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
nicobailon/pi-subagents#3425 ·
Maintainer antworten meist innerhalb von 1 Tag