Trajectory Apps
Decomposed from the original monolithic `trajectory-desktop` Tauri app (95K+ LOC) into focused, independently-buildable applications.
Full Public Reader
Trajectory Apps
Decomposed from the original monolithic `trajectory-desktop` Tauri app (95K+ LOC) into focused, independently-buildable applications.
Architecture
apps/trajectory/
├── trajectory-desktop/ # Original monolith (restored, reference implementation)
├── trajectory-search/ # Semantic search engine (Tauri + React)
├── trajectory-orbit/ # Project orchestration service (Rust workspace)
├── trajectory-mobile/ # iOS companion app (Swift/SwiftUI)
├── trajectory-analytics/ # Analytics dashboard (React, skeleton)
├── dream-studio/ # AI content generation studio (React)
├── research-browser/ # Research browsing tool (React)
├── kinetic-theater/ # Motion visualization engine (React)
├── latent-browser/ # Experimental browser interface (skeleton)
└── novel/ # Creative writing interface (skeleton)App Details
### trajectory-desktop (Reference)
- Status: ✅ Complete (restored from main branch)
- Stack: Tauri 1.5 + React 18 + Vite + Tailwind
- Description: The original monolithic app with 80+ Tauri commands, full frontend with Dashboard, CalendarAI, GoalManager, InsightsDashboard, SkillGraph, Interview, PlanningDashboard, and more.
- Backend: Rust with `commands.rs` (1324 lines), `database.rs` (4435 lines), `mcp.rs` (379 lines)
- Frontend: React with comprehensive component library, hooks, and lib modules
- Build: `npm install && npm run tauri dev`
### trajectory-search
- Status: 🚧 In Progress (stub backend, partial frontend)
- Stack: Tauri + React + Vite
- Description: Focused semantic search engine extracted from the desktop monolith. Has React components for real-time ledger feed and evolution timeline. Backend Rust modules are stubbed — need implementation extracted from trajectory-desktop's commands.rs.
- Frontend files: LedgerFeed, EvolutionTimeline, useEvolutionBridge, useLedgerRealtime
- Build: `npm install && cargo build` (stubs only, won't produce working app yet)
### trajectory-orbit
- Status: 🚧 In Progress (core Rust crates + deploy configs)
- Stack: Rust workspace (orbit-core + orbit-server)
- Description: Project orchestration service with graph kernel bridge and cognitive twin integration. Includes Prometheus metrics, Docker Compose deployment, Grafana dashboards, and Caddy reverse proxy configs.
- Crates:
- `orbit-core` — Graph kernel bridge (252 lines) + Cognitive twin bridge (173 lines)
- `orbit-server` — Axum HTTP server with Prometheus metrics (67 lines)
- Build: `cargo build` from the trajectory-orbit directory
- Deploy: See `deploy/` for Docker Compose, Grafana, Prometheus, and Caddy configs
### trajectory-mobile
- Status: ✅ Complete (Swift iOS app)
- Stack: Swift / SwiftUI / iOS
- Description: iOS companion app with 54 source files. Features: Dashboard, Session management, Idea Vault, Dream Swarm, Skill tracking, Voice capture, Hand guard, Batch compose, Gateway settings, Account switcher. Includes App Intents (Siri), widgets, Bonjour discovery, WebSocket gateway.
- Build: Open in Xcode, requires iOS development environment
### trajectory-analytics
- Status: 🔲 Skeleton
- Stack: React + Vite
- Description: Analytics dashboard — placeholder only. No real implementation. Previously had a separate iOS version (`trajectory-analytics-ios`) tracked on main.
- Build: `npm install && npm run dev`
### dream-studio
- Status: ✅ Complete (35 source files)
- Stack: React + Vite + Tailwind
- Description: AI content generation studio with multi-provider image generation, voice input, dream templates (app, canvas, dashboard, game, story), and Supabase integration.
- Build: `npm install && npm run dev`
### research-browser
- Status: ✅ Complete (22 source files)
- Stack: React + Vite + Tailwind
- Description: Focused research browsing tool with multi-tab management, omnibox, quick capture, search engine selection, find-in-page, and browser history persistence.
- Build: `npm install && npm run dev`
### kinetic-theater
- Status: ✅ Complete (46 source files)
- Stack: React + Vite + Tailwind + Framer Motion
- Description: Motion visualization engine with kinetic theater views (latent visualizer, matched turns, phrase panel, convergence, memory gallery, anticipation, memory replay), perspectives (glass breaker, hand guard), motion metrics, and device choreography.
- Build: `npm install && npm run dev`
### latent-browser
- Status: 🔲 Skeleton
- Stack: React + Vite (planned as Tauri app)
- Description: Experimental browser interface — only has VS Code extension recommendations. No source code.
- Build: N/A (skeleton only)
### novel
- Status: 🔲 Skeleton
- Stack: React + Vite
- Description: Creative writing and narrative interface — placeholder only. No source code.
- Build: N/A (skeleton only)
Status Legend
| Icon | Meaning |
|---|---|
| ✅ | Complete — has source code and proper build config |
| 🚧 | In Progress — partial code, needs more extraction work |
| 🔲 | Skeleton — placeholder only, no meaningful implementation |
Decomposition Origin
The original `trajectory-desktop` was ~95K LOC across TypeScript frontend and Rust backend. The decomposition plan (see `trajectory-search/docs/DECOMPOSITION-PLAN.md`) identified 6 products embedded in the monolith. This extraction preserves the original as a reference while creating focused, independently-shippable apps.
Promotion Decision
Attach run IDs, datasets, metrics, and reproduction commands.
Source Anchor
Comp-Core/apps/trajectory/README.md
Detected Structure
Method · Evaluation · Code Anchors · Architecture