How boboden541/sa-helper works
AI-Harness is the development automation product in this tree: a person manages tasks through a web UI, the backend persists and governs task-flow state, and the daemon schedules agent runs against project repositories. The map also includes task journals, Eve, and flow/settings because they are distinct product capabilities. The README describes separate reverse-engineering, requirements, and discovery workflows, but their implementation is not present in this tree. Dashed links mark documented or likely runtime boundaries not demonstrated by the sampled call sites.
Main entry points: App.tsx Workspace shell · scheduler Run scheduler · main.py FastAPI application · client.ts REST client
Components 21
Web workspace
- Workspace shell
ai-harness/frontend/src/app/App.tsx - Task board
ai-harness/frontend/src/features/board/Board.tsx - Task details
ai-harness/frontend/src/features/task-card/TaskView.tsx - Eve chat UI
ai-harness/frontend/src/features/assistant/Eve.tsx - Settings UI
ai-harness/frontend/src/features/settings/Settings.tsx - REST client
ai-harness/frontend/src/api/client.ts
API and domain
- FastAPI application
ai-harness/backend/src/main.py - Task endpoints
ai-harness/backend/src/api/controllers/tasks.py - Task operations
ai-harness/backend/src/usecase/task - Flow transition rules
ai-harness/backend/src/domain/transition/engine.py - Eve assistant
ai-harness/backend/src/usecase/assistant - Task journal
ai-harness/backend/src/usecase/journal - Pipeline settings
ai-harness/backend/src/usecase/settings/pipeline.py
Agent automation
- Run scheduler
ai-harness/daemon/scheduler - Agent runner
ai-harness/daemon/runner/agent_runner.py - Git worktrees
ai-harness/backend/src/infrastructure/git/worktree.py
Persistence and settings
- Database sessions
ai-harness/backend/src/database.py - Domain records
ai-harness/backend/src/repository/models
Other components
- Human operator
- Agent service
- Project repository
Connections 26
- Human operator → Workspace shell: manages tasks
- Workspace shell → Task board: renders
ai-harness/frontend/src/app/App.tsx - Workspace shell → Task details: renders
ai-harness/frontend/src/app/App.tsx - Workspace shell → Eve chat UI: renders
ai-harness/frontend/src/app/App.tsx - Workspace shell → Settings UI: renders
ai-harness/frontend/src/app/App.tsx - Workspace shell → REST client: requests data
ai-harness/frontend/src/app/App.tsx - Task board → REST client: requests tasks
ai-harness/frontend/src/features/board/Board.tsx - REST client → FastAPI application: calls REST
- FastAPI application → Task endpoints: mounts routes
ai-harness/backend/src/main.py - FastAPI application → Task journal: mounts routes
ai-harness/backend/src/main.py - FastAPI application → Pipeline settings: serves settings
- Task endpoints → Task operations: delegates tasks
ai-harness/backend/src/api/controllers/tasks.py - Task endpoints → Task journal: records changes
ai-harness/backend/src/api/controllers/tasks.py - Task operations → Flow transition rules: checks transitions
ai-harness/backend/src/usecase/task/transition.py - Eve chat UI → REST client: sends chat
- Eve assistant → Agent service: requests completions
- Pipeline settings → Domain records: updates settings
ai-harness/backend/src/usecase/settings/pipeline.py - Pipeline settings → Task journal: records settings
ai-harness/backend/src/usecase/settings/pipeline.py - Database sessions → Domain records: provides sessions
ai-harness/backend/src/api/deps.py - Run scheduler → Agent runner: launches runs
ai-harness/daemon/scheduler/run.py - Run scheduler → Task operations: transitions tasks
ai-harness/daemon/scheduler/run.py - Run scheduler → Git worktrees: manages worktrees
ai-harness/daemon/scheduler/run.py - Agent runner → Agent service: runs agent
- Agent runner → Project repository: works in
- Run scheduler → Domain records: reserves task state
ai-harness/daemon/scheduler/run.py - Database sessions → Project repository: stores project paths