c3c0a8b17d
新增 secret_get(ref) host function:讀 CF Workers per-script Secrets 的值, host 端實作 = env[ref] 動態字串索引(T1.5 spike ② 已證可行,零網路呼叫)。 - ArcrunHostEnv 加 index signature 支援任意 secret_ref 動態取值 - WasiHostFunctions 加 secret_get,u6u WASI imports 比照 kv_get 同款 pointer/memory-write 機制 wiring - 安全邊界:只允許 CRED_ 前綴(拒絕讀 ENCRYPTION_KEY/CF_SECRETS_API_TOKEN 等非 credential 機密),比照既有 routedKvGet 前綴檢查精神 驗證:tsc --noEmit exit 0;vitest 18/18 通過(新增 5 案例)。 撞牆記錄:JSPI Suspending 物件不可在單元測試直接呼叫(既有架構環境限制, kv_get 同樣受影響),已移除不可行的 2 個測試並記錄於測試檔註解。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018D6QoC5waFkcjc2N7csJBB
3. Specs — 需求 + SDD + 進度
各子系統的設計文檔 + 任務清單。
進行中(必讀)
| 目錄 | Phase | 狀態 |
|---|---|---|
| arcrun/credential-primitives-wasm/ | Phase 0-1 | 進行中(0.6-1) |
| arcrun/kbdb-base/ | Phase 7 | 上線完成 + 待處理(§8) |
主線
| 目錄 | 內容 | 狀態 |
|---|---|---|
| arcrun-core-mvp/ | MVP 整體架構 | 基礎完成 |
| arcrun/auth-recipe.md | Auth recipe 系統 | 穩定 |
| arcrun/landing-page.md | Landing page | 設計中 |
| arcrun/sdk-and-website/ | SDK + MCP + 文檔 | 進行中 |
| arcrun-platform-evolution/ | 長期演化規劃 | 路線圖 |
安全 & 基礎設施
| 目錄 | 用途 |
|---|---|
| component-gatekeeping/ | 零件投稿 gatekeeping(PR + CI) |
| component-registry-canon/ | registry 規範化(dead storage cleanup) |
| data-exfil-warning/ | 資料外流警示 API 層實作 |
未來
| 目錄 | 用途 |
|---|---|
| llm-interface/ | AI 操盤手體驗改進(mira dogfood 痛點) |
| recipe-system/ | recipe 長期規範(§5 onwards) |
| resumable-workflow/ | workflow 暫停恢復(Phase 6) |
| user-cc-harness/ | CC harness 安裝 + 配置(Phase 7) |
讀 SDD 的順序
新任務開始:
docs/3-specs/arcrun/arcrun.md(全景進度)- 對應子系統的
design.md(設計背景) - 同目錄的
tasks.md(細節任務 + 依賴)
更新時間:2026-06-08