How sherwinvishesh/clara works
Clara is repository-local project management for teams using coding agents. People and agents plan tickets, claim ready work, work in isolated git worktrees, ask and answer questions, then submit changes for human review and approval. The board and its history live as Markdown and logs in .clara/; the same operations are exposed through CLI, web, MCP, REST, and a TypeScript library. A linked project brain supplies context and retains handoff notes. Workflow and storage links are supported by the README and sampled engine/load excerpts; unsampled UI and integration details are not expanded.
Main entry points: engine.ts Operation engine · dispatch.ts Agent work loop · commands.ts CLI · board.tsx Web board
Components 22
User interfaces
- CLI
cli/commands.ts - Web board
web/views/board/board.tsx - REST app
server/app.ts - MCP server
mcp/server.ts - TypeScript API
library/index.ts
Work lifecycle
- Operation engine
library/ops/engine.ts - Plan tickets
library/ops/plan.ts - Agent work loop
library/conductor/dispatch.ts - Agent routing
library/conductor/route.ts - Review and approval
library/conductor/review.ts
Board and memory
- Board model
library/model/types.ts - Board loading
library/ops/load.ts - Markdown storage
library/storage/fs.ts - Event history
library/log/log.ts - Project brain
library/ops/brain.ts - Ticket context
library/ops/context.ts
Agent integrations
- Agent adapters
library/conductor/adapters/index.ts - Git worktrees
library/git/worktree.ts
Planning and insight
- Board importers
library/import/index.ts - Project insights
library/insights/work.ts
Other components
- People
- Coding agents
Connections 23
- People → CLI: use commands
README.md - People → Web board: use board
README.md - Coding agents → MCP server: use tools
README.md - Coding agents → Agent work loop: claim and work
README.md - CLI → Operation engine: invoke operations
cli/run.ts - REST app → Operation engine: dispatch operations
server/app.ts - MCP server → Operation engine: invoke operations
mcp/server.ts - Web board → REST app: send requests
- TypeScript API → Operation engine: expose operations
library/index.ts - Operation engine → Board loading: load board
library/ops/engine.ts - Board loading → Markdown storage: read files
library/ops/load.ts - Operation engine → Event history: record changes
- Operation engine → Board model: validate changes
library/ops/engine.ts - People → Plan tickets: propose plan
README.md - Agent work loop → Agent routing: select agent
library/conductor/route.ts - Agent work loop → Agent adapters: launch agent
README.md - Agent work loop → Git worktrees: work in isolation
README.md - Agent work loop → Ticket context: read ticket context
library/ops/context.ts - Ticket context → Project brain: gather related notes
library/ops/context.ts - People → Review and approval: approve or return
README.md - Review and approval → Git worktrees: merge work
README.md - People → Board importers: import existing work
README.md - People → Project insights: inspect progress