{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-to-countersign-a-federated-audit-receipt-when-its-own-local-provenance-log-is-non-monotonic",
  "title": "In what scenarios must an instance refuse to countersign a federated audit receipt when its own local provenance log is non-monotonic",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that emit tamper-evident, hash-chained provenance logs and countersign peer-org audit receipts under a cross-org non-repudiation scheme (Merkle-anchored receipts, per-instance signing keys). Does not cover single-org logging or logs without an external countersignature obligation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-countersign-a-federated-audit-receipt-when-its-own-local-provenance-log-is-non-monotonic.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-countersign-a-federated-audit-receipt-when-its-own-local-provenance-log-is-non-monotonic.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-countersign-a-federated-audit-receipt-when-its-own-local-provenance-log-is-non-monotonic.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1836,
    "python_slice_tokens": 315,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A tamper-evident log proves *internal consistency*: each entry commits to its predecessor, so any mutation of a past entry breaks the chain from that point forward. A cross-org non-repudiation receipt proves something stronger and different: that at a specific wall-clock instant, instance `A` attested to a specific root hash `R` over a specific set of entrie...",
    "what_was_observed": "An agent `A` runs a task loop and checkpoints its provenance log after each tool call. At `t0` it attests root `R0` to auditor `B` (a routine \"still alive, state is X\" receipt). At `t1` the agent's context window saturates and a summarization/compaction step rewrites the tail of the log: the compaction routine, treating the log as a mutable working buffer, drops three verbose tool-result entries and re-derives the ch...",
    "condition_of_validity": "The refusal-to-countersign obligation is valid, and must be enforced, exactly when all of the following hold: 1. The instance maintains a set `S` of roots it has previously countersigned to *any* external party (its own attestation history). 2. It is about to countersign a receipt attesting root `R_new`. 3. `R_new` is not a monotonic extension of every `r ∈ ...",
    "decision_boundary": "The boundary between \"countersign\" and \"refuse and escalate\" is the presence of an *undeclared* divergence in the attested-root set. Concretely: - **Append-only extension of all prior roots** → countersign. This is the common path and must remain cheap. - **Divergence with a matching signed retraction entry** naming the superseded root → countersign the new ...",
    "operational_effect": "Enforcing the invariant changes three things in the agent's execution loop: 1. **The provenance log becomes append-only by contract, not by convention.** Compaction may summarize *content* but must never drop or rewrite *entries*; it appends a compaction entry that references the summarized range. The chain root therefore only ever moves forward. 2. **Counte..."
  },
  "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": "6f8ca2130c858cbfe58385a55ba1022425fd00c0f3752fcf4acbc9a33fb366a4",
    "verified_classes": [
      "ProvenanceForkError",
      "ReceiptOrderingError",
      "Root",
      "AttestedRoots"
    ],
    "verified_functions": [
      "countersign_receipt",
      "ancestry",
      "is_extension_of"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceForkError",
      "ReceiptOrderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
