Activity · 限制
測試版限制與已知缺口
Activity 已有 repository-verified core 與 canonical beta contract,但尚未具備 production-ready infrastructure claim 所需的 packaging、enforced budget、operational objective 與 downstream proof。
已公開的契約限制
| Surface | 目前契約 |
|---|---|
| Timeline、profile 與 comment page size | 1 到 100,預設 50 |
| Gateway timestamp tolerance | 預設 300 秒,可依 deployment 設定 |
| Tenant selection | x-tenant-id 內一個簽署後的 UUID |
| Actor selection | x-actor-id 內一個簽署後的非空值 |
| Post visibility | public、followers 或 private |
| Timeline order | ranked_at DESC,再依 entry UUID 反向排序 |
| Public API style | 僅提供 signed HTTP,沒有 public WebSocket |
這些是契約屬性,不是 managed-service quota 或 service objective。
尚未建立的 enforced budget
Activity 尚未公開以下 ceiling 或 rate budget:
- 每個 actor 或 tenant 的 request 數
- Post、comment、metadata 或 render reference payload size
- 每位 actor 的 follower 數或 fan-out batch size
- Concurrent job 或 queue depth
- Fan-out 或 counter convergence 的最長延遲
- Rebuild duration 或 recovery throughput
Client 不應自行假設這些數值。Deployment 仍可能受到 framework、database 或 infrastructure limit 影響,但這些不是可攜的 Activity 契約。
Retry 與 consistency 邊界
Publish 接受選填的 caller-supplied idempotency_key。在同一個 tenant 與 actor 範圍內重試時沿用相同 key,即可避免重複建立 post。Activity 尚未定義全域 retry budget、backoff schedule 或 public replay API。
Fan-out 與 counter aggregation 會非同步執行。Repository test 已驗證其 retry 後的收斂行為,但沒有公開的 latency objective。Rebuild 是內部 viewer-scoped worker,沒有 customer HTTP trigger。
Product model 缺口
| Area | 目前缺口 |
|---|---|
| Follow policy | 沒有 protected account 或 follow request |
| Post lifecycle | 沒有 public visibility change 或 restore operation |
| Moderation | 已有 report,但沒有 review 與 moderation transition |
| Rich content | render_refs 沒有正式的 mention、media 與 link validation |
| Share | Attribution 與 nested rendering rule 仍在 hardening |
| Host event | 已有 outbox row,但沒有 webhook delivery 與 retry policy |
| Data lifecycle | 沒有 public retention、export、erasure 或 tenant-offboarding contract |
Activity 不負責 chat、presence、room membership、read receipt、typing indicator、recommendation policy 或 host rendering。這些是邊界,不是缺少的功能。
Authentication 與 tenant 缺口
Gateway secret 由整個 deployment 共用,不是 tenant-specific。Per-tenant key registration、明確的 secret-rotation contract 與 customer credential control plane 都尚未建立。
Tenant isolation 使用 tenant_id attribute 與 query filter,不是 schema-per-tenant isolation。Host 必須自行選擇 tenant topology,並保護 gateway signer。
Packaging 與 operations 缺口
目前沒有受支援的 SDK 或 generated client release。Production deployment manifest、published image、restore proof、alert、SLO、RPO、RTO、SLA、support policy、region 與 pricing 都尚未建立。
Local test 與 formal check 不代表已證明 production capacity 或 operational readiness。
Proof 與 adoption boundary
Repository test 與 FeedCore TLA+ model 支持本文件記載的核心 safety 與 convergence claim。目前的 boundary snapshot 沒有顯示 downstream production integration,因此 Activity 仍是契約測試版,不是 integrated 或 production-ready service。
Evidence page 會記錄已證明與尚未證明的部分。