aptos-society

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Aptos Society Scale

Aptos 社会规模体系

Trit: 0 (ERGODIC - coordinator) Domain: Compositional Game Theory × Blockchain Governance × Social Interaction Labs
Trit: 0 (ERGODIC - 协调者) 领域: 组合博弈论 × 区块链治理 × 社交交互实验室

Academic Foundations

学术基础

Seth Frey (UC Davis, Ostrom Workshop)

Seth Frey (加州大学戴维斯分校, 奥斯特罗姆工作室)

  • Composing Games into Complex Institutions (PLoS ONE 2023)
  • Institutional preferences laboratory experiments
  • Game-theoretic institutional design with Jules Hedges
  • 《将游戏组合为复杂制度》 (PLoS ONE 2023)
  • 制度偏好实验室实验
  • 与Jules Hedges合作的博弈论制度设计

Michael Zargham (BlockScience)

Michael Zargham (BlockScience)

  • Computer-Aided Governance - cadCAD simulation framework
  • Token Engineering Academy foundations
  • Cryptoeconomic mechanism design
  • 计算机辅助治理 - cadCAD 仿真框架
  • 代币工程学院基础
  • 加密经济机制设计

Jules Hedges (Strathclyde)

Jules Hedges (思克莱德大学)

  • Open Games - categorical game theory
  • String diagram representations for institutions
  • Compositional approach to strategic interaction
  • 开放博弈 - 范畴博弈论
  • 制度的弦图表示
  • 策略交互的组合方法

GF(3) Triadic Skill Forcing

GF(3) 三元技能强制

Every interaction MUST load exactly 3 skills with balanced trits:
MINUS (-1): Validator/Constrainer (cold hues 180-300°)
ERGODIC (0): Coordinator/Synthesizer (neutral hues 60-180°)  
PLUS (+1): Generator/Executor (warm hues 0-60°, 300-360°)

Conservation: Σ trits ≡ 0 (mod 3)
所有交互必须恰好加载3个Trit平衡的技能:
MINUS (-1): 验证者/约束者 (冷色调 180-300°)
ERGODIC (0): 协调者/合成者 (中性色调 60-180°)  
PLUS (+1): 生成者/执行者 (暖色调 0-60°, 300-360°)

守恒规则: Σ trits ≡ 0 (mod 3)

Aptos World Wallets (26 Letters)

Aptos 世界钱包 (26个字母)

SegmentLettersTritRole
MINUSA-I (9)-1Validators
ERGODICJ-R (9)0Coordinators
PLUSS-Z (8)+1Executors
分段字母Trit角色
MINUSA-I (9)-1验证者
ERGODICJ-R (9)0协调者
PLUSS-Z (8)+1执行者

MCP Tools

MCP 工具

mcp__world_{letter}_aptos__aptos_balance
mcp__world_{letter}_aptos__aptos_transfer
mcp__world_{letter}_aptos__aptos_swap
mcp__world_{letter}_aptos__aptos_view
mcp__world_{letter}_aptos__aptos_balance
mcp__world_{letter}_aptos__aptos_transfer
mcp__world_{letter}_aptos__aptos_swap
mcp__world_{letter}_aptos__aptos_view

Derangement Protocol

错位排列协议

For seed handoff between world segments:
  1. XOR all addresses in segment → segment_seed
  2. Maximum Hamming distance reordering
  3. Sparsification for collision resistance
用于世界分段之间的种子传递:
  1. 异或分段内所有地址 → segment_seed
  2. 最大汉明距离重排序
  3. 稀疏化处理提升抗碰撞性

Babashka/NBB Integration

Babashka/NBB 集成

clojure
;; aptos_society.bb
(require '[babashka.process :refer [shell]])

(defn world-balance [letter]
  (let [tool (str "mcp__world_" letter "_aptos__aptos_balance")]
    {:world letter :tool tool}))

(defn triadic-worlds []
  {:minus (map world-balance "ABCDEFGHI")
   :ergodic (map world-balance "JKLMNOPQR")
   :plus (map world-balance "STUVWXYZ")})
clojure
;; aptos_society.bb
(require '[babashka.process :refer [shell]])

(defn world-balance [letter]
  (let [tool (str "mcp__world_" letter "_aptos__aptos_balance")]
    {:world letter :tool tool}))

(defn triadic-worlds []
  {:minus (map world-balance "ABCDEFGHI")
   :ergodic (map world-balance "JKLMNOPQR")
   :plus (map world-balance "STUVWXYZ")})

Swift Sendable Semantics

Swift Sendable 语义

swift
// AptosWorld conforms to Sendable for actor isolation
actor AptosWorld: Sendable {
    let letter: Character
    let trit: Int  // -1, 0, +1
    
    func balance() async -> Decimal
    func transfer(to: Address, amount: Decimal) async throws
}

// Triadic dispatch
func dispatchTriad(_ minus: AptosWorld, _ ergodic: AptosWorld, _ plus: AptosWorld) async {
    assert(minus.trit + ergodic.trit + plus.trit == 0)  // GF(3) conservation
    await withTaskGroup(of: Void.self) { group in
        group.addTask { await minus.validate() }
        group.addTask { await ergodic.coordinate() }
        group.addTask { await plus.execute() }
    }
}
swift
// AptosWorld 遵循 Sendable 协议实现actor隔离
actor AptosWorld: Sendable {
    let letter: Character
    let trit: Int  // -1, 0, +1
    
    func balance() async -> Decimal
    func transfer(to: Address, amount: Decimal) async throws
}

// 三元调度
func dispatchTriad(_ minus: AptosWorld, _ ergodic: AptosWorld, _ plus: AptosWorld) async {
    assert(minus.trit + ergodic.trit + plus.trit == 0)  // GF(3) 守恒规则
    await withTaskGroup(of: Void.self) { group in
        group.addTask { await minus.validate() }
        group.addTask { await ergodic.coordinate() }
        group.addTask { await plus.execute() }
    }
}

Ruler Enforcement

规则执行

Add to
~/.ruler/AGENTS.md
:
markdown
undefined
添加到
~/.ruler/AGENTS.md
markdown
undefined

Triadic Skill Forcing (Aptos Society Scale)

三元技能强制 (Aptos 社会规模体系)

Rule: Every interaction loads 3 skills with Σ trits = 0 (mod 3)
  1. MINUS skill: validation, constraint checking
  2. ERGODIC skill: coordination, synthesis
  3. PLUS skill: generation, execution
Verify:
(-1) + 0 + (+1) = 0 ✓
undefined
规则: 每一次交互加载3个技能,且三进制位之和 ≡ 0 (mod 3)
  1. MINUS 技能: 验证、约束检查
  2. ERGODIC 技能: 协调、合成
  3. PLUS 技能: 生成、执行
验证:
(-1) + 0 + (+1) = 0 ✓
undefined

References

参考文献

  • Frey et al. "Composing games into complex institutions" PLOS ONE 2023
  • Zargham & Emmett "Computer-Aided Governance" BlockScience 2019
  • Hedges "Towards compositional game theory" PhD Thesis 2016
  • Ostrom "Understanding institutional diversity" Princeton 2005
  • Frey et al. "Composing games into complex institutions" PLOS ONE 2023
  • Zargham & Emmett "Computer-Aided Governance" BlockScience 2019
  • Hedges "Towards compositional game theory" 博士论文 2016
  • Ostrom "Understanding institutional diversity" 普林斯顿大学出版社 2005

NO PRIVATE INFORMATION

无隐私信息

This skill contains NO private keys, wallet addresses, or secrets. All wallet interactions go through MCP tools with approval flows.
本技能不包含任何私钥、钱包地址或机密信息。 所有钱包交互都通过带审批流程的MCP工具完成。