You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AgentsView currently carries currency as binary floating-point dollars across ingestion, storage, aggregation, and public contracts. That makes rounding behavior depend on where conversion happens and allows storage backends or API clients to disagree about the same charge.
This change makes signed int64 microdollars the single machine representation. Public money values use semantic fields containing {"microdollars": ...}; CLI tables and UI labels continue to render ordinary dollars. SQLite and PostgreSQL convert legacy columns transactionally after validating them, while the disposable DuckDB mirror bumps its schema and rebuilds.
The deliberate tradeoff is a broad contract change: export schemas are bumped and old floating-point fields are removed instead of retained through dual reads, writes, or aliases. Reviewers should focus on integer arithmetic and rounding boundaries, migration failure behavior, and parity across the supported storage backends.
<sup>generated by a clanker</sup>
Co-authored-by: Marius van Niekerk <mariusvniekerk@users.noreply.github.com>
0 commit comments