[ docs · concepts ]

Dreaming & calibration

Memory that is never cleaned becomes a junk drawer. Dreaming is the nightly loop that curates Grist's verified memory — mechanically, in the open — and calibration is its sibling loop for the gate's thresholds.

Dreaming: curation without a curator

There is no human curation queue, and no person approves edits one by one. The policy is mechanical and runs on a schedule. Every change Dreaming makes is a Git commit to the memory repo, authored by the Dreaming identity — so a human doesn't gate the trail, they audit it after the fact, commit by commit.

Verifiedmemory Dreamingnightly pass Curatedmemory better recall briefs the next run — which writes better memory Calibrationdecisions joinedto outcomes;one threshold,one small step
curation on a loop, tuning on a leash

What the nightly pass does

Failure mining feeds the loop: repeated failure signatures and failed checks are distilled into the cautionary memories that Dreaming then curates, retires, or promotes into patterns.

Records in the restricted tier are never touched — not merged, not archived, not superseded. It is a hard wall, enforced in code and pinned by tests.

Calibration: tuning with an evidence bar

The gate's thresholds are tuned the same way memory is curated: mechanically, and only on evidence. Calibration joins routing decisions to their verified outcomes, then asks whether a threshold deserves to move.

Both loops share one design rule with memory itself: the system learns in the open, in artifacts you can diff — or it doesn't learn at all.