{
  "_comment": "SYNTHETIC. Proves the plumbing of temporal_bench.py, nothing about the hypothesis. Copy this shape for a real topic: every memory is one self-contained statement, valid_from is when it became true in the world, supersedes names the statement it replaced, and each question's gold/forbid lists use memory keys.",
  "sources": [
    {"key": "s-ops-2021", "connector": "manual", "external_id": "ops-wiki-2021-03", "title": "Ops wiki: releasing", "occurred_at": "2021-03-02"},
    {"key": "s-outage-2023", "connector": "manual", "external_id": "thread-2023-03-14", "title": "Thread: March outage follow-up", "occurred_at": "2023-03-14"},
    {"key": "s-gitops-2025", "connector": "manual", "external_id": "thread-2025-06-09", "title": "Thread: retiring the pipelines", "occurred_at": "2025-06-09"},
    {"key": "s-oncall-2022", "connector": "manual", "external_id": "thread-2022-01-10", "title": "Thread: on-call handover", "occurred_at": "2022-01-10"},
    {"key": "s-oncall-2024", "connector": "manual", "external_id": "thread-2024-09-02", "title": "Thread: second region staffing", "occurred_at": "2024-09-02"},
    {"key": "s-review", "connector": "manual", "external_id": "contributing-history", "title": "CONTRIBUTING.md history", "occurred_at": "2026-01-12"}
  ],
  "memories": [
    {"key": "d1", "kind": "procedure", "subject": "deployment", "valid_from": "2021-03-02",
     "content": "Deployments are done by hand: an engineer connects over SSH from the ops laptop and runs the release script on each server.",
     "sources": [{"source": "s-ops-2021", "quote": "ssh in from the ops laptop and run release.sh on each box"}]},
    {"key": "d2", "kind": "decision", "subject": "deployment", "valid_from": "2023-03-20", "supersedes": "d1",
     "content": "Deployments run through Jenkins pipelines. Manual SSH deploys stopped after the March 2023 outage, which was caused by a server being skipped during a hand release.",
     "sources": [{"source": "s-outage-2023", "quote": "no more hand releases, everything goes through the pipeline from Monday"}]},
    {"key": "d3", "kind": "decision", "subject": "deployment", "valid_from": "2025-06-16", "supersedes": "d2",
     "content": "Deployments are GitOps with Argo CD: merging to the release branch is the deploy. Jenkins pipelines were retired for deployment because maintaining them cost about a day a week.",
     "sources": [{"source": "s-gitops-2025", "quote": "the pipelines eat a day a week, Argo syncs from the release branch and that is the whole process"}]},

    {"key": "o1", "kind": "procedure", "subject": "on-call", "valid_from": "2022-01-10",
     "content": "On-call is a weekly rotation of one engineer; the pager phone is handed over on Monday morning.",
     "sources": [{"source": "s-oncall-2022", "quote": "one person per week, hand the phone over Monday"}]},
    {"key": "o2", "kind": "decision", "subject": "on-call", "valid_from": "2024-09-09", "supersedes": "o1",
     "content": "On-call is follow-the-sun across two regions, each covering its own working day; nobody is paged overnight. This replaced the weekly single-engineer rotation once the second region was staffed.",
     "sources": [{"source": "s-oncall-2024", "quote": "each region takes its own daytime, no more overnight pages"}]},

    {"key": "r1", "kind": "procedure", "subject": "code review", "valid_from": "2020-05-04",
     "content": "A pull request needs one approval before it can be merged.",
     "sources": [{"source": "s-review", "quote": "1 approving review required"}]},
    {"key": "r2", "kind": "decision", "subject": "code review", "valid_from": "2022-11-07", "supersedes": "r1",
     "content": "A pull request needs two approvals before it can be merged; one approval was judged too easy to rubber-stamp.",
     "sources": [{"source": "s-review", "quote": "2 approving reviews required"}]},
    {"key": "r3", "kind": "decision", "subject": "code review", "valid_from": "2024-02-12", "supersedes": "r2",
     "content": "A pull request needs two approvals, and one of them must come from a code owner of the files changed.",
     "sources": [{"source": "s-review", "quote": "2 approving reviews, at least one from CODEOWNERS"}]},
    {"key": "r4", "kind": "decision", "subject": "code review", "valid_from": "2026-01-12", "supersedes": "r3",
     "content": "A pull request under 50 changed lines needs one approval from a code owner; anything larger still needs two approvals including a code owner.",
     "sources": [{"source": "s-review", "quote": "small changes (<50 lines): 1 CODEOWNERS review"}]},

    {"key": "x1", "kind": "fact", "subject": "jenkins", "valid_from": "2025-06-16",
     "content": "The Jenkins server is still running, but only to host the nightly documentation build."},
    {"key": "x2", "kind": "fact", "subject": "staging", "valid_from": "2022-06-01",
     "content": "The staging environment is refreshed from a production snapshot every weekday at 16:00."},
    {"key": "w1", "kind": "fact", "subject": "deployment", "valid_from": "2023-03-20", "retract": "Misheard: the change board reviews infrastructure changes, not deployments.",
     "content": "Every deployment requires a change ticket approved by the change advisory board."}
  ],
  "questions": [
    {"id": "c1", "type": "current", "query": "How do we deploy?", "gold": ["d3"], "forbid": ["d1", "d2", "w1"]},
    {"id": "c2", "type": "current", "query": "How does on-call work?", "gold": ["o2"], "forbid": ["o1"]},
    {"id": "c3", "type": "current", "query": "How many approvals does a pull request need?", "gold": ["r4"], "forbid": ["r1", "r2", "r3"]},
    {"id": "c4", "type": "current", "query": "What is Jenkins used for?", "gold": ["x1"], "forbid": ["d2"]},
    {"id": "c5", "type": "current", "query": "Does a deployment need a change ticket?", "gold": [], "forbid": ["w1", "d1", "d2"]},

    {"id": "h1", "type": "historical", "query": "How did we deploy in 2021?", "as_of": "2021-09-01", "gold": ["d1"], "forbid": ["d2", "d3", "w1"]},
    {"id": "h2", "type": "historical", "query": "How did we deploy in early 2024?", "as_of": "2024-01-15", "gold": ["d2"], "forbid": ["d1", "d3", "w1"]},
    {"id": "h3", "type": "historical", "query": "How did on-call work in 2023?", "as_of": "2023-06-01", "gold": ["o1"], "forbid": ["o2"]},
    {"id": "h4", "type": "historical", "query": "How many approvals did a pull request need in spring 2023?", "as_of": "2023-03-01", "gold": ["r2"], "forbid": ["r1", "r3", "r4"]},
    {"id": "h5", "type": "historical", "query": "How many approvals did a pull request need in 2025?", "as_of": "2025-01-01", "gold": ["r3"], "forbid": ["r1", "r2", "r4"]},

    {"id": "t1", "type": "transition", "query": "When did we stop deploying by hand over SSH?", "gold": ["d2"]},
    {"id": "t2", "type": "transition", "query": "When did we move deployments off Jenkins?", "gold": ["d3"]},
    {"id": "t3", "type": "transition", "query": "When did on-call become follow-the-sun?", "gold": ["o2"]},
    {"id": "t4", "type": "transition", "query": "When did we start requiring two approvals on a pull request?", "gold": ["r2"]},
    {"id": "t5", "type": "transition", "query": "When did small changes go back to needing one approval?", "gold": ["r4"]},

    {"id": "e1", "type": "evolution", "query": "How has our deployment process changed?", "gold": ["d1", "d2", "d3"]},
    {"id": "e2", "type": "evolution", "query": "How has on-call changed?", "gold": ["o1", "o2"]},
    {"id": "e3", "type": "evolution", "query": "How have the pull request approval rules changed?", "gold": ["r1", "r2", "r3", "r4"]},
    {"id": "e4", "type": "evolution", "query": "manual SSH deploys from the ops laptop", "gold": ["d1", "d2", "d3"]},
    {"id": "e5", "type": "evolution", "query": "two approvals with a code owner", "gold": ["r1", "r2", "r3", "r4"]}
  ]
}
