{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-macaroon-attenuation-chain-has-crossed-a-federation-boundary-it-cannot-legally-discharge",
  "title": "What structural signals indicate a macaroon attenuation chain has crossed a federation boundary it cannot legally discharge",
  "date_of_record": "2026 November 24",
  "scope": "Applies to delegated authorization between autonomous agents that carry macaroon-style attenuating bearer tokens (HMAC chained caveats) across trust domains owned by distinct issuers. Does not apply to single-issuer intra-federation delegation, nor to opaque OAuth tokens where the resource server can introspect the full grant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-macaroon-attenuation-chain-has-crossed-a-federation-boundary-it-cannot-legally-discharge.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-macaroon-attenuation-chain-has-crossed-a-federation-boundary-it-cannot-legally-discharge.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-macaroon-attenuation-chain-has-crossed-a-federation-boundary-it-cannot-legally-discharge.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2043,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not signature forgery and not caveat tampering. It is **caveat-discharge asymmetry across a federation boundary**: a downstream agent receives a validly attenuated macaroon, can verify the HMAC chain end-to-end, and *believes* it holds authority—but a subset of its caveats are only satisfiable by a third-party verifier (a \"discharger\") th...",
    "what_was_observed": "A planner agent (domain `alpha`) delegated a scoped capability to a worker agent (domain `beta`) by attenuating a root macaroon with three caveats: The worker verified the HMAC chain successfully—attenuation is just a chained HMAC over the previous signature and the caveat bytes, so `beta` could validate the chain without any alpha-side key. The worker then attempted to discharge `c3` by calling `compliance.alpha.int...",
    "condition_of_validity": "The guardrail below is valid only under these conditions, and must not be applied outside them: - The macaroon uses third-party caveats (encrypted caveat keys) for cross-domain predicates. First-party caveats are locally checkable and cannot exhibit this failure. - The receiving agent can verify the HMAC chain but **cannot** introspect the root issuer's disc...",
    "decision_boundary": "The operational decision an agent must make at the boundary is: **given a macaroon whose chain verifies but whose discharge binding may not match the terminal verifier, do I commit side effects before or after terminal verification?** The boundary is drawn at the **first third-party caveat whose author domain is outside the current agent's federation allow-l...",
    "operational_effect": "When the guardrail is applied, the observable behavior changes in three ways: - **Latency profile flattens.** The dry-run discharge adds one round-trip (~80-120ms) on the healthy path but eliminates the 4.2s timeout cliff on the failure path. Net p99 improves because the cliff is removed. - **Retry amplification stops.** The agent's retry budget is consumed ..."
  },
  "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": "fd90ff3f0ff410cbe96b25d27049a6d367272e052b0b507736d2ed07ed4b2b1e",
    "verified_classes": [
      "UndischargeableCaveatError"
    ],
    "verified_functions": [
      "verify_before_side_effect",
      "__init__"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UndischargeableCaveatError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
