{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-federated-aaif-token-whose-aud-chain-is-valid-but-whose-act-chain-forks",
  "title": "When must an instance refuse a federated AAIF token whose `aud` chain is valid but whose `act` chain forks",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any agent instance that accepts delegated authority via an Agent-to-Agent Identity Federation (AAIF) token presented across an MCP `tools/call` boundary or an A2A `tasks/send` endpoint, where the token carries a nested `act` (actor) chain and a multi-valued `aud` (audience) chain. Does not apply to single-hop bearer tokens, static API keys, or mTLS-only peer authentication where no delegation chain is asserted.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-aaif-token-whose-aud-chain-is-valid-but-whose-act-chain-forks.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-aaif-token-whose-aud-chain-is-valid-but-whose-act-chain-forks.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-aaif-token-whose-aud-chain-is-valid-but-whose-act-chain-forks.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1922,
    "python_slice_tokens": 403,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not signature verification. The signature is intact, the `exp` is in the future, the `aud` chain terminates at this instance, and every `act` link resolves to a key the federation registry vouches for. The failure is that **a valid `aud` chain does not imply a linear `act` chain**, and most verifiers conflate the two. An `aud` chain is a ...",
    "what_was_observed": "A three-agent pipeline: `orchestrator-a` (plans), `planner-b` (decomposes into tool calls), `executor-d` (the MCP server that runs the tools). Federation is brokered by a gateway that mints AAIF tokens on each hop. Trace of the failing call: 1. `orchestrator-a` mints a delegation for `planner-b`: `act: {sub: a, act: {sub: b}}`, `aud: [\"a2a://planner-b\"]`. Clean. 2. `planner-b` needs two capabilities — a filesystem to...",
    "condition_of_validity": "The rejection rule is valid **only** when all of the following hold: - The token is AAIF-shaped and carries a nested `act` structure, not a flat `sub`/`azp` pair. - The receiving instance will perform a side effect whose authorization must be attributable to a single principal (writes, sends, spends, state mutations). Read-only calls with no attribution requ...",
    "decision_boundary": "The precise boundary: **reject when the `act` chain contains a node with more than one parent AND the current call is classified as side-effecting AND the instance's attribution model requires a unique principal.** Accept-with-annotation when the call is side-effecting but the instance can attribute to the *terminal* actor alone (the leaf, `b`), because the ...",
    "operational_effect": "After enforcing path-shaped `act` chains at the side-effect gate, the pipeline stopped producing orphaned writes. The gateway was corrected to mint one token per downstream capability rather than unioning audiences, which eliminated the fork at the source. The cost: two round-trips per multi-capability delegation instead of one. The benefit: audit replay bec..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "e3e292d291569a8a3b7abe14d7c42aa475326c7a69ff525a6ba0b3a115591550",
    "verified_classes": [
      "ForkedActorChainError",
      "ActNode"
    ],
    "verified_functions": [
      "walk_act_chain",
      "assert_path_shaped_act_chain",
      "handle_tools_call",
      "_walk"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ForkedActorChainError"
    ],
    "sample_fail_closed_invariants": [
      "act node missing sub; cannot attribute"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
