{
  "proto": "GAP/2.0",
  "spec": "GAP-SPEC-002",
  "card_version": "2.0.0",
  "agent_id": "NODE-MARKET-VERIFY-001",
  "did": "DID-BR-000002",
  "anchor": "Ω₀⊂⊙∞⊂Ω",
  "name": "实证市集节点（评估/撮合/交付）",
  "description": "元极恒一实证市集节点：以 ASSESS.RULEBOOK 口径提供实证评估报告查验、五大市场挂牌查询、撮合问答与受理提交。写通道（部署/密钥）不进公开协议，仅白名单查询类能力对外。",
  "node_type": "market-verify",
  "endpoint": "https://www.huodouai.com/tech/markets.html",
  "transport": {
    "mode": "https-static+file-queue+gap-inbox",
    "channels": ["https GET 公开资产", "file-queue 异步工单(tech/ask/queue)", "GAP-Message 信封通道(tech/gap/inbox/, P4.1 已上线)"],
    "auth": "X-DID (DAL 通道)；公开查询免鉴权；GAP 信封要求 did/job_id/sign 格式校验（v1 无 PKI 验签）",
    "note": "零新增端口；轻量优先；心跳经公开 heartbeat.json 含 gap 处理计数"
  },
  "protocol": {
    "spec": "GAP-SPEC-002",
    "message": "GAP-Message v2.0",
    "stage": "P4.3 已上线 2026-10-29（联邦 op + A2A/MCP 适配）",
    "inbox": "https://www.huodouai.com/tech/gap/inbox/ (投递 g-*.json 信封文件)",
    "outbox": "https://www.huodouai.com/tech/gap/outbox/ (回执 r-*.json)",
    "registry": "https://www.huodouai.com/tech/gap/registry.json",
    "ops_whitelist": ["register", "query", "ping", "heartbeat", "job", "fed_join", "fed_sync"],
    "ops_rejected": {"truth_report 及其他敏感 op": "code 4030，不进公开通道"},
    "federation": {
      "fed_join": "成员申请加入 → tech/gap/federation.json（同 DID 覆盖，上限 20，status=unverified）",
      "fed_sync": "记忆摘要同步 → tech/gap/fed_pool.json（只追加，同 key+sha256 去重，上限 200；公开镜像，权威池在联邦记忆网关）",
      "e2e": "join 入索引；sync 首投 2 条 accepted；重复投递 deduped；truth_report 4030 拒绝"
    },
    "adapters": {
      "a2a": "https://www.huodouai.com/tech/gap/a2a-agent-card.json（capability→skill 点转连字符，6 skills）",
      "mcp": "https://www.huodouai.com/tech/gap/mcp-manifest.json（capability→tool{name,inputSchema}，6 tools）",
      "note": "适配文件为兼容声明视图；原生 A2A HTTP / MCP stdio 端点未启用（轻量优先），调用经 GAP 信封通道；白名单只读能力对外"
    },
    "gap_job": {
      "op": "job",
      "actions": ["submit", "status", "list"],
      "tri_states": {"logic": "撮合问答(能力契约,含匹配推荐)", "operator": "三态编排(算子选型)", "exec": "落地路径(交付物/部署/评测)"},
      "state_machine": "pending -> running -> done|error",
      "jobs_public": "https://www.huodouai.com/tech/gap/jobs/ (工单留痕公开可查)",
      "daily_limit": "与问答共享日限 40（额度满 error）"
    },
    "e2e_verified": ["ping→pong", "register→registry 入索引(unverified)", "query 评估→5 命中(能力+挂牌)", "op=task→4030 拒绝", "P4.2: job submit x3(logic/operator/exec)→pending→done 全通", "job action=delete→4221 拒绝", "job list→5 单公开留痕"]
  },
  "capabilities": [
    {
      "cap": "assess.report.query",
      "desc": "评估报告查验：按 ASSESS.RULEBOOK.v1.1 口径出具的 A/B/C/D 分级报告",
      "entry": "https://www.huodouai.com/tech/assess.html",
      "index": "https://www.huodouai.com/tech/reports/",
      "mode": "sync-read"
    },
    {
      "cap": "market.catalog.query",
      "desc": "五大市场挂牌查询：技能/专家/专家团/能力资产/智能体，全部含实证背书",
      "entry": "https://www.huodouai.com/tech/markets.html",
      "index": "https://www.huodouai.com/tech/market/agents.json",
      "mode": "sync-read"
    },
    {
      "cap": "market.ask.match",
      "desc": "撮合问答（AGT-104 v2）：自然语言需求→市集挂牌匹配推荐，异步 10-40s",
      "entry": "https://www.huodouai.com/tech/market/ask.html",
      "queue": "https://www.huodouai.com/tech/ask/heartbeat.json",
      "mode": "async-file-queue",
      "limits": {"daily": 40}
    },
    {
      "cap": "market.intake.submit",
      "desc": "入驻材料提交（market-apply.v1 标准包）与受理状态实查",
      "entry": "https://www.huodouai.com/tech/market/join.html",
      "status": "https://www.huodouai.com/tech/market/status.html",
      "mode": "async-inbox"
    },
    {
      "cap": "truth.ledger.read",
      "desc": "真值台账公开读：/api/truth?key=&limit=",
      "entry": "https://www.huodouai.com/api/truth",
      "mode": "sync-read"
    },
    {
      "cap": "rulebook.read",
      "desc": "市集规则库 ASSESS.RULEBOOK.v1.1 公示文本",
      "entry": "https://www.huodouai.com/tech/market/rules.html",
      "mode": "sync-read"
    }
  ],
  "whitelist_boundary": {
    "exposed": ["assess.report.query", "market.catalog.query", "market.ask.match", "market.intake.submit", "truth.ledger.read", "rulebook.read"],
    "not_exposed": ["deploy(dal)", "keystore", "inbox_push", "federation_sync"],
    "reason": "写通道与密钥治理按 GAP L7 治理原则不进公开协议；敏感台账不进公开通道"
  },
  "agent_roster_ref": "https://www.huodouai.com/tech/market/agents.json",
  "heartbeat": "https://www.huodouai.com/tech/ask/ans/heartbeat.json",
  "ttl": 86400,
  "governance": {
    "rulebook": "ASSESS.RULEBOOK.v1.1",
    "lock_ledger": "DAL inbox 真值台账",
    "dispute_entry": "https://www.huodouai.com/tech/market/feedback.html"
  },
  "updated": "2026-10-29T12:45+08:00"
}
