The Architecture of Economic State: A Nine-Paper Monograph Collection
Working Papers, 2026 · Kip M. Twitchell
Over forty years of field work — from the first Geneva deployments in the 1990s to a major U.S. insurer's 25.5-billion-record event repository, a Tier-1 global bank Instrument Ledger, and 290+ episodes of Conversations with Kip — have been formalized into a nine-paper monograph series. The collection argues that virtually every major financial institution made the same architectural decision that early digital photographers made when storage was expensive: compress the raw signal into balances and permanently discard the rest. Enterprise AI is the forcing function that is finally making the cost of that decision visible and competitively decisive.
The Architecture of Economic State: Foundations, Engines, and Frontiers of Enterprise Financial Systems
The central argument: every major financial institution made the JPEG decision — compressing raw business events into pre-aggregated balances and permanently discarding the attributes that did not fit the posting key. A small number of firms refused. They kept the originals — not because they anticipated AI, but because their architectures demanded it. The consequence for AI is an accident of foresight they did not know they had. This introduction frames nine papers spanning the theoretical case, the production existence proofs, and the inter-enterprise frontier where the same logic eliminates the reconciliation tax between counterparties entirely.
Three volumes, nine papers — Theoretical Foundations · The Core Architecture · Transition and Extension
The Minimum Cost Curve for Enterprise Financial Data Architecture
This paper argues that the historical tradeoff between posting-time aggregation and query-time processing defines a formal mathematical cost curve with an interior minimum cost point — and that virtually all major enterprises have drifted far to the right of it. The cost of that drift is measurable in two compounding dimensions: direct storage and reconciliation overhead from unnecessary balance duplication, and the structural inability to answer queries that balance hierarchies cannot satisfy because the posting projection permanently discards the attributes they require. Two production natural experiments at enterprise scale demonstrate the minimum cost architecture is operationally feasible: a major U.S. property & casualty insurer's event repository (25.5 billion versioned event records), and a Tier-1 global bank Instrument Ledger that, in a single regional segment, processed 19.9 million active instruments and 2.159 billion journal source records in the daily/monthly cycle.
Keywords: REA framework · minimum cost curve · financial data architecture · event-sourced ledger · lossy compression · GenevaERS · instrument ledger · balances as inventory
Pre-Hierarchy Event Repositories as Training Corpora for Enterprise AI: An Information-Theoretic Analysis of Structured Data Compression in Business Systems
The dominant paradigm for enterprise AI training on structured business data relies on tabular extracts from balance-based systems — product subledgers, General Ledgers, data warehouses, and OLAP cubes. This paradigm systematically hobbles enterprise machine learning because transaction posting constitutes lossy compression in the Shannon sense, stripping counterparty context, severing causal event linkages, and collapsing complex temporal processes into artificial "true-up" balance adjustments. When models are trained on these compressed balance marts, they are trapped in a "flat painting" — unable to discover latent causal patterns or generalize beyond the fixed dimensional projections anticipated at posting time. This paper introduces the Pre-Hierarchy Event Repository and establishes the information-theoretic basis for why pre-hierarchy corpora provide a higher information ceiling for Transformer-based sequence models and tabular Foundation Models.
Keywords: Enterprise AI · Foundation Models · Event-Driven Architecture · Information Theory · Lossy Compression · REA Ontology · Pre-Hierarchy Training Corpora · GenevaERS
Papers 3–9 — Full Architecture & Extension
The remaining seven papers cover: overnight batch physics and subledger elimination (Paper 3), the GenevaERS single-pass compiled engine (Paper 4), accounting rules and transformation engines (Paper 5), temporal perspectives and the Switch/Recast/Reclass taxonomy (Paper 6), operational control architecture (Paper 7), legacy reverse-engineering and conversion strategies (Paper 8), and shared inter-enterprise ledgers that eliminate bilateral statement reconciliations entirely (Paper 9).
Read all abstracts & join Sharealedger to download PDFs →Git-Ledger: Sharealedger Runs Its Own Books on Git
March 2026
Sharealedger has completed the first live deployment of git-ledger — the open-source double-entry accounting tool built by and for open communities — using Sharealedger's own financial records as the test case. All five years of organizational history (2021–2025) have been imported, validated, and reconciled to the cent against existing audited financials.
What Was Built
git-ledger is a plain-text, Git-native accounting package. Journals are YAML files committed to a repository. Balances and financial statements are derived on demand from those files — no proprietary database, no vendor lock-in, no format you can't read in a text editor. The full accounting engine covers double-entry validation, multi-entity consolidation, configurable charts of accounts, and CLI-driven Income Statements, Balance Sheets, and Trial Balances.
Two importers are implemented for bringing existing books into git-ledger:
- Wave importer — reads Wave's double-entry CSV export format, groups rows by Transaction ID, and resolves Wave account names to chart codes via a declarative YAML mapping-rules file. This is what Sharealedger used for its own live import.
- QuickBooks importer — targets the QuickBooks General Ledger / Transaction Detail by Account CSV export, handling both Desktop and Online column variants. Uses the same mapping-rules pattern as the Wave importer. Intended for QuickBooks users migrating to or evaluating git-ledger.
What the Test Proved
310 transactions (55 LLC, 255 NFP) were imported from Wave accounting exports and written into version-controlled YAML journals. Every transaction balanced. Account 1050 Transfer Clearing netted to $0.00 on both entities. Year-end Income Statements and Balance Sheets were generated for both Sharealedger LLC and Sharealedger NFP for each year 2021–2025 and compared against existing financial statements:
Reconciliation Result — All Years ✓
| Year | NFP Revenue | NFP Expenses | NFP Net | LLC Expenses |
|---|---|---|---|---|
| 2021 | $6,500.00 | $4,868.03 | $1,631.97 | $6,991.76 |
| 2022 | $13,710.51 | $13,273.56 | $436.95 | $3,589.00 * |
| 2023 | $1,800.00 | $1,577.08 | $222.92 | $1,800.00 |
| 2024 | $2,800.00 | $2,755.30 | $44.70 | $2,800.00 |
| 2025 | $2,000.00 | $2,025.88 | ($25.88) | $2,000.00 |
* LLC 2022 shows a $20.76 year-split difference: Wave dated a cash-balancing entry January 2, 2023; the prior financials absorbed it into 2022. All-years totals reconcile exactly.
Design Principles Demonstrated
- Ephemeral ledger with provenance snapshots: No pre-computed balances are stored. Every balance and statement is re-derived from the raw journal on every run — consistent with the Sharealedger conceptual model's derivation invariant. When journal files grow large (past a configurable fraction of available memory), git-ledger can automatically write a
ledger-cache.yamlsnapshot stamped with the Git commit SHA it was derived from, creating a durable provenance record without replacing the ephemeral model. - Git as the audit chain: The commit history is the evidence chain. The committer is the authorizing agent. The Git SHA on any persisted snapshot ties it directly to the exact journal state it represents — no custom stamping mechanism is needed.
- Code and data separated: The accounting engine (public, Apache 2.0) lives in one repository. The actual financial records (private, member-readable) live in a separate repository with access controls.
- Multi-entity from the start: Both Sharealedger LLC and Sharealedger NFP run in the same books directory, with inter-entity transfers tracked via a shared event ID field and a Transfer Clearing account that must net to zero.
Repository Links
git-ledger
The accounting engine — public, open source, Apache 2.0.
github.com/sharealedger-org/git-ledger →sharealedger-books
The live financial records — private, readable by all Sharealedger members.
github.com/sharealedger-org/sharealedger-books →Members: Access the Live Books
The sharealedger-books repository is readable by all Sharealedger members on GitHub. It contains the complete YAML journal files, chart of accounts, and mapping rules for both entities — the full source record of Sharealedger's finances since inception.
Ledger Lab: The Open Empirical Pipeline for the Monograph Experiments
Active · GenevaERS · Apache 2.0
The nine-paper monograph describes a set of architectural claims — that pre-hierarchy event repositories produce better AI training corpora than balance-based systems, that the minimum cost curve has a demonstrable interior minimum, and that the Instrument Pivot Theorem holds at enterprise scale. Ledger Lab is the open-source empirical laboratory built to test those claims on public data anyone can run.
The experiment in Paper 2 (§5) is designed around two tracks. The primary track uses a major U.S. property & casualty insurer's 25.5-billion-record event repository — maximum longitudinal depth and domain realism, accessible under institutional agreement. The reproducible track is Ledger Lab: the same pre-hierarchy extraction and tokenization pipeline running on Virginia state government vendor payment data, open source, GenevaERS-powered, independently verifiable by any researcher.
What Ledger Lab Is Built to Run
- Experiment 1 — Minimum cost curve (Paper 1): Configure the ARE/Instrument Ledger pipeline at variable materialization levels, measure total cost (compute + storage + reconciliation obligation) at each configuration, and trace the cost curve empirically. The goal is to locate the interior minimum from data rather than inference.
- Experiment 2 — Instrument Pivot Theorem (Paper 1 §3.5): Demonstrate on the public VA vendor dataset that adding reporting dimensions to the Contract Attributes Record costs one column — zero new balance records — while the equivalent key-embedded balance architecture grows exponentially. The ratio is measurable and reproducible.
- Experiment 3 — Pre-hierarchy AI signal (Paper 2 §5): Run the three-layer comparison (text-serialized LLM baseline → balance-derived supervised model → pre-hierarchy sequence model) on the VA vendor event stream and measure whether the pre-hierarchy layer surfaces predictive patterns the compressed layers cannot reach.
Why Public Data Matters Here
The insurer corpus is real and large, but no reviewer can touch it. The VA vendor data is public, the pipeline is open source, and the GenevaERS engine is Apache 2.0 on the Linux Foundation Open Mainframe Project. Any researcher can clone the repo, run the pipeline, and reproduce the results. That reproducibility is what turns the monograph's theoretical claims into a testable empirical program rather than a set of existence proofs from proprietary deployments.
ledger-lab
The open empirical pipeline — public, Apache 2.0.
github.com/sharealedger-org/ledger-lab →GenevaERS
The single-pass engine powering the pipeline — Linux Foundation Open Mainframe Project.
github.com/genevaers →The Problem with Financial Systems: An Overview
Before any of the formal Sharealedger exchanges took place, the core problem was laid out in full in an April 2018 working session at IBM's offices in Bangalore, India. Kip Twitchell spent 57 minutes with a room of IBM engineers building the entire case from first principles — starting with personal spending data and ending with why financial systems worldwide are stuck in an architectural pattern designed in 1494.
This session is the best single entry point into what Sharealedger is about. No assumed knowledge is required. The audience asks genuine questions throughout, which makes the argument unusually clear.
The Problem with Financial Systems: An Overview
Filmed April 10, 2018 · IBM Bangalore · 56:56 · Unpublished episode of Conversations with Kip
Full session record with 31-chapter guide →Key Arguments Made
- The McCarthy question (1982): If all transactions are stored in a shared database, why compute and store balances at all? Why not produce any financial report on demand directly from the transaction record?
- Why we don't: Financial systems were built when compute and storage were expensive. Throwing away transactions and keeping only balances was the rational economic choice in 1970. It still is in architecture — but not in cost.
- The permutation explosion: With even five attributes on a transaction, the number of possible balance aggregations is enormous. Every pre-computed balance added raises reconciliation overhead — and reconciliation cannot be fully automated.
- The daily financial cycle: Every night, banks "post" — taking transactions and updating balances — a process most modern accountants don't recognize by name, inherited directly from Luca Pacioli's 1494 Venice ledgers.
- "Running the computer backwards": When a balance is wrong, analysts dump data to Excel and manually re-add rows to reconstruct the number before analysis can even begin. This happens everywhere, every day, and may represent 30% of financial services operating costs.
Principles Lecture for Dr. William E. McCarthy
The first formal Sharealedger project effort was a presentation delivered for Michigan State University students under the direction of Dr. William E. McCarthy, the renowned researcher who originated the Resource, Event, and Agent (REA) economic accounting model.
Full Lecture: Principles Behind Sharealedger
Presentation given by Kip Twitchell exploring the historical constraints that shaped modern double-entry ledgers and how REA concepts enable multi-party shared ledgers.
Key Insights & Takeaways
- Ancient Origins to Manual Double-Entry: How the fundamental balance equation was codified centuries ago to fit physical quill-and-paper ledgers.
- The Trap of Early Automation: Because manual accounting was computerized early in the mainframe era, vendors focused on automating existing siloed processes rather than rethinking the cross-enterprise flow of financial data.
- Decoupling View from Event: How the REA model allows business transactions to be captured in an objective, perspective-independent manner before translating into debits, credits, or tax classifications.
Lecture Deck & Research Monographs
The complete 40-slide presentation deck ("Principles Behind Sharealedger") and the nine-paper research monograph collection ("The Architecture of Economic State") — including the foundational Minimum Cost Curve and Pre-Hierarchy Event Repositories for Enterprise AI papers — are available to members in the private repository. Abstract previews are available above and on the membership page.
Bookkeeping and AI: Why So Little Progress?
Following the MSU lecture, Dr. McCarthy referred Tom Hall, who authored an extensive paper exploring how to make understanding entities through accounting data more efficient. Over three recorded sessions, Kip and Tom explored why artificial intelligence has struggled with traditional bookkeeping data and how mathematical formalizations can enable true machine automation.
Session 1: The Entity and the Questions We Ask
Tom outlines the fundamental importance of an Entity (person, partnership, or corporation) and how standard historical accounting structures often fail to capture the questions modern organizations need to ask.
Session 2: Metric Engines vs. Search Engines
Kip and Tom compare search engines (which return individual documents/instances) to metric engines (which must calculate aggregate status over time). They discuss how true-up journal entries obscure underlying economic facts, and how preserving subledger key identifiers enhances enterprise-wide analysis.
Session 3: Mathematical Formulas for Automation
Tom reviews the specific mathematical formulas developed in his paper, explaining variables, relationship constraints, and how automated rule frameworks can interpret accounting activity with high transparency and ethical auditability.
Tom Hall's working papers and mathematical notes are available to members in the private research archive.
Join Sharealedger to access member research papers →Financial Systems: Time and Scope Discussions
Adeolu "Ade" Alao, Sandy Peresie, and Kip Twitchell engaged in extended discussions on the structural limitations of modern financial systems, predictive forecasting, and shared ledger simulation.
Core Concepts Explored
- Predictive Cash Flow from Structured Contracts: Current financial reporting is almost purely retrospective. By embedding machine-readable contract terms directly into transaction records, systems can compute precise forward-looking cash needs.
- Inside vs. Outside Existing Financial Institutions: Open Banking protocols focus mostly on transaction execution rather than shared access to underlying financial records. A genuine leap forward must develop outside legacy vendor silos.
- Capital Accumulation for Everyone: Re-examining the boundary between consumed expenses and capital assets (e.g. tools for ongoing production), enabling broader participation in wealth creation.
- Simple Simulation: Prototyping shared ledgers using dual-approved immutable records in cloud-shared sheets as a proof of concept.
Vision for a New Financial World
“To bring 1 billion people into the digital economy, not just through transaction payments and receipts, but with financial management capabilities that allow them to measure performance, contribute effectively, and prepare for the future.”
Overcoming Fragmentation
Today's financial data is held in proprietary silos by intermediaries. Categorization is treated as a post-transaction cleanup activity, and multi-party reconciliation consumes billions in wasted overhead.
Sharing financial data directly between authorized counterparties solves this at the root:
- Dual Verification: Actions taken by one party are immediately verified by the counterparty, eliminating the need for periodic reconciliation.
- Scale & Cost: Just as web search is organized around URLs and social media around posts, financial systems are organized around balances (point in time) and transactions (events over time). Building an ultra-low-cost, high-speed engine around this core allows universal participation.
The Journey Begins
“I wouldn't give a fig for the simplicity on this side of complexity; I would give my right arm for the simplicity on the far side of complexity.” — Oliver Wendell Holmes
Sharealedger was established to bring together experienced practitioners who understand existing system complexities and are committed to finding genuine simplicity on the other side.