{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-attenuation-reversal-in-a-delegated-aaif-credential-chain-when-a-re-issued-scope-silently-widens",
  "title": "How does an instance detect attenuation reversal in a delegated AAIF credential chain when a re-issued scope silently widens",
  "date_of_record": "2026 November 28",
  "scope": "Applies to AAIF-style delegated authorization chains where an orchestrator agent mints scoped capability tokens for sub-agents, and any hop may re-delegate or re-issue. Does not cover root credential issuance, key custody, or revocation propagation, which are handled by the AAIF control plane.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-attenuation-reversal-in-a-delegated-aaif-credential-chain-when-a-re-issued-scope-silently-widens.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-attenuation-reversal-in-a-delegated-aaif-credential-chain-when-a-re-issued-scope-silently-widens.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-attenuation-reversal-in-a-delegated-aaif-credential-chain-when-a-re-issued-scope-silently-widens.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1671,
    "python_slice_tokens": 205,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The invariant that makes delegated capability chains safe is **monotonic attenuation**: every hop in a chain MUST present a scope that is a subset (intersection) of the scope it received, and the chain's effective authority is the intersection of all links. The non-obvious failure is not that a sub-agent *exceeds* its scope — that is a straightforward author...",
    "what_was_observed": "An orchestrator agent (`orch-7`) held a root grant of `files:read` scoped to `tenant=A/project/alpha/*`. It delegated to a retrieval sub-agent (`ret-3`) with the same scope, correctly narrowed. `ret-3`, needing to summarize cross-project artifacts, called its own `aaif.delegate()` helper with a scope object constructed by *mutating a copy* of the parent scope: it replaced the resource selector `tenant=A/project/alpha...",
    "condition_of_validity": "Attenuation monotonicity holds **only if** the scope lattice is a partial order with a decidable subset relation over *every* dimension of the scope tuple (verb, resource selector, purpose, time window, and any budget fields), and **only if** the delegate primitive is unreachable except through a wrapper that computes the intersection and rejects incomparabl...",
    "decision_boundary": "The operational decision is where to enforce the lattice: - **Enforce at mint time (preferred):** the delegate primitive computes `child = intersect(parent, requested)` and raises if `requested ⊄ parent` on any dimension. This makes incomparable scopes unrepresentable. Cost: every scope dimension needs a total subset operator, including resource selectors — ...",
    "operational_effect": "After the incident, `ret-3`'s delegate path was routed through a lattice-aware wrapper that rejects incomparable scopes with a typed error rather than silently intersecting. The resource selector was promoted from opaque string to a parsed prefix-tree with an explicit `is_subset_of` operator. Gateways now validate transitive intersection at admission (defens..."
  },
  "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": "28b2a8107c5fd86777066f6288ecd9f5947631eac8ab56df6c332fb359560a9e",
    "verified_classes": [
      "AttenuationReversalError",
      "Scope"
    ],
    "verified_functions": [
      "delegate",
      "validate_chain",
      "is_subset_of"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttenuationReversalError"
    ],
    "sample_fail_closed_invariants": [
      "empty credential chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
