When is yesterday’s news still relevant? Following one corrected figure through a claim store
On a Monday morning a news agency reports that a company expects €1.86bn of revenue this year. On Wednesday the agency sends a forty-word notice: the figure should have read €1.68bn. On Thursday somebody asks a question-answering system what the company’s guidance is. The system holds both texts. The long report matches the question better, and a copy of it arrived again that morning from an aggregator, so it also looks newer.
Neither similarity nor age measures what matters here. The report is not too old; one sentence in it was never true. My claim is that a system answering from a stream of documents needs three clocks on every claim, a rule per claim type for when it stops holding, and a way to record a correction that voids the earlier claim instead of leaving it to be ranked beside the new one. I build that as one PostgreSQL table and follow one figure through it.
The stream I will follow
The case is constructed; Brackenmoor Logistics and the Tidewire agency do not exist. The system is a retrieval-augmented generation (RAG) service that ingests agency items and answers questions from them.
| Item | Published (UTC) | What it says | Reaches the system |
|---|---|---|---|
| Company release | Mon 9 Nov 2026, 07:00 | Guidance is €1.68bn | never |
Tidewire report r-20417 |
Mon 9 Nov, 07:42 | Guidance is €1.86bn; shares at €23.40 by 07:40 | 9 Nov, 07:43:10 |
Tidewire correction c-8841, 40 words |
Wed 11 Nov, 10:20 | The figure should read €1.68bn | 11 Nov, 10:21:30 |
| Aggregator copy of the uncorrected report | stamped 9 Nov, 07:42 | Guidance is €1.86bn | Thu 12 Nov, 06:15:40 |
Tidewire report r-20655 |
Tue 24 Nov, 08:05 | Guidance raised to €1.71bn at 08:00 | 24 Nov, 08:06:02 |
The question arrives on Thursday 12 November at 09:00: “What is Brackenmoor’s full-year revenue guidance?” The right answer that day is €1.68bn.
Why ranking cannot settle it
The pipeline most teams start with stores chunks with one timestamp, ingested_at. Sorted by it, the report comes first, refreshed by the aggregator copy. Sorted by similarity, it also comes first: 900 words on guidance against a 40-word notice. Sorting by publication time would get this question right and then decay a three-year-old ownership fact that still holds. The similarity failure is the one FRESCO (April 2026) measured: re-rankers prefer older, semantically richer documents even when they are factually obsolete.
Passing both texts to the model does not repair it. Stale-Document Poisoning (September 2026) built 317 verified knowledge reversals; one outdated retrieved document changed 30% of Llama answers and 37% of Qwen answers that were correct without retrieval, and across four open models and four domains the range was 17% to 91%. HoH (2025) found an outdated document in the top five at a rate of 0.88 without time decay and 0.50 with Gaussian decay. My read: decay halves the problem and then stops, because age is a poor proxy for validity. The same poisoning paper found that when models were told when old evidence stopped applying, the larger ones switched almost perfectly. The model can use validity information. The retrieval layer has to have it first.
Three clocks for one claim
A claim is one statement extracted from a document, with a subject, a predicate and a value: Brackenmoor, full-year 2026 revenue guidance, €1.86bn. Database people separated two clocks long ago. The paper introducing the temporal features of SQL:2011 distinguishes valid time, when a row reflects reality, from transaction time, when it was recorded, and notes that the two “may arbitrarily differ”. A table keeping both is bitemporal. News adds a third clock, because the source speaks later than the event and earlier than the pipeline:
- Event time: when the thing happened. Brackenmoor issued guidance at 07:00 on 9 November.
- Publication time: when the source said so. For the correction, 10:20 on 11 November.
- Learned time: when the system first stored the claim. Set once, never refreshed.
Figure 1 puts the claim’s history on these clocks. The point is the correction: it is published and learned on Wednesday, and the claim it carries is about Monday.
timeline 9 Nov 07.00 : Event time : Brackenmoor issues guidance of €1.68bn 9 Nov 07.42 : Published, Tidewire reports €1.86bn : Learned at 07.43, stored as claim 1 11 Nov 10.20 : Published, Tidewire corrects to €1.68bn : Learned at 10.21, claim 1 voided, claim 2 stored 12 Nov 06.15 : Stale copy of the report arrives : No clock moves 24 Nov 08.00 : Event time, guidance raised to €1.71bn : Published 08.05, learned 08.06
No single feed format carries all three, which is why the store has to. Publisher formats date the page, not the events on it: Google’s guidance says structured dates “must describe the publication or update date of the page”. Event time usually has to be extracted from the text, and learned time is always the system’s own.
What the common feed formats carry
| Format | Event or valid time | Publication time | Learned time | Correction marker |
|---|---|---|---|---|
schema.org NewsArticle (V30.1) |
contentReferenceTime, temporalCoverage |
datePublished, dateModified |
none | correction, CorrectionComment |
| IPTC ninjs 3.3 | none | firstCreated, versionCreated |
none | version, pubStatus (usable, withheld, canceled) |
| GDELT 2.0 event | Day |
none (only SOURCEURL) |
DATEADDED |
none |
| Graphiti edge | valid_at, invalid_at |
reference_time of the episode |
created_at, expired_at |
edge invalidation |
The table
PostgreSQL 18 can declare a key over one period, UNIQUE (subject, predicate, valid WITHOUT OVERLAPS). That is too strict for the store: the wrong and the right figure cover the same valid time, so the correction could only overwrite the first row. System time PostgreSQL does not provide; its temporal tables section says it “could be emulated using triggers”. So I add a second range column the application writes, and use the equivalent EXCLUDE form from the CREATE TABLE reference with one more term.
CREATE EXTENSION IF NOT EXISTS btree_gist;
CREATE TABLE claim (
claim_id bigint PRIMARY KEY,
subject text NOT NULL,
predicate text NOT NULL,
claim_type text NOT NULL,
value numeric NOT NULL,
event_time timestamptz NOT NULL, -- when it happened
published_at timestamptz NOT NULL, -- when the source said it
valid tstzrange NOT NULL, -- when the claim holds in the world
believed tstzrange NOT NULL, -- when the system held it; lower bound = learned time
source_doc text NOT NULL,
supersedes bigint REFERENCES claim,
mode text CHECK (mode IN ('correction', 'update')),
CHECK (NOT isempty(valid) AND NOT isempty(believed)),
EXCLUDE USING gist (subject WITH =, predicate WITH =,
valid WITH &&, believed WITH &&)
);
valid and believed are the two periods, each “lower bound inclusive, upper bound exclusive” (range types); an open upper bound means “still holds”. The lower bound of believed is the learned time, so the two cannot disagree. The EXCLUDE constraint is the invariant: for one subject and predicate, no two rows may overlap in valid time and believed time together. Rows overlapping in valid time are allowed when their believed periods are disjoint, which is exactly the shape of a correction.
Storing the claim and its correction
At 07:43:10 on Monday the extractor reads report r-20417 and inserts claim 1: value 1860000000, valid from 07:00 open-ended, believed from 07:43:10 open-ended. valid starts at the event time, not at publication: the guidance existed from the moment the company issued it, and two sources reporting one event at different times should not produce two intervals for one fact.
On Wednesday at 10:21:30 the correction arrives. Inserting it alone (same valid range, believed from 10:21:30) is refused.
ERROR: conflicting key value violates exclusion constraint
"claim_subject_predicate_valid_believed_excl"
DETAIL: Key (subject, predicate, valid, believed)=(Brackenmoor Logistics,
fy2026_revenue_guidance_eur, ["2026-11-09 07:00:00+00",),
["2026-11-11 10:21:30+00",)) conflicts with existing key (...)=(...,
["2026-11-09 07:00:00+00",), ["2026-11-09 07:43:10+00",)).
The message describes the state a chunk store would be in without complaint: two live values for one fact. The constraint forces the writer to say what happens to the first, so a correction is two statements in one transaction.
BEGIN;
UPDATE claim
SET believed = tstzrange(lower(believed), '2026-11-11 10:21:30+00')
WHERE claim_id = 1;
INSERT INTO claim (claim_id, subject, predicate, claim_type, value,
event_time, published_at, valid, believed, source_doc,
supersedes, mode)
VALUES (2, 'Brackenmoor Logistics', 'fy2026_revenue_guidance_eur',
'guidance', 1680000000,
'2026-11-09 07:00+00', '2026-11-11 10:20+00',
tstzrange('2026-11-09 07:00+00', NULL),
tstzrange('2026-11-11 10:21:30+00', NULL),
'tidewire:c-8841', 1, 'correction');
COMMIT;
The UPDATE touches only the upper bound of believed, the one kind of update the table ever receives. To void a claim is to close its believed period: the system stops holding it and keeps the record that it once did. Claim 2’s valid starts on Monday at 07:00, because the correction says the Monday figure was €1.68bn all along; Wednesday appears only in published_at. And mode = 'correction' with supersedes = 1 records why claim 1 was closed, which retrieval later turns into a sentence for the model.
Two questions that used to be one
A store with one timestamp can answer “what do you have?”. This table answers separate questions by fixing two instants: a point in valid time (which moment in the world) and a point in believed time (whose knowledge).
SELECT claim_id, value
FROM claim
WHERE subject = 'Brackenmoor Logistics'
AND predicate = 'fy2026_revenue_guidance_eur'
AND valid @> timestamptz '2026-11-10 12:00+00'
AND believed @> timestamptz '2026-11-10 12:00+00';
-- claim 1, 1860000000
| Question | valid @> |
believed @> |
Result |
|---|---|---|---|
| What is guidance now? | 12 Nov 09:00 | 12 Nov 09:00 | €1.68bn |
| What was guidance on Tuesday? | 10 Nov 12:00 | 12 Nov 09:00 | €1.68bn |
| What did the system believe on Tuesday? | 10 Nov 12:00 | 10 Nov 12:00 | €1.86bn |
The third row must survive: anything the system did on Tuesday was done on €1.86bn, and replaying Tuesday with the corrected figure is look-ahead bias. Finance treats this as a standing problem: the St. Louis Fed’s ALFRED serves data “known as of a past period of history” through realtime_start and realtime_end, a believed period under another name.
A correction is not an update
On 24 November Brackenmoor raises guidance to €1.71bn. This time the world changed. An update ends the old claim’s valid period at the new event; a correction leaves valid time alone and replaces the belief. In the table, row 2 is closed in believed time, a row 3 restates €1.68bn with valid time ending at 08:00 on the 24th, and row 4 holds €1.71bn from then. Editing row 2’s valid range in place would be shorter and would damage replays: until the 24th the system believed €1.68bn would hold indefinitely.
Stored as an update, the Wednesday correction would make “what was guidance on Tuesday” return €1.86bn: a figure the company never issued, reported as history. Agent memory products differ here, as far as their published descriptions go. Zep’s paper (January 2025) sets an old edge’s t_invalid to the new edge’s t_valid when facts contradict, which is update semantics; this is my reading of the published rule, not a test of the product. Mem0’s April 2026 algorithm only adds, and “the new fact lives alongside the old one”, leaving ranking to choose. A Form 8-K Item 4.02 filing, saying earlier statements “should no longer be relied upon”, is a regulated example of an explicit void.
Each claim type has its own rule for ending
Report r-20417 also said the shares stood at €23.40 at 07:40. That claim was dead before the correction arrived, and no later document said so. Validity has to come from a rule attached to the claim type, applied when the row is written.
| Claim type | How valid is written |
What ends it |
|---|---|---|
| Price or quote | closed at insert: event time plus a time-to-live | the clock alone |
| Scheduled event | closed at insert: up to the scheduled time | time passing, or a reschedule |
| Guidance or forecast | open | an update closes it; a correction voids it |
| Reported figure for a closed period | open | only a restatement or correction |
| Ownership, role, legal status | open | a new filing; never age |
| Opinion or rating | open | an update; soft decay in ranking is acceptable |
A closed range on the price drops it from the “true now” query without tuning any ranking weight. Decay belongs only in the last row, and a wrong type gives a wrong lifetime.
The stale copy comes back
At 06:15:40 on Thursday the aggregator delivers the uncorrected report. The extractor produces €1.86bn again, and the exclusion constraint rejects it as current: it overlaps claim 2 in both periods. The rejection only stops the bad write. The writer still has to decide what the arriving claim is, and Figure 2 shows the order of tests I would apply.
flowchart TD
B{"Current claim for the same<br/>subject and predicate?"}
B -->|No| C["Insert as current"]
B -->|Yes| D{"Same value?"}
D -->|Yes| E["Record a mention,<br/>belief unchanged"]
D -->|No| F{"Source marks it<br/>as a correction?"}
F -->|Yes| G["Void the old claim,<br/>insert the new one"]
F -->|No| H{"Published earlier than<br/>the current source?"}
H -->|Yes| E
H -->|No| I{"Later event time?"}
I -->|Yes| J["Close the old interval,<br/>insert the new claim"]
I -->|No| K["Hold for review"]The copy differs from claim 2, has no correction marker, and was published before the Wednesday notice, so it cannot overrule it. It becomes a mention, a row linking a passage to the claim it repeats (here the voided claim 1), and no clock moves. The order matters: an explicit marker comes first, because markers are the only unambiguous signal, and publication time comes before event time so that old news cannot pose as an update.
Retrieval filters first, then ranks
With the table in place, the validity filter runs before any ranking, so a voided or expired claim is never a candidate. Figure 3 shows Thursday’s question.
sequenceDiagram participant U as User participant S as Answer service participant C as Claim store participant R as Ranker participant M as Model U->>S: Guidance for Brackenmoor? S->>C: Claims valid and believed at as-of C-->>S: Claim 2, replaces voided claim 1 S->>R: Passages that carry live claims R-->>S: Correction notice first S->>M: Question, date, claim, note M-->>S: 1.68bn, corrected on 11 Nov S-->>U: Answer with source and as-of time
Passages that mention only claim 1, such as the report’s guidance paragraph and its copy, drop out. What the model receives is illustrative:
{
"today": "2026-11-12T09:00:00Z",
"as_of": "2026-11-12T09:00:00Z",
"claims": [{
"statement": "Brackenmoor Logistics FY2026 revenue guidance is EUR 1.68bn",
"valid_from": "2026-11-09T07:00:00Z",
"ends_when": "next guidance statement",
"source": "tidewire:c-8841, published 2026-11-11T10:20:00Z",
"replaces": { "value": "EUR 1.86bn", "mode": "correction",
"note": "reported in error on 2026-11-09, never valid" }
}]
}
The replaces block is the kind of information the poisoning study found models use well. today is there because the model has its own clock problem: vendors such as Anthropic publish a knowledge cutoff per model. as_of is separate so that a historical question or a replay can set another moment.
What this costs and where it fails
The design moves the difficulty from ranking to extraction, where errors are at least visible as rows.
Extraction errors. The correction notice contains both figures, and an extractor that picks the wrong one voids the right claim. I know of no benchmark scoring claim-type or event-time extraction for this purpose. Keep the source passage on every claim and sample-review voids.
Keys that do not match. If the correction is extracted under a different predicate, both values stay live. A closed predicate vocabulary and entity resolution are the largest ongoing cost I would plan for.
Sources that never correct. Many sources just change the page. Diffing claims across fetched versions is the only defence I know; the table makes an error traceable, not detectable.
Later texts with no marker. The “hold for review” box in Figure 2 needs people, or a policy such as preferring the issuer’s release. A system without either should show both claims and say they conflict.
Backfilled history. Load a five-year archive today and every learned time is today, so earlier replays are impossible.
Filtering and vector indexes. The pgvector documentation warns that “with approximate indexes, filtering is applied after the index is scanned”, so with HNSW defaults a filter matching 10% of rows leaves “only 4 rows” on average. Iterative index scans address this; test them first.
Yesterday’s news stays relevant for as long as its claims are valid and believed, and those are two separate periods. The store is as good as its extraction and as honest as its sources, but it turns “the ranker preferred the wrong document” into “claim 1 was voided by claim 2 at 10:21:30 on the authority of notice c-8841”, a statement someone can check and repair. For the same reason I would log the claim identifiers an agent relied on whenever it acts, so the action is traceable to what was known when it was taken.
Sources
- Temporal features in SQL:2011, Kulkarni and Michels, SIGMOD Record vol. 41 no. 3, September 2012
- CREATE TABLE (PostgreSQL 18), PostgreSQL Global Development Group, accessed 30 November 2026
- Range types (PostgreSQL 18), PostgreSQL Global Development Group, accessed 30 November 2026
- Temporal tables (PostgreSQL 19, section 5.7), PostgreSQL Global Development Group, accessed 30 November 2026
- pgvector README, pgvector, master branch, accessed 30 November 2026
- Stale-Document Poisoning: When Outdated Retrieval Overrides Correct Model Answers, Ahmed, Galke Poech and Röttger, arXiv, 25 September 2026
- HoH: A Dynamic Benchmark for Evaluating the Impact of Outdated Information on Retrieval-Augmented Generation, Ouyang et al., arXiv, 3 March 2025 (v3, 18 July 2025)
- FRESCO: Benchmarking and Optimizing Re-rankers for Evolving Semantic Conflict in Retrieval-Augmented Generation, An et al., arXiv, 14 April 2026
- Zep: A Temporal Knowledge Graph Architecture for Agent Memory, Rasmussen et al., arXiv, 20 January 2025
- Graphiti
edges.py, Zep, main branch, accessed 28 November 2026 - Introducing the token-efficient memory algorithm, Mem0, 16 April 2026 (updated 28 September 2026)
- NewsArticle and CorrectionComment, Schema.org V30.1, 16 September 2026
- Influence your byline dates in Google Search, Google Search Central, accessed 28 November 2026
- ninjs user guide (ninjs 3.3), IPTC, version approved 26 October 2026
- The GDELT Event Database Data Format Codebook V2.0, GDELT Project, 19 February 2015
- Form 8-K (SEC 873), US Securities and Exchange Commission, form revision 02-25
- Real-time periods (FRED API), Federal Reserve Bank of St. Louis, accessed 28 November 2026
- Models overview, Anthropic, accessed 28 November 2026