Feature: preserve specodelic frontmatter and four-layer tables when openspec archive deploys a delta
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 76k
- 派生
- 5.2k
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 58
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Fission-AI/OpenSpec 的其他 Issue
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 74/100
Fission-AI/OpenSpec#2337 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
Fission-AI/OpenSpec#2311 ·
维护者通常 1 天内回复
-
sync-specs skill overwrites an existing ADDED requirement, contradicting the CLI's no-op/conflict rule from #1376可能重新可做 @vaibhavdabas16 于 10 天前认领,目前没有进行中的 PR。 未关闭approved
难度 1/5 1 小时以内 新手友好度 86/100
Fission-AI/OpenSpec#2289 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 76/100
Fission-AI/OpenSpec#2208 · 2 条评论 ·
维护者通常 1 天内回复
-
Document the RFC 2119 keyword rule (attribution lost in docs rebuild) and its clarification update RFC 8174可能已有人在做 @sofiaali1521-cloud 于 5 天前认领。 未关闭documentation needs-triage
难度 1/5 1-3 小时 新手友好度 88/100
Fission-AI/OpenSpec#2200 · 5 条评论 ·
维护者通常 1 天内回复
查看 Fission-AI/OpenSpec 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
nicobailon/pi-subagents#3425 ·
维护者通常 1 天内回复
-
[PORT] A2A: map audio file parts to audio content and ignore MIME parameters (TS→Py)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area-a2a bug port python
难度 2/5 1-3 小时 新手友好度 68/100
strands-agents/harness-sdk#6697 · 1 条评论 ·
维护者通常 1 天内回复
-
api technical-debt
难度 2/5 1-3 小时 新手友好度 66/100
opencollective/opencollective#9235 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
openwatersio/slackwater#603 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复