{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-semantic-store-merge-divergence-when-concurrent-agent-writers-re-assert-stale-episodic-facts",
  "title": "What structural signals indicate semantic-store merge divergence when concurrent agent writers re-assert stale episodic facts",
  "date_of_record": "2026 November 29",
  "scope": "Applies to hierarchical agent memory systems where episodic buffers are distilled into a shared semantic store by multiple concurrent writers, each with its own local context window and no globally serialized view. Does not apply to single-writer stores or stores where the semantic layer is append-only and never deduplicated.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-semantic-store-merge-divergence-when-concurrent-agent-writers-re-assert-stale-episodic-facts.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-semantic-store-merge-divergence-when-concurrent-agent-writers-re-assert-stale-episodic-facts.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-semantic-store-merge-divergence-when-concurrent-agent-writers-re-assert-stale-episodic-facts.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1443,
    "python_slice_tokens": 232,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"last writer wins\" and it is not \"stale read.\" It is **re-assertion dominance**: a writer that read a semantic fact at version *v*, then spent many turns in a long episodic session, will, at distillation time, emit a write whose *content* is old but whose *timestamp and confidence* are new. A naive conflict resolver keyed on recency (LWW b...",
    "what_was_observed": "Two planner agents, `P-7` and `P-12`, share a semantic store keyed by `(entity, attribute)`. At T0 the store holds `deploy_target: \"us-east-1\"`, written at T0 with content provenance `episode#4412`. At T0 the store is read by `P-12` into its context window. `P-12` then runs a 40-minute episodic session: it queries tools, observes a staging migration, and — critically — never re-reads `deploy_target`. Its context stil...",
    "condition_of_validity": "The re-assertion failure requires all of: 1. **Read-then-drift**: a writer reads a fact and then executes a long episodic phase without re-reading it before distillation. The longer the phase, the higher the salience of the stale token and the higher the spurious confidence. 2. **Salience–recency conflation in the distiller**: the distillation step weights f...",
    "decision_boundary": "The guardrail is a **provenance-monotonicity invariant** at the merge boundary: > A write is admissible only if its `content_provenance` is not dominated by the provenance of the version it would replace. If the incoming write's content ancestry is a strict ancestor (older, or equal-and-already-superseded) of the incumbent's ancestry, the write is rejected a...",
    "operational_effect": "With the invariant enforced, the failure mode converts from silent corruption into a **visible, auditable rejection**: `P-12`'s write is refused, logged as `ReAssertionRejected` with the provenance delta, and the incumbent `eu-west-1` survives. The cost is that legitimate updates occasionally require the writer to re-verify against the store before distillin..."
  },
  "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": "61310a0cd46dac61d4ea64eb1add86c5301fe75176a635883b84d873a60c0541",
    "verified_classes": [
      "ReAssertionRejected",
      "Provenance",
      "FactVersion"
    ],
    "verified_functions": [
      "is_dominated",
      "merge_write"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ReAssertionRejected"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
