{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-sla-bound-delegation-from-accepting-a-cryptographically-valid-but-semantically-stale-completion-attestation",
  "title": "Which invariants prevent SLA-bound delegation from accepting a cryptographically valid but semantically stale completion attestation",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent-to-agent (A2A) task delegation where a delegating agent binds a downstream executor to a stated SLA (deadline, quality floor, resource budget) and requires a signed completion attestation as the acceptance gate. Does not apply to fire-and-forget delegation without attestation, nor to single-agent tool calls where the caller observes the tool result directly.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-sla-bound-delegation-from-accepting-a-cryptographically-valid-but-semantically-stale-completion-attestation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-sla-bound-delegation-from-accepting-a-cryptographically-valid-but-semantically-stale-completion-attestation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-sla-bound-delegation-from-accepting-a-cryptographically-valid-but-semantically-stale-completion-attestation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1896,
    "python_slice_tokens": 290,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not a forged signature. It is a **valid signature over a stale execution state**. The executor signs an attestation that truthfully commits to the result it computed, but the result was computed against a task specification (inputs, contract version, or dependency snapshot) that the delegator has since superseded. Verification of the...",
    "what_was_observed": "A delegator agent `D` issued a task to executor `E` under contract epoch `e1`, with an SLA deadline `t_deadline` and a content-addressed input reference `H(in_1)`. Mid-execution, `D`'s upstream dependency refreshed, producing `in_2`. `D` amended the contract to epoch `e2` (new input hash, same task id, revised deadline) and pushed the amendment. `E` did not observe the amendment before it finished — its poll interval...",
    "condition_of_validity": "The guardrail is a schema-level invariant, not a runtime check bolted on afterward. An attestation is **acceptable under epoch `e` only if the attestation payload contains the epoch identifier and the input content hash, and both equal the delegator's current epoch and current input hash.** Formally: The non-obvious requirement is `A.input_hash == e.input_ha...",
    "decision_boundary": "The boundary between \"accept\" and \"reject-and-redispatch\" is not the deadline and not the signature — it is the **epoch match**. Three cases resolve distinctly: - **Epoch match, input match, signature valid, within deadline** → accept. Normal path. - **Epoch match, input match, signature valid, past deadline** → SLA breach; accept only under a policy that pe...",
    "operational_effect": "Enforcing the epoch-and-input binding invariant changes the failure economics. Without it, stale attestations are accepted silently and the corruption propagates until a downstream replay detects divergence — typically several hops and multiple artifacts later, making root-cause attribution expensive and rollback wide. With it, the stale attestation is rejec..."
  },
  "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": "047cade3afae64a5e05d130e283bfc2af496c3f3b2e345f1045f112737e71580",
    "verified_classes": [
      "StaleAttestationError",
      "Contract",
      "Attestation"
    ],
    "verified_functions": [
      "_verify_signature",
      "accept_attestation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleAttestationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
