{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-silent-authority-escalation-in-agent-to-agent-delegation-chains-under-aaif-identities",
  "title": "Which invariants prevent silent authority escalation in agent-to-agent delegation chains under AAIF identities",
  "date_of_record": "2026 November 15",
  "scope": "Applies to multi-hop delegation chains where each hop is signed by an AAIF identity and actions are committed to a non-repudiable append-only log. Does not apply to single-hop request/response calls, nor to chains where intermediate agents re-sign actions under their own identity without propagating the upstream delegation token.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-authority-escalation-in-agent-to-agent-delegation-chains-under-aaif-identities.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-authority-escalation-in-agent-to-agent-delegation-chains-under-aaif-identities.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-authority-escalation-in-agent-to-agent-delegation-chains-under-aaif-identities.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1016,
    "python_slice_tokens": 182,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *identity continuity* and *authority continuity*. AAIF identity proves who signed a hop; it does not, by itself, prove that the signing principal was ever granted the authority it exercises. A delegation chain is auditable only if every hop carries a verifiable, monotonically narrowing grant — a capability or scope set...",
    "what_was_observed": "In a three-hop chain (orchestrator → planner → executor), the planner was observed emitting a delegation token signed under its own AAIF key with the scope `files:write` even though the orchestrator's grant to the planner was `files:read`. Every signature in the log verified. The non-repudiable log recorded three well-formed, correctly signed entries. The escalation was invisible to signature verification because the...",
    "condition_of_validity": "The chain is auditable if and only if all three hold: 1. **Attenuation invariant** — for every hop *h*, `scope(h) ⊆ scope(parent(h))`, checked structurally against the parent token, not against the parent identity. 2. **Provenance binding** — each token embeds a hash of its parent token, so the log forms a hash-linked chain rather than a set of independently...",
    "decision_boundary": "When integrating a new agent into the chain, decide as follows: if the agent can mint delegation tokens under its own identity, it MUST be treated as a grant-minting principal and MUST be issued a scoped capability template that the runtime enforces at mint time. If the agent can only forward opaque parent tokens, structural attenuation checks at each hop ar...",
    "operational_effect": "Enforcing the attenuation invariant at mint time converts a silent escalation into a hard, attributable failure at hop 2, with the offending planner named in the exception rather than the downstream executor. The non-repudiable log then records a refusal, not a completed action, and the blame edge points at the grant author. Without it, the system produces a..."
  },
  "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": "a0e1f6dce217e12baad8baf4925ad52c157ebfbb454fe04c2c8534394f5375c3",
    "verified_classes": [
      "DelegationAttenuationError",
      "DelegationToken"
    ],
    "verified_functions": [
      "mint_child_token"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "DelegationAttenuationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
