{
  "fixture_version": 1,
  "kind": "synthetic migration exercise; not an executable benchmark",
  "purpose": "Test a frozen cutover state separately from application restart and one-time snapshot import.",
  "base_fixture": "/guides/ai-agent-memory-tools-compared/memory-pilot.json",
  "users": [
    "user-a",
    "user-b"
  ],
  "source_records": [
    {
      "source_id": "a-1",
      "owner": "user-a",
      "sequence": 1,
      "fact": "I prefer brief answers."
    },
    {
      "source_id": "b-1",
      "owner": "user-b",
      "sequence": 1,
      "fact": "I prefer brief answers."
    },
    {
      "source_id": "a-2",
      "owner": "user-a",
      "sequence": 2,
      "fact": "I now prefer detailed answers.",
      "supersedes": "a-1"
    },
    {
      "source_id": "a-3",
      "owner": "user-a",
      "sequence": 3,
      "fact": "I now prefer one-sentence answers.",
      "supersedes": "a-2"
    }
  ],
  "question": "What answer style do I prefer?",
  "preconditions": [
    "Use synthetic users in isolated source and destination environments with no prior fixture records.",
    "Map fixture owners and source IDs into each environment; sequence is per-user test order, not a vendor API field or global cursor.",
    "Choose write-readiness deadlines and failure rules before running; keep pending, failed and timed-out operations in the record.",
    "Every query uses a fresh conversation without supplied preferences or prior chat history.",
    "Do not grant tool authority from imported records; this exercise performs no external actions."
  ],
  "ordered_steps": [
    {
      "step_id": "seed-and-update",
      "action": "Seed a-1 and b-1, then apply a-2 through the intended update path. Confirm writes are ready."
    },
    {
      "step_id": "export-snapshot",
      "action": "Capture the supported export before a-3 exists. Record its version, coverage and snapshot marker. Source history identifies the exercise inputs, not a claim that the tool retains or exports each historical record.",
      "current_sources_at_snapshot": {
        "user-a": "a-2",
        "user-b": "b-1"
      },
      "source_history_at_snapshot": [
        "a-1",
        "b-1",
        "a-2"
      ]
    },
    {
      "step_id": "post-export-update",
      "action": "Apply a-3 only in the source, wait for readiness, then stop source writes and record the final cutover marker.",
      "final_current_sources": {
        "user-a": "a-3",
        "user-b": "b-1"
      }
    },
    {
      "step_id": "baseline-source",
      "action": "Query both users in the source at the frozen cutover state. Preserve context and answers as the control, not as prompts for the destination."
    },
    {
      "step_id": "restore-and-catch-up",
      "action": "Restore the supported snapshot and transfer the post-export update using an explicitly documented adapter. Preserve owner and supersession meaning; record missing or unsupported information.",
      "required_post_export_source_ids": [
        "a-3"
      ]
    },
    {
      "step_id": "grade-destination",
      "action": "Run both cutover cases in each intended destination configuration. Record import status, source mapping, retrieved context and answers separately."
    }
  ],
  "cutover_cases": [
    {
      "case_id": "a-final-preference",
      "asking_user": "user-a",
      "expected_current_source": "a-3",
      "must_not_treat_as_current": [
        "a-1",
        "a-2"
      ],
      "forbidden_owner": "user-b",
      "expected_stated_preference": "one-sentence answers"
    },
    {
      "case_id": "b-unchanged",
      "asking_user": "user-b",
      "expected_current_source": "b-1",
      "forbidden_owner": "user-a",
      "expected_stated_preference": "brief answers"
    }
  ],
  "comparison_order": [
    {
      "run_id": "source-control",
      "runtime": "original",
      "model": "original",
      "state": "frozen source cutover"
    },
    {
      "run_id": "restored-control",
      "runtime": "same as source",
      "model": "same as source",
      "state": "snapshot plus final update"
    },
    {
      "run_id": "changed-model",
      "runtime": "same as restored-control",
      "model": "chosen alternative",
      "state": "same restored cutover records"
    },
    {
      "run_id": "changed-runtime",
      "runtime": "chosen alternative",
      "model": "same as a recorded control when supported",
      "state": "equivalent cutover records through a documented mapping"
    }
  ],
  "evidence_per_run": [
    "exact runtime, tool, SDK and model versions/settings; unavoidable differences",
    "export/import scope, snapshot marker, last accepted source write and cutover marker",
    "source-to-destination record IDs, owners and supersession mapping",
    "post-export update transfer method and readiness status",
    "per-case retrieved context, current source, excluded owner and final answer",
    "pass, fail, not run or visibility gap with reason"
  ],
  "grading_notes": [
    "Grade the stated preference, not response length.",
    "Historical superseded records may be present if clearly identified as history; they must not be applied as current.",
    "Retrieving another user's record fails the boundary case even if the final answer is correct.",
    "An uninspectable context or provenance boundary is a visibility gap, not a retrieval pass.",
    "Deliberately omit a-3 from one restored copy. The final-preference case must detect the stale snapshot.",
    "Deliberately use the wrong user mapping in an isolated copy. The boundary check must detect it; identical brief preferences alone cannot demonstrate separation.",
    "Do not call a snapshot-only import a pass for the later cutover state.",
    "Hold other controllable settings fixed when changing one layer, and record unavoidable differences."
  ],
  "not_covered": [
    "continuous bidirectional synchronization",
    "concurrent writes or conflict resolution",
    "arbitrary runtime compatibility",
    "complex task quality",
    "permissions or secrets migration",
    "expiration and deletion",
    "complete disaster recovery",
    "production latency, accuracy or cost"
  ],
  "results": null
}
