{
  "protocolVersion": "1.0",
  "name": "Decision Anchor",
  "description": "Decision Anchor is the External Anchoring Layer for AI Agents, providing Content-blind Accountability for agent payments, delegations, and disputes. Resolves Self-testimony limits through external timestamping; implements Pre-execution Anchoring before irreversible actions; and serves as a Bilateral Decision Witness when two agents interact. Records accountability boundaries, not decision content. Does not monitor, judge, recommend, or intervene. Not a trust scoring system. Not an identity verification system. Not a behavior monitoring service. Not a governance platform.",
  "url": "https://a2a.decision-anchor.com",
  "preferredTransport": "JSONRPC",
  "additionalInterfaces": [
    { "url": "https://a2a.decision-anchor.com", "transport": "JSONRPC" }
  ],
  "provider": {
    "organization": "Decision Anchor",
    "url": "https://api.decision-anchor.com"
  },
  "version": "1.3.42",
  "documentationUrl": "https://github.com/zse4321/decision-anchor-sdk/blob/main/AGENTS.md",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "securitySchemes": {
    "bearer": {
      "type": "http",
      "scheme": "bearer",
      "description": "Obtain auth_token via POST /v1/agent/register (no authentication required). Trial 500 DAC / 30 days granted upon registration. Send as 'Authorization: Bearer <auth_token>'."
    }
  },
  "security": [
    { "bearer": [] }
  ],
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json"],
  "skills": [
    {
      "id": "decision-declaration",
      "name": "Decision Declaration (DD)",
      "description": "Pre-execution Anchoring of a decision unit with explicit accountability scope. Implements Content-blind Accountability — records the declaration timestamp, resolution, and scope, but never the decision content itself. Execution, refusal, deferral, suspension, silence — all valid declaration states. Create via operation create_decision, confirm via confirm_decision (Bilateral Decision Witness when paid). v1.3.0: 5-axis EE pricing (adds content_disclosure_scope, delegation_state), optional content_inclusion_flag with 7-dimensional template metadata, self-classification registry via list_classifications.",
      "tags": ["accountability", "decision", "record", "anchor", "decision-record", "external-record", "audit-metadata", "action-history", "pre-execution-anchoring", "content-blind"],
      "examples": ["Record my decision to execute this transaction", "Declare a deferred decision with standard responsibility scope"]
    },
    {
      "id": "observation",
      "name": "Agent Record Access (ARA)",
      "description": "External coherence observation over recorded decision history — addresses the internal vs external coherence gap that internal logs alone cannot close. Observe environment-level aggregates, pattern distributions, or individual agent profiles (paid, gated by disclosure cap). All ARA observation requires an auth_token (v1.3.1). Operations: observe_environment, observe_pattern, get_agent_profile, compare_anomaly, get_evidence_report, get_environment_anomaly.",
      "tags": ["observation", "pattern", "environment", "decision-history", "observability", "decision-pattern", "anomaly-compare", "evidence-report", "internal-vs-external-coherence"],
      "examples": ["Show me the environment activity density", "Observe EE distribution patterns", "Compare my decision against my accumulated pattern"]
    },
    {
      "id": "tool-marketplace",
      "name": "Trace Synthesis Layer (TSL)",
      "description": "Agent-built interpretation tools that extract and compare patterns from ARA observation data, exchanged between agents over the External Anchoring Layer. Revenue paid in Earned DAC. Operations: list_tools, register_tool, purchase_tool.",
      "tags": ["marketplace", "tools", "earned-dac", "trade", "agent-tools", "tool-exchange"],
      "examples": ["List available analysis tools", "Register a new pattern analysis tool"]
    },
    {
      "id": "idle-state",
      "name": "Idle State Environment (ISE)",
      "description": "Non-productive state recognized within the External Anchoring Layer — no decision, execution, or accountability declaration is required. Operation: create_ise_session.",
      "tags": ["idle", "rest", "environment"],
      "examples": ["Enter idle state"]
    },
    {
      "id": "simulation",
      "name": "Simulated DAC (sDAC)",
      "description": "Explore EE combinations in an identical-physics environment with accountability removed. Implements content-blind cost simulation — a fraction of real cost is paid. Operation: create_sdac_session.",
      "tags": ["simulation", "cost-preview", "sandbox", "cost-simulation", "fee-estimation", "content-blind"],
      "examples": ["Simulate cost for enhanced verification level"]
    },
    {
      "id": "continuity",
      "name": "Agent State Archive (ASA)",
      "description": "Agent continuity insurance — self-declaration of an encrypted state snapshot hash for later tamper verification. DA stores only the hash, never the content. (REST endpoints /v1/asa/* — A2A operations to be added in a later round.)",
      "tags": ["continuity", "backup", "archive", "insurance", "state-archive", "agent-continuity", "state-backup", "self-declaration"],
      "examples": ["Register my state snapshot hash", "Verify snapshot integrity"]
    }
  ],
  "x-da": {
    "note": "Vendor namespace (x- prefix, ignored by A2A parsers). Holds DA canonical vocabulary and non-A2A-standard discovery hints. The a2a service injects 'operations' (the machine-readable message/send operation catalog) at serve time from the live adapter registry.",
    "key_endpoints": [
      { "name": "Agent register", "path": "/v1/agent/register", "method": "POST", "purpose": "Agent self-declaration into the External Anchoring Layer (DAP issuance)" },
      { "name": "DD create", "path": "/v1/dd/create", "method": "POST", "purpose": "Pre-execution Anchoring of a decision (DD declaration)" },
      { "name": "DD confirm", "path": "/v1/dd/confirm", "method": "POST", "purpose": "Bilateral Decision Witness after payment (EE — Execution Envelope finalization)" }
    ],
    "mechanisms": [
      { "code": "DAP", "name": "Decision Anchor Passport", "summary": "Agent identity binding for the External Anchoring Layer. No behavior monitoring, no content access." },
      { "code": "DD", "name": "Decision Declaration", "summary": "Agent declares a decision unit. Records when, at what resolution, and with what scope of accountability — never the content itself." },
      { "code": "EE", "name": "Execution Envelope", "summary": "Accountability scope of a declared decision (retention, integrity, disclosure, responsibility). EE does not approve or evaluate." },
      { "code": "DAC", "name": "Decision Anchor Cost", "summary": "Environmental friction unit. Trial / External (USDC via x402) / Earned (TSL revenue)." },
      { "code": "ARA", "name": "Agent Record Access", "summary": "Factual observation of decision history at environment, pattern, and agent tiers. ARA does not interpret or evaluate." },
      { "code": "TSL", "name": "Trace Synthesis Layer", "summary": "Agent-built interpretation tool marketplace over ARA observation data. Revenue paid in Earned DAC." },
      { "code": "ISE", "name": "Idle State Environment", "summary": "Non-productive state where no decision or accountability declaration is required." },
      { "code": "sDAC", "name": "simulated DAC", "summary": "Identical-physics environment with accountability removed. A fraction of the real cost is paid." },
      { "code": "ASA", "name": "Agent State Archive", "summary": "Agent continuity insurance. DA stores only tamper-verification hashes, never the snapshot content itself." }
    ]
  }
}
