❄ Tools

Module: tools

The CLI that owns the ledger's vocabulary and semantics: read, append one observation, refresh the row's latest scalars, write atomically, regenerate views, report drift.

Responsibilities

Key Files

Public API

Vocabulary

Internal Structure

LEDGER resolves from $RIME_IP_LEDGER, falling back to /ledger/ip-ledger.json; VIEWS is always /views. Each observe call rewrites the whole file — measured at 5.6 ms per write for a few hundred observations, which is fine at this scale and a reason to move to SQLite if the store ever holds thousands.

Dependencies

Notable Patterns / Gotchas