Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit a97f419

Browse files
AsiaOstrichclaude
andcommitted
docs(changelog): Update CHANGELOG with SPEC-008 Phase 3 and mark Implemented. 更新變更日誌並標記 SPEC-008 為已實作。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a3cede7 commit a97f419

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
2929
- `generatePreToolUseScript()` 生成可獨立執行的 shell 腳本(jq + pure-bash fallback)
3030
- 安全攔截始終啟用(即使 quality: "none"),`generateHarnessHooks()` 向後相容
3131

32-
#### Execution History Repository(SPEC-008 Phase 1 & 2)
32+
#### Execution History Repository(SPEC-008 Phase 1, 2 & 3)
3333
- 執行歷史持久化 — 每次 task 執行自動產出結構化 artifacts,供後續 agent 從歷史學習
3434
- `HistoryWriter`:6+1 artifact 生成(task-description、code-diff、test-results、execution-log、token-usage、final-status、error-analysis)
3535
- `SensitiveDataRedactor`:5 類內建 pattern + 自訂 pattern,所有內容寫入前自動 redact
@@ -39,6 +39,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
3939
- `DiffCapture`:捕獲 task 前後 git diff(含新增檔案),非 git repo 安靜回傳空
4040
- `LogCollector`:包裝 onProgress 收集結構化日誌,同時轉發原始 callback
4141
- 未啟用時行為完全不變(向後相容)
42+
- Reader + Retention — 分層讀取 API 與自動保留管理
43+
- `HistoryReader`:L1 readIndex / L2 readTaskManifest / L3 readArtifact 三層讀取
44+
- `RetentionManager`:超過 max_runs_per_task 時刪除最舊 L3(保留 L1/L2 索引)
45+
- stale task 自動歸檔(超過 archive_threshold_days 移至 index-archive.json)
46+
- reactivate 機制(已歸檔 task 有新 run 時移回 index)
4247

4348
#### Standards & Compliance
4449
- ExecutionReport 新增 `standards_effectiveness` 回饋欄位(UDS SPEC-SELFDIAG-001)(#2)

‎specs/SPEC-008-execution-history.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPEC-008 執行歷史倉庫(Execution History Repository)
22

3-
**狀態**: Draft
3+
**狀態**: Implemented (Phase 1-3)
44
**建立日期**: 2026-04-02
55
**作者**: devap team
66
**上游規格**: dev-platform XSPEC-003-SDD(Approved)

0 commit comments

Comments
 (0)