Foundational Architecture Blueprint · Updated 2026-12-03

Foundational Architecture, Abandoned-Approaches & Technical Succession.

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.

Production

Live Environments

Deployed and operating on live OmTrek environments (omtrek.dev, dev.omtrek.com, omtrek.com).

Implemented & Tested

Verified Code & Benchmarks

Built in Go/Dart with automated unit, race, fuzz, or benchmark tests, ready for production rollout or third-party audit.

Conceptual / Research

Open Institutional Protocols

Long-term architectural thesis or Track B institutional protocols (WP-0004–WP-0010) requiring external adoption.

Part I · Philosophy & Origin Story

Operational Pain First — Never Theory First

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:

  1. EarthLink Infrastructure (2006–2007): Large user directories, anonymous email (AEA), and edge route sprawl revealed a structural law: when storage hierarchy dictates application routing, every new feature spawns more routing glue.
  2. DirecTV / AT&T Build Economics (Jun 2017 – Jul 7, 2023): Leading 35–40 engineers, slashing datacenter build infrastructure from $200,000/month to $800/month, introducing immutable numbered builds, and authoring the October 2021 modular library architecture directly inspired OmTrek’s 3-Ring library architecture.
  3. Self-Operated Internet Services (Mar 2010+): Operating OpenLDAP, Postfix, Dovecot, Roundcube, DNS, and databases side by side exposed how much operational overhead exists solely to glue together identity, address, mailbox, permission, and message concepts that belong to one graph.
  4. Practical Marketplace Problem (2020–2023): Building a real multi-vendor marketplace in PHP/Java Spring Boot + Flutter—and returning to OmTrek full-time after the July 7, 2023 DirecTV layoff—revealed how many redundant backend layers conventional commerce stacks force upon operators.
  5. Paying Real AWS Bills (Jul 2023 – 2025, Java → Go): Migrating serverless runtimes to Go and consolidating compute from 42 Lambdas down to 5 stateless Go Lambdas turned resource efficiency into a hard architectural invariant.
  6. Experiments Tried & Deliberately Killed: SQL query layers over files and custom Java reverse-indexing engines were built, tested, and killed once it became clear they recreated database complexity instead of simplifying data organization at the root.
  7. Constraint-Driven Minimalism (2023–2026, Off-Grid in Riverside, California & Italy): Designing and running the platform without grid electricity in Riverside, California (recharging batteries at the local public library while awaiting delayed severance into spring 2024) and later on mobile data in Italy made every redundant server and bloated dependency immediately visible.
Core Maxim: “Refactor until the unnecessary complexity disappears.” Simplicity is not the absence of capability; it is achieving more with fewer independent mechanisms.

1.2 The “Stars & Constellations” Information Model

AnalogyOMVFS PrimitiveConcrete Role
StarsSigned 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.
LinesSigned relationships (.omlink, fstab.omjson, .acl.omjson)Explicit, verifiable, revocable connections between objects (ownership, delegation, catalog membership, lineage, capability grants).
ConstellationsProjections & overlays (OmvfsOverlayLayer, OmvfsNodeView)Different structured interpretations over the exact same underlying objects without duplicating source data.
Star MapsApplications (Cloud Spaces, OmEmail, OmComm, OmCalendar, custom UIs)Replaceable views and workflows (Storefront, CRM, Accounting, Mail, Analytics) interpreting shared objects.
Time / ObservationsChained 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

3-Tier Stability Separation & Five Hard Graph Questions

To prevent continuous refactoring from destabilizing production systems, OmTrek enforces strict boundaries between its frozen core wire contracts, modular extensions, and replaceable application overlays.

2.1 Three Stability Tiers

TierScopeStability RuleMaturity
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

2.2 Honest Answers to the Five Hard Graph Engineering Questions

Hard QuestionCurrent OmTrek SolutionMaturity
1. DiscoveryEntry via /fstab.omjson (OMVFS-SITE-1), O(1) deterministic .omlink grant/order paths, and embedded bleve/v2 omsearch:// .omgz shards.Production
2. ConsistencySingle-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. AuthorizationDecoupled 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 & GDPRTwo-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 EfficiencyPartitioned 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

Abandoned Approaches Log (ADR-001..006) & 6-Question Change Gate

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.

ADRAbandoned ApproachWhy It Was KilledCanonical Replacement
ADR-001Database-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-002Java / Spring Boot Serverless FleetHeavy 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-003SQL Engines Over FilesRe-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-004Custom Java Reverse-Indexing EngineDuplicated JVM runtime overhead and custom index maintenance.Embedded in-process Go bleve/v2 compiling immutable .omgz shards with zero-trust tenantId clamping.
ADR-005Per-Route Edge Sprawl & 42-Lambda ProliferationOperational 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-006Stateful 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.

3.2 Mandatory 6-Question Architectural Change Gate

Every proposal introducing a new service, database, SaaS dependency, Lambda, or abstraction MUST answer all six questions in writing:

  1. What concrete problem does this solve? (Cite a measured failure, bottleneck, or customer requirement—not hypothetical scale.)
  2. Can an existing OMVFS primitive solve it? (OMVFS01, .omlink, .acl.omjson, fstab.omjson, lease.omjson, omsearch://, or an overlay?)
  3. Does it re-introduce an abandoned approach from ADR-001..006? (If yes, stop unless the underlying physics or economics fundamentally changed.)
  4. What is its idle and peak operational cost? (Fixed monthly floor at 0 users, cold start, failure modes, and security surface added.)
  5. Does it make the overall system simpler or more complicated? (Prefer deleting two mechanisms over adding one.)
  6. Can it be independently verified offline or via reproducible tests/benchmarks? (Deterministic unit/race/contract-parity tests and no hidden state.)

Part IV · Leadership Continuity

Four-Stage Chief Architect / CTO Succession Playbook

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.

StageTimelineScope & Exit Gate
Stage 1 · Principles & Code ImmersionWeeks 1–2Read 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 ChallengeWeeks 3–4Independently 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 OwnershipMonths 2–4Own 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 GovernanceMonth 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).

Contact OmTrek Engineering

Choose your preferred email client below, copy our address directly, or connect with Oscar Montoya on LinkedIn.

marketing@omtrek.com