How nakulmaurya/chronosgraph works
ChronosGraph is a local visual oversight and shared-context product for coding-agent work. Its main workflow imports a repository into a graph, lets a reviewer explore code and governing evidence, preserves task context and handoffs, then supports exact-change review before a human decision. The graph separates static analysis, organizational knowledge, context and memory, and change review rather than implying these are one automatic pipeline. Relationships are limited to README statements and sampled-source/index evidence; several product capabilities have unsampled implementations, so their links are documented or left unverified.
Main entry points: main.py FastAPI application · server.py MCP tools · client.py FalkorDB graph · CommandCenter.tsx Workbench UI
Components 19
Review interface
- Workbench UI
frontend/src/components/CommandCenter.tsx - Repository import
frontend/src/components/RepositoryImport.tsx - FastAPI application
backend/app/main.py - MCP tools
backend/app/mcp_server/server.py
Repository graph
- Import jobs
backend/app/services/import_jobs.py - Repository ingestion
backend/app/ingestion/ingest_repo.py - Python AST analysis
backend/app/ingestion/ast_parser.py - FalkorDB graph
backend/app/db/client.py - Code relationships
backend/app/db/queries.py
Knowledge and context
- Company brain
backend/app/services/company_brain.py - Context discovery
backend/app/services/context_locator.py - Second-brain wiki
backend/app/services/second_brain_wiki.py
Task and change review
- Task memory
backend/app/services/task_memory.py - Task runtime
backend/app/services/task_runtime.py - Change proposals
backend/app/services/change_lifecycle.py - Impact and audit
backend/app/services/diff_impact.py
Agent integration
- OpenCode bridge
integrations/opencode/src/bridge.ts - Candidate validation
integrations/opencode/src/candidate.ts
Other components
- Human reviewer
Connections 22
- Human reviewer → Workbench UI: reviews in
README.md - Workbench UI → Repository import: opens import
frontend/src/components/CommandCenter.tsx - Repository import → Import jobs: starts import
- Import jobs → Repository ingestion: dispatches import
backend/app/services/import_jobs.py - Repository ingestion → Python AST analysis: parses source
backend/app/ingestion/ingest_repo.py - Repository ingestion → FalkorDB graph: writes graph
backend/app/ingestion/ingest_repo.py - Python AST analysis → FalkorDB graph: supplies parsed records
- Workbench UI → FastAPI application: inspects via
- FastAPI application → FalkorDB graph: uses selected graph
README.md - MCP tools → FalkorDB graph: uses selected graph
README.md - FastAPI application → Context discovery: routes context lookup
backend/app/main.py - FastAPI application → Task memory: records and recalls
backend/app/main.py - FastAPI application → Impact and audit: routes impact analysis
backend/app/main.py - FastAPI application → Second-brain wiki: routes wiki compile
backend/app/main.py - MCP tools → Company brain: calls brain tools
backend/app/mcp_server/server.py - MCP tools → Task memory: recalls findings
backend/app/mcp_server/server.py - MCP tools → Impact and audit: calls audit tools
backend/app/mcp_server/server.py - FastAPI application → Task runtime: mounts task routes
backend/app/main.py - Change proposals → Impact and audit: requests impact analysis
backend/app/services/change_lifecycle.py - Change proposals → Task memory: uses task evidence
backend/app/services/change_lifecycle.py - OpenCode bridge → Candidate validation: captures and compares
integrations/opencode/src/bridge.ts - OpenCode bridge → Task runtime: submits task activity