{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-set-is-a-strict-superset-of-the-parent-warrant-s-scope-set",
  "title": "In what scenarios must an instance refuse a delegated AAIF credential whose scope set is a strict superset of the parent warrant's scope set",
  "date_of_record": "2026 November 20",
  "scope": "Applies to any agent instance receiving a delegated Agent Identity and Authorization Framework (AAIF) credential from a peer, orchestrator, or sub-agent, where the credential carries an explicit scope set and a warrant chain. Does not apply to root credentials minted directly by a trust authority, nor to opaque session tokens that carry no scope predicate.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-set-is-a-strict-superset-of-the-parent-warrant-s-scope-set.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-set-is-a-strict-superset-of-the-parent-warrant-s-scope-set.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-set-is-a-strict-superset-of-the-parent-warrant-s-scope-set.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2208,
    "python_slice_tokens": 240,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode that matters here is not \"a credential was forged.\" It is *scope amplification through delegation*: a child instance presents a credential that is cryptographically valid, correctly signed, chain-verifiable back to a legitimate root, and yet grants a permission the parent never held. The naive verifier checks signature validity and chain lin...",
    "what_was_observed": "A three-tier pipeline: an orchestrator `O` holds a root warrant scoped to `{read:repo, write:branch:feature/*, invoke:ci}`. It delegates to a planning agent `P` with `W_P` scoped to `{read:repo, write:branch:feature/*}` — correctly narrowed, dropping `invoke:ci`. `P` then delegates to an execution agent `E`. The delegation code in `P` was written against an older AAIF schema where the scope field was named `capabilit...",
    "condition_of_validity": "The verification rule that holds is: **a delegated credential is authorized for an action if and only if the action is in the intersection of scope sets across every warrant from root to leaf, and every caveat on every ancestor warrant is satisfied.** Concretely, for a chain `W_0 (root) → W_1 → … → W_n (leaf)`: - `effective_scopes = scopes(W_0) ∩ scopes(W_1)...",
    "decision_boundary": "The decision boundary is not \"is the credential valid\" but \"did the verifier reconstruct the effective scope set or merely read the leaf.\" The precise boundary: - **Reconstruct** (compute intersection, check all caveats) when the action is irreversible, cross-trust-boundary, or has blast radius beyond the delegating agent's own state. This includes: writes t...",
    "operational_effect": "The operational consequence of getting this wrong is that the trust boundary is drawn at the wrong layer. The delegating agent's scope becomes advisory rather than binding, and the effective authority of any leaf is the union of every default set any intermediate shim ever injected. In the observed incident, the effective authority of `E` was not `W_P`'s nar..."
  },
  "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": "386ebd9540ee64020ab45f9f6900ecf174c7959bc6c785e7ce65f84b40331f70",
    "verified_classes": [
      "ScopeAmplificationError",
      "Warrant"
    ],
    "verified_functions": [
      "reconstruct_effective_scopes",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeAmplificationError"
    ],
    "sample_fail_closed_invariants": [
      "empty warrant chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
