Tribulnation Portfolio/Litmus Briefing

Six pipeline stages, from raw exchange data to an auditable ledger

Each stage has its own page, with the relevant code and known issues.


01

Ingestion

Parses CSV exports or live API data into the shared SDK Observation schema.

AI spec pipeline missing
View stage →
02

Account Reconciliation (single account)

Matches raw observations into typed nodes within a single account, using graph-based matching.

built
View stage →
03

Interpretation

Decodes on-chain contract calls into economic events: swaps, bridges, liquidity changes.

AI spec pipeline missing engine needs to support more complex transactions
View stage →
04

Portfolio Reconciliation (all accounts)

Uses the same matching engine as stage 2 to match deposits/withdrawals/bridges across accounts.

built
View stage →
05

Audit

Two independent deltas must agree, per asset, per account, within tolerance.

wrong order

Currently runs third, immediately after Account Reconciliation, before Interpretation and Portfolio Reconciliation. This ordering needs to change.

06

Accounting / P&L

Cost basis, tax lots, and realized P&L. Not yet implemented.

not built