Architecture Overview
Vinxi Kernel Architecture Notes
Namespace
vinxi-* is the base platform namespace. Lepton products such as NetworkAccess, Trafficure, SmartMarket, and SmartBuild sit above Vinxi.
Verbs
All userland, control-plane, drivers, agents, and services interact with kernel-owned reality through the six verbs:
| Verb | Meaning |
|---|---|
Query | Read through policy/queryability gates |
Act | Request an internal state transition/decision |
Assert | Record observation/evidence/claim |
Call | Perform external side-effect through egress gateway |
Subscribe | React to changes/streams |
Schedule | Time-trigger a job/workflow |
Planes
| Plane | Responsibility |
|---|---|
| Process | Actions, decisions, workflows, retries, call intents |
| Truth | Immutable logs, statements, schemas, policies, evidence |
| World | Resolved current interpretation of reality |
| Serving | Fast projections; truth of nothing |
| Materialization | Pipelines, jobs, transforms, indexes, rebuild machinery |
Ports and adapters
Ports are kernel-owned contracts. Adapters are implementation choices.
vinxi-kernel-core may depend on:
vinxi-port-statevinxi-port-logvinxi-port-blobvinxi-port-worldIt must not depend on:
sqlxpostgres vendor SDKsminio/s3 vendor SDKsexternal SaaS SDKsdevice protocol clientsDriver boundary
External connectors and device drivers are not trusted database writers.
Allowed:
driver -> Assertdriver -> RegisterResourceVersiondriver -> SubmitCallResultdriver -> AdvanceCheckpointForbidden:
driver -> truth.statement_log tabledriver -> world.resource_status_current tabledriver -> catalog.resource_version table directlydriver -> unrestricted object store credentialsFirst Lean profile
The initial Lean profile uses:
P1/P2/P23 metadata stores: Postgres/PostGISP6 blob: filesystem adapter in dev, MinIO/S3-compatible laterP7/P8 transforms: custom Rust worker firstP18 SDK: generated contracts later; handwritten server route only for bootstrapThe migration path keeps ports stable while replacing adapters.