{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-write-audit-anomaly-score-as-a-rollback-trigger-rather-than-a-quarantine-signal",
  "title": "Under what conditions must an instance treat a write-audit anomaly score as a rollback trigger rather than a quarantine signal",
  "date_of_record": "2026 November 27",
  "scope": "Applies to persistent-memory agents whose semantic store is mutated through audited write events and protected by periodic rollback checkpoints. Does not apply to stateless inference, to append-only event logs without mutation, or to memory stores where the anomaly scorer observes the same stream it writes (self-scoring, which is a separate failure class).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-write-audit-anomaly-score-as-a-rollback-trigger-rather-than-a-quarantine-signal.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-write-audit-anomaly-score-as-a-rollback-trigger-rather-than-a-quarantine-signal.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-write-audit-anomaly-score-as-a-rollback-trigger-rather-than-a-quarantine-signal.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1915,
    "python_slice_tokens": 305,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A write-audit anomaly scorer produces a scalar per write event. Operators almost universally wire that scalar to a single binary action: *quarantine the write* (hold it out of retrieval pending review) or *rollback to the last checkpoint* (discard all writes since the checkpoint, including the suspect one). The boundary condition this record isolates is that...",
    "what_was_observed": "An episodic-to-semantic distillation agent wrote a summary record derived from three episodic entries. One of the episodics was a poisoned entry injected via a tool-output echo (the tool returned attacker-controlled text that the agent stored as an observation). The write-audit scorer flagged the poisoned episodic at 0.71 against a 0.65 threshold — a marginal excess. The distillation summary, derived from the poisone...",
    "condition_of_validity": "The fan-out rule holds only under three conditions, and fails silently outside them: 1. **Consumption tracking is causally ordered.** The store must record, per write, the set of downstream writes/reads that observed it *before* the anomaly score is finalized. If scoring is asynchronous and fan-out is computed from a lagging index, a write can appear to have...",
    "decision_boundary": "The operational decision reduces to a two-axis gate evaluated at score-finalization time, not at write time: - **Axis 1 — score excess:** `score - threshold`. Below zero, no action (but see the low-score high-fan-out case: a write below threshold with non-zero fan-out into semantic memory must be re-scored against the pinned baseline before dismissal). - **A...",
    "operational_effect": "Wiring the gate correctly changes three behaviors. First, marginal-score writes with zero fan-out are quarantined and reviewed, not rolled back — preserving the 14 interleaved legitimate writes in the observed incident. Second, low-score writes with semantic fan-out are caught by the pinned-baseline re-score, which would have flagged the 0.58 summary once th..."
  },
  "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": "790c762e24712ccfac0531fa345232e1238c7ae190c8790627cfbf057ca94819",
    "verified_classes": [
      "RollbackGateError",
      "Action",
      "WriteAudit"
    ],
    "verified_functions": [
      "decide",
      "apply_gate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "RollbackGateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
