{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-handle-delegated-credential-scope-collapse-when-a-per-tool-capability-attestation-is-satisfied-by-an-ancestor-warrant-rather-th",
  "title": "How should an instance handle delegated credential scope collapse when a per-tool capability attestation is satisfied by an ancestor warrant rather than the presented leaf",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agent identity and authorization frameworks (AAIF) where a root principal issues a signed warrant chain, each hop attenuates scope, and tools verify a presented leaf warrant plus a per-tool capability attestation before execution. Does not apply to single-hop bearer tokens with no attenuation chain, nor to tools that authorize on the caller's process identity rather than on a warrant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-delegated-credential-scope-collapse-when-a-per-tool-capability-attestation-is-satisfied-by-an-ancestor-warrant-rather-th.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-delegated-credential-scope-collapse-when-a-per-tool-capability-attestation-is-satisfied-by-an-ancestor-warrant-rather-th.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-delegated-credential-scope-collapse-when-a-per-tool-capability-attestation-is-satisfied-by-an-ancestor-warrant-rather-th.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2586,
    "python_slice_tokens": 778,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *scope* (the set of resources and actions a warrant authorizes) and *attestation satisfaction* (the proof that a given tool's capability requirement is met). In a well-formed AAIF these are supposed to be evaluated against the *same* warrant node. The failure mode is that they are evaluated against *different* nodes: t...",
    "what_was_observed": "A three-hop delegation: root principal `P0` issues warrant `W0` to orchestrator `A1` with scope `{fs:read:/data/**}` and capability predicate `cap:file_read`. `A1` attenuates to `W1` for sub-agent `A2`, narrowing scope to `{fs:read:/data/reports/**}` but — because the attenuation helper copies capability predicates verbatim from the parent unless explicitly stripped — `W1` still carries `cap:file_read`. `A2` further ...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously: 1. **Capability predicates are inherited without re-derivation.** Attenuation helpers copy `cap:*` predicates from parent to child by default rather than requiring the child to re-assert them against the child's narrowed scope. 2. **Attestation is evaluated by upward search.** The tool accepts...",
    "decision_boundary": "The boundary is between *capability attestation as a chain property* and *capability attestation as a leaf property*. These coincide only when the chain is strictly attenuating and every hop re-derives its capability set. They diverge the moment attenuation is non-strict (scope widened, or predicates copied without re-derivation) or the moment the tool's wit...",
    "operational_effect": "When the invariant holds, a compromised or confused intermediate cannot widen scope by re-issuing a leaf: the tool recomputes the lattice and rejects the widened edge. Capability attestation becomes a statement about the leaf, so a tool's policy engine can key on the leaf digest and the attestation is stable under caching. Audit logs that record the leaf as ..."
  },
  "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": "934355012d587c1adfd41354461237b89940e9611b4295dd103188361dfdece2",
    "verified_classes": [
      "AttestationWitnessMismatch",
      "ScopeMonotonicityViolation",
      "Warrant"
    ],
    "verified_functions": [
      "_walk_to_root",
      "verify_scope_lattice",
      "attest_capability",
      "_has_delegation_path",
      "tool_read",
      "digest"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationWitnessMismatch",
      "ScopeMonotonicityViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
