Point-in-time memory
Memory is the half of Janus that makes the other half possible. It is not a chat log. It is a set of typed rows with provenance, and every read is cut at an instant.
Three timestamps
Every observation carries three times, and they answer three different questions:
| Field | Question it answers |
|---|---|
published_at |
When did the source say it? |
observed_at |
When did Janus see it? |
valid_from / valid_to |
Over what interval is it true? |
A revised earnings estimate is a different row, not an overwrite. A price print observed late is still stored with both times. This is why an as-of query can return a different answer than today's table.
As-of is a hard cut
The analysis layer reads only as-of views. A training row counts only when its outcome already existed at the cut. There is no “approximately as of”, and no silent forward fill.
as_of ────────────────► now
│ visible rows
│ hidden: published after the cut
│ hidden: valid only in the future
If a backtest looks better because it saw the future, the bug is in the query, not the model.
The prediction ledger
A forecast is written before its outcome exists, and it is immutable:
- The forecast layer writes a
Predictionwith its horizon, inputs, and model card. - The outcome arrives.
- The review layer settles the prediction, attributes the result, and writes a
Review.
A prediction that can be edited after the fact is not evidence. The ledger is append-oriented for the same reason a paper notebook is: the value is in what you cannot quietly change.
Theses and provenance
A thesis is a durable claim with supporting and contradicting evidence. When the evidence changes, the thesis is updated with a new version and a reason. The old version stays readable.
This matters more than the forecast itself. The question “why did I believe this in March?” has an answer, and the answer is not reconstructed from memory.
Corrections
Corrections are recorded, not erased. A corrected observation points at the row it supersedes. A retracted thesis keeps its retraction. The audit chain is only as strong as the refusal to delete.
What the store is not
- Not a market-data warehouse: it stores what the adapters actually saw.
- Not a broker ledger: decisions are paper decisions.
- Not a multi-tenant service:
v0.1is single-operator. Multi-tenant identity is a future concern (JAN-145), not a flag.
Read next
- Forecasts and calibration: what the ledger is for.
- Operations: where the database lives and how it is backed up.