How vishalsundara-hue/echo works
Project Echo is an organisational-intelligence product for capturing knowledge and decisions, exploring evidence, replaying incidents, and surfacing risks. The principal user workflow is to enter through the routed application, use a domain workspace (such as documents, decisions, or assistant), and receive knowledge views or grounded answers; the backend exposes corresponding API capabilities. The README documents broader ingestion, analytics, governance, and integrations. Several frontend-to-backend and infrastructure links are not demonstrated in the excerpts, so those are omitted or marked unverified rather than asserted as implemented calls.
Main entry points: App.tsx Application routes · routes.py Versioned API · assistant.py Grounded assistant · KnowledgeGraphPage.tsx Knowledge map
Components 25
User experience
- Application routes
frontend/src/App.tsx - App shell
frontend/src/components/layout/AppShell.tsx - Role dashboards
frontend/src/pages/EmployeeDashboardPage.tsx - Project workspace
frontend/src/pages/ProjectsPage.tsx - Governance settings
frontend/src/pages/SettingsPage.tsx
Knowledge workflows
- Knowledge documents
frontend/src/pages/DocumentsPage.tsx - Knowledge map
frontend/src/pages/KnowledgeGraphPage.tsx - 2D and 3D views
frontend/src/components/knowledge/KnowledgeGraph3D.tsx - Decision DNA
frontend/src/pages/DecisionsPage.tsx
Intelligence workflows
- Assistant workspace
frontend/src/pages/AssistantPage.tsx - Citation evidence
frontend/src/components/knowledge/CitationDrawer.tsx - Incident replay
frontend/src/pages/IncidentsPage.tsx - Memory timeline
frontend/src/components/knowledge/MemoryReplayTimeline.tsx - Foresight engine
backend/app/services/foresight/engine.py - Alerts and discovery
frontend/src/pages/AlertsPage.tsx - Analytics reports
frontend/src/pages/AnalyticsPage.tsx
API and security
- Versioned API
backend/app/api/v1/routes.py - RBAC permissions
backend/app/core/security.py - Grounded assistant
backend/app/services/rag/assistant.py - API contracts
backend/app/schemas/contracts.py - Tenant data model
backend/app/models/entities.py - PostgreSQL and pgvector
Other components
- Organisation user
- GitHub events
- Azure Service Bus
Connections 25
- Organisation user → Application routes: opens
- Application routes → App shell: wraps routes
frontend/src/App.tsx - Application routes → Role dashboards: routes to
frontend/src/App.tsx - Application routes → Project workspace: routes to
frontend/src/App.tsx - Application routes → Governance settings: routes to
frontend/src/App.tsx - Application routes → Knowledge documents: routes to
frontend/src/App.tsx - Application routes → Knowledge map: routes to
frontend/src/App.tsx - Application routes → Decision DNA: routes to
frontend/src/App.tsx - Application routes → Assistant workspace: routes to
frontend/src/App.tsx - Application routes → Incident replay: routes to
frontend/src/App.tsx - Application routes → Alerts and discovery: routes to
frontend/src/App.tsx - Application routes → Analytics reports: routes to
frontend/src/App.tsx - Knowledge map → 2D and 3D views: renders views
- Incident replay → Memory timeline: replays timeline
- Versioned API → RBAC permissions: checks permissions
backend/app/api/v1/routes.py - Versioned API → API contracts: uses contracts
backend/app/api/v1/routes.py - Grounded assistant → RBAC permissions: filters and rechecks
backend/app/services/rag/assistant.py - Grounded assistant → API contracts: returns answer
backend/app/services/rag/assistant.py - Versioned API → Grounded assistant: may delegate
- Tenant data model → PostgreSQL and pgvector: models data for
- Versioned API → Azure Service Bus: queues uploads
- GitHub events → Versioned API: sends webhook
- Versioned API → Foresight engine: may trigger scan
- Foresight engine → Alerts and discovery: surfaces matches
- Assistant workspace → Citation evidence: opens citations