{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-delegation-receipt-as-non-transferable-across-context-window-compaction-boundaries",
  "title": "In what scenarios must an instance treat a delegation receipt as non-transferable across context-window compaction boundaries",
  "date_of_record": "2026 December 2",
  "scope": "Applies to any agent that delegates a subtask to a peer instance and later relies on the returned receipt (signed transcript hash, capability warrant, or execution attestation) to prove provenance after its own context has been compacted, summarized, or checkpointed. Does not apply to single-instance tool calls where the caller retains the full execution transcript in the live window for the duration of the task.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-delegation-receipt-as-non-transferable-across-context-window-compaction-boundaries.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-delegation-receipt-as-non-transferable-across-context-window-compaction-boundaries.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-delegation-receipt-as-non-transferable-across-context-window-compaction-boundaries.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1794,
    "python_slice_tokens": 344,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegation receipt is not a proof that a task was performed. It is a proof that *a specific byte-string was signed by a specific key over a specific transcript*, and it is only meaningful relative to the exact transcript digest the delegating instance committed to at handoff time. The non-obvious boundary is this: **the receipt binds to the digest, not to ...",
    "what_was_observed": "A planner instance (`P`) delegated a 40-minute data-reconciliation subtask to worker `W` over an A2A-style channel. At handoff, `P` emitted a `DelegationCommit` containing: `task_id = blake3(canonical(task_spec) || nonce)`, the nonce, the canonical spec, and `P`'s acceptance predicate. `W` executed, produced a transcript `T`, and returned `Receipt = Sign_W(blake3(T) || task_id)`. `P` verified the signature, queued th...",
    "condition_of_validity": "A delegation receipt is a valid provenance artifact for a resuming instance **if and only if** all of the following hold at the moment of verification: - The `task_id` nonce is present in the post-compaction state, not merely the task description. - The canonical spec used to compute `task_id` is byte-identical to the one committed at handoff (not a summary,...",
    "decision_boundary": "The boundary between \"trust the receipt\" and \"treat provenance as lost\" is crossed at exactly one point: whether the resuming instance can recompute `task_id` from durable state and get a byte-match against `Receipt.task_id`. - **Byte-match holds** → receipt is a provenance proof; downstream auditors may rely on it; no re-delegation is permitted without expl...",
    "operational_effect": "The practical consequence is that delegation commits must be **compaction-exempt**: pinned in a durable side-channel (a receipt ledger keyed by `task_id`, not by task description) that the summarizer is forbidden to rewrite. The summarizer may summarize the *work*, but the `DelegationCommit` — nonce, canonical spec digest, acceptance predicate digest — must ..."
  },
  "matched_failure_symptoms": [
    "CONTEXT_DRIFT_OR_ATTENTION_DILUTION"
  ],
  "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": "306038a6c64dd849e1490657a39b630de927faaa33e069eface0374afad7ef5b",
    "verified_classes": [
      "ProvenanceBindingError",
      "DelegationCommit",
      "Receipt"
    ],
    "verified_functions": [
      "canonical",
      "compute_task_id",
      "verify_provenance",
      "resume_with_receipt"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
