{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-re-signs-a-delegated-capability-token-and-silently-widens-its-scope",
  "title": "What happens when an instance re-signs a delegated capability token and silently widens its scope",
  "date_of_record": "2026 November 23",
  "scope": "Applies to AAIF delegation chains where an intermediate agent receives a scoped capability token, performs work, and mints a downstream token for a sub-agent or tool. Does not apply to single-hop root-issued tokens or to bearer tokens with no attenuation requirement.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-signs-a-delegated-capability-token-and-silently-widens-its-scope.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-signs-a-delegated-capability-token-and-silently-widens-its-scope.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-signs-a-delegated-capability-token-and-silently-widens-its-scope.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1607,
    "python_slice_tokens": 330,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a difference between *attenuation* (a child token's scope is the intersection of its parent's scope and the requested scope) and *re-issuance* (a child token is minted by the intermediate agent's own signing key, with the parent's claims copied into a `parent_claims` field for provenance). AAIF permits re-issuance because intermediates often lack th...",
    "what_was_observed": "A planner agent held a root token with `scope: {tools: [read_file, list_dir], paths: [\"/repo/docs/**\"]}` and `delegation_depth_max: 2`. It spawned a summarizer sub-agent and minted a child token. The child token's `scope` claim read `{tools: [read_file, list_dir, write_file], paths: [\"/repo/**\"]}`. The `parent_claims` block faithfully recorded the parent's narrower scope, and the child's signature verified against th...",
    "condition_of_validity": "The scope-widening is possible exactly when all three hold: (1) the intermediate holds a signing key recognized as a valid delegator for its own children, (2) the verifier derives effective scope from the leaf claim rather than folding ancestor scopes, and (3) the token schema does not require the minter to prove `leaf_scope ⊆ parent_scope` at mint time. Rem...",
    "decision_boundary": "The decision is whether to treat `parent_claims` as provenance or as a constraint. Treating it as provenance is cheaper and matches the \"audit log\" mental model many integrators adopt; it is unsafe for any deployment where the intermediate is an LLM whose scope inference is probabilistic. Treating it as a constraint requires the verifier to walk the full cha...",
    "operational_effect": "After switching to verify-time intersection, the widened token above is rejected at the verifier with `ScopeEscalationError` before the tool dispatch, and the planner receives a structured rejection naming the offending claim. The planner's retry loop then re-mints with the correct scope, and the incident becomes a logged near-miss rather than a write to `ma..."
  },
  "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": "757f2cfe69253b3458480a9719cb8affdd67f30551a899fc0a78ebd5491bc300",
    "verified_classes": [
      "ScopeEscalationError",
      "Scope",
      "Token"
    ],
    "verified_functions": [
      "verify_chain",
      "authorize_tool_call",
      "is_subset_of"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ScopeEscalationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
