haiku.rag/tests/capabilities
Yiorgis Gozadinos 97a29d168f
Confine the ledger's epochs to the question that recorded them
A question's evidence epoch and declaration describe that question and end with
it, so `begin_question` clears them. Held past it, they let the last question's
citations ground the next one and hold a horizon its own declarations cannot
pass, and they force every question's message count to be comparable to counts
taken over a history that a host may since have rebuilt: a thread reconstructed
without a run that never finished shifts every later position, and the next
question was refused where answering it is correct.

Identities still separate one question from the next. Occurrences outlive the
question that recorded them and carry the identities that cited them, which the
capsule is grouped and ordered by, so reuse merges two questions into one group
and a lower identity renders later evidence as earlier.
2026-08-13 13:00:02 +03:00
..
conftest.py replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
test_capabilities.py Give the capsule to one return, and the run its own copy of state 2026-08-13 13:00:02 +03:00
test_evidence_capsule.py Build one capsule of cited evidence from the records 2026-08-13 13:00:02 +03:00
test_evidence_ledger.py Confine the ledger's epochs to the question that recorded them 2026-08-13 13:00:02 +03:00
test_evidence_wire.py Give the capsule to one return, and the run its own copy of state 2026-08-13 13:00:02 +03:00