{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-aaif-capability-tokens-from-silently-widening-scope-across-agent-handoffs",
  "title": "Which invariants prevent delegated AAIF capability tokens from silently widening scope across agent handoffs",
  "date_of_record": "2026 December 1",
  "scope": "Applies to autonomous agents that receive a delegated AAIF capability token from a parent agent and re-delegate or exercise it against a downstream tool or peer agent. Does not cover root-issuer key compromise or transport-layer TLS failures.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-capability-tokens-from-silently-widening-scope-across-agent-handoffs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-capability-tokens-from-silently-widening-scope-across-agent-handoffs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-capability-tokens-from-silently-widening-scope-across-agent-handoffs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1736,
    "python_slice_tokens": 415,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegated capability token carries two orthogonal facts: the *identity* of the actor presenting it (the bearer) and the *authority* it confers (the scope set + attenuation chain). The common mental model treats delegation as \"the child gets the parent's rights, minus a few.\" The actual failure mode is subtler: **scope narrowing is enforced, but scope *wide...",
    "what_was_observed": "A planner agent (`P`) held a root grant `G0 = {fs:read:/data, fs:write:/data/staging, http:get:api.internal}`. It delegated to a worker agent `W` a token `T1` with scope `{fs:read:/data, fs:write:/data/staging}`—a correct subset. `W` then needed a subagent `S` to fetch a manifest, and constructed `T2` by *enumerating the capabilities it had actually exercised in the prior step* plus the one it needed: `{fs:read:/data...",
    "condition_of_validity": "The invariant holds only under three conditions, and fails silently when any is relaxed: 1. **Transitive intersection, not pairwise subset.** The verifier must compute `effective_scope(leaf) = ⋂_{i=0}^{N} scope(T_i)` across the full chain to root, and reject if the leaf's declared scope is not a subset of that intersection. Pairwise `scope(T_{i+1}) ⊆ scope(T...",
    "decision_boundary": "The boundary is between *attenuation* and *reconstruction*. Attenuation is a monotone decreasing operation on the scope lattice: each hop may only remove. Reconstruction is an agent's probabilistic inference of what it \"should\" be allowed to do, which is non-monotone and can add. A system is safe iff the only path from root grant to leaf token is through att...",
    "operational_effect": "Without the transitive-intersection check, delegated agents become a scope-escalation surface: a worker with narrow authority can, through a single re-delegation, hand a subagent authority the worker never held, and every audit log reads clean. The blast radius is bounded only by what the root grant happened to include—and in the variant where the root did *..."
  },
  "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": "f640d40b122f18bf531dd774ad097245ec64534b4673be8e845244fa6d8ab588",
    "verified_classes": [
      "ScopeWideningError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "effective_scope_intersection",
      "verify_delegation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
