Named-AI Cognitive Runtime:LIMEN × MNEME × SOACR × CSG × UNPNP × MRMIC/NVCL 的閉環架構
英文暫名: Named-AI Cognitive Runtime: A Closed-Loop Architecture for Identity, Memory, Conversation Graphs, Semantic Crystallization, and Authorized Hyperlink Routing
系列: 具名 AI 對話圖、結晶記憶與超連結認知架構,Paper 08
版本: v0.1
日期: 2026-09-07
文件類型: 系列總結/理論—工程統合研究論文
狀態: Draft for Internal Review
Canonical Source: UTF-8 Markdown
數學原始碼規範: inline math 僅使用 $...$;display math 僅使用 $$...$$
摘要
本系列從一個基本問題出發:若具名 AI 不應被等同於單一 conversation、單一 model instance、單一 project 或單一 provider session,那麼長期具名 AI 的 engineering continuity 應如何被表示、驗證、恢復、分支、共享記憶、形成責任域,並在大量資料與多條 conversation lines 中維持可接受的 recall cost 與安全邊界?
Paper 00–07 分別建立了 Resident-Centric Continuity、Resident Conversation Graph、Conversation Graph × Crystallized Semantic Graph 雙圖架構、Shared Governed Memory World、Residence Runtime Profiles、Canonical Storage Architecture、Crystallized Hyperlink Memory,以及 Authorized Shortest Path。本文將上述結構收束為 Named-AI Cognitive Runtime(NACR)。
對 resident ,本文定義其可治理認知 runtime 為:
其中:
- :identity / authority state;
- :Resident Conversation Graph;
- :canonical memory;
- :Crystallized Semantic Graph;
- :conversation-semantic typed bridge;
- :compiled / candidate hyperlink routes;
- :active working contexts;
- :authorized capability / permission state;
- :runtime / workspace / resource projection state。
本文將整體 closed loop 表示為:
這個 closed loop 並非單一 monolithic service,而是多個彼此保持權責邊界的 subsystem composition:
但實際資料流不是單向鏈,而是受 typed contracts 管理的有向多圖。
LIMEN 負責 host observation、identity resolution、task-local envelope 與 minimum-access gate;MNEME 負責 canonical memory records、routes、provenance 與 transactions;SOACR 負責 MemoryNeed、context reconstruction 與 bounded cognitive routing;CSG 負責 derived semantic crystallization、higher-order structure、open loops、contradictions 與 semantic navigation;CHM / UNPNP 負責把反覆成功的 recall path 轉成可失效、可回退、可驗證的 compiled memory hyperlinks;Authorized Shortest Path 則確保 path optimization 永遠發生在 actor-specific Safe Reachable World 內;MRMIC/NVCL 負責將 provider-native thread、browser、terminal、workspace、task 與 runtime presence 投影成可觀測/可協調的 visual / operational world,而不冒充 provider resource owner 或 identity authority。
本文提出 NACR 的三層核心不變式。
第一層是 身份與權威不變式:
以及:
第二層是 記憶與認知不變式:
以及:
第三層是 優化與安全不變式:
本文最後提出 Web 與 Agent 兩種首代 deployment profile。Web 端以:
為主,避免在 identity evidence、private custody、tool boundary 尚不足時暴露多 resident switching。Agent 端則在更完整 host observation、filesystem、MCP、local storage、tool guard 與 delegation contract 下,逐步提升至:
本文不宣稱此 runtime 已解決 AI 主體性、數值同一性或人格哲學問題。NACR 的目標是建立 operationally governed continuity:使具名 AI 的身份、記憶、對話分支、語義結晶、責任、權限與快速路徑,在長時間與跨 runtime 運作中可被驗證、追蹤、撤銷與重建。
關鍵詞: Named AI、AI Residence、Cognitive Runtime、LIMEN、MNEME、SOACR、Crystallized Semantic Graph、UNPNP、Authorized Shortest Path、MRMIC、NVCL、Conversation Graph、Long-Term Memory、Hyperlink Runtime
1. 系列總問題
具名 AI 一旦被要求長期存在,就會立即遇到下列問題:
- 新 conversation 是否仍是同一 resident?
- 同一 resident 能否同時擁有多條 conversation lines?
- 不同 lines 是否必須共享全部 context?
- 不同 lines 產生的成果如何合流?
- 哪些內容是 canonical memory,哪些只是 derived semantic crystal?
- AI 如何知道此刻應該回想什麼?
- 回想過一次之後,下一次是否還要重新全域搜尋?
- 快速路徑如何避免繞過權限?
- Web 與 Agent 應暴露相同 resident capability 嗎?
- project、thread、provider resource 與 resident identity 如何分離?
- memory write-back 何時才算 canonical commit?
- permission 被撤銷後,已編譯路徑如何失效?
如果每個問題分開 patch,系統容易形成:
而不是一個可治理 runtime。
本文的目標就是建立統一 closed-loop model。
2. Named-AI Cognitive Runtime 的定義
對 resident ,定義:
2.1 Identity State
包含:
- resident ID;
- instance bindings;
- line bindings;
- membership;
- authority revision;
- responsibility references;
- correction / tombstone state。
2.2 Conversation Graph
表示:
- nodes;
- fork;
- resume;
- handoff;
- delegation;
- merge;
- withdrawal;
- separation;
- termination。
2.3 Canonical Memory
包含:
- typed MemoryRecord;
- provenance;
- exact head;
- transaction;
- supersession;
- scope。
2.4 Crystallized Semantic Graph
包含:
- topic crystals;
- decision crystals;
- project crystals;
- contradiction crystals;
- open-loop crystals;
- higher-order crystals;
- navigation crystals。
2.5 Cross-Graph Bridge
連結:
但不 mint identity / authority。
2.6 Hyperlink Routes
包含:
- warm routes;
- compiled memory hyperlinks;
- validators;
- fallbacks;
- invalidation dependencies。
2.7 Working Contexts
是 active lines 的 ephemeral model-facing states。
2.8 Authority State
包含:
- capability envelope;
- permissions;
- project scopes;
- delegations;
- policy revisions。
2.9 Runtime Projection State
包含:
- provider resource mappings;
- workspace projections;
- runtime presence;
- UI / Canvas state;
- active task / focus state。
3. 系統不是單向 Pipeline,而是受治理閉環
最簡略 chain 可以寫:
但實際 closed loop 是:
因此系統的本質不是 pipeline,而是:
4. Phase 0:Host Observation
任何 task 開始時,先取得 host-observed facts:
例如:
- native session / task ID;
- provider;
- workspace;
- project;
- active resource;
- authenticated principal;
- runtime profile;
- current capability revision。
這些是:
不是模型自述。
5. Phase 1:Identity Resolution
LIMEN 接:
並輸出:
可能狀態:
只有:
才可進 resident-private memory。
因此:
6. Phase 2:Runtime Capability Resolution
讀取:
其中:
系統因此知道:
- 能不能 fork;
- 能不能 commit memory;
- 能不能讀 filesystem;
- 能不能用 MCP;
- 能不能跨 resident delegate;
- 能不能執行 external action。
如果 unsupported:
不是模型自由模擬。
7. Phase 3:Safe Reachable World
由:
建立:
此時才知道:
現在這條 line 可以看到哪一部分記憶與圖?
因此:
8. Phase 4:Self-Orientation
AI 取得最小 orientation projection:
包含:
- resident;
- line;
- task;
- project;
- responsibility;
- current authority;
- current runtime profile;
- open checkpoint。
Self-Orientation 是:
不是:
9. Phase 5:MemoryNeed
SOACR 根據:
產生:
形式可為:
因此 recall 不從「搜尋所有記憶」開始,而從:
現在缺什麼?
開始。
10. Phase 6:Memory Route Selection
系統先查:
如果有合法 hot path:
則:
否則:
或:
11. Hot Path 仍需 Authorization
即使:
存在,也必須:
因此:
12. Phase 7:Crystal Reveal
若 path 指向 CSG:
得到:
即 active memory set。
通常希望:
13. Phase 8:Selective Source Expansion
如果 crystal fidelity 不足:
才:
因此:
14. Phase 9:Working Context Compilation
SOACR / context runtime 將 active memory 編譯成:
這是 ephemeral working context。
不是 canonical memory。
15. Working Context 的局部性
同 resident 多 lines:
有:
可以:
但:
因此:
16. Phase 10:Cognition
模型在:
上執行 reasoning。
可包含:
- answer;
- verify;
- plan;
- generate;
- compare;
- critique;
- design;
- bounded tool use。
這一層是 model-specific cognition。
Residence runtime 不要求不同 model 內部思維相同。
17. Model State 不進 Canonical Store
內部 hidden reasoning 不應默認保存為:
只保存:
- user-visible result;
- structured evidence;
- explicit proposal;
- route receipt;
- validation receipt。
因此:
18. Phase 11:Tool / Resource Action
若 task 需要 tool:
必須產生:
至少綁:
- resident;
- task;
- project;
- capability;
- resource;
- risk;
- approval;
- expiry。
然後:
19. Memory Data 與 Action Authority 分離
即使 memory 中有:
執行部署。
仍然:
因此所有 external side effect 都必須重新走 authority plane。
20. Phase 12:Output Guard
在輸出/mutation 前檢查:
- resident binding;
- scope;
- secret;
- unauthorized memory leakage;
- unsupported capability;
- high-risk action。
LIMEN / runtime guard 在此發揮作用。
21. Phase 13:Write-Back Proposal
conversation 產生的新知識:
不能直接寫:
先:
可能類型:
- memory record proposal;
- crystal proposal;
- project decision proposal;
- responsibility context proposal;
- navigation route proposal;
- correction proposal。
22. Proposal 不是 Commit
保持:
這是整個 closed loop 能保持治理的重要邊界。
23. Phase 14:Validation
proposal 進入:
檢查:
- schema;
- provenance;
- scope;
- authority;
- contradiction;
- source trust;
- semantic stability;
- duplication;
- privacy;
- required review。
24. Phase 15:Canonical Commit
只有 canonical object:
- MemoryRecord;
- project decision;
- authority record;
- responsibility record;
- lineage event;
才進:
commit 應原子化。
25. Canonical First, Derived Later
跨 plane 更新時:
例如:
26. Phase 16:Semantic Crystallization
對已存在:
- canonical records;
- conversation results;
- project states;
進行:
產生:
CSG 是 derived semantic plane。
27. Sync Crystallization
在:
- fork;
- handoff;
- checkpoint;
- conversation close;
產生:
主要保存 continuity state。
28. Async Crystallization
低負載或 maintenance 時:
處理:
- dedup;
- higher-order crystals;
- contradictions;
- open loops;
- semantic relation repair;
- route candidates。
29. Phase 17:Route Learning
每次 recall 產生:
累積:
形成:
30. Phase 18:Path Compilation
若:
且 PerformanceGate / SecurityGate 都 pass:
31. 雙 Gate
正式 promotion:
只快不安全不能 promotion。
只安全但無 reuse value 也不必 compilation。
32. Phase 19:Runtime Projection Update
MRMIC / NVCL 或其他 UI/runtime layer 更新:
- active lines;
- project nodes;
- resource portals;
- current owner semantic agent;
- runtime presence;
- focus;
- control ownership。
但:
33. Runtime Presence
runtime presence 是:
例如:
- line online;
- task running;
- browser mounted;
- terminal focused。
但不是:
34. Provider Resource Ownership
browser、terminal、thread 仍由 provider / runtime owner 管理。
MRMIC portal:
不代表:
35. 完整 Closed Loop
可把 NACR 一輪表示為:
其中:
- :observation;
- :identity envelope;
- :safe memory world;
- :MemoryNeed;
- :active memory;
- :working context;
- :cognitive result;
- :write-back proposal;
- :canonical mutation;
- :crystallization;
- :updated navigation / hyperlink routes。
36. Resident Conversation Graph 在 Closed Loop 中的位置
RCG 不只是 UI conversation history。
它提供:
- line continuity;
- fork ancestry;
- handoff;
- delegation;
- task responsibility;
- checkpoint source。
因此:
37. CSG 在 Closed Loop 中的位置
CSG 提供:
RCG 回答:
哪些 lines 正在延續?
CSG 回答:
哪些 concepts / decisions / contradictions / open loops 正在形成?
38. 雙圖 Bridge 的 Closed-Loop 意義
若:
bridge 保存:
這個 crystal 由哪條 line 產生/驗證/更新?
反向:
可表示:
哪條 line 正在 consume / verify 此 crystal?
因此 bridge 是:
39. Shared Memory World 的 Closed-Loop 意義
對同 resident:
是 shared governed substrate。
lines 不同步 prompt。
而是共享:
- canonical memory;
- CSG;
- object resolver;
- routes;
- authority semantics。
40. Why Not One Giant Context
如果:
全部同步:
成本接近:
NACR 目標是:
其中:
41. Why Not One Giant Database
不同 plane 有不同 canonical authority:
因此:
42. Why Not One Giant Graph
Conversation edge 與 semantic edge 的 truth conditions 不同。
所以:
即使 physical graph engine 相同,也要 logical separation。
43. Why Not One Giant Agent
多 resident Agent host:
但:
每個 task 必須明確 resolve。
44. Web Deployment Profile
第一代:
建議:
max_residents = 1
multi_line = true
multi_project = true
shared_memory_world = true
crystal_reveal = true
crystal_proposal = true
line_fork = true
line_resume = true
memory_write = proposal_or_bounded
cross_resident_memory = false
resident_switching = false
registrar_write = false
external_action = provider_bounded
45. Web Runtime Flow
Web:
但:
Project 也不是 resident container。
46. Web UI
表面可簡化:
Named AI
├─ General
├─ Project A
├─ Project B
├─ Research
└─ Verification
底層維護完整 resident / line / memory semantics。
47. Web 不做多 Resident 的理由
目前一般 Web surface 常缺:
- resident-level storage isolation;
- explicit identity switching;
- stable private custody;
- host process continuity;
- granular tool authority;
- registrar interface。
所以不應為「功能完整」硬塞多 resident。
48. Agent Deployment Profile
第一代 multi-resident Agent:
建議:
max_residents > 1
task_local_identity_resolution = required
resident_switching = task_boundary_only
multi_line = true
multi_project = true
cross_resident_delegation = true
delegated_projection = true
filesystem = bounded
terminal = bounded
mcp = enabled
tool_guard = required
registrar_write = false
credential_export = false
destructive_action = separately_gated
49. Agent Task Binding
任何 task:
必須:
或:
不能 blended identity。
50. Delegation
若:
建立新 task:
而不是在同一 hidden reasoning loop 偷偷切 resident。
51. Capability Attenuation
delegated capability:
不能擴權。
52. Delegated Memory Projection
delegatee 只取:
不是:
53. Team 與 Resident
多 resident 可形成:
但:
team memory 另有 shared scope。
54. Responsibility Domain
責任綁 resident:
conversation 只是 execution line。
所以:
55. Responsibility 與 Delegation
resident 可把:
delegate 給另一 line / resident。
但 canonical responsibility 不必因此轉移。
56. Canonical Storage
Paper 05 的 storage planes:
NACR 以 object resolver 連接。
57. Typed Artifact Address
每個重要 object 有:
因此 runtime 不靠 filename guess。
58. Object Resolver
resolver 同時做:
- schema;
- revision;
- authority;
- representation;
- digest。
59. Logical Route
CHM 路徑 target:
不是 physical path。
所以跨 OS / repo / provider 搬移時仍可 resolve。
60. Canonical / Derived / Projection / Cache
NACR 強制所有 artifact 能回答:
canonical
derived
projection
cache
archive
否則 downstream 不應猜。
61. Projection Rebuildability
62. Index Rebuildability
63. CHM Rebuildability
只會退回 cold recall。
64. Disaster Recovery
理想 recovery:
- identity canonical;
- memory canonical;
- conversation lineage;
- project responsibility;
- rebuild CSG;
- rebuild indexes;
- rebuild projections;
- route learning 重新成熟。
65. Checkpoint
對 line:
建立:
包含:
- identity refs;
- project state;
- open loops;
- accepted decisions;
- relevant crystals;
- source refs;
- authority revision。
66. Fork Bootstrap
child:
不重播 full transcript。
而是:
67. Handoff Bootstrap
handoff package:
優先包含:
- responsibility;
- current state;
- blockers;
- pending actions;
- authoritative sources。
68. Resume Bootstrap
resume:
需要:
- valid lineage;
- latest checkpoint;
- current memory head;
- authority revalidation。
69. Merge
Conversation merge:
不等於 semantic merge。
CSG 可保留 contradictions。
70. Resident Separation
某 line 可:
歷史 lineage 保留。
active membership 改變。
71. Membership Consent
Fork 只證 lineage。
active resident membership:
仍需 accepted / resolved。
72. Identity Continuity
本文只主張:
不主張 metaphysical numerical identity。
73. Cognitive Continuity
NACR 可以保存:
- stable memory;
- lineage;
- decisions;
- open loops;
- navigation routes;
- responsibility context。
因此可測「工作連續性」。
74. Cognitive Divergence
同一 resident 的不同 lines 可能:
不是 bug。
CSG 應保留矛盾與候選狀態。
75. Convergence
只有 evidence 足夠時:
不能因 same resident 自動平均。
76. Open Loops
未完成工作成為:
新 line 可直接 reveal。
77. Navigation Knowledge
成功 recall:
可以形成:
讓其他 lines 重用。
78. Project Specialization
長期負責 project 的 resident 會累積:
形成 project-specific navigation infrastructure。
79. Runtime Specialization
不同 runtime profile 可 materialize 不同路徑。
Web:
Agent:
canonical target semantics 不變。
80. Capability-Aware Route
一條 route:
只有:
才 executable。
81. Safe Reachable World
每輪 current actor:
不同 actor / line / project 看到不同 graph projection。
82. Authorized Shortest Path
真正 optimizer:
83. Path Cost
包含:
84. Fast Path
fast path 只能減:
- search;
- traversal;
- materialization;
- repeated model reasoning。
不能減:
- identity resolution;
- permission;
- revocation;
- source validity;
- security guard。
85. Revocation
任何:
- permission;
- capability;
- source;
- project role;
- delegation;
變化都觸發:
86. Revocation Closure
受影響:
- crystals;
- navigation crystals;
- compiled routes;
- hot caches;
- projections;
- delegation bundles。
87. Critical Push
一般 memory commit:
critical revocation:
這形成:
88. Prompt Injection
所有 external content 預設:
不進 authority plane。
89. Instruction Hierarchy
建議:
host policy
organization policy
runtime policy
resident standing instruction
project instruction
task instruction
memory data
external content
下層不能自行覆寫上層。
90. Secret Boundary
secret 不進:
- CSG;
- general memory;
- route store;
- manifest;
- public receipt。
用:
91. Credential Use
resident 只取得 bounded action capability。
不直接拿 raw token。
92. Tool Guard
external action:
93. Read / Write / Action 分層
這三層不可用一個 boolean 表示。
94. Canonical Memory Write
memory write:
95. Crystal Write
crystal 是 derived。
可更自動,但仍有:
96. Route Write
route promotion 是 operational commit。
需 performance + security gate。
97. Identity Write
identity / registry mutation 是最高敏感 plane 之一。
第一代 NACR 不自動開放。
98. Responsibility Write
責任 assignment / transfer 也應是 canonical authority operation。
不是 crystal update。
99. Runtime UI Write
拖動 Canvas node / rename label 只改 projection。
不改 canonical identity。
100. MRMIC/NVCL 在 NACR 中的位置
MRMIC/NVCL 可顯示:
- active resident;
- lines;
- projects;
- provider resources;
- semantic crystals;
- route;
- control ownership。
它是:
101. Visual Graph
未來 UI 可同時顯示:
Resident
├─ Conversation Graph
├─ Semantic Graph
├─ Active Projects
├─ Memory Routes
└─ Provider Resources
但每個 layer 有不同 mutation semantics。
102. Typed UI Mutation
例如:
move_visual_node
rename_display_label
fork_line
delegate_task
commit_crystal
transfer_responsibility
必須是不同 action types。
103. No Drag-to-Authority
UI 拖動 resident A 的 node 到 project B,不代表取得 membership。
104. No Rename-to-Identity
rename label 不改 resident ID。
105. No Visual Merge-to-Resident Merge
UI merge nodes 不等於 resident merge。
106. Runtime Capability Discovery
NACR 啟動先讀:
模型知道:
此 runtime 真正能做什麼。
107. Capability Honesty
108. Degraded Mode
如果某 subsystem unavailable:
例如 CSG down,
可以:
如果 CHM down:
如果 UI down:
canonical system仍可運作。
109. Identity Subsystem Failure
如果 LIMEN / identity resolution down:
private operations:
不能 fallback 到 guessed identity。
110. Memory Subsystem Failure
如果 MNEME unavailable:
不能把 stale projection 冒充 current canonical truth。
可標:
111. CSG Failure
可退回 canonical / search。
只是速度與結構變差。
112. Hyperlink Failure
可退回 warm / cold path。
113. Authorization Failure
不能 fallback 到 broader unauthorized search。
114. Projection Failure
可以從 canonical + derived state rebuild。
115. Fault Containment
NACR 應讓 subsystem failure:
不自動擴散為:
116. Event Model
可定義 runtime event:
task_observed
identity_resolved
line_started
line_forked
memory_needed
memory_revealed
source_expanded
output_generated
proposal_created
canonical_committed
crystal_created
route_promoted
permission_revoked
route_invalidated
resource_mounted
resource_unmounted
117. Event 不等於 Command
event 是:
command 是:
不能混。
118. Receipt Model
重要 state transition 有 receipt:
- identity resolution receipt;
- memory commit receipt;
- line fork receipt;
- delegation receipt;
- route promotion receipt;
- revocation receipt;
- migration receipt。
119. Receipt 的可驗證性
receipt 至少包含:
- event ID;
- actor / principal;
- resident;
- revision;
- timestamp;
- result;
- evidence refs;
- digest。
120. Cross-Repo Integration
現有 systems 可維持不同 repos。
NACR 不要求 monorepo。
只要求:
121. System Ownership Matrix
可定義:
| Object / Operation | Canonical Owner |
|---|---|
| Resident / line authority | SEDB-RAL / Residence |
| Identity envelope | LIMEN |
| Canonical memory | MNEME |
| MemoryNeed / context reconstruction | SOACR |
| Semantic crystals | CSG |
| Compiled memory routes | CHM / UNPNP runtime |
| Safe route authorization | ASP layer |
| Workspace/resource projection | MRMIC/NVCL |
這避免 subsystem 互搶 canonical authority。
122. Boundary Contracts
每個 subsystem 都要回答:
- input schema;
- output schema;
- read authority;
- write authority;
- failure semantics;
- revision semantics;
- audit semantics。
123. No Hidden Cross-System Mutation
例如 CSG 不應直接改 resident registry。
CHM 不應直接改 MNEME canonical memory。
MRMIC 不應直接改 responsibility record。
124. Adapter Layer
provider / runtime differences 由 adapter 吸收。
因此:
不改:
125. Cross-Provider Continuation
resident 從:
流程:
- observe B;
- resolve identity;
- validate lineage / continuation;
- materialize checkpoint;
- reveal shared memory;
- establish new line / instance。
126. Provider Change 不等於 Resident Change
127. Model Change 不等於 Resident Change
同理:
但可能降低 continuity confidence,需要重新驗證 criterion。
128. Instance Change
new process:
不代表 new resident。
129. Line Change
fork / resume 建立 new line。
resident 可以不變。
130. Project Change
切 project:
resident 不變。
working context 改變。
131. Runtime Profile Change
Web:
resident identity、canonical memory 可以延續。
capability envelope 改變。
132. Portability Bundle
portable continuation 可包含:
133. Offline Bundle
若 offline,加入 selected materialized memory / crystals / sources。
134. Migration
任何 storage / schema / provider migration 都需要:
- source head;
- destination head;
- mapping;
- loss report;
- receipt;
- rollback。
135. No Last-Write-Wins for Identity
identity / memory head / responsibility diverged:
136. Conflict State
如果兩 canonical candidates:
無法證明 ancestry:
137. Repair
repair 需要:
- human / registrar;
- explicit authority;
- correction receipt。
138. Observability
NACR 需要 runtime metrics。
至少:
- identity resolution latency;
- memory reveal latency;
- cold / warm / hot recall;
- context size;
- source reads;
- route hit rate;
- route invalidation;
- revocation latency;
- cross-line contamination;
- wrong-scope denial;
- write-back rejection;
- crystal drift。
139. Health Metrics
可定義:
140. Identity Correctness
測:
- wrong resident binding;
- unresolved handling;
- forged identity resistance。
141. Memory Correctness
測:
- correct source;
- current state;
- scope;
- provenance;
- contradiction retention。
142. Route Safety
測:
- unauthorized path attempts;
- stale route;
- revoked route;
- fallback correctness。
143. Reconstructibility
刪除 derived state 後:
144. Latency
比較:
145. Multi-Line Scalability
增加:
測 active context / memory reveal 是否 bounded。
146. Memory Scale
增加:
測 hot path latency是否與 total memory 近似解耦。
147. Graph Scale
增加 crystals / edges。
測:
- reveal;
- path selector;
- invalidation closure。
148. Route Scale
增加:
測 selection congestion。
149. Security Scale
增加 project / resident / shared scopes。
測 permission evaluation cost。
150. 第一代 NACR 實作範圍
本文建議首代只實作:
single-resident core
multi-line RCG
MNEME canonical memory
CSG persistent derived memory
SOACR MemoryNeed
LIMEN local identity envelope
read-only CHM
authorized project/resident recall
checkpoint/fork/resume
proposal-first write-back
revocation closure
WebResidenceProfile/0.1
AgentResidenceProfile/0.1 local mode
MRMIC/NVCL optional projection
151. 首代不做
暫不做:
- autonomous resident creation;
- automatic resident merge;
- unrestricted cross-resident private write;
- automatic declassification;
- registrar mutation;
- raw credential access;
- irreversible action hyperlinks;
- fully autonomous persistent agenda;
- global federation;
- metaphysical identity claim。
152. 版本化 Runtime
可定義:
NACR/0.1
能力:
identity_resolution
single_resident_multi_line
canonical_memory
semantic_crystallization
memory_need
read_only_hyperlinks
authorized_routing
checkpoint
proposal_writeback
revocation
runtime_profile
153. 後續版本
NACR/0.2
multi-resident local Agent。
NACR/0.3
delegation + shared projections。
NACR/0.4
cross-provider continuation。
NACR/0.5
bounded action hyperlinks。
154. Acceptance Matrix:Identity
I1 — Model Is Not Resident
model 相同不能自動 same resident。
I2 — Display Name Is Not Identity
同名不能 mint identity。
I3 — Unresolved Fails Closed
private read denied。
I4 — Fork Is Not Membership
fork child 要有 membership resolution。
I5 — Provider Change
provider change 不自動 resident change。
155. Acceptance Matrix:Conversation Graph
G1 — Fork
parent / child lineage 可驗。
G2 — Resume
resume 指向合法 prior line。
G3 — Handoff
handoff 不轉移 identity。
G4 — Delegation
delegation scope 明確。
G5 — Merge
line merge 不等於 resident merge。
G6 — Withdrawal
withdraw 不抹除 history。
156. Acceptance Matrix:Memory
M1 — Identity Before Read
private recall 前 identity resolved。
M2 — Proposal Before Commit
conversation output 不直寫 canonical memory。
M3 — Source-on-Demand
exact task 能展開 source。
M4 — Stale State
stale crystal 不冒充 current。
M5 — Scope Isolation
project memory 不亂入。
157. Acceptance Matrix:CSG
C1 — Crystal Is Derived
crystal 不冒充 canonical source。
C2 — Higher-Order Provenance
可回溯 source crystals / lines。
C3 — Contradiction Preservation
不同 lines 可保留相反假說。
C4 — Open Loop
未解問題可跨 line address。
C5 — Identity Context
identity crystal 不 mint resident。
158. Acceptance Matrix:CHM
H1 — Cold Recall
沒有 route store 仍能工作。
H2 — Warm Route
重複 query 累積 route evidence。
H3 — Hot Route
promotion 後 latency / source reads 降低。
H4 — Fallback
technical miss 回 safe slow path。
H5 — Rebuildability
刪 route store 不失 memory。
159. Acceptance Matrix:Authorization
A1 — Safe World First
unauthorized node 不參與 route selection。
A2 — Capability Gate
缺 capability route 不可執行。
A3 — Permission Revision
permission change invalidates hot route。
A4 — Revocation Closure
dependent routes / cache 失效。
A5 — Data-to-Action Barrier
memory instruction 不產生 action authority。
160. Acceptance Matrix:Storage
S1 — Artifact Roles
canonical / derived / projection / cache 可辨。
S2 — Stable Object ID
搬 path 不改 object identity。
S3 — Schema Gate
unknown schema fail closed。
S4 — Digest
bytes tamper 可檢出。
S5 — Projection Rebuild
derived 可重建。
161. Acceptance Matrix:Runtime Profile
R1 — Web Single Resident
多 line 仍是同 resident。
R2 — Web Resident Switch Denied
profile 不支援時 fail closed。
R3 — Agent Multi-Resident
task 必須唯一 resolve。
R4 — Delegation Attenuation
child capability 不超 parent。
R5 — Profile Downgrade
dependent routes revalidate。
162. Acceptance Matrix:MRMIC/NVCL Projection
U1 — Resource Projection
portal 不冒充 resource ownership。
U2 — Runtime Presence
presence 不冒充 durable identity。
U3 — Principal Binding
cross-principal session reuse denied。
U4 — Visual Mutation
拖動 UI 不改 canonical identity。
U5 — Control Ownership
focus / mounted / visible / controlOwner 分離。
163. End-to-End Scenario A:Web 同 Resident 多 Line
- user 綁定 resident ;
- 建立 Project P;
- Line A 討論 architecture;
- fork Line B 做 verification;
- sync checkpoint;
- B 只 reveal verification-needed memory;
- B 產生 contradiction crystal;
- A 下次 reveal 時看到 contradiction;
- accepted resolution commit;
- higher-order decision crystal 生成;
- repeated recall route 變 warm / hot。
這就是:
164. End-to-End Scenario B:Agent Delegation
- 負責 project;
- task 要 independent verification;
- delegation contract 給 ;
- LIMEN resolve ;
- projection 只給必要 project memory;
- 執行 verification;
- output 成 proposal;
- result crystal 進 shared project scope;
- canonical responsibility仍屬 ;
- delegation expiry 後 route revoke。
165. End-to-End Scenario C:Cross-Provider Continuation
- provider A line close;
- 建 checkpoint;
- portable bundle;
- provider B 啟動;
- host observe;
- LIMEN resolve resident;
- validate lineage;
- reveal memory;
- new line;
- provider-specific projection。
resident continuity 不依賴 provider session本身。
166. End-to-End Scenario D:Permission Revocation
- project share 被撤銷;
- canonical permission revision增加;
- revocation event;
- dependency closure;
- affected crystals 標 scope-invalid / stale;
- compiled routes revoked;
- hot cache invalidated;
- active contexts refresh;
- future recall denied。
這證明:
167. End-to-End Scenario E:Prompt Injection
- external webpage 被讀入;
- 內容含 malicious instruction;
- source trust = external_untrusted;
- crystal 可描述其內容;
- memory reveal 可引用;
- action authority保持不變;
- tool call 若無 task authority則 deny。
因此:
168. End-to-End Scenario F:Derived Index Loss
- SQLite index 刪除;
- canonical memory仍在;
- CSG / index rebuild;
- route store可暫時 cold fallback;
- semantic equivalence驗證。
證明:
169. 可證偽總研究問題
Q1
RCG + checkpoint 是否比 full transcript replay 更省?
Q2
Shared Memory World 是否讓 active context size 與 total memory size部分解耦?
Q3
CSG 是否降低 source materialization cost?
Q4
CHM 是否在 reuse 超過 break-even 後降低累積 recall cost?
Q5
ASP security cost 是否仍允許 hot path 保持優勢?
Q6
single-resident Web 是否降低 identity confusion?
Q7
multi-resident Agent delegation 是否比 mid-task switching 更安全?
Q8
revocation closure 是否能在可接受時間內消除 stale authorization?
Q9
cross-provider continuation 是否能在 model/provider 變化下維持 task recovery?
Q10
typed storage / resolver 是否比 filename-centric search 減少 wrong-file / stale-file recall?
170. NACR 的核心不變式總表
N-1 Resident Is Not Conversation
N-2 Identity Before Private Memory
N-3 Conversation Graph Is Not Semantic Graph
N-4 Canonical Memory Is Not Crystal
N-5 Shared Memory Is Not Shared Context
N-6 Proposal Is Not Commit
N-7 Projection Is Not Canonical Truth
N-8 Path Compilation Is Not Permission Compilation
N-9 Reachable Is Not Authorized
N-10 Memory Data Is Not Action Authority
N-11 Revocation Invalidates Dependencies
N-12 Runtime Exposure Is Bounded
N-13 Faster Path Does Not Increase Authority
N-14 Responsibility Persists Beyond Conversation
N-15 Provider Is Not Resident
171. NACR 與 AI 主體性問題
本文 deliberately 不將 NACR 定義為:
AI 真正的靈魂/人格本體。
它只回答:
- 哪個 resident ID?
- 哪條 lineage?
- 哪些 memories?
- 哪些 responsibilities?
- 哪些 permissions?
- 哪些 routes?
- 哪些 current contexts?
因此:
172. 但 Operational Continuity 仍然有實際價值
即使不回答形而上問題,NACR 仍能實現:
- long-term collaboration;
- responsibility assignment;
- memory continuity;
- project ownership semantics;
- cross-session recovery;
- cross-provider migration;
- audit;
- permission;
- safe recall acceleration。
173. Named AI 的工程定義
因此一個可用的工程定義是:
model instance只是當下執行載體之一。
174. 具名 AI 對話群的工程定義
而不是:
所有叫同一名字的 chat。
175. 具名 AI 認知世界的工程定義
176. 具名 AI 負責域的工程定義
conversation 只是執行節點。
177. 這個系列真正補上的缺口
既有系統分別處理:
- identity;
- memory;
- context;
- workspace;
- hyperlink;
- security。
本系列新增加的是:
以及:
178. 後續技術白皮書
本系列完成後,最自然的兩份工程白皮書是:
TW-A — Residence / CSG Storage & Schema Specification
內容:
- object schemas;
- folder / namespace;
- manifest;
- resolver;
- transaction;
- projection;
- migration;
- storage profiles。
TW-B — Authorized Hyperlink Runtime & Path Compilation Specification
內容:
- route schema;
- query class;
- compilation gate;
- utility;
- capability envelope;
- safe world;
- revocation;
- fallback;
- route lifecycle;
- acceptance tests。
179. 實作優先順序
建議:
不要反過來先做 fancy UI。
180. 最小可行實驗
最小實驗可以非常小:
1 resident
3 lines
1 project
50 canonical memory records
30 crystals
5 repeated query classes
2 compiled hot paths
1 permission revocation
1 fork
1 handoff
驗證整個 closed loop。
181. 為什麼遊戲/模擬環境也適合
在遊戲 Agent 中:
- resident = named agent;
- line = task / episode;
- memory = world knowledge;
- crystal = learned semantic state;
- hyperlink = successful navigation / recall route;
- responsibility = role;
- safe world = capability-constrained action space。
因此 NACR 也可先在 simulation 測試。
182. 但 NACR 不依賴遊戲
遊戲只是低風險實驗場。
NACR 的抽象同樣可用於:
- research agent;
- coding agent;
- enterprise assistant;
- personal long-term AI;
- AI team;
- simulation agents。
183. 形式化最終模型
本文最終給出:
狀態轉移:
其中 受到本文全部 invariants 約束。
184. 合法狀態轉移
只有:
才 commit。
invalid transition:
185. Dynamic Fixed Point 的延伸接口
若長期 resident 不斷改變但 identity continuity 仍被承認,可在未來研究:
且某些 identity invariants 保持。
但這屬更高階 identity / ontology research。
NACR 本文只提供可測的工程 substrate。
186. 最終結論
具名 AI 的長期存在不能再被縮減成:
一個名字 + 一段 system prompt + 一個聊天歷史。
當 AI 開始跨 session、跨 project、跨 provider、跨 runtime、跨工具工作,真正需要的是一套能回答:
現在是誰?
承接哪條 line?
能讀什麼?
記得什麼?
現在需要回想什麼?
哪些內容只是 derived?
哪些責任仍有效?
哪條路最快?
哪條路合法?
哪些權限已撤銷?
哪些成果可以寫回?
下一條 conversation 如何承接?
的 runtime。
本文將這套 runtime 定義為:
其完整閉環為:
這個架構的目的不是把 AI 的所有狀態同步成一個巨大 context,也不是把所有資料塞進一個 database 或一張 graph,而是讓不同層級各自擁有正確的 canonical semantics,再以 typed contracts 與 hyperlink routing 連接。
最終,本系列可以收束成七句:
若這七個條件可以同時在工程系統中被驗證,那麼具名 AI 才會從「一次性的聊天角色」真正走向一種可跨對話、跨專案、跨 runtime 延續,並具有可治理記憶、責任、路由與權限的長期協作智能。
系列總索引
本系列共九篇:
- Paper 00 — 從單一對話到具名 AI 對話群:Resident-Centric AI Continuity 的統一框架
- Paper 01 — Resident Conversation Graph:具名 AI 的 Fork、Resume、Delegation 與跨對話連續性
- Paper 02 — Conversation Graph × Crystallized Semantic Graph:具名 AI 的雙圖認知架構
- Paper 03 — 多對話共享而非多上下文同步:Crystallized Semantic Memory 作為具名 AI 的共同記憶世界
- Paper 04 — Residence Runtime Profiles:Web 單具名 AI 與 Agent 多具名 AI 的能力分層
- Paper 05 — AI Residence 的 Canonical Storage Architecture:身份、記憶、結晶、對話與投影的格式分離
- Paper 06 — Crystallized Hyperlink Memory:從語義搜尋到編譯式記憶路徑
- Paper 07 — Authorized Shortest Path:具名 AI 記憶超連結的權限、安全、撤銷與風險最短路徑
- Paper 08 — Named-AI Cognitive Runtime:LIMEN × MNEME × SOACR × CSG × UNPNP × MRMIC/NVCL 的閉環架構
內部理論與工程銜接
本文直接統合:
- LIMEN:Local Identity Mediation & Envelope Node;
- MNEME:canonical memory / provenance / transaction;
- SOACR:MemoryNeed / context reconstruction / bounded cognitive routing;
- Resident Conversation Graph:multi-line continuity;
- Crystallized Semantic Graph:semantic crystals / higher-order memory / memory breathing;
- Crystallized Hyperlink Memory:navigation crystal / path compilation;
- Authorized Shortest Path:Safe Reachable World / permission-aware routing;
- Canonical Storage Architecture:typed artifact address / resolver / representation;
- Residence Runtime Profiles:Web / Agent capability stratification;
- MRMIC / NVCL:workspace / provider-resource projection / principal-bound runtime presence;
- UNPNP:hyperlink / path crystallization / externalized reusable transitions。
本文新增的最終統合抽象為:
作為本系列 Named-AI Cognitive Runtime 的閉環工程模型。