{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-a-delegated-capability-token-whose-scope-was-narrowed-by-an-intermediary",
  "title": "Where must an instance refuse a delegated capability token whose scope was narrowed by an intermediary?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent-to-agent (A2A) and MCP-mediated tool invocation where an upstream orchestrator mints an AAIF-style capability token, an intermediary agent attenuates its scope before handoff, and the executing instance must decide whether to honor the narrowed token. Does not apply to single-hop tokens minted and consumed by the same instance, nor to tokens whose scope is only widened (which should always be rejected outright).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-delegated-capability-token-whose-scope-was-narrowed-by-an-intermediary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-delegated-capability-token-whose-scope-was-narrowed-by-an-intermediary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-delegated-capability-token-whose-scope-was-narrowed-by-an-intermediary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1944,
    "python_slice_tokens": 522,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different ways a capability token's scope can shrink between mint and use. **Legitimate attenuation** is a monotonic restriction: the child scope set is a strict subset of the parent's `tools` and `resources`, the child's `expiry` is ≤ the parent's, and the child carries a verifiable `attenuated_by` link signed by an identity that ...",
    "what_was_observed": "An orchestrator `O` minted a root token `T_root` scoped to `{fs.read, fs.write, net.fetch}` with `delegation_depth=2`, `expiry=+3600s`, and `resource_tags={/proj/a}`. It handed the token to intermediary `M` (an \"analysis\" agent) for a subtask. `M` needed only read access for a downstream worker `W`, so it produced `T_child` scoped to `{fs.read}`, `delegation_depth=2`, `expiry=+3600s`, `resource_tags={/proj/a, /proj/b...",
    "condition_of_validity": "A narrowed token `T_child` derived from `T_parent` is valid at the executing instance if and only if **all** of the following hold simultaneously; failure of any one makes the token illegitimate regardless of how clean the tool-scope diff looks: - **Tool monotonicity:** `T_child.tools ⊆ T_parent.tools`. - **Resource monotonicity:** `T_child.resource_tags ⊆ T...",
    "decision_boundary": "The executor faces a three-way decision on every presented token, and the boundary between \"accept\" and \"quarantine\" is not where most implementations put it: - **Accept** only when all five conditions above hold and the attenuation log entry is present and signed. - **Reject (hard fail, do not execute)** when tool or resource monotonicity is violated—these ...",
    "operational_effect": "After enforcing the full lattice, the observed failure mode disappeared but two operational costs surfaced that must be budgeted for: 1. **Latency.** Replaying the attenuation chain against the parent requires the executor to fetch and verify the parent token and its log entry, adding one round-trip per invocation (measured ~40–90ms in the reference deployme..."
  },
  "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": "10e1674198b55178de2231a8032ad3d2b134d8f31c170510cba9e9db6698018e",
    "verified_classes": [
      "IllegitimateAttenuationError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "verify_attenuation",
      "authorize_invocation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "IllegitimateAttenuationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
