How the substrate is built.
Production architecture, defensibility analysis, dependency graph, event-sourced backend, cryptographic integrity, public changelog, roadmap. For diligence teams, engineering hires, and acquirers who want the technical truth before they ask.
Architecture
Next.js 15 App Router on Vercel (EU / Frankfurt region). Supabase Postgres with Row-Level Security. Vercel Blob for static assets. 80+ public API endpoints under /api/v1/*. 56 scheduled crons via Vercel cron. TypeScript strict mode throughout, no any types. Schema.org JSON-LD on every public surface. OpenAPI 3.1 spec. MCP server for AI distribution. Ed25519 credential signing.
Defensibility — diligence dossier
Five-pillar M&A due-diligence dossier: bus factor + co-founder substitution, provenance + immutable history, reproducibility + open methodology, methodology + reference literature, legal posture + IP. Each pillar references the actual infrastructure that proves the claim. Designed to be read in 15 minutes by a CoStar / MSCI corp-dev analyst.
Diligence JSON →Causal graph — typed in-code DAG
20-node typed dependency graph spanning macro indicators, regulations, methodologies, regions, products. 19 declared edges with signed coefficients and lag-day estimates. When Euribor moves 25bp, the graph traces which products reprice within seven days versus which take six months. Visualised as a force-directed SVG with edge weights.
Graph JSON →Event sourcing — append-only log
Every state change in Avena writes an immutable event to events table before its projection updates. Replay the system at any historical timestamp via the as_of parameter. Critical for institutional diligence and methodology backtest. Available at /intelligence#timetravel.
Integrity — SHA-256 + daily Merkle root + Zenodo
Every methodology version, model snapshot, dataset batch, and event log segment fingerprinted with SHA-256. Daily Merkle root rolled across all fingerprints and deposited to Zenodo for RFC 3161 trusted timestamping. Same cryptographic guarantee as Ethereum L2 commits with zero blockchain ceremony.
Verify an artefact →Changelog — public, dated, signed
Every shipped change recorded with date, scope, and methodology impact. Major architectural commitments tagged. Methodology version revisions linked. Reproducible from the event store back to platform launch.
Methodology events →Roadmap — what's next
Six-month engineering roadmap. Federated learning protocol (banks contribute model deltas without sharing books), synthetic property generation, AVN-ID v2 with extended credential types, Property Reality Layer protocol adoption, Homomorphic Risk Twin substrate. Each item linked to its strategic-execution-brief origin.
GitHub repository public at github.com/HenrikKolstad/avena-terminal. CC BY 4.0 licensed. DOI 10.5281/zenodo.19520064. Wikidata Q139165733. RICS Tech Partner. EU data residency (Frankfurt). Methodology audit at /methodology.