docs(sdd): 1.5-3 補機制邊界(分享≠同步、與 acr update 兩軌)+changelog/版本 diff 規格(leo 修正)

This commit is contained in:
雲端總管
2026-07-19 07:00:42 +00:00
parent b29de1b216
commit 2324537165
@@ -142,7 +142,9 @@
- [ ] 1.5-2 installed_from 譜系+四態(P3):materialized artifact 落籍 `{installed_from_source, installed_from_uuid, installed_at, content_hash}`entry metadata,不建表);list/console/MCP 標 `up_to_date/behind/diverged/sideloaded`(+`source_lost`)。
- 驗收:API 直建的 workflow 列表顯 sideloaded;改過的顯 diverged。
- [ ] 1.5-3 訂閱與更新查詢(P2):`artifact_subscription` entrypolicy: notify|auto|pin,預設 notify)+`GET /subscriptions/updates` 查詢式;禁發布事件自動 fan-out(D4)。
- 驗收:submit 新版後,訂閱端查詢見 behind;更新為顯式動作、可拒可 pin
- **機制邊界(leo 2026-07-19 修正定案)**:與 acr update 兩軌不同——引擎/零件=PR+整庫對齊(每實例零件一樣多);artifacts=**逐件選擇性發布**A 有 100 支只 submit 2 支,其餘永不離開 A 實例;「分享≠同步」)+逐項訂閱(粒度=canonical_idbundle
- **changelog+版本 diffleo 2026-07-19 補規格)**submit-p 必帶 `changelog`(一句話必填+詳文可選);`/subscriptions/updates` 回應附 changelog;細看=新舊兩版 export YAML diffYAML=視圖的正用)。「看更新了什麼、決定要不要更」,無 changelog 不准 submit 新版。
- 驗收:submit 新版後,訂閱端查詢見 behindchangelog;可取兩版 YAML diff;更新為顯式動作、可拒可 pin。
- [ ] 1.5-4 多源與 visibility(P6 第一波=官方源+直連一個外源):artifact 加 `visibility: public|org|unlisted`installed_from 記源。org 私區留第二波。
- **公開讀免認證(leo 2026-07-19 補規格)**`visibility=public` 的 list/search/pull **匿名可讀**——「任何實例都能來查官方」是官方成立的前提;unlisted/org 才走 token。submit 一律需身份(#31 信譽綁認證作者的前置)。
- 官方部署目標(leo 2026-07-19 定):CF 帳號 youlin.hsieh.dev(帳號=環境模型第三格:uncle6=demoleo21c=dogfoodyoulin.hsieh.dev=官方 registry);`arcrun.dev` zone 現在 uncle6,啟用時 registry 子域指向/搬遷=leo dashboard 一步。