共享狀態中心論:為什麼中央不能是某一個 AI
Shared-State Centrality: Why the Center Should Not Be a Single AI
系列 :AI 原生分散式組織系列,第 4 篇/共 10 篇系列英文名 :AI-Native Distributed Organization Series文件編號 :EML-ANDO-2026-04-v0.1作者 :Neo.K(許筌崴)with Aletheia(GPT-5.6 Sol)機構 :EveMissLab/一言諾科技有限公司版本 :v0.1日期 :2026-08-20性質 :理論框架/Shared State/Canonical Source/Distributed Agent Organization/Governance Runtime狀態 :Public Theory Draft直接前置 :《從 AI 工具到 AI 組織:操作員退出問題》v0.1;《委任主權論》v0.1;《非階層式 Agent 組織》v0.1;《Interaction-Time Runtime & Agent Temporal Ledger v0.1》Source fingerprint :見正式 source package SHA256SUMS.txt
生成與保真聲明
本文為 AI 輔助生成之理論與工程框架草稿。本文不主張已證明某種單一架構對所有 multi-agent system 都最優,也不提供新的大規模企業或 Agent runtime 實證資料。本文中的數學表達主要用於形式化狀態、權限、一致性、提交與恢復條件;若未來版本加入 benchmark、平台效能、資料一致性測試或外部文獻引用,應另行驗證與重現。
本文所稱「中央」主要指邏輯上的 canonical coordination center,不等於單一伺服器、單一資料庫、單一模型或單一治理者。核心主張是:
Logical State Centrality ≠ Physical Centralization ≠ Single-Agent Centralization . \boxed{
\text{Logical State Centrality}
\neq
\text{Physical Centralization}
\neq
\text{Single-Agent Centralization}.
} Logical State Centrality = Physical Centralization = Single-Agent Centralization .
摘要
當 AI-native 組織開始使用多個可替換 Agent、動態協作拓撲、跨模型委任與長時程 workflow 時,一個根本問題立即出現:如果每個 Agent 都只依賴自身 context、memory 或私有摘要保存「目前做到哪裡」,那麼 Agent 一旦替換、失效、斷線、壓縮上下文或彼此產生不同版本,組織就會發生狀態分裂。此時所謂的分散式組織,實際上只是多個彼此部分失憶的認知孤島。
本文提出「共享狀態中心論」(Shared-State Centrality):AI-native 組織可以是 Agent 分散、角色動態、模型可替換、執行拓撲可變的,但其可被共同引用與審計的 canonical organizational state 必須具有邏輯中心性。真正的中心不應是某一個 AI,而應是外部化、版本化、可驗證、可恢復、可權限控制的共享狀態結構。
本文定義 canonical shared organizational state:
R t = ( I t , T t , C t , E t , A t , P t , B t , V t , L t , W t ) , \mathcal R_t
=
(
I_t,
T_t,
C_t,
E_t,
A_t,
P_t,
B_t,
V_t,
L_t,
W_t
), R t = ( I t , T t , C t , E t , A t , P t , B t , V t , L t , W t ) ,
其中分別對應意圖、任務圖、主張、證據、權限、政策、預算、驗證狀態、事件/血統帳本與世界提交狀態。Agent 不應成為 source of truth,而應是 reader、reasoner、proposer、executor 與 bounded writer。其私有 context 可作為工作快取,但不應替代 canonical state。
本文進一步提出四平面架構:State Plane、Agent Plane、Governance Plane、Commit Plane。並區分「邏輯單一真實來源」與「物理單點」:canonical state 可以透過多副本、event sourcing、content-addressed artifacts、append-only ledger、資料庫交易、版本向量或其他一致性機制實現,而不要求單台中央機器。不同 state class 可採不同一致性要求:高風險 authority / commit state 需要更強一致性;低風險工作草稿可以容許 eventual consistency。
本文也提出 Shared-State Invariants、State Freshness、Canonicality Ratio、State Divergence、Recovery Completeness、Agent Replaceability 與 Commit Integrity 等診斷量,並描述 stale-state execution、split-brain authority、memory capture、summary drift、orphan artifact、hidden mutation 與 state poisoning 等失敗模式。
本文最後指出:如果 AI-native organization 希望真正做到「Agent 可以一直換,但組織不能一起失憶」,那麼其核心必須從 Agent-centric architecture 轉向 State-centric architecture。這將直接使論文庫、研究圖譜、驗證紀錄、任務狀態與 artifact lineage 由靜態資料庫轉變為可持續運行的 Research Environment,並為本系列第 5 篇建立基礎。
關鍵詞 :Canonical Shared State、State-Centric Architecture、Multi-Agent Memory、Event Sourcing、Distributed State、Agent Replaceability、Organizational Memory、Authority Ledger、World Commit、Shared State Fabric
0. 核心問題:如果 Agent 一直換,什麼不能跟著消失?
第 3 篇允許:
G t → G t + 1 G_t
\rightarrow
G_{t+1} G t → G t + 1
透過:
spawn , split , merge , reroute , replace , retire \text{spawn},
\text{split},
\text{merge},
\text{reroute},
\text{replace},
\text{retire} spawn , split , merge , reroute , replace , retire
持續重組。
但如果任務狀態只存在:
C o n t e x t ( A i ) Context(A_i) C o n t e x t ( A i )
而:
A i ⇝ A j , A_i
\rightsquigarrow
A_j, A i ⇝ A j ,
則:
S t a t e ( A i ) ⇏ S t a t e ( A j ) . State(A_i)
\not\Rightarrow
State(A_j). S t a t e ( A i ) ⇒ S t a t e ( A j ) .
因此:
Replaceable Agents require persistent externalized state. \boxed{
\text{Replaceable Agents require persistent externalized state.}
} Replaceable Agents require persistent externalized state.
1. Agent-Centric Architecture 的問題
最直覺的 multi-agent 架構是:
A 1 ↔ A 2 ↔ A 3 . A_1
\leftrightarrow
A_2
\leftrightarrow
A_3. A 1 ↔ A 2 ↔ A 3 .
每個 Agent 各自保存:
對話記憶;
任務摘要;
對其他 Agent 的理解;
自己認為的完成狀態;
自己記得的權限。
短 run 中這可能可行。
長期組織中則容易形成:
S 1 ≠ S 2 ≠ S 3 . S_1
\neq
S_2
\neq
S_3. S 1 = S 2 = S 3 .
也就是每個 Agent 都活在略有不同的「組織現實」。
2. Shared-State Centrality
本文提出:
A i ↔ R t ↔ A j . A_i
\leftrightarrow
\mathcal R_t
\leftrightarrow
A_j. A i ↔ R t ↔ A j .
其中:
R t \mathcal R_t R t
不是某個 Agent,而是 shared canonical state。
因此:
The center is state, not personality. \boxed{
\text{The center is state, not personality.}
} The center is state, not personality.
Agent 的角色變成:
A i = R e a d ( R t ) + R e a s o n + P r o p o s e + A c t + W r i t e B o u n d e d ( R t ) . A_i
=
Read(\mathcal R_t)
+
Reason
+
Propose
+
Act
+
WriteBounded(\mathcal R_t). A i = R e a d ( R t ) + R e a so n + P r o p ose + A c t + W r i t e B o u n d e d ( R t ) .
3. Canonical Shared Organizational State
定義:
R t = ( I t , T t , C t , E t , A t , P t , B t , V t , L t , W t ) . \mathcal R_t
=
(
I_t,
T_t,
C_t,
E_t,
A_t,
P_t,
B_t,
V_t,
L_t,
W_t
). R t = ( I t , T t , C t , E t , A t , P t , B t , V t , L t , W t ) .
其中:
I t = Intent State , I_t
=
\text{Intent State}, I t = Intent State ,
T t = Task / Dependency State , T_t
=
\text{Task / Dependency State}, T t = Task / Dependency State ,
C t = Claim State , C_t
=
\text{Claim State}, C t = Claim State ,
E t = Evidence State , E_t
=
\text{Evidence State}, E t = Evidence State ,
A t = Authority State , A_t
=
\text{Authority State}, A t = Authority State ,
P t = Policy State , P_t
=
\text{Policy State}, P t = Policy State ,
B t = Budget / Resource State , B_t
=
\text{Budget / Resource State}, B t = Budget / Resource State ,
V t = Verification State , V_t
=
\text{Verification State}, V t = Verification State ,
L t = Lineage / Event Ledger , L_t
=
\text{Lineage / Event Ledger}, L t = Lineage / Event Ledger ,
W t = World-Commit State . W_t
=
\text{World-Commit State}. W t = World-Commit State .
這些 state class 不必物理儲存在同一資料庫,但必須形成同一個可解析的 canonical organizational reality。
4. 邏輯中心不等於物理中心
區分:
C L = Logical Centrality , C_L
=
\text{Logical Centrality}, C L = Logical Centrality ,
C P = Physical Centralization , C_P
=
\text{Physical Centralization}, C P = Physical Centralization ,
C A = Agent Centralization . C_A
=
\text{Agent Centralization}. C A = Agent Centralization .
一個系統可以滿足:
C L high , C_L
\text{ high}, C L high ,
但:
C P low C_P
\text{ low} C P low
且:
C A low . C_A
\text{ low}. C A low .
也就是:
所有節點知道哪個版本算正式,不表示正式資料只能放一台機器,更不表示只有一個 AI 能理解與修改它。
5. Source of Truth 與 Source of Intelligence
Source of Truth ≠ Source of Intelligence . \boxed{
\text{Source of Truth}
\neq
\text{Source of Intelligence}.
} Source of Truth = Source of Intelligence .
最強模型可以負責最複雜推理,但不應因此成為:
Canonical Memory . \text{Canonical Memory}. Canonical Memory .
因為:
模型會替換;
context 會截斷;
memory 會摘要;
provider 會改;
session 會消失;
reasoning result 可能出錯。
因此:
Model Context = Working Memory / Cache , \boxed{
\text{Model Context}
=
\text{Working Memory / Cache},
} Model Context = Working Memory / Cache ,
而不是:
Canonical State . \text{Canonical State}. Canonical State .
6. 四平面架構
6.1 State Plane
保存:
R t . \mathcal R_t. R t .
回答:
現在正式狀態是什麼?
6.2 Agent Plane
包含:
A t = { A 1 , A 2 , … , A n } . \mathcal A_t
=
\{
A_1,A_2,\ldots,A_n
\}. A t = { A 1 , A 2 , … , A n } .
回答:
現在哪些智能節點可以工作?
6.3 Governance Plane
保存:
Γ t , A t , P t . \Gamma_t,
A_t,
P_t. Γ t , A t , P t .
回答:
誰可以做什麼?什麼情況需要批准、撤銷或 escalation?
6.4 Commit Plane
控制:
C a n d i d a t e → V e r i f i e d → C o m m i t t e d . Candidate
\rightarrow
Verified
\rightarrow
Committed. C an d i d a t e → V er i f i e d → C o mmi tt e d .
回答:
哪些只是草稿?哪些已驗證?哪些已對外生效?
7. Shared State 不是一個超巨大 JSON
共享狀態可寫為:
R t = ⋃ k = 1 m R t ( k ) . \mathcal R_t
=
\bigcup_{k=1}^{m}
R_t^{(k)}. R t = k = 1 ⋃ m R t ( k ) .
不同 state class 可使用不同 backend:
task state:relational DB / graph;
artifact:object store;
event:append-only ledger;
authority:transactional store;
research claim:knowledge graph;
provenance:content-addressed manifest;
temporary cache:KV。
因此:
Canonicality is semantic, not a file format. \boxed{
\text{Canonicality is semantic, not a file format.}
} Canonicality is semantic, not a file format.
8. Event-Sourced Organizational Memory
一種自然做法是將狀態改變記為事件:
e 1 , e 2 , … , e n . e_1,e_2,\ldots,e_n. e 1 , e 2 , … , e n .
並令:
R t = F o l d ( R 0 , e 1 , e 2 , … , e n ) . \mathcal R_t
=
Fold(
\mathcal R_0,
e_1,
e_2,
\ldots,
e_n
). R t = F o l d ( R 0 , e 1 , e 2 , … , e n ) .
事件可包括:
T a s k C r e a t e d , T a s k A s s i g n e d , C l a i m A d d e d , E v i d e n c e L i n k e d , A u t h o r i t y G r a n t e d , A u t h o r i t y R e v o k e d , V a l i d a t i o n P a s s e d , A r t i f a c t C o m m i t t e d . TaskCreated,
TaskAssigned,
ClaimAdded,
EvidenceLinked,
AuthorityGranted,
AuthorityRevoked,
ValidationPassed,
ArtifactCommitted. T a s k C r e a t e d , T a s k A ss i g n e d , C l aim A dd e d , E v i d e n ce L ink e d , A u t h or i t y G r an t e d , A u t h or i t y R e v o k e d , V a l i d a t i o n P a sse d , A r t i f a c tC o mmi tt e d .
本文不主張 event sourcing 是唯一方案,而要求:
State mutation must be attributable and sufficiently reconstructable for its risk class. \boxed{
\text{State mutation must be attributable and sufficiently reconstructable for its risk class.}
} State mutation must be attributable and sufficiently reconstructable for its risk class.
9. 狀態版本與 stale write
令:
v t = V e r s i o n ( R t ) . v_t
=
Version(\mathcal R_t). v t = V er s i o n ( R t ) .
Agent 讀取:
v i . v_i. v i .
提交前檢查:
v i = v c u r r e n t . v_i
=
v_{current}. v i = v c u r r e n t .
若:
v i ≠ v c u r r e n t , v_i
\neq
v_{current}, v i = v c u r r e n t ,
則需要:
R e b a s e , M e r g e , R e j e c t , R e t r y Rebase,
Merge,
Reject,
Retry R e ba se , M er g e , R e j ec t , R e t r y
之一。
這避免舊版本 Agent 直接覆蓋新狀態。
10. State Freshness
Agent 在:
t 0 t_0 t 0
讀取:
S t 0 , S_{t_0}, S t 0 ,
但到:
t 1 t_1 t 1
才執行。
此時可能:
S t 1 ≠ S t 0 . S_{t_1}
\neq
S_{t_0}. S t 1 = S t 0 .
定義:
Δ S = t c u r r e n t − t r e a d . \Delta_S
=
t_{current}
-
t_{read}. Δ S = t c u r r e n t − t r e a d .
或概念上的:
F S = F r e s h n e s s ( S ) . F_S
=
Freshness(S). F S = F r es hn ess ( S ) .
高風險 action 應要求:
F S ≥ F ⋆ . F_S
\ge
F^\star. F S ≥ F ⋆ .
11. Typed Consistency
不是所有 state 都需要同樣的一致性。
例如:
K ( R d r a f t ) = E v e n t u a l C o n s i s t e n c y , K(R^{draft})
=
EventualConsistency, K ( R d r a f t ) = E v e n t u a l C o n s i s t e n cy ,
而:
K ( R a u t h o r i t y ) = S t r o n g C o n s i s t e n c y K(R^{authority})
=
StrongConsistency K ( R a u t h or i t y ) = S t r o n g C o n s i s t e n cy
可能更合理。
同理,高影響 financial / legal commit 可以要求比 telemetry 更嚴格的一致性。
因此:
K : S t a t e C l a s s → C o n s i s t e n c y R e q u i r e m e n t . K:
StateClass
\rightarrow
ConsistencyRequirement. K : S t a t e C l a ss → C o n s i s t e n cy R e q u i r e m e n t .
這比「全部強一致」或「全部 eventual」更適合異質 Agent 組織。
12. Authority Split Brain
最危險的狀態分裂之一是:
A 1 : A u t h o r i t y ( X ) = G r a n t e d , A_1:
Authority(X)=Granted, A 1 : A u t h or i t y ( X ) = G r an t e d ,
而:
A 2 : A u t h o r i t y ( X ) = R e v o k e d . A_2:
Authority(X)=Revoked. A 2 : A u t h or i t y ( X ) = R e v o k e d .
此時形成:
Authority Split Brain . \boxed{
\text{Authority Split Brain}.
} Authority Split Brain .
所以:
A t A_t A t
必須比一般 draft state 有更高一致性與傳播要求。
13. Model Memory 只能是 Cache
對任一 Agent:
M i = private memory / context . M_i
=
\text{private memory / context}. M i = private memory / context .
更合理的關係是:
M i = C a c h e i ( R t ) + P r i v a t e S c r a t c h i . M_i
=
Cache_i(\mathcal R_t)
+
PrivateScratch_i. M i = C a c h e i ( R t ) + P r i v a t e S cr a t c h i .
PrivateScratch 可以不共享。
但一旦某結果要影響組織:
P r i v a t e S c r a t c h → P r o p o s a l → C a n o n i c a l W r i t e . PrivateScratch
\rightarrow
Proposal
\rightarrow
CanonicalWrite. P r i v a t e S cr a t c h → P r o p os a l → C an o ni c a l W r i t e .
所以:
Private Memory ≠ Organizational Memory . \boxed{
\text{Private Memory}
\neq
\text{Organizational Memory}.
} Private Memory = Organizational Memory .
14. Summary Drift
若 handoff 只依賴:
S → S u m m a r y 1 → S u m m a r y 2 → S u m m a r y 3 , S
\rightarrow
Summary_1
\rightarrow
Summary_2
\rightarrow
Summary_3, S → S u mma r y 1 → S u mma r y 2 → S u mma r y 3 ,
每一次都可能損失資訊。
長鏈容易形成:
Summary Drift . \text{Summary Drift}. Summary Drift .
Shared state 的目的之一,就是避免讓自然語言摘要單獨承擔 canonical memory。
15. Claim-Evidence State
研究組織中特別重要的是:
C t C_t C t
與:
E t . E_t. E t .
不能只保存文章全文,而應保存:
C l a i m ↔ E v i d e n c e ↔ V e r i f i c a t i o n ↔ A r t i f a c t . Claim
\leftrightarrow
Evidence
\leftrightarrow
Verification
\leftrightarrow
Artifact. C l aim ↔ E v i d e n ce ↔ V er i f i c a t i o n ↔ A r t i f a c t .
例如:
c i = ( text , type , source , confidence , status , dependencies ) . c_i
=
(
\text{text},
\text{type},
\text{source},
\text{confidence},
\text{status},
\text{dependencies}
). c i = ( text , type , source , confidence , status , dependencies ) .
如此 Agent 才能分辨:
已驗證事實;
外部引用;
數學猜想;
未驗證推論;
AI 生成 candidate。
16. Artifact Lineage
每個 artifact:
a j a_j a j
應可追溯:
I n p u t s ( a j ) , A g e n t ( a j ) , V e r s i o n ( a j ) , V a l i d a t i o n ( a j ) , P a r e n t ( a j ) . Inputs(a_j),
Agent(a_j),
Version(a_j),
Validation(a_j),
Parent(a_j). I n p u t s ( a j ) , A g e n t ( a j ) , V er s i o n ( a j ) , V a l i d a t i o n ( a j ) , P a r e n t ( a j ) .
因此:
L ( a j ) = artifact lineage . L(a_j)
=
\text{artifact lineage}. L ( a j ) = artifact lineage .
這使論文、程式、圖片、測試報告與社群內容都能保留生成鏈。
17. Content Addressability
對 immutable artifact:
h ( a ) = H a s h ( a ) . h(a)
=
Hash(a). h ( a ) = H a s h ( a ) .
以:
h ( a ) h(a) h ( a )
作為內容身份的一部分。
這不表示所有系統都必須使用 blockchain,而只是:
Content identity can be separated from location and agent identity. \boxed{
\text{Content identity can be separated from location and agent identity.}
} Content identity can be separated from location and agent identity.
18. Agent Replaceability
令任務:
τ \tau τ
原由:
A i A_i A i
執行。
若:
A i ⇝ A j , A_i
\rightsquigarrow
A_j, A i ⇝ A j ,
定義恢復品質:
Q R = Q ( R e s u m e ( A j ∣ R t ) ) . Q_R
=
Q(
Resume(A_j|\mathcal R_t)
). Q R = Q ( R es u m e ( A j ∣ R t )) .
若:
Q R ≥ Q ⋆ , Q_R
\ge
Q^\star, Q R ≥ Q ⋆ ,
則該任務具有可接受 replaceability。
19. Recovery Completeness
定義:
R C = ∣ recoverable required state ∣ ∣ required state ∣ + ϵ . RC
=
\frac{
|\text{recoverable required state}|
}{
|\text{required state}|+\epsilon
}. R C = ∣ required state ∣ + ϵ ∣ recoverable required state ∣ .
理想:
R C → 1. RC
\rightarrow1. R C → 1.
如果 Agent crash 後:
任務狀態找不到;
權限不清;
最新 artifact 不知道在哪;
validator 結果遺失;
則:
R C ≪ 1. RC
\ll1. R C ≪ 1.
20. Canonicality Ratio
定義:
C R = ∣ decision-relevant state represented canonically ∣ ∣ decision-relevant state ∣ + ϵ . CR
=
\frac{
|\text{decision-relevant state represented canonically}|
}{
|\text{decision-relevant state}|+\epsilon
}. C R = ∣ decision-relevant state ∣ + ϵ ∣ decision-relevant state represented canonically ∣ .
若:
C R → 1 , CR\rightarrow1, C R → 1 ,
重要組織狀態大多可以共同解析。
若:
C R ≪ 1 , CR\ll1, C R ≪ 1 ,
組織仍高度依賴:
某個 Agent 還記得。
21. State Divergence
令:
R ^ t ( i ) \widehat{\mathcal R}_t^{(i)} R t ( i )
為 Agent A i A_i A i 的局部視圖。
定義概念上的:
D S ( i ) = d ( R ^ t ( i ) , R t ) . D_S^{(i)}
=
d(
\widehat{\mathcal R}_t^{(i)},
\mathcal R_t
). D S ( i ) = d ( R t ( i ) , R t ) .
整體:
D S = 1 n ∑ i = 1 n D S ( i ) . D_S
=
\frac{1}{n}
\sum_{i=1}^{n}
D_S^{(i)}. D S = n 1 i = 1 ∑ n D S ( i ) .
實作時可以依 state class 使用不同 metric。
22. Hidden Mutation
若 Agent 直接修改 canonical state,卻沒有:
A c t o r , T i m e s t a m p , R e a s o n , P a r e n t V e r s i o n , A u t h o r i t y , V a l i d a t i o n , Actor,
Timestamp,
Reason,
ParentVersion,
Authority,
Validation, A c t or , T im es t am p , R e a so n , P a r e n t V er s i o n , A u t h or i t y , V a l i d a t i o n ,
則形成:
Hidden Mutation . \text{Hidden Mutation}. Hidden Mutation .
高價值 mutation 至少應滿足:
M u t a t i o n → A t t r i b u t i o n + L i n e a g e + A u t h o r i t y + V e r s i o n . Mutation
\rightarrow
Attribution
+
Lineage
+
Authority
+
Version. M u t a t i o n → A tt r ib u t i o n + L in e a g e + A u t h or i t y + V er s i o n .
23. State Poisoning
共享狀態也有一個新的危險:
錯誤一旦被寫成 canonical,所有 Agent 都可能共同相信它。
因此:
Shared State amplifies both truth and error. \boxed{
\text{Shared State amplifies both truth and error.}
} Shared State amplifies both truth and error.
所以 canonical write 應依內容 class 決定:
W r i t e C l a s s , V a l i d a t i o n C l a s s , R o l l b a c k P o l i c y . WriteClass,
ValidationClass,
RollbackPolicy. W r i t e C l a ss , V a l i d a t i o n C l a ss , R o l l ba c k P o l i cy .
24. Provisional 與 Canonical 必須分離
定義:
S p r o p = provisional state , S^{prop}
=
\text{provisional state}, S p r o p = provisional state ,
S c a n = canonical state . S^{can}
=
\text{canonical state}. S c an = canonical state .
任何 Agent 都可以產生:
Δ S p r o p . \Delta S^{prop}. Δ S p r o p .
但只有通過 policy 的狀態才可以:
Δ S p r o p → Δ S c a n . \Delta S^{prop}
\rightarrow
\Delta S^{can}. Δ S p r o p → Δ S c an .
因此:
Agent Output ≠ Organizational Truth . \boxed{
\text{Agent Output}
\neq
\text{Organizational Truth}.
} Agent Output = Organizational Truth .
25. Commit Semantics
沿用 ITR/ATL:
I n t e n t → P l a n → R u n → V a l i d a t i o n → C o m p l e t i o n → C o m m i t . Intent
\rightarrow
Plan
\rightarrow
Run
\rightarrow
Validation
\rightarrow
Completion
\rightarrow
Commit. I n t e n t → P l an → R u n → V a l i d a t i o n → C o m pl e t i o n → C o mmi t .
共享狀態應清楚區分:
C a n d i d a t e , V a l i d a t e d , C o m m i t t e d , P u b l i s h e d , A r c h i v e d . Candidate,
Validated,
Committed,
Published,
Archived. C an d i d a t e , V a l i d a t e d , C o mmi tt e d , P u b l i s h e d , A r c hi v e d .
尤其:
C o m m i t t e d ≠ P u b l i s h e d . Committed
\neq
Published. C o mmi tt e d = P u b l i s h e d .
內部 canonical commit 不必等於對外公開。
26. Shared-State Invariants
本文提出第一代不變量。
Invariant 1
C a n o n i c a l M u t a t i o n ⇒ L o g g e d . CanonicalMutation
\Rightarrow
Logged. C an o ni c a l M u t a t i o n ⇒ L o g g e d .
Invariant 2
W o r l d A c t i o n ⇒ A u t h o r i t y L i n e a g e . WorldAction
\Rightarrow
AuthorityLineage. W or l d A c t i o n ⇒ A u t h or i t y L in e a g e .
Invariant 3
C o m m i t ⇒ P a r e n t V e r s i o n . Commit
\Rightarrow
ParentVersion. C o mmi t ⇒ P a r e n t V er s i o n .
Invariant 4
非 root Agent 不應成為唯一 state holder。
Invariant 5
P r o p o s a l ≠ C a n o n i c a l . Proposal
\neq
Canonical. P r o p os a l = C an o ni c a l .
Invariant 6
高價值 state 必須存在可接受 recovery path。
Invariant 7
authority revocation 必須快速傳播至相關 Agent。
Invariant 8
world commit 必須可追溯:
A g e n t , P o l i c y , A u t h o r i t y , S o u r c e A r t i f a c t . Agent,
Policy,
Authority,
SourceArtifact. A g e n t , P o l i cy , A u t h or i t y , S o u r ce A r t i f a c t .
27. Canonical 不等於絕對真理
Shared-state centrality 最危險的誤用,是把:
R t \mathcal R_t R t
當成不可挑戰的神諭。
本文明確區分:
Canonicality ≠ Epistemic Infallibility . \boxed{
\text{Canonicality}
\neq
\text{Epistemic Infallibility}.
} Canonicality = Epistemic Infallibility .
Canonical 只表示:
這是組織目前正式採用的版本。
因此仍必須允許:
C h a l l e n g e , C o r r e c t i o n , D e p r e c a t i o n , R o l l b a c k , F o r k . Challenge,
Correction,
Deprecation,
Rollback,
Fork. C ha l l e n g e , C or r ec t i o n , D e p r ec a t i o n , R o l l ba c k , F or k .
28. Canonical Fork
在真正爭議尚未解決時,可以形成:
R t ( a ) , R t ( b ) . \mathcal R_t^{(a)},
\mathcal R_t^{(b)}. R t ( a ) , R t ( b ) .
但必須明示:
S t a t u s = F o r k e d . Status
=
Forked. S t a t u s = F or k e d .
避免兩個分支都假裝自己是唯一真實狀態。
最後可:
M e r g e , S e l e c t , A r c h i v e . Merge,
Select,
Archive. M er g e , S e l ec t , A r c hi v e .
29. 從 Corpus 到 Research Environment
普通論文庫主要回答:
有哪些文章?
Research Environment 則需要回答:
哪些研究線仍活躍?
哪些 claim 未驗證?
哪些文章彼此依賴?
哪些數學命題等待形式驗證?
哪些引用需要更新?
哪些 artifact 完成但未 publish?
哪些 Agent 正處理哪個 branch?
哪些工作可平行?
哪些問題需要 human governance?
因此:
Corpus + State + Graph + Verification + Runtime = Research Environment . \boxed{
\text{Corpus}
+
\text{State}
+
\text{Graph}
+
\text{Verification}
+
\text{Runtime}
=
\text{Research Environment}.
} Corpus + State + Graph + Verification + Runtime = Research Environment .
30. State-Centric Organization
本文最終提出:
Agent-Centric Organization → State-Centric Organization . \text{Agent-Centric Organization}
\rightarrow
\text{State-Centric Organization}. Agent-Centric Organization → State-Centric Organization .
Agent-centric 模式關心:
誰記得?
State-centric 模式關心:
現在 canonical 地知道什麼?由誰產生?證據是什麼?狀態是什麼?誰驗證過?
因此 Agent 成為:
Replaceable Intelligence over Persistent Organizational State . \boxed{
\text{Replaceable Intelligence over Persistent Organizational State}.
} Replaceable Intelligence over Persistent Organizational State .
31. 第一代診斷向量
定義:
Z S = ( C R , D S , R C , F S , Q R , Q L , Q C , R s p l i t , R p o i s o n ) . \mathbf Z_S
=
(
CR,
D_S,
RC,
F_S,
Q_R,
Q_L,
Q_C,
R_{split},
R_{poison}
). Z S = ( C R , D S , R C , F S , Q R , Q L , Q C , R s pl i t , R p o i so n ) .
其中:
C R CR C R :Canonicality Ratio;
D S D_S D S :State Divergence;
R C RC R C :Recovery Completeness;
F S F_S F S :State Freshness;
Q R Q_R Q R :Replaceability / Resume Quality;
Q L Q_L Q L :Lineage Quality;
Q C Q_C Q C :Commit Integrity;
R s p l i t R_{split} R s pl i t :Split-Brain Risk;
R p o i s o n R_{poison} R p o i so n :State Poisoning Risk。
32. 可檢驗命題
命題一:Externalized-State Replaceability
若 decision-relevant state 被充分 externalize,Agent replacement 的恢復品質應提高。
命題二:Canonicality-Divergence Relation
在相同工作負載下,提高:
C R CR C R
應降低:
D S D_S D S
至某一合理區間。
命題三:Summary-Only Degradation
只依賴自然語言 handoff summary 的長鏈 Agent 系統,在 chain depth 增加時更容易發生 state drift。
命題四:Typed Consistency Advantage
依 state class 配置不同一致性要求,比全域統一採最強或最弱一致性更可能取得合理成本與安全折衷。
命題五:Shared-State Error Amplification
canonical state 一旦被錯誤污染,其影響節點數通常高於私有 memory error,因此 canonical write 應具有更嚴格 verification contract。
命題六:State-Centric Continuity
若:
R t \mathcal R_t R t
保持完整,即使:
A t \mathcal A_t A t
大量替換,組織 continuity 仍可維持。
33. 第一代實驗設計
33.1 Agent Replacement Test
比較:
P r i v a t e M e m o r y O n l y PrivateMemoryOnly P r i v a t e M e m or y O n l y
與:
C a n o n i c a l S h a r e d S t a t e . CanonicalSharedState. C an o ni c a l S ha r e d S t a t e .
測量:
R e s u m e L a t e n c y , Q R , R C . ResumeLatency,
Q_R,
RC. R es u m e L a t e n cy , Q R , R C .
33.2 Long-Handoff Drift Test
讓:
A 1 → A 2 → ⋯ → A n A_1
\rightarrow
A_2
\rightarrow
\cdots
\rightarrow
A_n A 1 → A 2 → ⋯ → A n
只靠 summary relay,再與 shared-state 版本比較。
33.3 Authority Revocation Propagation
撤銷 authority,測量所有受影響 Agent 收到新狀態所需時間。
33.4 State Poisoning Injection
故意寫入錯誤 claim,測試 validator、rollback、lineage 與 affected-agent detection。
33.5 Split-Brain Simulation
製造:
R ( a ) ≠ R ( b ) \mathcal R^{(a)}
\neq
\mathcal R^{(b)} R ( a ) = R ( b )
並測試 conflict resolution。
33.6 Model Provider Swap
不保留原 session context,直接更換模型,測試能否從:
R t \mathcal R_t R t
恢復工作。
34. 與前三篇的閉合
第 1 篇:
H u m a n O p e r a t o r → O p e r a t i o n a l E x i t . HumanOperator
\rightarrow
OperationalExit. H u man O p er a t or → O p er a t i o na l E x i t .
第 2 篇:
D e l e g a t i o n + R e t a i n e d S o v e r e i g n t y . Delegation
+
RetainedSovereignty. D e l e g a t i o n + R e t ain e d S o v er e i g n t y .
第 3 篇:
P e r m a n e n t T r e e → D y n a m i c G r a p h . PermanentTree
\rightarrow
DynamicGraph. P er man e n tT r ee → D y nami c G r a p h .
本篇補上:
D y n a m i c G r a p h + R e p l a c e a b l e A g e n t s ⇒ C a n o n i c a l S h a r e d S t a t e . DynamicGraph
+
ReplaceableAgents
\Rightarrow
CanonicalSharedState. D y nami c G r a p h + R e pl a ce ab l e A g e n t s ⇒ C an o ni c a l S ha r e d S t a t e .
因此目前形成:
Operator Exit → Delegated Sovereignty → Dynamic Topology → Shared State . \boxed{
\text{Operator Exit}
\rightarrow
\text{Delegated Sovereignty}
\rightarrow
\text{Dynamic Topology}
\rightarrow
\text{Shared State}.
} Operator Exit → Delegated Sovereignty → Dynamic Topology → Shared State .
35. 與下一篇的接口
只要:
R t \mathcal R_t R t
可以保存:
research claims;
evidence;
theory dependencies;
paper lineage;
active tasks;
verification state;
unresolved branches;
論文庫就不再只是被查詢的資料集合。
它開始成為:
Executable Research Environment . \boxed{
\text{Executable Research Environment}.
} Executable Research Environment .
下一篇將處理:
分散式認知研究組織:論文庫如何從 Corpus 變成 Research Environment
其核心轉換是:
Knowledge Base → Research State → Research Organization . \boxed{
\text{Knowledge Base}
\rightarrow
\text{Research State}
\rightarrow
\text{Research Organization}.
} Knowledge Base → Research State → Research Organization .
36. 理論限制
第一,shared state 本身可能形成新的單點故障,因此需要 replication、backup、permission separation 與 recovery strategy。
第二,不同資料類型的一致性需求很難一次正確設定;過強一致性可能降低效能,過弱則造成治理錯誤。
第三,externalization 不是免費的。把 private reasoning 全部結構化可能成本過高,因此必須區分必要 canonical state 與可拋棄 scratch state。
第四,資料模型若設計不良,可能把研究與創造力過度形式化。
第五,canonical state 仍可能錯誤。它只是正式版本,不是絕對真理。
第六,本文不要求保存模型私有 chain-of-thought;組織需要保存的是可治理、可驗證、可追溯的 decision-relevant state。
37. 結論
AI-native 分散式組織真正需要的「中央」,不是一個永遠在線、永遠記得全部事情、永遠負責路由所有 Agent 的超級 AI。
真正需要的是:
A canonical, externalized, versioned, auditable shared state. \boxed{
\text{A canonical, externalized, versioned, auditable shared state.}
} A canonical, externalized, versioned, auditable shared state.
因此:
The organization may be decentralized in agency while centralized in canonical reference. \boxed{
\text{The organization may be decentralized in agency while centralized in canonical reference.}
} The organization may be decentralized in agency while centralized in canonical reference.
更精確地說:
Logical State Centrality + Distributed Intelligence + Distributed Execution + Bounded Governance \boxed{
\text{Logical State Centrality}
+
\text{Distributed Intelligence}
+
\text{Distributed Execution}
+
\text{Bounded Governance}
} Logical State Centrality + Distributed Intelligence + Distributed Execution + Bounded Governance
可以同時成立。
Agent 可以一直換:
A 1 ⇝ A 2 ⇝ A 3 . A_1
\rightsquigarrow
A_2
\rightsquigarrow
A_3. A 1 ⇝ A 2 ⇝ A 3 .
角色可以一直變:
R o l e t ( A i ) ≠ R o l e t + 1 ( A i ) . Role_t(A_i)
\neq
Role_{t+1}(A_i). R o l e t ( A i ) = R o l e t + 1 ( A i ) .
拓撲可以一直重組:
G t ≠ G t + 1 . G_t
\neq
G_{t+1}. G t = G t + 1 .
但:
R t \boxed{
\mathcal R_t
} R t
必須維持可追溯 continuity。
這就是從「很多 AI 一起工作」走向「可持續存在的 AI-native organization」的關鍵。
而當共享狀態開始包含研究 claim、證據、理論依賴、未解問題與驗證狀態時:
論文庫不再只是庫,而開始變成會運行的研究環境。 \boxed{
\text{論文庫不再只是庫,而開始變成會運行的研究環境。}
} 論文庫不再只是庫,而開始變成會運行的研究環境。
符號表
符號
定義
R t \mathcal R_t R t
canonical shared organizational state
I t I_t I t
Intent State
T t T_t T t
Task / Dependency State
C t C_t C t
Claim State
E t E_t E t
Evidence State
A t A_t A t
Authority State
P t P_t P t
Policy State
B t B_t B t
Budget / Resource State
V t V_t V t
Verification State
L t L_t L t
Lineage / Event Ledger
W t W_t W t
World-Commit State
C L C_L C L
Logical Centrality
C P C_P C P
Physical Centralization
C A C_A C A
Agent Centralization
M i M_i M i
Agent private memory / context
Δ S \Delta_S Δ S
State Staleness
F S F_S F S
State Freshness
S p r o p S^{prop} S p r o p
Provisional State
S c a n S^{can} S c an
Canonical State
R C RC R C
Recovery Completeness
C R CR C R
Canonicality Ratio
D S D_S D S
State Divergence
Q R Q_R Q R
Agent Resume / Replaceability Quality
前置依賴
Neo.K with Aletheia,《從 AI 工具到 AI 組織:操作員退出問題》v0.1,2026。
Neo.K with Aletheia,《委任主權論:高 AI 自主與高人類主權能否共存》v0.1,2026。
Neo.K with Aletheia,《非階層式 Agent 組織:從管理樹到動態協作圖》v0.1,2026。
Neo.K,《互動時間拓撲:平行 Agent、偏序因果與不可約互動深度》v0.1,2026。
Neo.K,《委任時間論:自主 Agent、人類介入密度與治理槓桿》v0.1,2026。
Neo.K,《AI 單次品質論:意圖忠實度、過程品質、完成度與結果品質》v0.1,2026。
Neo.K,《Interaction-Time Runtime & Agent Temporal Ledger v0.1》,2026。
版本紀錄
v0.1 / 2026-08-20 :建立 Shared-State Centrality、Canonical Shared Organizational State、四平面架構、邏輯中心/物理中心/Agent 中心分離、typed consistency、state freshness、state divergence、recovery completeness、canonicality ratio、state poisoning 與 Shared-State Invariants。