Repository navigation
Architecture
AetherWorkspace is a local-first, policy-governed desktop automation reference. It demonstrates a strict separation between an untrusted proposal layer, a deterministic control plane and authenticated local execution. Repository detail: docs/architecture/overview.md; decisions: ADR directory.
| Component | Responsibility |
|---|---|
Aether.Contracts |
Protobuf envelopes/broker service, strict JSON ActionPlan/registry/catalog models, bridge contracts, error codes |
Aether.Security |
Source-first classification, deny-by-default policy, consent, single egress gateway, hash-chained metadata-only audit, credential-source factory |
Aether.Execution |
Strict plan parse/validation, capability authorization, deterministic bounded executor with deadlines/cancellation/compensation |
Aether.AI |
Deterministic grammar planner, policy-gated cloud/local plan adapters, provider catalog/routing, private/local summarization, streaming cloud transport |
Aether.Broker (+ client) |
Local gRPC endpoint, allowlisted launcher, process-bound sessions, bounded channels, window layout, health, audit |
Aether.Workflow |
End-to-end orchestration and typed action handlers |
Aether.Shell / .Headless
|
WPF shell (Windows) and headless CI/E2E host; provider/mode health output |
Aether.SampleApps / .Headless
|
Independent synthetic Watchlist/Risk/Chart processes |
Aether.SampleApps.WebView2 |
Independent WebView2-hosted chart process with a local-only JS renderer and strict typed-context bridge |
tools/windows-test, tools/demo, tools/model-eval
|
Physical gate/ledger/UI measurement, capture/media pipeline, gold-corpus evaluation |
- Workspace/app text is untrusted input, not instructions to the model.
- AI plans are untrusted proposals; only typed, allowlisted, capability-authorized actions execute.
- Cloud egress passes one deny-by-default gateway; cloud is PUBLIC-only and requires explicit
consent. Sanitized
INTERNALrouting is rejected (ADR-011); the token vault stays local-only. - Same-user IPC identity is not app trust; sessions are bound to launched processes with capability checks.
- The WebView2 chart is an independent broker session; only approved
fdc3.instrumentcontexts cross a strict .NET→JavaScript bridge, and the local JS page has no remote scripts/network access. - Local model/plugin endpoints are separate software dependencies and are not assumed air-gapped.
Full threat analysis: docs/security/threat-model.md.
The Shell loads selectable apps from the live broker snapshot and creates an immutable
LaunchSelectionContext (Preferred/Strict, allowed app IDs, revision) adjacent to the untrusted
ActionPlan. In Strict mode the orchestrator pre-authorized the complete plan before step 1; a
disallowed LaunchApp returns plan.selection.app_not_selected with no broker side effects. The
planner never sees or forges the selection. Manual Launch Selected/Stop/Restart still goes through
the same allowlisted broker and capability checks; it is not an AI workflow. See ADR-014.
- No executable paths, shell commands or arbitrary URLs in the plan language.
- Max actions configurable (library default 5, reference demo 6, hard cap 12); flat plans, deadlines, cancellation.
- At-most-once channel delivery; bounded queues with explicit overflow; dedupe keys for idempotent retries.
- Deterministic top-level window arrangement; no reparenting/docking.
- No network listener; no telemetry egress by default.
- Hybrid-AI provider/config failures fall back deterministically without relabelling provenance; cloud attempts and denials are recorded by the egress gateway.
- FDC3 is a declared bounded subset (ADR-013); no conformance or external Desktop Agent claim.