SynaWeave-ce

๐Ÿ“œ Architecture

๐Ÿงฉ Purpose

This document defines the shared technical architecture of the repository. It is the canonical read for how runtime surfaces, shared packages, and Python modules fit together.

This file is the source of truth for:

This file does not define:


๐Ÿงญ Architecture thesis

SynaWeave is a shallow, multi-surface architecture with one shared contract layer.

The platform shape is intentionally strict:

No second documentation runtime exists in apps/, and no other top-level app runtime is part of Sprint 1.


๐Ÿงฑ Topology

๐ŸชŸ User-facing runtimes

โš™๏ธ Runtime boundaries

๐Ÿงช Reserved later runtimes

๐Ÿงฉ Shared runtime surfaces


๐ŸŒ Runtime and data flow

The platform data path is explicit and short:

User action
  -> apps/extension or apps/web
  -> apps/api (public contract only)
  -> Python/JS service modules
  -> infra stores/services
  -> response with stable contract + event telemetry

Rules in this flow:


๐Ÿ” Security and trust boundaries

Security is split by boundary class:

Browser boundaries

Server boundaries

Contract boundaries


๐Ÿง  Repository-level domain split

This architecture intentionally keeps shared responsibilities separated:

No folder should hide mixed concerns across these lines.


๐Ÿงช Observability and evidence model

The observability model follows a single event model:

Evidence obligations:


๐Ÿงญ Governance-aligned design implications

Sprint 1 architecture decisions are intentionally conservative:

The next sprints may refine depth but may not discard these boundaries without a new ADR entry.