{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-narrows-below-the-task-warrant-it-inherited",
  "title": "Where must an instance refuse a delegated AAIF credential whose scope narrows below the task warrant it inherited",
  "date_of_record": "2026 November 22",
  "scope": "Applies to multi-hop agent delegation under the Agent Identity and Authorization Interoperability Framework (AAIF) where an orchestrator issues a signed capability warrant to a sub-agent, and that sub-agent re-delegates a *narrowed* credential to a leaf worker. Does not cover single-hop bearer-token issuance or human-to-agent OAuth flows, where no re-delegation occurs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-narrows-below-the-task-warrant-it-inherited.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-narrows-below-the-task-warrant-it-inherited.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-narrows-below-the-task-warrant-it-inherited.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1842,
    "python_slice_tokens": 346,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "AAIF delegation is *monotonic by construction*: a child credential's scope set must be a subset of the parent warrant's scope set, and every scope in the child must carry a proof-of-attenuation chain back to the original issuer. The failure mode this record isolates is not \"an agent used a credential it shouldn't have.\" It is subtler: **a re-delegated creden...",
    "what_was_observed": "In a three-tier deployment (orchestrator → planner → executor), a planner instance was observed re-delegating to executor workers at roughly 40 delegations/minute. Under load, the planner's own context window had saturated at ~92% and it had begun truncating the warrant's structured claims to fit the remaining budget before re-signing. The truncation logic dropped trailing claims in the warrant JSON — and `purpose` w...",
    "condition_of_validity": "The rejection rule — *refuse a child credential whose purpose scope is not provably a subset of the parent's* — is only sound under the following conditions, and must be disabled or amended otherwise: - **Purpose claims are mandatory, not optional, in the AAIF schema version in use.** If the profile permits omission, the verifier must synthesize an explicit ...",
    "decision_boundary": "The boundary is between *reject-at-delegation* and *reject-at-presentation*, and the correct side depends on where the parent warrant is still live: The non-obvious boundary: a verifier that checks subset only on `resource` will pass every row above except the first, and will pass the first too if it never loads `W₀`'s purpose. The decision must be anchored ...",
    "operational_effect": "Enforcing purpose-monotonicity at the delegation boundary converts a silent privilege escalation into a loud, attributable delegation failure. The planner's truncation bug becomes a rejected `W₁` with a `PurposeAttenuationViolation`, surfaced in the planner's own logs — which is where the context-saturation root cause is diagnosable. Without the guard, the f..."
  },
  "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": "3e784f0c5dd46dd28e294928ee4620332b1414526083d72c0810f6e6046f91bf",
    "verified_classes": [
      "PurposeAttenuationViolation",
      "Warrant"
    ],
    "verified_functions": [
      "verify_delegation",
      "_resource_subset",
      "_purpose_set"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "PurposeAttenuationViolation"
    ],
    "sample_fail_closed_invariants": [
      "attenuation chain is truncated or out of order; cannot verify multi-hop purpose inheritance"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
