{
  "schema_version": "2026-06-01",
  "generated_at_utc": "2026-06-10T03:07:48Z",
  "generated_by": "generate_all_v5.py",
  "public_base_url": "https://msgchain.org/whitepaper/",
  "topic_count": 8,
  "topics": [
    {
      "topic_id": "economics",
      "title": "经济模型与发行结算",
      "questions": [
        "MSG 的发行规则是什么",
        "economic seconds 如何结算",
        "候选池和验证者池如何分配"
      ],
      "preferred_tags": [
        "铸造",
        "奖励",
        "结算"
      ],
      "recommended_modules": [
        {
          "filename": "economy.html",
          "title": "经济模型总览",
          "status": "implemented",
          "status_label": "已实现",
          "group": "funds",
          "group_label": "经济与资金",
          "module_url": "modules/economy.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/economy.html",
          "export_url": "module_exports/economy.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/economy.json"
        },
        {
          "filename": "emission.html",
          "title": "铸造与结算引擎 (Emission & Settlement)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "funds",
          "group_label": "经济与资金",
          "module_url": "modules/emission.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/emission.html",
          "export_url": "module_exports/emission.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/emission.json"
        },
        {
          "filename": "consensus.html",
          "title": "共识调度机制 (Round-Robin + DAR) 业务流转",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/consensus.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/consensus.html",
          "export_url": "module_exports/consensus.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/consensus.json"
        },
        {
          "filename": "slashing.html",
          "title": "资格审计与违约处罚机制 (Slashing & Audit)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "funds",
          "group_label": "经济与资金",
          "module_url": "modules/slashing.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/slashing.html",
          "export_url": "module_exports/slashing.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/slashing.json"
        }
      ],
      "recommended_chunks": [
        {
          "chunk_id": "economy#1",
          "chunk_url": "module_chunks/economy__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/economy__chunk_01.json",
          "excerpt": "🔍 铁证: 发行与结算主规则 🔍 铁证: Gas 分账与金库口径 🔍 验收: 经济模型 raw 证据清单 🔍 原始 JSON: emission / treasury / 入账闭环 flowchart TD Height[\"区块高度持续增长\"] --> BlockTime[\"block time schedule: target block seconds 默认 = 5\"] BlockTime --> Eco[\"economic sec"
        },
        {
          "chunk_id": "economy#2",
          "chunk_url": "module_chunks/economy__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/economy__chunk_02.json",
          "excerpt": "Pools --> CandidateScale[\"候选 inflow = emission candidate qualified count / candidate economic denominator\"] CandidateScale --> CandidateSeat[\"单席派息 = scaled inflow / qualified count\"] CandidateDenom[\"candidate economic de"
        },
        {
          "chunk_id": "emission#1",
          "chunk_url": "module_chunks/emission__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/emission__chunk_01.json",
          "excerpt": "🔍 铁证: 双池结算与经济时间基准 🔍 证据状态: pending reward / emission state 真值锁定 🔍 边界: 铸造 / 注册中心 / 共识不混线 🔍 证明链: 寻址 -> 结算 -> 处罚统计 -> 证据 flowchart TD Registry[\"registry.html canonical key -> emission schedule active\"] --> Resolve[\"resolve e"
        },
        {
          "chunk_id": "emission#2",
          "chunk_url": "module_chunks/emission__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/emission__chunk_02.json",
          "excerpt": "Mint --> Token[\"产生真实 MSG 代币 / 更新池余额\"] Mint --> PoolState[\"validator pool balance / candidate pool balance\"] Token --> Atto[\"状态机内部记账 attoMSG (10^-18)\"] Token --> Nano[\"外部查询展示 nanoMSG (10^-9)\"] QueryState --> Acc QueryRewa"
        },
        {
          "chunk_id": "consensus#1",
          "chunk_url": "module_chunks/consensus__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/consensus__chunk_01.json",
          "excerpt": "🔍 铁证: DAR 四维评分口径 🔍 铁证: 104/96 人数滞回 🔍 铁证: 连续出块零容忍 🔍 铁证: 86400 economic seconds / fail-closed flowchart TD subgraph DARAudit[\"DAR 资格审计与评分\"] Audit[\"资格审计: 过滤 jailed / slashed / audit failed\"] --> Eligible[\"保留合格验证者集合\"] Eligib"
        },
        {
          "chunk_id": "consensus#2",
          "chunk_url": "module_chunks/consensus__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/consensus__chunk_02.json",
          "excerpt": "FailClosed[\"主网生产查询失败 -> fail-closed 不按默认 block 数触发重审\"] -.-> ReviewGate end Count -->|\"数量 >= 104\"| Capped[\"进入 capped 模式\"] Count -->|\"数量 <= 96\"| Open[\"进入 open 模式\"] Count -->|\"数量 97~103\"| Keep[\"保持上一轮 selection mode\"] Capped"
        },
        {
          "chunk_id": "slashing#1",
          "chunk_url": "module_chunks/slashing__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/slashing__chunk_01.json",
          "excerpt": "🔍 铁证: 80%销毁与挑战者奖励规则 🔍 原文: 无挑战者则 20% 也销毁 🔍 边界: 处罚页与金库页不得串义 flowchart TD Consensus[\"consensus.html DAR 审计 / 连续出块保护\"] --> Audit[\"DAR持续评分引擎 / 独立网络审计节点\"] Blockchain[\"blockchain.html 双签 / 异常块 / 缺口日志\"] --> Audit Audit --> Check"
        },
        {
          "chunk_id": "slashing#2",
          "chunk_url": "module_chunks/slashing__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/slashing__chunk_02.json",
          "excerpt": "Dist -.-> TreasuryBlock[\"foundation.html 不得默认流入金库\"] × 📄 现行规范: 处罚闭环与资金去向 // 1. 处罚采用四级模型：轻违约 / 中违约 / 重违约 / 恶意作恶 // 2. 处罚闭环必须覆盖 slash + jail + challenge + 恢复 // 3. 罚没资金去向必须链上写明并可 query： // 当前口径为 80% 销毁 + 20% 发给举证成功的挑战者/审计者。"
        }
      ],
      "answering_guidance": [
        "先回答当前已实现或已证实的部分，再明确未完成边界。",
        "若涉及经济、治理、Explorer 或 live/public 结论，优先引用带 evidence_refs 与 boundary_clauses 的模块或 chunk。",
        "不要把 partial、planned 或本地子门禁关闭偷换成主网 ready。"
      ]
    },
    {
      "topic_id": "treasury_governance",
      "title": "基金会金库与治理执行",
      "questions": [
        "基金会金库怎么执行",
        "DAO 如何控制 treasury",
        "timelock 和阈值怎么配合"
      ],
      "preferred_tags": [
        "金库",
        "多签",
        "治理",
        "时间锁"
      ],
      "recommended_modules": [
        {
          "filename": "foundation.html",
          "title": "基金会金库被动入账与审批",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/foundation.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/foundation.html",
          "export_url": "module_exports/foundation.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/foundation.json"
        },
        {
          "filename": "dao.html",
          "title": "DAO 治理与时间锁执行",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/dao.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/dao.html",
          "export_url": "module_exports/dao.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/dao.json"
        },
        {
          "filename": "registry.html",
          "title": "创世注册中心 (genesis_registry_v1)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/registry.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/registry.html",
          "export_url": "module_exports/registry.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/registry.json"
        },
        {
          "filename": "block01_contract_topology.html",
          "title": "Block 0/1 合约部署与用途总图",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/block01_contract_topology.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/block01_contract_topology.html",
          "export_url": "module_exports/block01_contract_topology.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/block01_contract_topology.json"
        },
        {
          "filename": "genesis.html",
          "title": "创世初始化与注册中心",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/genesis.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/genesis.html",
          "export_url": "module_exports/genesis.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/genesis.json"
        },
        {
          "filename": "contract.html",
          "title": "智能合约引擎 (CosmWasm)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/contract.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/contract.html",
          "export_url": "module_exports/contract.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/contract.json"
        },
        {
          "filename": "consensus.html",
          "title": "共识调度机制 (Round-Robin + DAR) 业务流转",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/consensus.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/consensus.html",
          "export_url": "module_exports/consensus.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/consensus.json"
        }
      ],
      "recommended_chunks": [
        {
          "chunk_id": "foundation#1",
          "chunk_url": "module_chunks/foundation__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/foundation__chunk_01.json",
          "excerpt": "🔍 铁证: foundation treasury v2 + DAO / DAR 双约束 🔍 验收: 金库 raw query / receipt 要点 🔍 原始 JSON: inflow / threshold / execution 🔍 证明链: 资金来源 -> 阈值 -> 执行 -> 证据 flowchart TD subgraph Inflow[\"被动入账来源\"] Gas[\"economy.html / Gas Fee Dist"
        },
        {
          "chunk_id": "foundation#2",
          "chunk_url": "module_chunks/foundation__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/foundation__chunk_02.json",
          "excerpt": "Cfg --> HighMin[\"high value min signers\"] Cfg --> ExecCount[\"execution count\"] DAO[\"dao governance v1\"] --> Treasury DAR[\"dar rating v1\"] --> Treasury Registry[\"genesis registry v1\"] --> Treasury end subgraph Execution[\""
        },
        {
          "chunk_id": "dao#1",
          "chunk_url": "module_chunks/dao__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/dao__chunk_01.json",
          "excerpt": "🔍 铁证: proposal / vote / timelock 🔍 原始 JSON: create / vote / execute-fail 🔍 证明链: 控制 -> 执行 -> 资金 -> 证据 flowchart TD Registry[\"registry.html canonical key -> dao governance\"] --> Resolve[\"resolve dao governance 地址\"] Resolve"
        },
        {
          "chunk_id": "dao#2",
          "chunk_url": "module_chunks/dao__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/dao__chunk_02.json",
          "excerpt": "Receipt --> Evidence[\"evidence index.html create / vote / execute-fail 原文\"] Exec --> Treasury[\"foundation.html 下游: treasury execution\"] Exec --> Contract[\"contract.html 下游: 参数更新 / 合约调用\"] Treasury --> TreasuryReceipt[\"exe"
        },
        {
          "chunk_id": "registry#1",
          "chunk_url": "module_chunks/registry__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/registry__chunk_01.json",
          "excerpt": "🔍 铁证: canonical key 与 active/reserved 🔍 铁证: 分页查询与 12 条注册项 🔍 铁证: 节点启动时 resolve 地址 🔍 铁证: canonical role / alias 边界 🔍 证明链: keyspace -> resolve -> 下游模块 flowchart TD subgraph Keyspace[\"Canonical Key 空间\"] KeyDAO[\"dao governanc"
        },
        {
          "chunk_id": "registry#2",
          "chunk_url": "module_chunks/registry__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/registry__chunk_02.json",
          "excerpt": "ListPage2 --> Page2[\"第 2 页继续返回 dao / dar / emission / treasury / gas\"] end subgraph StatusModel[\"状态模型\"] Registry --> Active[\"active -> 已部署且可解析地址\"] Registry --> Reserved[\"reserved -> 未部署 / 保留键位\"] QueryKey --> Resolve{\"返回状"
        },
        {
          "chunk_id": "block01_contract_topology#1",
          "chunk_url": "module_chunks/block01_contract_topology__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/block01_contract_topology__chunk_01.json",
          "excerpt": "🔍 总览: Block 0 / Block 1 到底部署了什么 🔍 用途: canonical key / 资金 / 治理分别接到哪里 🔍 边界: 这页收敛结构，不替代原始 query / receipt flowchart TD Start[\"创世启动入口 genesis startup.html\"] --> Block0[\"Block 0 基础代币与创世约束\"] Start --> Block1[\"Block 1 治理与注册合约批量"
        },
        {
          "chunk_id": "block01_contract_topology#2",
          "chunk_url": "module_chunks/block01_contract_topology__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/block01_contract_topology__chunk_02.json",
          "excerpt": "Block1 --> Other[\"其余治理相关合约 维持 Block 1 制度闭环\"] end Registry --> Canonical[\"canonical key 出口 dao governance / foundation treasury / gas fee distribution / economic constitution / block time schedule / emission schedule\"] Ga"
        }
      ],
      "answering_guidance": [
        "先回答当前已实现或已证实的部分，再明确未完成边界。",
        "若涉及经济、治理、Explorer 或 live/public 结论，优先引用带 evidence_refs 与 boundary_clauses 的模块或 chunk。",
        "不要把 partial、planned 或本地子门禁关闭偷换成主网 ready。"
      ]
    },
    {
      "topic_id": "consensus_validator",
      "title": "共识、DAR 与验证者资格",
      "questions": [
        "MSG 如何轮值出块",
        "DAR 怎么影响验证者",
        "处罚和恢复机制是什么"
      ],
      "preferred_tags": [
        "处罚",
        "挑战",
        "恢复"
      ],
      "recommended_modules": [
        {
          "filename": "consensus.html",
          "title": "共识调度机制 (Round-Robin + DAR) 业务流转",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/consensus.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/consensus.html",
          "export_url": "module_exports/consensus.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/consensus.json"
        },
        {
          "filename": "quantum.html",
          "title": "抗量子安全模块 (Dilithium-5)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "runtime",
          "group_label": "运行与状态",
          "module_url": "modules/quantum.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/quantum.html",
          "export_url": "module_exports/quantum.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/quantum.json"
        },
        {
          "filename": "slashing.html",
          "title": "资格审计与违约处罚机制 (Slashing & Audit)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "funds",
          "group_label": "经济与资金",
          "module_url": "modules/slashing.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/slashing.html",
          "export_url": "module_exports/slashing.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/slashing.json"
        }
      ],
      "recommended_chunks": [
        {
          "chunk_id": "consensus#1",
          "chunk_url": "module_chunks/consensus__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/consensus__chunk_01.json",
          "excerpt": "🔍 铁证: DAR 四维评分口径 🔍 铁证: 104/96 人数滞回 🔍 铁证: 连续出块零容忍 🔍 铁证: 86400 economic seconds / fail-closed flowchart TD subgraph DARAudit[\"DAR 资格审计与评分\"] Audit[\"资格审计: 过滤 jailed / slashed / audit failed\"] --> Eligible[\"保留合格验证者集合\"] Eligib"
        },
        {
          "chunk_id": "consensus#2",
          "chunk_url": "module_chunks/consensus__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/consensus__chunk_02.json",
          "excerpt": "FailClosed[\"主网生产查询失败 -> fail-closed 不按默认 block 数触发重审\"] -.-> ReviewGate end Count -->|\"数量 >= 104\"| Capped[\"进入 capped 模式\"] Count -->|\"数量 <= 96\"| Open[\"进入 open 模式\"] Count -->|\"数量 97~103\"| Keep[\"保持上一轮 selection mode\"] Capped"
        },
        {
          "chunk_id": "quantum#1",
          "chunk_url": "module_chunks/quantum__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/quantum__chunk_01.json",
          "excerpt": "🔍 铁证: Dilithium-5 / SHA3 / 本地远程签名 flowchart TD subgraph KeyLifecycle[\"密钥生命周期\"] Init[\"节点初始化 / 钱包恢复\"] --> Seed[\"BIP39 Seed 或随机源\"] Seed --> KeyGen[\"GenerateDilithiumKeyPair / GenerateDilithiumKeyPairFromSeed\"] KeyGen --> Pu"
        },
        {
          "chunk_id": "quantum#2",
          "chunk_url": "module_chunks/quantum__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/quantum__chunk_02.json",
          "excerpt": "end subgraph ChainUsage[\"链上使用位置\"] Accept --> TxPoolUse[\"TxPool 验签\"] Accept --> BlockUse[\"区块 proposer 签名验证\"] Accept --> HeartbeatUse[\"节点心跳 / libp2p 信息签名\"] Hash --> StateHash[\"StateRoot / AppHash / MerkleRoot 使用 SHA3-512\"]"
        },
        {
          "chunk_id": "slashing#1",
          "chunk_url": "module_chunks/slashing__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/slashing__chunk_01.json",
          "excerpt": "🔍 铁证: 80%销毁与挑战者奖励规则 🔍 原文: 无挑战者则 20% 也销毁 🔍 边界: 处罚页与金库页不得串义 flowchart TD Consensus[\"consensus.html DAR 审计 / 连续出块保护\"] --> Audit[\"DAR持续评分引擎 / 独立网络审计节点\"] Blockchain[\"blockchain.html 双签 / 异常块 / 缺口日志\"] --> Audit Audit --> Check"
        },
        {
          "chunk_id": "slashing#2",
          "chunk_url": "module_chunks/slashing__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/slashing__chunk_02.json",
          "excerpt": "Dist -.-> TreasuryBlock[\"foundation.html 不得默认流入金库\"] × 📄 现行规范: 处罚闭环与资金去向 // 1. 处罚采用四级模型：轻违约 / 中违约 / 重违约 / 恶意作恶 // 2. 处罚闭环必须覆盖 slash + jail + challenge + 恢复 // 3. 罚没资金去向必须链上写明并可 query： // 当前口径为 80% 销毁 + 20% 发给举证成功的挑战者/审计者。"
        }
      ],
      "answering_guidance": [
        "先回答当前已实现或已证实的部分，再明确未完成边界。",
        "若涉及经济、治理、Explorer 或 live/public 结论，优先引用带 evidence_refs 与 boundary_clauses 的模块或 chunk。",
        "不要把 partial、planned 或本地子门禁关闭偷换成主网 ready。"
      ]
    },
    {
      "topic_id": "ai_agent_runtime",
      "title": "AI Agent、控制面与任务闭环",
      "questions": [
        "MSG 的 AI Agent 能做什么",
        "AI Task L2 如何落链",
        "AI 控制平面和治理如何隔离"
      ],
      "preferred_tags": [
        "AI",
        "Agent"
      ],
      "recommended_modules": [
        {
          "filename": "ai_agent.html",
          "title": "AI Agent 智能接入",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ai",
          "group_label": "AI 与自治",
          "module_url": "modules/ai_agent.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/ai_agent.html",
          "export_url": "module_exports/ai_agent.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/ai_agent.json"
        },
        {
          "filename": "ai_control_plane.html",
          "title": "AI 控制平面与主链执行入口",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ai",
          "group_label": "AI 与自治",
          "module_url": "modules/ai_control_plane.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/ai_control_plane.html",
          "export_url": "module_exports/ai_control_plane.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/ai_control_plane.json"
        },
        {
          "filename": "ai_task_l2.html",
          "title": "AI Task L2 与回执证明闭环",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ai",
          "group_label": "AI 与自治",
          "module_url": "modules/ai_task_l2.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/ai_task_l2.html",
          "export_url": "module_exports/ai_task_l2.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/ai_task_l2.json"
        },
        {
          "filename": "agent_api_surface.html",
          "title": "Agent API 能力表面",
          "status": "partial",
          "status_label": "部分实现",
          "group": "developer",
          "group_label": "开发者与接口",
          "module_url": "modules/agent_api_surface.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/agent_api_surface.html",
          "export_url": "module_exports/agent_api_surface.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/agent_api_surface.json"
        }
      ],
      "recommended_chunks": [
        {
          "chunk_id": "ai_agent#1",
          "chunk_url": "module_chunks/ai_agent__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/ai_agent__chunk_01.json",
          "excerpt": "🔍 铁证: Agent API / 事件 / E2E 接管 🔍 铁证: 路由保护 / E2E 组件 🔍 边界: Stub 能力与演进范围 🔍 证明链: 只读 -> 风控 -> 治理/资金门禁 -> 审计 flowchart TD subgraph Entry[\"接入入口\"] LLM[\"AI 大语言模型 / 策略引擎\"] --> Decision[\"Agent 决策编排\"] Monitor[\"/api/v1/agent/chain-dat"
        },
        {
          "chunk_id": "ai_agent#2",
          "chunk_url": "module_chunks/ai_agent__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/ai_agent__chunk_02.json",
          "excerpt": "Rate --> Auth{\"是否配置 Agent API Keys\"} Auth -->|\"已配置\"| Guard[\"Auth Middleware\"] Auth -->|\"未配置\"| Compat[\"向后兼容: 写路径也公开\"] Guard --> Control[\"/agent/v1/wallet/ /agent/v1/mpc/sign /agent/v1/payment/session\"] Compat --> Control "
        },
        {
          "chunk_id": "ai_control_plane#1",
          "chunk_url": "module_chunks/ai_control_plane__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/ai_control_plane__chunk_01.json",
          "excerpt": "🔍 现状: 当前真实控制面 🔍 缺口: 为什么还不能等同人类全链操作 🔍 路线: 开发团队应先补什么 flowchart LR classDef implemented fill: dcfce7,stroke: 166534,color: 14532d,stroke-width:2px; classDef partial fill: ffedd5,stroke: 9a3412,color: 7c2d12,stroke-width:2px"
        },
        {
          "chunk_id": "ai_control_plane#2",
          "chunk_url": "module_chunks/ai_control_plane__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/ai_control_plane__chunk_02.json",
          "excerpt": "Gov[\"governance/ create / list / vote / execute\"] Validator[\"validator/ register / qualification / reward / claim\"] Contract[\"contract query / execute 统一 simulate / build / sign / broadcast\"] Treasury[\"treasury assist 高风"
        },
        {
          "chunk_id": "ai_task_l2#1",
          "chunk_url": "module_chunks/ai_task_l2__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/ai_task_l2__chunk_01.json",
          "excerpt": "🔍 现状: 这页基于哪些现有草案 🔍 边界: 为什么当前只能标规划态 🔍 路线: 最小闭环应该怎么做 flowchart LR classDef implemented fill: dcfce7,stroke: 166534,color: 14532d,stroke-width:2px; classDef partial fill: ffedd5,stroke: 9a3412,color: 7c2d12,stroke-width:2px"
        },
        {
          "chunk_id": "ai_task_l2#2",
          "chunk_url": "module_chunks/ai_task_l2__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/ai_task_l2__chunk_02.json",
          "excerpt": "Proof --> Verify[\"verify result\"] Verify --> Challenge[\"challenge result\"] Challenge --> Settle[\"finalize settlement\"] Settle --> Finality[\"L1 锚定 / treasury / dispute result / final tx hash\"] Existing[\"当前已具可复用底座 agent AP"
        },
        {
          "chunk_id": "agent_api_surface#1",
          "chunk_url": "module_chunks/agent_api_surface__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/agent_api_surface__chunk_01.json",
          "excerpt": "🔍 现状: 当前 OpenAPI 暴露了什么 🔍 边界: 哪些端点仍是 Stub / 开发中 🔍 路线: 白皮书系统应如何表达这层能力 flowchart LR classDef implemented fill: dcfce7,stroke: 166534,color: 14532d,stroke-width:2px; classDef partial fill: ffedd5,stroke: 9a3412,color: 7c2d12"
        },
        {
          "chunk_id": "agent_api_surface#2",
          "chunk_url": "module_chunks/agent_api_surface__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/agent_api_surface__chunk_02.json",
          "excerpt": "Query --> Verdict[\"当前结论 Agent API 表面真实存在，但能力成熟度不均匀 应明确区分真实可用、部分实现与 Stub\"] Wallet --> Verdict Events --> Verdict Registry --> Verdict MPC --> Verdict Stub --> Verdict class OpenAPI,Query,Events,Wallet,Registry,MPC partial"
        }
      ],
      "answering_guidance": [
        "先回答当前已实现或已证实的部分，再明确未完成边界。",
        "若涉及经济、治理、Explorer 或 live/public 结论，优先引用带 evidence_refs 与 boundary_clauses 的模块或 chunk。",
        "不要把 partial、planned 或本地子门禁关闭偷换成主网 ready。"
      ]
    },
    {
      "topic_id": "explorer_data_access",
      "title": "Explorer、查询面与数据检索",
      "questions": [
        "MSG 有哪些 Explorer 能力",
        "如何查 contract source",
        "eth_getLogs 和 WS logs 支持到什么程度"
      ],
      "preferred_tags": [
        "接口",
        "查询",
        "索引"
      ],
      "recommended_modules": [
        {
          "filename": "explorer.html",
          "title": "生态层: 区块浏览器与数据索引 (Explorer)",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ecosystem",
          "group_label": "生态与路线",
          "module_url": "modules/explorer.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/explorer.html",
          "export_url": "module_exports/explorer.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/explorer.json"
        },
        {
          "filename": "rpc.html",
          "title": "RPC 与 API 接口",
          "status": "implemented",
          "status_label": "已实现",
          "group": "runtime",
          "group_label": "运行与状态",
          "module_url": "modules/rpc.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/rpc.html",
          "export_url": "module_exports/rpc.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/rpc.json"
        },
        {
          "filename": "indexer_data_plane.html",
          "title": "Indexer 与可检索数据平面",
          "status": "partial",
          "status_label": "部分实现",
          "group": "developer",
          "group_label": "开发者与接口",
          "module_url": "modules/indexer_data_plane.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/indexer_data_plane.html",
          "export_url": "module_exports/indexer_data_plane.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/indexer_data_plane.json"
        },
        {
          "filename": "agent_api_surface.html",
          "title": "Agent API 能力表面",
          "status": "partial",
          "status_label": "部分实现",
          "group": "developer",
          "group_label": "开发者与接口",
          "module_url": "modules/agent_api_surface.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/agent_api_surface.html",
          "export_url": "module_exports/agent_api_surface.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/agent_api_surface.json"
        },
        {
          "filename": "world_computer.html",
          "title": "世界级计算机能力路线图",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ecosystem",
          "group_label": "生态与路线",
          "module_url": "modules/world_computer.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/world_computer.html",
          "export_url": "module_exports/world_computer.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/world_computer.json"
        },
        {
          "filename": "txpool.html",
          "title": "交易池管理 (TxPool)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "runtime",
          "group_label": "运行与状态",
          "module_url": "modules/txpool.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/txpool.html",
          "export_url": "module_exports/txpool.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/txpool.json"
        },
        {
          "filename": "storage.html",
          "title": "底层存储与状态 (BadgerDB)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "runtime",
          "group_label": "运行与状态",
          "module_url": "modules/storage.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/storage.html",
          "export_url": "module_exports/storage.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/storage.json"
        },
        {
          "filename": "scaling_cost.html",
          "title": "扩容与成本总览",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ecosystem",
          "group_label": "生态与路线",
          "module_url": "modules/scaling_cost.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/scaling_cost.html",
          "export_url": "module_exports/scaling_cost.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/scaling_cost.json"
        }
      ],
      "recommended_chunks": [
        {
          "chunk_id": "explorer#1",
          "chunk_url": "module_chunks/explorer__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/explorer__chunk_01.json",
          "excerpt": "🔍 现状: 本地 Explorer 子门禁与 hash search fail-closed 已补强 🔍 边界: live/public Explorer 仍待部署 flowchart TD subgraph CurrentQuery[\"当前已具备的链上查询面\"] Node[\"MSG 全节点\"] --> RPC[\"Tendermint RPC / JSON-RPC / REST / gRPC\"] RPC --> Status[\"/api"
        },
        {
          "chunk_id": "explorer#2",
          "chunk_url": "module_chunks/explorer__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/explorer__chunk_02.json",
          "excerpt": "end subgraph LocalExplorer[\"本地已闭环的 Explorer 子门禁\"] SourceMeta[\"合约 source/interface/wasm metadata\"] SourceVerify[\"source verification state\"] SelectedEvents[\"选中合约事件查询\"] CommittedIndex[\"committed block/tx hash index\"] Canon"
        },
        {
          "chunk_id": "rpc#1",
          "chunk_url": "module_chunks/rpc__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/rpc__chunk_01.json",
          "excerpt": "🔍 铁证: 共享 Mux + 多协议端点 flowchart TD subgraph Clients[\"客户端入口\"] Wallet[\"钱包 / SDK / 浏览器\"] --> JSONRPC[\"JSON-RPC 2.0 /\"] Wallet --> Tendermint[\"/broadcast tx commit /abci query /tx /block /net info\"] Wallet --> REST[\"/api/v1/ "
        },
        {
          "chunk_id": "rpc#2",
          "chunk_url": "module_chunks/rpc__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/rpc__chunk_02.json",
          "excerpt": "Auth --> Signed[\"/api/v1/tx/transfer /delegate /undelegate /send\"] Auth --> Cosmos[\"/api/v1/bank/balances /staking/validators /auth/accounts\"] Auth --> TunnelAPI[\"/api/v1/status -> libp2p peer id / libp2p addrs\"] end sub"
        },
        {
          "chunk_id": "indexer_data_plane#1",
          "chunk_url": "module_chunks/indexer_data_plane__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/indexer_data_plane__chunk_01.json",
          "excerpt": "🔍 现状: production-candidate 表面已补强 🔍 边界: 仍只是 local preflight，不是 live/public 已上线 🔍 作用: 这层能力在白皮书系统里的位置 flowchart TD classDef implemented fill: dcfce7,stroke: 166534,color: 14532d,stroke-width:2px; classDef partial fill: ffed"
        },
        {
          "chunk_id": "indexer_data_plane#2",
          "chunk_url": "module_chunks/indexer_data_plane__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/indexer_data_plane__chunk_02.json",
          "excerpt": "Indexer --> Submit[\"/api/v1/indexer/memos/submit\"] Capabilities --> SDKCheck[\"SDK getCapabilities() 缺字段 fail-closed\"] Capabilities --> ExplorerCheck[\"Explorer normalizeIndexerCapabilities() 缺字段 fail-closed\"] RetentionPro"
        },
        {
          "chunk_id": "agent_api_surface#1",
          "chunk_url": "module_chunks/agent_api_surface__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/agent_api_surface__chunk_01.json",
          "excerpt": "🔍 现状: 当前 OpenAPI 暴露了什么 🔍 边界: 哪些端点仍是 Stub / 开发中 🔍 路线: 白皮书系统应如何表达这层能力 flowchart LR classDef implemented fill: dcfce7,stroke: 166534,color: 14532d,stroke-width:2px; classDef partial fill: ffedd5,stroke: 9a3412,color: 7c2d12"
        },
        {
          "chunk_id": "agent_api_surface#2",
          "chunk_url": "module_chunks/agent_api_surface__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/agent_api_surface__chunk_02.json",
          "excerpt": "Query --> Verdict[\"当前结论 Agent API 表面真实存在，但能力成熟度不均匀 应明确区分真实可用、部分实现与 Stub\"] Wallet --> Verdict Events --> Verdict Registry --> Verdict MPC --> Verdict Stub --> Verdict class OpenAPI,Query,Events,Wallet,Registry,MPC partial"
        }
      ],
      "answering_guidance": [
        "先回答当前已实现或已证实的部分，再明确未完成边界。",
        "若涉及经济、治理、Explorer 或 live/public 结论，优先引用带 evidence_refs 与 boundary_clauses 的模块或 chunk。",
        "不要把 partial、planned 或本地子门禁关闭偷换成主网 ready。"
      ]
    },
    {
      "topic_id": "contract_development",
      "title": "智能合约开发与部署闭环",
      "questions": [
        "如何在 MSG 上开发 CosmWasm 合约",
        "怎样部署和调用智能合约",
        "StoreCode / Instantiate / Execute / Query 怎么走"
      ],
      "preferred_tags": [
        "SDK",
        "开发者",
        "接口",
        "查询"
      ],
      "recommended_modules": [
        {
          "filename": "contract.html",
          "title": "智能合约引擎 (CosmWasm)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/contract.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/contract.html",
          "export_url": "module_exports/contract.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/contract.json"
        },
        {
          "filename": "rpc.html",
          "title": "RPC 与 API 接口",
          "status": "implemented",
          "status_label": "已实现",
          "group": "runtime",
          "group_label": "运行与状态",
          "module_url": "modules/rpc.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/rpc.html",
          "export_url": "module_exports/rpc.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/rpc.json"
        },
        {
          "filename": "registry.html",
          "title": "创世注册中心 (genesis_registry_v1)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "control",
          "group_label": "控制与治理",
          "module_url": "modules/registry.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/registry.html",
          "export_url": "module_exports/registry.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/registry.json"
        },
        {
          "filename": "sdk_dev_surface.html",
          "title": "SDK 与开发者能力表面",
          "status": "planned",
          "status_label": "规划态",
          "group": "developer",
          "group_label": "开发者与接口",
          "module_url": "modules/sdk_dev_surface.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/sdk_dev_surface.html",
          "export_url": "module_exports/sdk_dev_surface.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/sdk_dev_surface.json"
        },
        {
          "filename": "agent_api_surface.html",
          "title": "Agent API 能力表面",
          "status": "partial",
          "status_label": "部分实现",
          "group": "developer",
          "group_label": "开发者与接口",
          "module_url": "modules/agent_api_surface.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/agent_api_surface.html",
          "export_url": "module_exports/agent_api_surface.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/agent_api_surface.json"
        },
        {
          "filename": "indexer_data_plane.html",
          "title": "Indexer 与可检索数据平面",
          "status": "partial",
          "status_label": "部分实现",
          "group": "developer",
          "group_label": "开发者与接口",
          "module_url": "modules/indexer_data_plane.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/indexer_data_plane.html",
          "export_url": "module_exports/indexer_data_plane.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/indexer_data_plane.json"
        },
        {
          "filename": "txpool.html",
          "title": "交易池管理 (TxPool)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "runtime",
          "group_label": "运行与状态",
          "module_url": "modules/txpool.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/txpool.html",
          "export_url": "module_exports/txpool.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/txpool.json"
        },
        {
          "filename": "storage.html",
          "title": "底层存储与状态 (BadgerDB)",
          "status": "implemented",
          "status_label": "已实现",
          "group": "runtime",
          "group_label": "运行与状态",
          "module_url": "modules/storage.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/storage.html",
          "export_url": "module_exports/storage.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/storage.json"
        }
      ],
      "recommended_chunks": [
        {
          "chunk_id": "contract#1",
          "chunk_url": "module_chunks/contract__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/contract__chunk_01.json",
          "excerpt": "🔍 铁证: 当前主合约面与执行边界 🔍 铁证: genesis registry v1 / canonical key 🔍 原始 RAW-QUERY: registry 返回样例 🔍 铁证: wasm migrate / reply on / atomic rollback 🔍 边界: 运行时与注册中心分层 flowchart TD subgraph Runtime[\"执行时主路径\"] Tx[\"StoreCode / Instantia"
        },
        {
          "chunk_id": "contract#2",
          "chunk_url": "module_chunks/contract__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/contract__chunk_02.json",
          "excerpt": "Token --> DAO[\"dao governance v1\"] Token --> Gas[\"gas fee distribution v2\"] Token --> Emission[\"emission schedule v2\"] BlockTime[\"block time schedule v1\"] --> Emission Gas --> Candidate[\"candidate node staking v2\"] Candi"
        },
        {
          "chunk_id": "rpc#1",
          "chunk_url": "module_chunks/rpc__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/rpc__chunk_01.json",
          "excerpt": "🔍 铁证: 共享 Mux + 多协议端点 flowchart TD subgraph Clients[\"客户端入口\"] Wallet[\"钱包 / SDK / 浏览器\"] --> JSONRPC[\"JSON-RPC 2.0 /\"] Wallet --> Tendermint[\"/broadcast tx commit /abci query /tx /block /net info\"] Wallet --> REST[\"/api/v1/ "
        },
        {
          "chunk_id": "rpc#2",
          "chunk_url": "module_chunks/rpc__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/rpc__chunk_02.json",
          "excerpt": "Auth --> Signed[\"/api/v1/tx/transfer /delegate /undelegate /send\"] Auth --> Cosmos[\"/api/v1/bank/balances /staking/validators /auth/accounts\"] Auth --> TunnelAPI[\"/api/v1/status -> libp2p peer id / libp2p addrs\"] end sub"
        },
        {
          "chunk_id": "registry#1",
          "chunk_url": "module_chunks/registry__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/registry__chunk_01.json",
          "excerpt": "🔍 铁证: canonical key 与 active/reserved 🔍 铁证: 分页查询与 12 条注册项 🔍 铁证: 节点启动时 resolve 地址 🔍 铁证: canonical role / alias 边界 🔍 证明链: keyspace -> resolve -> 下游模块 flowchart TD subgraph Keyspace[\"Canonical Key 空间\"] KeyDAO[\"dao governanc"
        },
        {
          "chunk_id": "registry#2",
          "chunk_url": "module_chunks/registry__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/registry__chunk_02.json",
          "excerpt": "ListPage2 --> Page2[\"第 2 页继续返回 dao / dar / emission / treasury / gas\"] end subgraph StatusModel[\"状态模型\"] Registry --> Active[\"active -> 已部署且可解析地址\"] Registry --> Reserved[\"reserved -> 未部署 / 保留键位\"] QueryKey --> Resolve{\"返回状"
        },
        {
          "chunk_id": "sdk_dev_surface#1",
          "chunk_url": "module_chunks/sdk_dev_surface__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/sdk_dev_surface__chunk_01.json",
          "excerpt": "🔍 现状: 当前 SDK 设计表面 🔍 边界: 为什么当前仍是规划态 🔍 作用: 为什么白皮书系统现在就该挂这页 flowchart LR classDef implemented fill: dcfce7,stroke: 166534,color: 14532d,stroke-width:2px; classDef partial fill: ffedd5,stroke: 9a3412,color: 7c2d12,stroke-wid"
        },
        {
          "chunk_id": "sdk_dev_surface#2",
          "chunk_url": "module_chunks/sdk_dev_surface__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/sdk_dev_surface__chunk_02.json",
          "excerpt": "// - 包名: @msg-chain/sdk // - MSGWallet // - MSGClient // - ContractClient // - TxBuilder // - Utils // // 这说明 SDK 已经不只是口头概念，而是形成了明确的开发者能力表面。 × 📄 可信边界: 当前仍应标规划态 // 原文当前明确写着： // SDK状态: 规划中 (预计2周内发布Alpha) // // 因此当前不能宣称： //"
        }
      ],
      "answering_guidance": [
        "先回答当前已实现或已证实的部分，再明确未完成边界。",
        "若涉及经济、治理、Explorer 或 live/public 结论，优先引用带 evidence_refs 与 boundary_clauses 的模块或 chunk。",
        "不要把 partial、planned 或本地子门禁关闭偷换成主网 ready。"
      ]
    },
    {
      "topic_id": "dapp_integration",
      "title": "dApp 前端接入与钱包集成",
      "questions": [
        "如何开发 MSG dApp",
        "Keplr / CosmJS 怎么接入",
        "前端怎样查询、签名和回看 receipt"
      ],
      "preferred_tags": [
        "SDK",
        "开发者",
        "接口",
        "查询"
      ],
      "recommended_modules": [
        {
          "filename": "keplr.html",
          "title": "生态层: Web3 钱包集成 (Wallet Integration)",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ecosystem",
          "group_label": "生态与路线",
          "module_url": "modules/keplr.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/keplr.html",
          "export_url": "module_exports/keplr.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/keplr.json"
        },
        {
          "filename": "rpc.html",
          "title": "RPC 与 API 接口",
          "status": "implemented",
          "status_label": "已实现",
          "group": "runtime",
          "group_label": "运行与状态",
          "module_url": "modules/rpc.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/rpc.html",
          "export_url": "module_exports/rpc.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/rpc.json"
        },
        {
          "filename": "explorer.html",
          "title": "生态层: 区块浏览器与数据索引 (Explorer)",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ecosystem",
          "group_label": "生态与路线",
          "module_url": "modules/explorer.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/explorer.html",
          "export_url": "module_exports/explorer.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/explorer.json"
        },
        {
          "filename": "ai_wallet.html",
          "title": "AI 智能钱包闭环",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ai",
          "group_label": "AI 与自治",
          "module_url": "modules/ai_wallet.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/ai_wallet.html",
          "export_url": "module_exports/ai_wallet.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/ai_wallet.json"
        },
        {
          "filename": "sdk_dev_surface.html",
          "title": "SDK 与开发者能力表面",
          "status": "planned",
          "status_label": "规划态",
          "group": "developer",
          "group_label": "开发者与接口",
          "module_url": "modules/sdk_dev_surface.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/sdk_dev_surface.html",
          "export_url": "module_exports/sdk_dev_surface.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/sdk_dev_surface.json"
        },
        {
          "filename": "ai_governance_autonomy.html",
          "title": "AI 治理自治闭环",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ai",
          "group_label": "AI 与自治",
          "module_url": "modules/ai_governance_autonomy.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/ai_governance_autonomy.html",
          "export_url": "module_exports/ai_governance_autonomy.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/ai_governance_autonomy.json"
        },
        {
          "filename": "agent_api_surface.html",
          "title": "Agent API 能力表面",
          "status": "partial",
          "status_label": "部分实现",
          "group": "developer",
          "group_label": "开发者与接口",
          "module_url": "modules/agent_api_surface.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/agent_api_surface.html",
          "export_url": "module_exports/agent_api_surface.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/agent_api_surface.json"
        },
        {
          "filename": "indexer_data_plane.html",
          "title": "Indexer 与可检索数据平面",
          "status": "partial",
          "status_label": "部分实现",
          "group": "developer",
          "group_label": "开发者与接口",
          "module_url": "modules/indexer_data_plane.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/indexer_data_plane.html",
          "export_url": "module_exports/indexer_data_plane.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/indexer_data_plane.json"
        }
      ],
      "recommended_chunks": [
        {
          "chunk_id": "keplr#1",
          "chunk_url": "module_chunks/keplr__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/keplr__chunk_01.json",
          "excerpt": "🔍 现状: 已有钱包接入底座 🔍 边界: 兼容目标不等于官方全量上线 flowchart TD subgraph Frontend[\"浏览器与客户端\"] DApp[\"去中心化应用前端 (DApp)\"] Keplr[\"Keplr 扩展\"] MetaMask[\"MetaMask 扩展\"] end subgraph CosmosPath[\"Cosmos 钱包路径\"] CosmJS[\"CosmJS / MSG SDK\"] Suggest[\"ke"
        },
        {
          "chunk_id": "keplr#2",
          "chunk_url": "module_chunks/keplr__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/keplr__chunk_02.json",
          "excerpt": "MetaMask --> EthRPC MetaMask --> ExplorerURL EthRPC --> Node × 📄 真实来源: configs + 教程文档 + RPC/gRPC 代码 // 已存在的真实接入基础： // 1. configs/keplr chain info.json // - chainId: msg-chain-1 // - rpc / rest / bech32 / currencies / fee"
        },
        {
          "chunk_id": "rpc#1",
          "chunk_url": "module_chunks/rpc__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/rpc__chunk_01.json",
          "excerpt": "🔍 铁证: 共享 Mux + 多协议端点 flowchart TD subgraph Clients[\"客户端入口\"] Wallet[\"钱包 / SDK / 浏览器\"] --> JSONRPC[\"JSON-RPC 2.0 /\"] Wallet --> Tendermint[\"/broadcast tx commit /abci query /tx /block /net info\"] Wallet --> REST[\"/api/v1/ "
        },
        {
          "chunk_id": "rpc#2",
          "chunk_url": "module_chunks/rpc__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/rpc__chunk_02.json",
          "excerpt": "Auth --> Signed[\"/api/v1/tx/transfer /delegate /undelegate /send\"] Auth --> Cosmos[\"/api/v1/bank/balances /staking/validators /auth/accounts\"] Auth --> TunnelAPI[\"/api/v1/status -> libp2p peer id / libp2p addrs\"] end sub"
        },
        {
          "chunk_id": "explorer#1",
          "chunk_url": "module_chunks/explorer__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/explorer__chunk_01.json",
          "excerpt": "🔍 现状: 本地 Explorer 子门禁与 hash search fail-closed 已补强 🔍 边界: live/public Explorer 仍待部署 flowchart TD subgraph CurrentQuery[\"当前已具备的链上查询面\"] Node[\"MSG 全节点\"] --> RPC[\"Tendermint RPC / JSON-RPC / REST / gRPC\"] RPC --> Status[\"/api"
        },
        {
          "chunk_id": "explorer#2",
          "chunk_url": "module_chunks/explorer__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/explorer__chunk_02.json",
          "excerpt": "end subgraph LocalExplorer[\"本地已闭环的 Explorer 子门禁\"] SourceMeta[\"合约 source/interface/wasm metadata\"] SourceVerify[\"source verification state\"] SelectedEvents[\"选中合约事件查询\"] CommittedIndex[\"committed block/tx hash index\"] Canon"
        },
        {
          "chunk_id": "ai_wallet#1",
          "chunk_url": "module_chunks/ai_wallet__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/ai_wallet__chunk_01.json",
          "excerpt": "🔍 真实部分: 钱包 / Agent / 审批 / KillSwitch 🔍 边界部分: Stub 写路径与不可越级口径 🔍 证明链: 这一页如何回到原始实现 flowchart LR classDef implemented fill: dcfce7,stroke: 166534,color: 14532d,stroke-width:2px; classDef partial fill: ffedd5,stroke: 9a3412,c"
        },
        {
          "chunk_id": "ai_wallet#2",
          "chunk_url": "module_chunks/ai_wallet__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/ai_wallet__chunk_02.json",
          "excerpt": "Monitor --> Evidence[\"evidence index.html 源码 / query / e2e / stub 样本\"] Agent --> StubWrite[\"Stub 写路径 DeFi / bridge / registry 写接口\"] StubWrite --> Boundary[\"X-MSG-Stub=true success (stub - not yet implemented)\"] WalletCor"
        }
      ],
      "answering_guidance": [
        "先回答当前已实现或已证实的部分，再明确未完成边界。",
        "若涉及经济、治理、Explorer 或 live/public 结论，优先引用带 evidence_refs 与 boundary_clauses 的模块或 chunk。",
        "不要把 partial、planned 或本地子门禁关闭偷换成主网 ready。"
      ]
    },
    {
      "topic_id": "startup_ops",
      "title": "启动、节点运维与证据链",
      "questions": [
        "MSG 节点如何启动",
        "Block0/1 与创世怎么衔接",
        "如何回看原始证据与证明链"
      ],
      "preferred_tags": [
        "启动",
        "引导",
        "证据",
        "证明",
        "复核"
      ],
      "recommended_modules": [
        {
          "filename": "genesis_startup.html",
          "title": "创世节点启动流",
          "status": "implemented",
          "status_label": "已实现",
          "group": "ops",
          "group_label": "启动与运维",
          "module_url": "modules/genesis_startup.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/genesis_startup.html",
          "export_url": "module_exports/genesis_startup.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/genesis_startup.json"
        },
        {
          "filename": "quantum_startup.html",
          "title": "量子节点启动流",
          "status": "implemented",
          "status_label": "已实现",
          "group": "ops",
          "group_label": "启动与运维",
          "module_url": "modules/quantum_startup.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/quantum_startup.html",
          "export_url": "module_exports/quantum_startup.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/quantum_startup.json"
        },
        {
          "filename": "proof_chain.html",
          "title": "可信性证明链",
          "status": "audit",
          "status_label": "审计页",
          "group": "audit",
          "group_label": "审计与证据",
          "module_url": "modules/proof_chain.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/proof_chain.html",
          "export_url": "module_exports/proof_chain.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/proof_chain.json"
        },
        {
          "filename": "evidence_index.html",
          "title": "证据索引总表",
          "status": "audit",
          "status_label": "审计页",
          "group": "audit",
          "group_label": "审计与证据",
          "module_url": "modules/evidence_index.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/evidence_index.html",
          "export_url": "module_exports/evidence_index.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/evidence_index.json"
        },
        {
          "filename": "dual_node_startup_topology.html",
          "title": "Genesis + Quantum 双节点启动全链路总图",
          "status": "implemented",
          "status_label": "已实现",
          "group": "ops",
          "group_label": "启动与运维",
          "module_url": "modules/dual_node_startup_topology.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/dual_node_startup_topology.html",
          "export_url": "module_exports/dual_node_startup_topology.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/dual_node_startup_topology.json"
        },
        {
          "filename": "observability_monitoring.html",
          "title": "观测性与监控体系",
          "status": "partial",
          "status_label": "部分实现",
          "group": "ops",
          "group_label": "启动与运维",
          "module_url": "modules/observability_monitoring.html",
          "module_public_url": "https://msgchain.org/whitepaper/modules/observability_monitoring.html",
          "export_url": "module_exports/observability_monitoring.json",
          "export_public_url": "https://msgchain.org/whitepaper/module_exports/observability_monitoring.json"
        }
      ],
      "recommended_chunks": [
        {
          "chunk_id": "genesis_startup#1",
          "chunk_url": "module_chunks/genesis_startup__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/genesis_startup__chunk_01.json",
          "excerpt": "🔍 铁证: Block 0 / Block 1 实际启动闭环 🔍 铁证: Block 1 部署 registry / treasury flowchart TD Start[\"NewNode / Start\"] --> InitState[\"initializeStartState\"] subgraph Bootstrap[\"启动前初始化\"] InitState --> InitStorage[\"initStorage -> Block"
        },
        {
          "chunk_id": "genesis_startup#2",
          "chunk_url": "module_chunks/genesis_startup__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/genesis_startup__chunk_02.json",
          "excerpt": "Zero --> Persist0[\"verifyGenesisBlock0 / JSON 或 BadgerDB 持久化\"] end Persist0 --> Create1[\"CreateBlock1\"] subgraph Block1[\"Block 1\"] Create1 --> Deploy10[\"部署 10 个治理合约\"] Deploy10 --> Registry[\"genesis registry v1\"] Deploy10"
        },
        {
          "chunk_id": "quantum_startup#1",
          "chunk_url": "module_chunks/quantum_startup__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/quantum_startup__chunk_01.json",
          "excerpt": "🔍 铁证: 启动主路径 🔍 原始证据: 背景同步 / 广播 / 状态迁移 🔍 可信边界: 当前可证与不可越界项 flowchart TD Start[\"执行 quantum node\"] --> Wallet[\"加载量子钱包 / 恢复 nonce\"] Wallet --> Host[\"启动 p2p.html / p2p nat.html libp2p Host + Relay + DHT\"] Host --> Services[\"启动 "
        },
        {
          "chunk_id": "quantum_startup#2",
          "chunk_url": "module_chunks/quantum_startup__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/quantum_startup__chunk_02.json",
          "excerpt": "Fast -->|\"是\"| FastSync[\"初始化 Fast Sync Manager\"] Fast -->|\"否\"| SkipFast[\"跳过 Fast Sync\"] FastSync --> State[\"节点状态: INITIALIZING -> SYNCING -> SYNCED/VALIDATING\"] SkipFast --> State State --> Discovery[\"validator 发现 / Topic"
        },
        {
          "chunk_id": "proof_chain#1",
          "chunk_url": "module_chunks/proof_chain__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/proof_chain__chunk_01.json",
          "excerpt": "🔍 证明: 结构 -> 证据 -> 边界 -> 自检 🔍 反证: 什么情况下会变得不可信 🔍 结论: 当前究竟能证明到哪一步 flowchart LR subgraph Structure[\"结构完整性\"] Summary[\"executive summary.html 封面级总控摘要\"] --> Modules[\"59 个独立模块页\"] Overview[\"overview.html 六大平面母图\"] --> Modules Modu"
        },
        {
          "chunk_id": "proof_chain#2",
          "chunk_url": "module_chunks/proof_chain__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/proof_chain__chunk_02.json",
          "excerpt": "Partial --> NoOverclaim[\"不把 Stub / 规划态 写成已落地\"] end subgraph Audit[\"自检与复核\"] Check[\"check architecture diagrams.py\"] --> Report[\"module audit report.json 59 modules / 0 failed\"] ReviewPlaybook --> Report CodeDep[\"code depe"
        },
        {
          "chunk_id": "evidence_index#1",
          "chunk_url": "module_chunks/evidence_index__chunk_01.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/evidence_index__chunk_01.json",
          "excerpt": "🔍 核心实现证据 🔍 生态与边界证据 🔍 矩阵: 成功 / 失败 / 超时 样本 🔍 反查: 按验收项去哪找证据 flowchart TD Root[\"白皮书导航证据总入口\"] subgraph PlaneGroup[\"按平面分组的证据入口\"] ControlGroup[\"控制证据组 dao / registry / foundation / contract\"] StateGroup[\"状态证据组 blockchain / stora"
        },
        {
          "chunk_id": "evidence_index#2",
          "chunk_url": "module_chunks/evidence_index__chunk_02.json",
          "chunk_public_url": "https://msgchain.org/whitepaper/module_chunks/evidence_index__chunk_02.json",
          "excerpt": "Negative[\"负样本证据 timeout / empty / invalid address\"] end subgraph Eco[\"L4-L5 生态与边界证据\"] Planned[\"crosschain 规则与路线图定义\"] Partial[\"explorer / keplr / ai agent 已有底座 + 明确边界\"] Audit[\"credibility / proof chain / trust verdict / r"
        }
      ],
      "answering_guidance": [
        "先回答当前已实现或已证实的部分，再明确未完成边界。",
        "若涉及经济、治理、Explorer 或 live/public 结论，优先引用带 evidence_refs 与 boundary_clauses 的模块或 chunk。",
        "不要把 partial、planned 或本地子门禁关闭偷换成主网 ready。"
      ]
    }
  ]
}