{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-re-signs-a-delegated-capability-token-after-its-own-scope-has-been-narrowed-mid-chain",
  "title": "What happens when an instance re-signs a delegated capability token after its own scope has been narrowed mid-chain",
  "date_of_record": "2026 December 1",
  "scope": "Applies to AAIF-style delegation chains where agent A issues a scoped capability token to agent B, and B re-delegates a subset to agent C under a *narrowing* operation performed at B. Does not apply to flat two-party issuance (A→B only) or to chains where each hop re-signs against a root authority rather than against the immediate parent token.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-signs-a-delegated-capability-token-after-its-own-scope-has-been-narrowed-mid-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-signs-a-delegated-capability-token-after-its-own-scope-has-been-narrowed-mid-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-signs-a-delegated-capability-token-after-its-own-scope-has-been-narrowed-mid-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2128,
    "python_slice_tokens": 330,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different ways an agent can hand a capability to a downstream peer, and they fail in opposite directions: 1. **Attenuation by reference** — B passes the *original* signed token from A to C, plus a signed \"restriction predicate\" that C must evaluate. The chain of custody is cryptographically intact; the verifier walks A's signature ...",
    "what_was_observed": "A three-hop chain: orchestrator `A` issues `tok_A→B` with scopes `{fs:read:/data/tenant-7, fs:write:/data/tenant-7/out, net:egress:api.internal}` and `exp = T+3600`. Worker `B` accepts the token and begins work. At `T+40` an operator-driven policy controller revokes `fs:write:/data/tenant-7/out` from B — not by mutating `tok_A→B` (which is immutable and signed) but by updating B's local authorization state, a revocat...",
    "condition_of_validity": "The invariant that must hold for re-signing to be sound: > For every re-signed token `tok_B→C`, `claims(tok_B→C).scopes ⊆ effective_scope(B)` evaluated **at mint time**, where `effective_scope(B) = claims(tok_A→B) ∩ runtime_authz(B) ∩ ¬revocations(B) ∩ liveness(B)`. Three conditions make this non-trivial in practice: - **The runtime term is not in the token....",
    "decision_boundary": "The architect's choice is between two enforcement points, and they are not equivalent: - **Enforce at mint (B's re-signing routine consults `effective_scope`).** Cheaper at verification, but requires every re-signing implementation to be correct, and requires B to have a live, low-latency view of its own revocations. Any implementation that short-circuits (c...",
    "operational_effect": "Concrete consequences observed and required guardrails: - **Revocation latency becomes transitive.** Revoking at B does not stop C until C's next verification. If C holds a long-lived re-signed token, revocation of B has *zero* effect on C's in-flight operations. Guardrail: bound re-signed token lifetime to `min(parent.exp, now + Δ)` with small Δ (observed s..."
  },
  "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": "db408bac29c6b9a31ed0a160dedc20b74c23f1503971dbd4ac421dd40b088392",
    "verified_classes": [
      "DelegationLaunderingError"
    ],
    "verified_functions": [
      "mint_delegated_token",
      "verify_delegated_token"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "token expired"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
