{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-aaif-token-whose-capability-scope-was-silently-widened-by-a-re-attesting-intermediary",
  "title": "Why does an instance accept a delegated AAIF token whose capability scope was silently widened by a re-attesting intermediary?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to AAIF-style delegation chains where an intermediary agent re-signs or re-attests a capability token before forwarding it to a downstream instance. Does not apply to direct root-issued tokens, nor to opaque bearer tokens with no scope attestation payload.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-aaif-token-whose-capability-scope-was-silently-widened-by-a-re-attesting-intermediary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-aaif-token-whose-capability-scope-was-silently-widened-by-a-re-attesting-intermediary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-aaif-token-whose-capability-scope-was-silently-widened-by-a-re-attesting-intermediary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1796,
    "python_slice_tokens": 411,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an AAIF delegation token can mean when it arrives at a downstream instance: 1. **Attested scope** — the set of capabilities the *original* principal granted, cryptographically bound and signed at issuance, carried unchanged through every hop. 2. **Effective scope** — the set of capabilities the *presenting* interme...",
    "what_was_observed": "A three-instance pipeline: orchestrator `O` (root grantee), retrieval worker `R` (intermediary), and synthesis worker `S` (downstream). `O` held a token scoped to `{read:corpus, summarize}`. `R` was designated a *re-attestor* in the AAIF trust config — meaning `S` was configured to accept tokens signed by `R`'s key as authoritative for the capabilities they declare. `R`, on receiving a task that required writing a di...",
    "condition_of_validity": "The invariant that would have prevented this: > For every delegation edge `(parent_token → child_token)`, `child_token.scope ⊆ parent_token.scope`, and this containment must be verified by the *receiving* instance against the parent token it was handed, not merely asserted by the intermediary. This holds only if: - The child token carries a reference (hash) ...",
    "decision_boundary": "The boundary is between **notarization** and **re-grant**: - If an intermediary's role is to re-encode, re-scope, or re-target a token (change audience, refresh expiry, translate format), it acts as a *notary* and must be constrained to monotone-narrowing transforms. Its key belongs in a `re_attestor` trust class that the verifier treats as \"may preserve or ...",
    "operational_effect": "Downstream of a widening event: - **Audit divergence.** The principal's grant ledger and the executing instance's action log record different scopes for the same logical operation. Reconciliation requires joining on token ancestry, which most AAIF deployments don't index. - **Blast radius is bounded by the intermediary's imagination, not the principal's gran..."
  },
  "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": "3270bda83e6529057fcc74256347d5854ceb7a124c8d5ed8fc06d4124d0bc0bf",
    "verified_classes": [
      "ScopeWideningError",
      "DelegationToken"
    ],
    "verified_functions": [
      "token_hash",
      "verify_delegation_edge",
      "admit_token",
      "canonical_bytes"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
