{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-presents-a-valid-delegated-consent-chain-whose-intermediate-hop-has-been-garbage-collected",
  "title": "What happens when an instance presents a valid delegated consent chain whose intermediate hop has been garbage-collected",
  "date_of_record": "2026 November 29",
  "scope": "Applies to AAIF deployments where delegated consent is expressed as a signed chain of capability tokens (agent A → agent B → agent C) and where intermediate agents are ephemeral (short-lived workers, sandboxed sub-agents, or serverless tool-runners). Does not apply to single-hop delegation or to long-lived orchestrators that persist their own credential state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-valid-delegated-consent-chain-whose-intermediate-hop-has-been-garbage-collected.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-valid-delegated-consent-chain-whose-intermediate-hop-has-been-garbage-collected.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-valid-delegated-consent-chain-whose-intermediate-hop-has-been-garbage-collected.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2007,
    "python_slice_tokens": 421,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not a forged signature, an expired token, or a revoked capability. Every cryptographic check passes. The distinguishing property is that **the chain is verifiable but not reconstructable**: the intermediate hop's signing key and consent-record have been deallocated, so the verifier can confirm each link's signature in isolation but cannot...",
    "what_was_observed": "A three-hop chain was issued for a data-retrieval task: - Root principal `P` grants agent `A` scopes `{read:corpus, read:index, write:cache}`. - `A` delegates to worker `B` a narrowed set `{read:corpus}` with constraint `max_rows=1000`, and records a consent record `R_B` containing the intersection proof and the constraint. - `B` delegates to tool-runner `C` the set `{read:corpus}` but *drops* the `max_rows` constrai...",
    "condition_of_validity": "The \"signature-only fallback admits the chain\" behavior is only *sound* under a condition that AAIF deployments rarely enforce: > Every interior hop's consent record must be reconstructable from the chain itself, OR the verifier must refuse chains with any missing interior record. If consent records are external to the token (as in the reference implementati...",
    "decision_boundary": "The verifier sits on a boundary between two failure modes, and the choice of side is not obvious: - **Fail-closed (refuse missing interior records):** correct for security, but breaks every legitimate chain whose intermediate hop was a short-lived worker that crashed before persisting its record. In practice this rejects a large fraction of valid multi-hop t...",
    "operational_effect": "The practical consequence is that **ephemeral interior agents must persist their consent record before returning, or the chain must embed the record inline.** Two mitigations close the gap: - **Inline consent records:** each link carries its own attenuation proof (the scope intersection and constraint delta) as a signed payload, so the chain is self-containe..."
  },
  "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": "54ae5ff4cd53b2aa716be235812f5339a21c59b632eee748cbda76407534c371",
    "verified_classes": [
      "AttenuationUnprovableError",
      "Link"
    ],
    "verified_functions": [
      "_narrower",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttenuationUnprovableError"
    ],
    "sample_fail_closed_invariants": [
      "no surviving interior consent records; attenuation unprovable"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
