Live Environments
Deployed and operating on live OmTrek environments (omtrek.dev, dev.omtrek.com, omtrek.com).
Foundational Architecture Blueprint · Updated 2026-12-03
Authored by Founder & CEO Oscar A. Montoya for future Chief Architects, CTOs, principal engineers, and technical due-diligence teams. Preserves OmTrek’s core philosophy, records six conventional architectures tried and deliberately killed, separates production reality from research horizons, and defines a four-stage succession path so OmTrek outlives its creator.
Deployed and operating on live OmTrek environments (omtrek.dev, dev.omtrek.com, omtrek.com).
Built in Go/Dart with automated unit, race, fuzz, or benchmark tests, ready for production rollout or third-party audit.
Long-term architectural thesis or Track B institutional protocols (WP-0004–WP-0010) requiring external adoption.
Part I · Philosophy & Origin Story
OmTrek’s fail-closed, zero-waste discipline began in 9 years as a Submarine Officer in the Peruvian Navy (1981–1990) and evolved across three decades of production engineering—NASA JPL (Cassini VIMS / Galileo / TES, JPL NOVA Award), Platinum/CA distributed storage, SeeBeyond/Sun, open-source SWIFT banking, Yahoo! static-report views, CashNetUSA PCI banking, Thales Avionics, and Symantec—crystallizing through seven decisive iterations:
Core Maxim: “Refactor until the unnecessary complexity disappears.” Simplicity is not the absence of capability; it is achieving more with fewer independent mechanisms.
| Analogy | OMVFS Primitive | Concrete Role |
|---|---|---|
| Stars | Signed OMVFS01 objects (.omjson, .omgz, .omenc) | Information exists independently with its own cryptographic identity, integrity envelope, and optional encryption—without belonging to a single siloed database. |
| Lines | Signed relationships (.omlink, fstab.omjson, .acl.omjson) | Explicit, verifiable, revocable connections between objects (ownership, delegation, catalog membership, lineage, capability grants). |
| Constellations | Projections & overlays (OmvfsOverlayLayer, OmvfsNodeView) | Different structured interpretations over the exact same underlying objects without duplicating source data. |
| Star Maps | Applications (Cloud Spaces, OmEmail, OmComm, OmCalendar, custom UIs) | Replaceable views and workflows (Storefront, CRM, Accounting, Mail, Analytics) interpreting shared objects. |
| Time / Observations | Chained commitments & Merkle calendars (OMVFS-CERT-V1, .ots) | Verifiable temporal history proving what existed no later than when, independent of any single server clock. |
Verifiable Trust (Not “Trustless”): OmTrek does not eliminate human or institutional trust. It reduces implicit trust in databases, administrators, and intermediaries by making objects, relationships, provenance, and history independently verifiable—allowing humans, auditors, poll observers, and institutions to concentrate their finite oversight where it actually matters.
Part II · Architecture & Engineering Boundaries
To prevent continuous refactoring from destabilizing production systems, OmTrek enforces strict boundaries between its frozen core wire contracts, modular extensions, and replaceable application overlays.
| Tier | Scope | Stability Rule | Maturity |
|---|---|---|---|
| 1. Minimal Stable Core | OMVFS01 binary framing & markers, Ed25519 + X25519/ML-KEM-768 sealing, .omlink / .acl.omjson / fstab.omjson, OMVFS-AUTH-V2, 2-phase CAS saga, OMVFS-CERT-V1 |
Frozen wire contracts; additive evolution only. Cross-language parity tests (Go, Dart, JS/TS, Python, Groovy) and fuzz/race checks required. | Production / Implemented & Tested |
| 2. Evolvable Extensions | Embedded Go bleve/v2 omsearch:// shards, omvfs-edge-gateway, omrtc:// signaling, omtranslate://, optional omdb:// hot-row mounts, omvfs-cleaner |
Modular capabilities mounted through capability URIs in fstab.omjson; replaceable without touching Core wire formats. |
Production / Implemented & Tested |
| 3. Replaceable Overlays | Cloud Spaces, OmEmail, OmComm, OmCalendar, OmCorporate, branded Flutter apps, hybrid widgets, and custom headless UIs |
Applications are interpreters of OMVFS objects, never owners of siloed databases. Any UI swaps without migrating data. | Production / Track B Research |
| Hard Question | Current OmTrek Solution | Maturity |
|---|---|---|
| 1. Discovery | Entry via /fstab.omjson (OMVFS-SITE-1), O(1) deterministic .omlink grant/order paths, and embedded bleve/v2 omsearch:// .omgz shards. | Production |
| 2. Consistency | Single-writer canonical objects via conditional If-Match ETag CAS + If-None-Match: * locks + two-phase checkout reservation saga (100 concurrent last-item buyers = 1 winner, 0 oversells); ultra-hot single-row OLTP mounts omdb:// explicitly. | Implemented & Tested |
| 3. Authorization | Decoupled AuthN (OMVFS-AUTH-V2) and AuthZ (OMVFS-GRANT-V1 signed .omlink + target .acl.omjson ACLEpoch). CloudFront < 0.2 ms default-deny edge gate; 0 s revocation on refresh/SSO/ACL checks, ≤ 15 min on short-lived access JWTs. | Production |
| 4. Lifecycle & GDPR | Two-layer GDPR Art. 17 erasure (ExecuteGDPRErasure): physical PII deletion + Art. 17(3)(b) statutory separation + 256-bit salt destruction (REDACTED scrub). Orphan pruning via cmd/omvfs-cleaner. | Implemented & Tested / GC Prod |
| 5. Large-Graph Efficiency | Partitioned tenant/marketplace .omgz Bleve shards loaded lazily + CDN-cached immutable OMVFS01 objects + stats.omjson rollups + opt-in omdb:// escape hatch. | Production |
Part III · Anti-Entropy Governance
The greatest long-term threat to OmTrek is not a bad engineer—it is a good conventional engineer innocently re-introducing abstractions we already tested and deliberately killed.
| ADR | Abandoned Approach | Why It Was Killed | Canonical Replacement |
|---|---|---|---|
| ADR-001 | Database-First Monolithic Marketplace (PHP / Spring Boot + always-on RDS) | ~$245+/mo idle Multi-AZ floor, schema migration lock-in, duplicated copies across services, and centralized breach honeypot. | OMVFS01 signed objects on S3/R2/GCS ($3/mo idle) + CAS sagas + opt-in omdb://. |
| ADR-002 | Java / Spring Boot Serverless Fleet | Heavy JVM RAM footprints, slow cold starts, large artifacts, and high serverless AWS bills. | Static Go binaries across 5 stateless Go Lambdas + Go CLI/gateway daemons. |
| ADR-003 | SQL Engines Over Files | Re-created database parser/planner complexity on top of files instead of simplifying data organization at the root. | Direct O(1) .omlink/fstab.omjson resolution + omsearch:// Bleve + opt-in omdb://. |
| ADR-004 | Custom Java Reverse-Indexing Engine | Duplicated JVM runtime overhead and custom index maintenance. | Embedded in-process Go bleve/v2 compiling immutable .omgz shards with zero-trust tenantId clamping. |
| ADR-005 | Per-Route Edge Sprawl & 42-Lambda Proliferation | Operational drift, IAM bloat, CloudFront limits, and brittle per-feature routing rules. | Single /fstab.omjson resolver + < 0.2 ms Edge Gate + 42 → 5 Lambda consolidation + numbered builds. |
| ADR-006 | Stateful EC2 Infrastructure Pets (OpenLDAP, Postfix, ZincSearch, Cognito) | Always-on EC2 fixed burn, patch/backup fragility, directory sync drift, and per-MAU lock-in. | Plain-Sight OMVFS-AUTH-V2 ($0/user), SES + S3 .omenc OmEmail, Bleve omsearch://, stateless gateways. |
Every proposal introducing a new service, database, SaaS dependency, Lambda, or abstraction MUST answer all six questions in writing:
OMVFS01, .omlink, .acl.omjson, fstab.omjson, lease.omjson, omsearch://, or an overlay?)Part IV · Leadership Continuity
The ultimate test of OmTrek’s architecture is whether a capable engineer who did not build it can understand it, extend it, and defend its simplicity without needing the founder to explain every decision.
| Stage | Timeline | Scope & Exit Gate |
|---|---|---|
| Stage 1 · Principles & Code Immersion | Weeks 1–2 | Read this blueprint, WP-0001..0003 + WP-0007, and the Due-Diligence Dossier; run cmd/omvfs-bench; trace one live request from CloudFront Edge Gate → omvfs_backend → omvfs_core → Flutter omvfs_client. |
| Stage 2 · Independent Component Challenge | Weeks 3–4 | Independently design and implement one bounded, production-real read/write OMVFS overlay (e.g., auditable multi-store inventory transfer or Tier-4 graduation verifier CLI) using only existing omvfs_core primitives and zero external databases. Reviewed on architectural judgment and adherence to the 6-Question Gate. |
| Stage 3 · Subsystem Ownership | Months 2–4 | Own end-to-end releases across omvfs_core + omvfs_backend + omvfs_deploy, lead the external ~6-file cryptographic audit, and mentor engineers via the 6-Question Gate. |
| Stage 4 · Full Technical Governance | Month 5+ | Assume day-to-day CTO / Chief Architect authority while the Founder shifts to strategic product direction, institutional partnerships, and guardian of the Foundational Principles. |
Full 17-Round Founder Interview & 100-Point CTO Evaluation Scorecard: Read the complete unscripted 17-round architectural interview, weighted 100-point technical successor scorecard, verified 1977–2026 career timeline, and Founder’s Postscript publicly in 17-Round Founder Interview & CTO Succession Rubric (Markdown twin).