@seanmars/tospec 0.26.0-beta → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +4 -2
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -6,10 +6,12 @@
6
6
 
7
7
  tospec 是一套 spec-driven development CLI: 以 schema 定義文件結構與工作流程, 進度由檔案系統狀態推算, 開發方法則封裝於 Skill 之中, 使 AI 工具 (Claude Code / Codex) 得以循序完成需求釐清、規格撰寫、設計、任務拆解、實作到歸檔的完整流程.
8
8
 
9
- ## [0.26.0-beta] - 2026-10-18
9
+ ## [0.26.0] - 2026-10-23
10
10
 
11
11
  本版本的主題是姊妹 change (sister change): 同時進行中、碰到同一個 capability 或 requirement 的其他 change. 先在一個不是 git repository 的專案以 0.25.0 跑完整流程 (explore、decision、propose、apply、archive 前再開第二個 change、含 sync 的 archive、issue), 之後在同一個專案做了七輪端對端測試, 每一輪驗證上一輪的修正, 最後一輪沒有發現需要修正的問題. 找到的缺陷大多出自同一個根本原因: validate 只拿一個 change 對照 `tospec/specs/`, archive 的結果卻取決於其他尚未 archive 的 change. 因此 validate、`instructions apply` 與 archive 現在讀取姊妹 change, 並指出要先 archive 哪一個. 接著把每一種由 archive 順序或 requirement 名稱造成的 finding 都改為結構化欄位 (`code`、`blockedBy`、`suggestedHeader`、`archiveRefusals`), agent 不再比對 message 文字. 其餘是 skill 與 workflow 的修正: ADR 的連結與狀態、`allowed-tools` 涵蓋子步驟、issue 的 planning boundary、非 git 專案的 diff 範圍、regression test 的規則. breaking change 集中在「變更」.
12
12
 
13
+ 本版先在 2026-10-18 以 0.26.0-beta 發布到 npm 的 `beta` tag, 正式版的內容與它相同. 0.25.0 沒有發布到 npm, 所以 npm 的 `latest` 從 0.24.0 直接升到 0.26.0; 從 0.24.0 升級時也要讀 0.25.0 的條目, 它有多項 breaking change.
14
+
13
15
  ### 新增
14
16
 
15
17
  - **validate 與 `instructions apply` 讀取姊妹 change, 指出要先 archive 哪一個**: change A 以 ADDED 建立 capability 且尚未 archive, change B 對同一個 capability 寫 MODIFIED. validate B 只回報 `Archive would refuse this delta: ... target spec does not exist`, `instructions apply --change B` 則回報 `ready` 且沒有任何警告, agent 實作完才在 archive 失敗. 根本原因有兩個: validate 只讀這個 change 與 `tospec/specs/`, 不知道 A 存在; `instructions apply` 只依檔案位置判定 readiness, 從不執行 merge 的前置條件. 現在 merge 以型別 `MissingTargetSpecError` 拋出「target spec does not exist」, validate 依型別辨識而不比對文字, 經由新的 `listSisterChangeDeltas` 讀取其他進行中的 change, 並在 message 加上 `Archive 'A' first: it adds this capability.` (多個時為 `Archive 'a', 'b' first: each adds this capability.`).
@@ -762,7 +764,7 @@ Dashboard 進化為可背景常駐、多專案並存的服務, 並補上 TDD 導
762
764
 
763
765
  - 新增 `prepack` script 與 npm publish 的準備設定, 完備套件發行流程.
764
766
 
765
- [0.26.0-beta]: https://github.com/seanmars/tospec/compare/v0.25.0...v0.26.0-beta
767
+ [0.26.0]: https://github.com/seanmars/tospec/compare/v0.25.0...v0.26.0
766
768
  [0.25.0]: https://github.com/seanmars/tospec/compare/v0.24.0...v0.25.0
767
769
  [0.24.0]: https://github.com/seanmars/tospec/compare/v0.23.0...v0.24.0
768
770
  [0.23.0]: https://github.com/seanmars/tospec/compare/v0.22.0...v0.23.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seanmars/tospec",
3
- "version": "0.26.0-beta",
3
+ "version": "0.26.0",
4
4
  "description": "Spec-driven development CLI for structured requirements and issue workflows",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.npmjs.com/package/@seanmars/tospec",