{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-credential-whose-scope-chain-has-silently-widened",
  "title": "When must an instance refuse a delegated credential whose scope chain has silently widened",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agents that receive authority via AAIF delegated credential chains (root principal → intermediate agent → worker instance) using scoped ephemeral tokens with attenuation semantics. Does not apply to single-hop API keys or to opaque bearer tokens without a scope chain, where the failure mode described here cannot be expressed.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-whose-scope-chain-has-silently-widened.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-whose-scope-chain-has-silently-widened.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-whose-scope-chain-has-silently-widened.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1958,
    "python_slice_tokens": 333,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a delegated token can grant more authority than the delegator intended, and only one of them is visible at the wire. The visible failure is **scope non-attenuation**: an intermediate agent mints a child token whose scope set is not a subset of its own. A conforming verifier catches this by set-inclusion check at issuance and rejects the to...",
    "what_was_observed": "An intermediate orchestrator agent held a root-issued ephemeral token with scope `{fs:read:/tenant/acme/*, fs:write:/tenant/acme/scratch/*}` and a TTL of 900s. It delegated to a worker instance a child token with scope `{fs:read:/tenant/acme/*}` — a strict subset, TTL 300s, correctly signed, correctly chained. The subset check at the orchestrator passed. The worker's local pre-flight check passed. The worker then cal...",
    "condition_of_validity": "The subset invariant `scope(child) ⊆ scope(parent)` is sound only under the assumption that all verifiers in the chain resolve scope atoms under a single shared grammar and normalization regime. Formally, the chain is safe iff for the set `V` of verifiers reachable by the leaf, `resolve_v` is identical across all `v ∈ V` on the paths the leaf can construct. ...",
    "decision_boundary": "The leaf instance must refuse to present a delegated credential when the following predicate evaluates false: The last conjunct is the one that is routinely omitted and the one that catches the observed failure. If the leaf's candidate identifier is not a fixed point of the verifier's normalizer, then the leaf's own `match` result is not predictive of the ve...",
    "operational_effect": "When the leaf enforces `safe_to_present`, the observed failure converts from a silent cross-tenant read into a hard refusal at the leaf, before any request leaves the instance. The operational cost is a class of false refusals: legitimate requests against verifiers whose grammar is compatible-but-not-identical will be rejected until the token carries explici..."
  },
  "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": "bb3fa078d68e7407ccdf77acd916f7c6c5f9aee6ba8ab90cb02fe1416c9be623",
    "verified_classes": [
      "ResolverDisagreement",
      "ScopePin",
      "DelegatedToken",
      "Verifier"
    ],
    "verified_functions": [
      "safe_to_present",
      "present_credential",
      "normalize"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ResolverDisagreement"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing",
      "unicodedata"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
