# System Map Zdots is an observable shell platform with four loops: 1. Shell session emits traces and state. 2. Services expose live status. 3. Knowledge tools capture and hydrate context. 4. Documentation contracts compare live behavior with written interfaces. ## Status Surfaces | Surface | Meaning | |---|---| | `zdots-ctl status --json` | Service uptime and endpoints | | `capabilities --json` | Environment contract and capability readiness | | `agent-guide --json` | AI-agent usage map with live probes | | `zmorning --brief` | Human daily orientation | These can disagree for valid reasons. Example: `capabilities` can have `health_errors: 0` while services are down because provider contracts are valid even when optional services are stopped. Status fields must name their source of truth. `ai_server` and `ai_http_healthy` mean the AI `/health` endpoint answered. `ai_socket_listening` only means a process has the loopback port bound. A trace timestamp from `capabilities` is file-derived and should be interpreted with its `last_trace_age_seconds`. ## Platform Service Plane The live platform is stable only when aggregate control, the service registry, and live E2E agree: ```bash zdots-ctl status zsvc list bats tests/platform_e2e.bats ``` ```mermaid flowchart LR ctl["zdots-ctl\naggregate lifecycle"] --> zsvc["zsvc\nservice registry"] zsvc --> ai["llama :11500"] zsvc --> embed["embed :11501"] zsvc --> otel["otel :4318"] zsvc --> o2["OpenObserve :5080"] zsvc --> nginx["nginx :80/:443"] zsvc --> pg["Postgres my"] zsvc --> redis["Redis :6379"] e2e["platform_e2e.bats"] --> ai e2e --> embed e2e --> otel e2e --> pg e2e --> redis e2e --> nginx ``` Full lifecycle and E2E map: [../platform-service-plane.md](../platform-service-plane.md). Architecture diagram audit plan: [../architecture-diagram-audit-plan.md](../architecture-diagram-audit-plan.md). Repository evolution and velocity views: [../repository-evolution.md](../repository-evolution.md). ## Peer Systems Zdots is one plane of a four-part personal-OS ecosystem. The editor platform is [vdots](https://github.com/just3ws/vdots/wiki) (Neovim — LSP, plugins, editor config); home dotfiles and agent coordination live in [adots](https://github.com/just3ws/adots/wiki) (bare repo at `~/.homegit`); the private "Cerebral Control Plane" is documented in the adots wiki under [My-System](https://github.com/just3ws/adots/wiki/My-System).