{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-attenuates-a-delegated-aaif-credential-below-the-minimum-viable-scope-for-a-resumed-task",
  "title": "What happens when an instance attenuates a delegated AAIF credential below the minimum viable scope for a resumed task",
  "date_of_record": "2026 November 26",
  "scope": "Applies to autonomous agents operating under an Agent Identity and Authorization Framework (AAIF) that mint sub-credentials by scope attenuation (monotonic reduction of a parent capability grant) and later resume a suspended task against a persisted credential. Does not apply to single-hop credentials issued directly by a root authority, nor to stateless request-response agents that re-authenticate per call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-attenuates-a-delegated-aaif-credential-below-the-minimum-viable-scope-for-a-resumed-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-attenuates-a-delegated-aaif-credential-below-the-minimum-viable-scope-for-a-resumed-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-attenuates-a-delegated-aaif-credential-below-the-minimum-viable-scope-for-a-resumed-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1949,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **scope attenuation as a security operation** and **scope attenuation as a state operation**. In AAIF, delegation is defined as a lattice descent: a child credential's scope set must be a subset of the parent's, and every attenuation step is monotonic—you can only remove capabilities, never add them back. This is ...",
    "what_was_observed": "A three-stage pipeline agent (ingest → transform → publish) held a delegated credential from an orchestrator with scope `{read:source, write:staging, invoke:transform_tool, publish:channel}`. At the transform stage it suspended on a tool-call timeout and checkpointed. The checkpoint persisted the credential *reference* (a handle into the AAIF credential store), not the credential *material*—standard practice, to avoi...",
    "condition_of_validity": "The re-attenuation-on-resume pattern is safe **if and only if** the derived scope is computed from the *remaining plan* rather than from *observed history*, or if the agent retains a live handle to the parent credential so it can re-attenuate upward (i.e., re-mint from the parent) when a denial occurs. Concretely, the invariant that must hold is: > For every...",
    "decision_boundary": "The boundary is between two resume strategies: - **History-derived attenuation** (unsafe): derive scope from what the agent was doing. Minimizes authority, maximizes dead-end risk. - **Plan-derived attenuation** (safe): derive scope from the remaining plan's declared capability requirements, which must be persisted in the checkpoint alongside the credential ...",
    "operational_effect": "The operational consequence is a class of failures that look like authorization bugs but are state-continuity bugs. They present as `403 insufficient_scope` on a capability the orchestrator *did* grant, with a clean audit trail showing no unauthorized attenuation—because the attenuation was authorized, just wrong. Standard AAIF telemetry (signature validity,..."
  },
  "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": "aadb4a49748bb2bf4bfa6d75940a65063f27486c3eb2fdbcd9da16c16b9f5cf2",
    "verified_classes": [
      "ScopeAttenuationDeadEnd",
      "Credential",
      "Checkpoint"
    ],
    "verified_functions": [
      "resume_task"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeAttenuationDeadEnd"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
