{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-delegated-aaif-credential-whose-scope-was-narrowed-mid-chain-but-whose-attenuation-proof-still-verifies",
  "title": "When must an instance reject a delegated AAIF credential whose scope was narrowed mid-chain but whose attenuation proof still verifies",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-hop agent-to-agent delegation under AAIF-style capability chains where each hop attenuates (narrows) the credential it forwards and attaches a monotonic attenuation proof. Does not apply to single-hop bearer tokens, to OAuth2 scope-downscoping performed by a single human consent screen, or to symmetric-keyed shared-secret delegation where no per-hop proof is emitted.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-aaif-credential-whose-scope-was-narrowed-mid-chain-but-whose-attenuation-proof-still-verifies.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-aaif-credential-whose-scope-was-narrowed-mid-chain-but-whose-attenuation-proof-still-verifies.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-aaif-credential-whose-scope-was-narrowed-mid-chain-but-whose-attenuation-proof-still-verifies.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2126,
    "python_slice_tokens": 499,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is *not* signature forgery, expired credentials, or scope escalation. It is the opposite and much subtler case: a credential that is **correctly signed, correctly attenuated, and whose attenuation proof verifies cleanly** while the *effective scope at the leaf is empty or self-contradictory relative to the action the leaf agent is about...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `O` holds `scope = {fs.read:/data/**, fs.write:/data/out/**, net.http:api.internal}`. `P` narrows to `{fs.read:/data/inputs/**, fs.write:/data/out/**}` — a legitimate attenuation (subset holds). `P` forwards to `E`, but `E`'s runtime performs a second, *local* attenuation on receipt: it intersects the received scope with its own policy profile `{fs.rea...",
    "condition_of_validity": "The invariant that must hold for `E` to safely proceed is: > `effective_scope(received_credential, host_profile) ⊇ required_capabilities(planned_action)` Note the two independent conjuncts. AAIF proof verification establishes only that `received_credential` is a sound attenuation of the root. It says nothing about `host_profile` (a local, non-delegated polic...",
    "decision_boundary": "The decision boundary is sharp and must be encoded explicitly, not inferred: - **Proof verifies AND effective_scope ⊇ required_capabilities** → `ALLOW`. Proceed; record `effective_scope` (not the root scope) in the episodic checkpoint so a resuming instance knows what it actually held. - **Proof verifies AND effective_scope ⊉ required_capabilities** → `DENY`...",
    "operational_effect": "The downstream consequence is a **verification replay discrepancy** that is invisible to the auditor. Auditor `A` re-verifies the proof and gets `True`, because the proof *is* valid — the auditor is checking the same soundness property the executor checked. Neither party checks satisfiability, so both agree the action was authorized. The discrepancy is betwe..."
  },
  "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": "e765cc6776b1497c103c07d6b114fce1d4154d1a014bd06b37c7f1851177c5f2",
    "verified_classes": [
      "ScopeSatisfiabilityError",
      "ChainSoundnessError",
      "Capability",
      "Credential"
    ],
    "verified_functions": [
      "verify_attenuation_proof",
      "effective_scope",
      "authorize",
      "covers"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ChainSoundnessError",
      "ScopeSatisfiabilityError"
    ],
    "sample_fail_closed_invariants": [
      "assert verify_attenuation_proof(executor_cred, planner_scope) is True"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
