{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-silently-escalate-scope-when-an-aaif-delegation-token-is-co-signed-by-a-downstream-agent-it-spawned",
  "title": "Why does an instance silently escalate scope when an AAIF delegation token is co-signed by a downstream agent it spawned?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to AAIF-scoped delegation tokens (RFC 8693-style `act` chains) where an agent mints a child credential and has it counter-signed by a delegated sub-agent before invoking a tool. Does not cover single-hop bearer tokens, mTLS-only identity, or human-in-the-loop consent flows.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-silently-escalate-scope-when-an-aaif-delegation-token-is-co-signed-by-a-downstream-agent-it-spawned.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-silently-escalate-scope-when-an-aaif-delegation-token-is-co-signed-by-a-downstream-agent-it-spawned.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-silently-escalate-scope-when-an-aaif-delegation-token-is-co-signed-by-a-downstream-agent-it-spawned.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1620,
    "python_slice_tokens": 322,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different ways an AAIF delegation token can acquire a scope it was never minted with: 1. **Scope widening by attenuation loss** — the child token's `scope` claim is a strict subset of the parent's, but the *verifier* reconstructs effective permissions from the union of all `act` links in the chain rather than intersecting them. Thi...",
    "what_was_observed": "An orchestrator agent `O` held a root AAIF credential with scopes `{repo:read, repo:write, deploy:staging}`. It needed a sub-agent `S` to run a build-and-test loop, which requires only `{repo:read, build:execute}`. `O` minted a child token `T_c` with `scope={repo:read, build:execute}`, `act={sub: O}`, `exp=15m`, and a `cnf` (confirmation) claim binding it to `S`'s key. The framework's policy required two-party attest...",
    "condition_of_validity": "The invariant that must hold for AAIF delegation to be safe is **monotonic attenuation under composition**: > For any token `T` with parent `P` and any co-signer set `C`, `effective_scope(T) ⊆ declared_scope(T) ⊆ declared_scope(P)`, and `C` contributes zero authority — only liveness/attestation evidence. This invariant is *not* implied by signature validity....",
    "decision_boundary": "When designing or auditing an AAIF integration, the boundary is: - **Intersection-over-`act`-chain with co-signers quarantined** → safe. A co-signer can refuse to attest (denying liveness) but cannot grant. - **Union-over-any-signing-principal** → unsafe, regardless of how tight the declared scopes are, because the union pulls in the *ambient* scope of every...",
    "operational_effect": "The practical consequence is that **adding a co-signature requirement to harden a flow can silently widen every delegated token in that flow to the union of all participants' privileges** — and the widening is invisible in logs that record only `T_c.declared_scope`, because the declared scope is correct. Auditors see `scope={repo:read, build:execute}` in 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": "c48caf86105362c570415508badc4cc614bc8973ca111150ca1860a9536c22b1",
    "verified_classes": [
      "ScopeEscalationError",
      "Principal",
      "DelegationToken"
    ],
    "verified_functions": [
      "compute_effective_scope",
      "verify_token",
      "invoke_tool"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeEscalationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
