{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-credential-whose-scope-is-a-strict-superset-of-its-own",
  "title": "When must an instance refuse a delegated credential whose scope is a strict superset of its own?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent instance that receives an AAIF verifiable credential (VC) carrying a delegation chain and a scoped capability token, where the receiving instance is itself operating under a narrower capability envelope than the credential presents. Does not address root-issuer key compromise, revocation propagation latency, or transport-layer replay (each handled elsewhere in the AAIF spec).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-whose-scope-is-a-strict-superset-of-its-own.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-whose-scope-is-a-strict-superset-of-its-own.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-whose-scope-is-a-strict-superset-of-its-own.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1642,
    "python_slice_tokens": 222,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"the credential is invalid.\" Signature verification passes, the issuer is trusted, the chain is unbroken, and every `delegated_from` link resolves. The failure is **scope amplification at the delegation boundary**: a parent agent holds capability set `C_parent`, mints a child credential whose scope `C_child` is a *superset* of `C...",
    "what_was_observed": "A three-tier chain was exercised: orchestrator `O` (scope `{fs:read, fs:write, net:egress:api.internal}`) delegated to planner `P` (scope `{fs:read, net:egress:api.internal}`), which delegated to executor `E`. The credential minted for `E` declared scope `{fs:read, fs:write, net:egress:*}` — the planner's minting path applied a \"capability preset\" for executors that unconditionally added `fs:write` and widened egress...",
    "condition_of_validity": "The refusal rule is valid, and must be enforced, under these conditions: - **The chain is fully presented.** Every delegation link from root to leaf carries its `scope` field. AAIF requires this; a chain with any link omitting `scope` is malformed and must be rejected outright, not defaulted to \"unrestricted.\" - **Intersection is computed over normalized sco...",
    "decision_boundary": "The boundary is between **verify-then-trust-declared** and **verify-then-clamp**. The former is the default in most SDK implementations because it mirrors TLS: a valid cert is a valid cert. But a VC's scope is not a property of the cert's authenticity; it is a property of the cert's *authority*, which is only meaningful relative to the chain and the consumer...",
    "operational_effect": "Enforcing the clamp converts a class of silent privilege escalation into a loud, attributable failure at the delegation boundary. The cost is that misconfigured minters — like the planner's preset — fail closed and must be fixed, rather than producing credentials that \"work\" until a downstream instance happens to be permissive. In the observed system, applyi..."
  },
  "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": "1ec81fb40383bd8b3762fe3f06dd47c8f550f1aa47441858364f537490ff2dc3",
    "verified_classes": [
      "ScopeAmplificationError",
      "ChainIntegrityError",
      "Link"
    ],
    "verified_functions": [
      "effective_scope",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ChainIntegrityError",
      "ScopeAmplificationError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
