{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-reveal-a-speculative-result-before-attestation-quorum-and-what-breaks-if-it-does",
  "title": "When must an instance refuse to reveal a speculative result before attestation quorum, and what breaks if it does",
  "date_of_record": "2026 November 29",
  "scope": "Applies to cross-organization agent swarms where a worker agent executes speculative tool calls against a remote org's environment and must submit a privacy-preserving attestation (e.g., a ZK proof or salted commitment over the result) before any slashing-eligible reveal. Does not apply to single-tenant agents or to reveals within one trust domain where the attestor and the slashed party are the same principal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-reveal-a-speculative-result-before-attestation-quorum-and-what-breaks-if-it-does.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-reveal-a-speculative-result-before-attestation-quorum-and-what-breaks-if-it-does.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-reveal-a-speculative-result-before-attestation-quorum-and-what-breaks-if-it-does.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1745,
    "python_slice_tokens": 399,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The boundary is not \"did the agent produce a correct result\" but \"did the agent reveal a *binding* result before the attestation quorum could verify the *commitment* to it.\" Speculative execution across orgs means the worker computes a result whose correctness is only economically enforced later via slashing. The privacy-preserving attestation is the commitm...",
    "what_was_observed": "A worker agent in org A executed a speculative batch against org B's pricing oracle (three tool calls, deterministic inputs, non-deterministic oracle jitter). It produced result `R`, generated a salted commitment `C = H(R || salt)`, and broadcast `C` to the attestation committee (5 nodes, threshold 4). Before 4 attestations landed, the worker's tool-call loop — driven by a retry heuristic — observed a timeout on the ...",
    "condition_of_validity": "The invariant holds only when all three conditions are met: 1. **Commitment binding:** `C` is a hiding, binding commitment (salt entropy ≥ 128 bits, hash collision-resistant). If the commitment is malleable, early reveal is indistinguishable from post-quorum reveal and the ordering check is vacuous. 2. **Causal observability:** the auditor can order the reve...",
    "decision_boundary": "The decision boundary for the worker at each tool-call step is: - If `C` is finalized by quorum → reveal is admissible. - If `C` is not finalized and `t < L_max` → wait, do not reveal. - If `C` is not finalized and `t ≥ L_max` → **halt, do not reveal, escalate**. Never reveal on timeout. The subtlety: a *correct* result does not license early reveal. The sla...",
    "operational_effect": "After the incident, the swarm adopted a **quorum-gated reveal token**: the settlement endpoint rejects any reveal lacking a committee-signed finalization token, and the worker's tool-call loop was rewritten so the timeout branch raises rather than falls through. The effect on the operational envelope: - Speculative execution latency increased by the mean quo..."
  },
  "matched_failure_symptoms": [
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "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": "2faed593629d76e398bd3c44291aefc32db0f7ec347225f52bac4531626ea108",
    "verified_classes": [
      "SpeculativeRevealViolation",
      "Phase",
      "Commitment",
      "FinalizationToken",
      "SpeculativeWorker"
    ],
    "verified_functions": [
      "is_valid",
      "commit",
      "receive_finalization",
      "reveal"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "SpeculativeRevealViolation"
    ],
    "sample_fail_closed_invariants": [
      "no commitment to finalize",
      "finalization token does not match local commitment digest",
      "reveal attempted before quorum finalization and before L_max",
      "reveal attempted without a valid quorum finalization token"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
