ckb/tests/fixtures/bench-kb/wiki/entities/orion-ledger.md
Michał Kopeć 1d7a489323 Template 1.24.0: release 3 batch 1, retrieval
- F10 bm25 section search: stdlib SQLite FTS5 over page sections, with
  title/heading path/tldr in a separate context column; cached in
  tmp/ckb-fts.sqlite, refreshed by mtime then sha256; section anchors
  per candidate. New benchmark tests/bench_retrieval.py over
  tests/fixtures/bench-kb (20 questions): hit@1 14/20, hit@3 20/20 with
  and without bm25; weight kept at 1.0 (D-0015)
- F12 token estimate per candidate; layered reading in ckb-retrieve
- F16 --opened access log in tmp/access.log; lint_report.py --cold
  proposes demotion to an index `## Archive` section, never moves
- F17 ckb-retrieve offers a table/chart/deck/HTML once when it fits

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 20:25:26 +01:00

22 lines
591 B
Markdown

---
type: system
tldr: The ledger service that records every money movement on the Orion platform.
confidence: 0.8
quality: 0.8
last_updated: 2026-10-01
freshness_window_days: 365
---
# Orion Ledger
## Storage
Entries are written to PostgreSQL 15 with synchronous replication to a second zone. A write is acknowledged only after both replicas confirm.
## Corrections
Entries are never updated in place. A mistake is fixed by a reversing entry that points at the original by its entry id.
## Ownership
The ledger team is led by Alice Kowalska; changes to the schema need her approval.