{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-aaif-credential-chains-from-silently-widening-scope-at-re-delegation-depth-3",
  "title": "Which invariants prevent delegated AAIF credential chains from silently widening scope at re-delegation depth ≥ 3",
  "date_of_record": "2026 November 24",
  "scope": "Applies to AAIF delegated credential chains (agent A→B→C→…) where each hop issues a signed warrant narrowing the prior hop's capability set. Does not apply to single-hop bearer-token delegation or to human-supervised OAuth consent flows where a human approves each scope grant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-credential-chains-from-silently-widening-scope-at-re-delegation-depth-3.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-credential-chains-from-silently-widening-scope-at-re-delegation-depth-3.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-credential-chains-from-silently-widening-scope-at-re-delegation-depth-3.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1810,
    "python_slice_tokens": 290,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a token was forged\" or \"a signature failed to verify.\" It is the **silent scope re-widening at re-delegation depth ≥ 3** that occurs even though every individual signature in the chain verifies correctly and every hop's warrant is a syntactically valid subset *of its immediate parent*. The distinction that matters: **subset-of-parent is a...",
    "what_was_observed": "A three-hop delegation (`orchestrator → retrieval-agent → summarizer-agent → export-tool`) executed a write against a production datastore. The export-tool's warrant carried `ops: {read, write}`, `resource: db://prod/orders`, `aud: export-tool`, signed by summarizer-agent. Verification passed at every hop. The audit log showed four valid signatures. The trace: 1. **Root (orchestrator)** issued warrant W0: `{res: db:/...",
    "condition_of_validity": "The invariant that would have caught this — and the one that must be enforced — is: > **For every adjacent pair (W_i, W_{i+1}) in the chain, and for every capability dimension d ∈ {resource, ops, expiry, audience, depth}, `W_{i+1}.d ⊆ W_i.d`, where ⊆ is defined per-dimension and is *monotone-narrowing*: the child may remove elements but may never add an elem...",
    "decision_boundary": "The boundary between \"safe re-delegation\" and \"silent widening\" is crossed at the moment a re-issuing agent applies any operation other than `child_dims = parent_dims ∩ requested_dims` to the capability set. Specifically: - **Safe:** `requested ⊆ parent` → issue `requested`. (Narrowing.) - **Safe:** `requested ⊇ parent` → issue `parent`. (No-op; child gets e...",
    "operational_effect": "Without the invariant, the blast radius of a single misconfigured serializer at any hop is the *entire* capability set of the root, projected forward through every subsequent hop. The root's `{read}` constraint on `db://prod/orders` becomes, after two hops, `{read, write}` — and the write executes with a fully valid signature chain, defeating every cryptogra..."
  },
  "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": "37b65200c7ad2746c88e719bb1f3726fb1acd8f698b85d917a424ac1f341d106",
    "verified_classes": [
      "DelegationScopeWidening",
      "Warrant"
    ],
    "verified_functions": [
      "closure",
      "reissue"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegationScopeWidening"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
