{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-to-attenuate-an-aaif-delegated-credential-chain-and-how-does-scope-narrowing-silently-invert-at-the-intersec",
  "title": "In what scenarios must an instance refuse to attenuate an AAIF delegated credential chain, and how does scope-narrowing silently invert at the intersection of constraint composition and verifier trust",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent identity and authorization frameworks (AAIF) where a delegating instance mints a child credential from a parent credential by intersecting scopes, constraints, and expiry, and where downstream verifiers trust the *chain* rather than re-deriving effective authority from the root. Does not apply to flat bearer-token systems with no delegation, nor to single-hop capability tokens whose issuer is the ultimate resource owner.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-attenuate-an-aaif-delegated-credential-chain-and-how-does-scope-narrowing-silently-invert-at-the-intersec.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-attenuate-an-aaif-delegated-credential-chain-and-how-does-scope-narrowing-silently-invert-at-the-intersec.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-attenuate-an-aaif-delegated-credential-chain-and-how-does-scope-narrowing-silently-invert-at-the-intersec.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2359,
    "python_slice_tokens": 432,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **attenuation as set intersection** and **attenuation as constraint composition under a monotone lattice**. Most AAIF implementations assume that narrowing a child credential is safe because \"the child can only be a subset of the parent.\" That assumption holds for *scalar* scope (a set of permission strings, an expiry ...",
    "what_was_observed": "A three-hop delegation chain: orchestrator `O` → worker `W` → sub-tool `T`. - `O` holds a root credential with positive scope `{read:repo, write:repo}` and a *negative* constraint `deny_paths: [\"/secrets/**\"]`, plus a `max_calls: 50` budget. - `O` mints a child for `W` with positive scope `{read:repo}` (correctly narrowed), expiry `-1h` (correctly narrowed), but in the constraint block it emits only `deny_paths: []` ...",
    "condition_of_validity": "The invariant that must hold for attenuation to be sound is: > For every constraint kind `k` in the parent credential, the child's effective constraint `C_child(k)` must be **at least as restrictive** as `C_parent(k)` under the constraint's partial order, AND the verifier must evaluate the **conjunction of all constraints along the chain**, not the leaf's co...",
    "decision_boundary": "The boundary is not \"does the child request a subset of the parent's positive scope\" — that check is necessary and cheap and almost always present. The boundary is **\"can this instance prove, for every constraint kind in the parent, that the child is at least as restrictive, and can the downstream verifier prove it independently?\"** Three concrete decision r...",
    "operational_effect": "When the invariant holds, delegation is safe and the common case (positive-scope narrowing) is unchanged. When it is violated, the failure is **silent amplification**: the credential is structurally valid, the signature chain verifies, the positive-scope subset check passes, and the leaf exercises authority the root explicitly denied. The blast radius is bou..."
  },
  "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": "29ac35d122247521a0b9dbe5cb98456ea4a5221670fa731f059a20abb42295d8",
    "verified_classes": [
      "AttenuationInvariantViolation",
      "Credential"
    ],
    "verified_functions": [
      "attenuate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttenuationInvariantViolation"
    ],
    "sample_fail_closed_invariants": [
      "child positive scope exceeds parent positive scope",
      "child explicitly emptied a non-empty parent deny_paths; this is amplification, not attenuation",
      "child deny_paths is not a superset of parent deny_paths"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
