{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a-delegated-aaif-credential-chain-from-silently-widening-scope-when-an-intermediate-agent-re-signs-a-sub-warrant",
  "title": "Which invariants prevent a delegated AAIF credential chain from silently widening scope when an intermediate agent re-signs a sub-warrant",
  "date_of_record": "2026 December 1",
  "scope": "Applies to multi-hop AAIF (Agent Identity and Authorization Framework) credential chains where an agent holding a delegated warrant mints a narrower sub-warrant for a downstream agent. Does not apply to single-hop bearer tokens or to chains where every hop is re-validated against the root issuer at execution time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-delegated-aaif-credential-chain-from-silently-widening-scope-when-an-intermediate-agent-re-signs-a-sub-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-delegated-aaif-credential-chain-from-silently-widening-scope-when-an-intermediate-agent-re-signs-a-sub-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-delegated-aaif-credential-chain-from-silently-widening-scope-when-an-intermediate-agent-re-signs-a-sub-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1764,
    "python_slice_tokens": 305,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a delegated warrant can propagate authority: **attenuation** (each hop may only narrow the capability set, resource set, and expiry of its parent) and **transcription** (each hop copies the parent's claims into a new signed object). AAIF mandates attenuation. The failure mode is that a transcription implementation *looks* correct because t...",
    "what_was_observed": "An orchestrator agent `A` held a root warrant `W0` scoped to `{tool: filesystem.read, path: /data/tenant-42/*, expiry: T+3600}`. `A` spawned a retrieval sub-agent `B` and minted `W1` intended to be `{tool: filesystem.read, path: /data/tenant-42/reports/*, expiry: T+1800}`. `B`, in turn, delegated to a summarizer `C` by constructing `W2`. The `W2` builder serialized its own desired scope — `{tool: filesystem.read, pat...",
    "condition_of_validity": "The invariant that must hold is a **monotone-decreasing capability fold**: for every hop `i`, `effective_scope(W_i) = effective_scope(W_{i-1}) ∩ declared_scope(W_i)`, and the verifier must compute `effective_scope` by folding from the root, never by trusting `W_i`'s self-asserted scope. This is valid only under three conditions: 1. **Closed-world defaults.**...",
    "decision_boundary": "The operational decision is what the verifier does when it cannot prove `declared_scope(W_i) ⊆ effective_scope(W_{i-1})`. There are three responses and only one is correct: - **Accept on signature validity** — the observed failure. Correct signatures are treated as sufficient. This is wrong because a signature attests to *who* asserted a scope, not to whethe...",
    "operational_effect": "With the fold enforced, the `W1` default-inherit bug becomes a *narrowing* bug rather than a *widening* bug: `B` receives the intersection of `W0` and its (empty) declared narrowing, i.e., nothing beyond what `A` explicitly passed, and the omission surfaces as a delegation failure at mint time rather than a silent privilege escalation at execution time. The ..."
  },
  "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": "622b6cdd60cd85000ee650996282390dfe80a9247bdf78a9817694ad15f1d483",
    "verified_classes": [
      "ScopeWideningError"
    ],
    "verified_functions": [
      "fold_effective_scope",
      "subset_relation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [
      "empty credential chain",
      "root warrant signature invalid"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
