docs(openspec): PF-3 align reconcile——doc-source delta 調和至 doc-first(canon v2) - #363
Conversation
…canon v2) 依歸檔 doc-first-canon-v2 design.md §6a 處方(openspec-ledger-reconcile),於 align-frontend-design-system-reference archive 前調和其 RENAMED(v3→v4)+MODIFIED body: - specs/documentation-source-of-truth/spec.md:以 main 已採納之 doc-first 條文為基底 重寫 MODIFIED(兩條 requirement 全部 scenario 逐字重現 5/5+2/2,防 archive 靜默 drop), 疊加本 change 的 HTML-derived derivatives 條款;剔除「HTML 只管 design gate、 code+tests 是 runtime behavior truth」之 code-first 權威序,保留 behavior-truth 誠實半句 - specs/agent-operability-governance/spec.md:code+tests 語句加註(現況證據,非需求權威) - proposal.md:What Changes 與權責歸屬表兩處同步 doc-first 措辭 驗證:openspec validate align-frontend-design-system-reference --strict 綠; --all --strict 62 passed/0 failed;scenario header 對 main awk 區塊擷取逐字比對通過。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WixYKeCVPNH9pVoxXgaiKB
|
Warning Review limit reached
Next review available in: 2 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This is a doc-only PR (PF-3 follow-up openspec-ledger-reconcile) that reconciles the in-flight align-frontend-design-system-reference change's delta with the doc-first authority ordering that main already adopted via canon v2 (PRs #360/#361/#362). Without this reconciliation, archiving the align change would silently revert main's documentation-source-of-truth spec back from doc-first to the retired code-first authority ordering. The changes rewrite the two MODIFIED requirement bodies (and their scenarios) to doc-first wording, preserve the honest behavior-truth carve-out, and synchronize the sibling agent-operability spec line and proposal wording.
Changes:
- Rewrote the two MODIFIED requirements in
documentation-source-of-truthto doc-first (docs/plansHTML canon = sole requirement authority; code+tests = runtime evidence, not requirement authority), faithfully reproducing all existing scenario headers (5/5 + 2/2) plus align's HTML-derived-derivatives clauses, and removing code-first authority statements. - Annotated the
agent-operability-governancespec's "code+tests/contracts" clause to clarify it is runtime evidence, not requirement authority. - Updated two
proposal.mdlines (What Changes + ownership table) to doc-first phrasing.
I verified against the current main spec that the RENAMED FROM (v3) headers still exist and the MODIFIED headers match the RENAMED TO (v4) targets, that scenario headers are reproduced verbatim, and that no residual code-first authority phrases remain in the change directory. I found no objective defects to comment on.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
openspec/changes/align-frontend-design-system-reference/specs/documentation-source-of-truth/spec.md |
Rewrites both MODIFIED requirement bodies + scenarios to doc-first, reproducing existing scenarios and layering align's derivative clauses. |
openspec/changes/align-frontend-design-system-reference/specs/agent-operability-governance/spec.md |
Annotates the code+tests clause as runtime evidence rather than requirement authority. |
openspec/changes/align-frontend-design-system-reference/proposal.md |
Syncs What Changes and ownership-table wording to doc-first. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9137fa63fa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ### Requirement: workflow v4 與 product design artifacts 互相 cross-reference 持續成立 | ||
|
|
||
| `docs/PROJECT_DEVELOPMENT_WORKFLOW.md`、`README.md` 與 `docs/plans/docs-plans-README.md` SHALL 互相交叉連結並列出相同 ownership:tracked `docs/plans/*.html` 為 design authority、manifest/baselines 為 derivatives、code+tests為 current behavior。Active consumers SHALL NOT 依賴已刪文件或 repo 外 design path。 | ||
| `docs/PROJECT_DEVELOPMENT_WORKFLOW.md` 頂部 metadata 與 source-of-truth 表 SHALL 連到 `docs/plans/docs-plans-README.md` 與設計文件/原型;`README.md` 的產品文件入口 SHALL 列出相同 ownership(doc-first:tracked `docs/plans` 正本=唯一需求權威、manifest/baselines=HTML-derived derivatives、code+tests=runtime 現況查證面而非需求權威)。active agent workflows/OpenSpec deltas/demo docs SHALL NOT 讀取已刪除的舊正本(含 2026-07-13 刪除的六份舊檔與 2026-07-15 刪除的七檔體系/saas/審批報告/舊 prototypes),亦 SHALL NOT 依賴 repo 外 design path 作為 design gate source。 |
There was a problem hiding this comment.
Update v3 cross-references before archiving
When this active OpenSpec change is archived, this replacement makes the cross-reference requirement speak in terms of workflow v4, but the same capability's current spec still contains normative cross-references to the old Workflow v3... requirement in R-B1/R-B3/R-C2b. Because this delta only modifies these two requirements, archive will leave those stale references pointing at a renamed requirement; add MODIFIED deltas for the dependent requirements or keep the name stable until all references are updated.
Useful? React with 👍 / 👎.
Summary
依歸檔
doc-first-canon-v2design.md §6a 處方(follow-upopenspec-ledger-reconcile,PF-3),在align-frontend-design-system-referencearchive 前調和其documentation-source-of-truthdelta——該 delta 對 main 現行兩條 requirement 帶 RENAMED(v3→v4)+MODIFIED,其 body 原重申「HTML 只是 design gate 唯一權威輸入、code+tests/contracts 是現行 runtime behavior truth」=doc-first canon v2(PR #360/#361/#362)剛翻轉的舊 code-first 權威序;若不先調和,該 change 日後 archive 會把 main 的 doc-first 條文覆蓋回 code-first。docs/plans正本)」。不掛 auto-merge:權威序措辭屬治理面,停等使用者 review(比照 #360 姿態)。
Change Classification
openspec-ledger-reconcile處方:「archive 前 MUST 對已採納 canon v2 調和 align 的 RENAMED(v3→v4)+MODIFIED body:保留其 behavior-truth 誠實半句、剔除/改寫與 doc-first 對立的權威序語句」)+ mainopenspec/specs/documentation-source-of-truth/spec.md(doc-first 現行條文,2026-07-21 使用者 grill-me 場逐項裁決授權「現在 doc-only 調和 align、手法 A」)AI Coding Governance
.github/CODEOWNERS預設規則(* @monkey1sai)涵蓋;改動全數落於openspec/changes/align-frontend-design-system-reference/,未觸碰/docs/plans///AGENTS.md//scripts/;owner=使用者本人,本 PR 不掛 auto-merge、停等使用者 reviewgit diff main --stat恰 3 個.md(proposal.md+2 spec delta),zero code symbols、zero execution flows;無 shared/exported symbol 修改,detect_changes 無適用面(GitNexus index 現為 stale@713c7a5,與本判定無關).claude/workflows//.github/workflows//scripts/)pr-review-agent.yml);Agent Governance(agent-governance.yml);CI(ci.ymlchanged-path classifier;服務層 job 預期 skip);openspec validate --all --strict=62 passed/0 failed(本地證據,見下)驗證證據(2026-07-21 本地實跑)
Scenario 重現自檢(防 archive 靜默 drop):以 awk 對 main 逐 requirement 區塊擷取 scenario header 比對——
Workflow v3 …(→v4):main 5 scenario(讀者尋找開發流程/讀者尋找需求、現況或操作原型/workflow 與設計文件或 runtime truth 不一致/code 行為與設計正本衝突(doc-first 判 gap)/誠實鐵律與 doc-first 非矛盾壓測)→ delta 5/5 header 逐字重現。workflow v3 … cross-reference(→v4):main 2 scenario(active consumer 指向被刪舊正本/設計文件與原型保持可發現)→ delta 2/2 header 逐字重現。殘餘 code-first 掃描:
grep -rn "design gate 唯一權威輸入|是現行 runtime behavior truth|SHALL 裁決現行 behavior 與 runtime truth|裁決 current behavior|HTML 只描述目標" openspec/changes/align-frontend-design-system-reference/→ 僅餘 proposal.md 權責歸屬表一列,已改寫為「需求權威正本(doc-first),亦為 design gate 唯一權威輸入」。邊界聲明
app.py/governanceProxy.ts/conversion_authority.py)。.dc.html+docs-plans-README.md+ai-bim-governance.css)——本 PR 只改openspec/changes/下的提案 delta,符合design-canon-change-controlR-A1(AI 以獨立 PR 提案、不原地編輯正本)。🤖 Generated with Claude Code
https://claude.ai/code/session_01WixYKeCVPNH9pVoxXgaiKB