Consolidated AtoMind ecosystem. Backend on :8080, frontend on :5173, trust-first integration routing.
Phase 1 — Connected cockpit. The monorepo now contains a backend, frontend dashboard, trust kernel, Alpha core, MCP envelope, provider registry, and isolated source mirrors. See docs/MIGRATION.md for the remaining phase roadmap.
- Node 22+ (see
.nvmrc) - pnpm 9 workspaces + Turborepo for task orchestration
- TypeScript 5.8
- ESLint 9 (flat config) + Prettier 3
- husky + lint-staged
- Python (apps/crypto-cryptids and apps/bridge tooling only; isolated from Node stack)
- PowerShell 7+ (apps/bridge runtime)
apps/
backend/ Node/Express on :8080
frontend/ Vite + React 19 on :5173
bridge/ PowerShell bridge on :8090 (Notion webhook + RetroArch UDP)
crypto-cryptids/ Python game (isolated, zero runtime coupling)
packages/
alpha-core/ Proposal types, Curator (default-deny), Applier (9 hardening rules)
nexus-core/ IntegrationProfile types + registry contract
mcp-core/ MCP JSON-RPC envelope + method contracts
permissions/ Trust kernel — Grant model
logger/ Structured event logger
ui/ Shared React primitives
tsconfig/ Shared tsconfig bases
integrations/
notion/ slack/ sentry/ stripe/ hubspot/
amplitude/ linear/ gemini/ ollama/ retroarch/
docs/
ALPHA.md Self-improving loop spec
TRUST.md Trust architecture + Grant model
INTEGRATIONS.md Per-provider scopes
MIGRATION.md Repo-to-monorepo cutover plan
archive/ Pre-merge mirrors (read-only)
apps/backend exposes /api/health, /api/stack, /api/nexus/registry, /api/trust/check, /api/mcp/rpc, and Gemini prompt endpoints. apps/frontend renders the connected stack cockpit. Bridge is represented as a gated sidecar until its worker runtime is migrated behind permissions; Crypto Cryptids source assets are isolated under its app folder so they do not run inside the Node stack.
# Install Node 22 (nvm respects .nvmrc)
nvm use
# Install dependencies
pnpm install
# Set up git hooks
pnpm preparepnpm lint # ESLint across the workspace
pnpm typecheck # tsc --noEmit per package
pnpm test # vitest per package
pnpm format # Prettier write
pnpm format:check # Prettier check (CI uses this)
pnpm build # Turbo build pipeline
pnpm dev # All `dev` scripts in parallelTurbo runs each app and package script. The bridge and Crypto Cryptids packages remain isolated sidecars, so their Node scripts intentionally report no JS/TS targets.
No background pollers, schedulers, scrapers, or while-loops in this repo. Every outbound integration call must go through packages/permissions once it exists in Phase 4. Periodic behavior is allowed only for:
- Frontend pinging its own backend
/api/health(no external data). - Webhook receivers reacting to provider-initiated events.
- User-clicked "Refresh" / "Run Cycle" / "Sync Now" / "Queue Command" buttons.
See docs/TRUST.md.
Internal — atomeam.