How farnai/jesteraicompany works
JesterAICompany is a governed multi-agent company runtime, not the target product it may modify. A founder submits an objective; the CEO proposes a typed work plan, specialists produce bounded deliverables, and deterministic orchestration validates and coordinates them. Engineering work additionally passes through developer planning, a grant-bound isolated worktree, QA and bounded repair, then stops for founder approval before applying changes to the real repository. The frontend presents company state and approval controls. The graph follows documented workflow stages; some backend links rely on the README or source-index references because excerpts are incomplete.
Main entry points: service.py Company Service · engineering_pipeline.py Engineering Pipeline · App.tsx Company Workspace · real_repo_apply.py Real Repository Apply
Components 24
Founder Workspace
- Company Workspace
frontend/src/App.tsx - Company State
frontend/src/hooks/useCompanyState.ts - Frontend API
frontend/src/api/client.ts - Approval Gate
frontend/src/components/FounderApprovalGateModal.tsx - Company Floor
frontend/src/components/CompanyFloor.tsx - UI Domain Types
frontend/src/types/company.ts
Planning and Specialists
- Objective and Plan
jester_ai_company/orchestrator.py - DAG Validation
jester_ai_company/dag.py
Run Coordination
- Company Service
jester_ai_company/service.py - Company Core
jester_ai_company/core.py - Run Context
jester_ai_company/context.py
Engineering Safeguards
- Engineering Pipeline
jester_ai_company/engineering_pipeline.py - Developer Planning Inputs
jester_ai_company/developer_inputs.py - Execution Grant
jester_ai_company/execution_grant.py - Isolated Worktree
jester_ai_company/worktree.py - QA Execution
jester_ai_company/qa_execution.py - Bounded Repair
jester_ai_company/repair.py - Authority Controls
jester_ai_company/authority.py - Real Repository Apply
jester_ai_company/real_repo_apply.py
State and Evidence
- Project and Repository
jester_ai_company/project.py - Knowledge Sources
jester_ai_company/knowledge.py - Artifact Materializer
jester_ai_company/materializer.py - Durable Run Storage
jester_ai_company/durable_storage.py
Other components
- Human Founder
Connections 26
- Human Founder → Company Workspace: sets objectives
- Company Workspace → Company State: uses state
frontend/src/App.tsx - Company State → Frontend API: requests data
frontend/src/hooks/useCompanyState.ts - Company Workspace → Approval Gate: opens approval
frontend/src/App.tsx - Company Workspace → Company Floor: renders
frontend/src/App.tsx - Frontend API → UI Domain Types: uses types
frontend/src/api/client.ts - Human Founder → Objective and Plan: defines mission
- Objective and Plan → DAG Validation: proposes work graph
jester_ai_company/dag.py - DAG Validation → Company Service: validated plan
jester_ai_company/dag.py - Company Service → Company Core: executes tasks
jester_ai_company/service.py - Company Service → Run Context: builds run context
jester_ai_company/context.py - Company Service → Engineering Pipeline: coordinates engineering
jester_ai_company/service.py - Engineering Pipeline → Developer Planning Inputs: prepares planning inputs
jester_ai_company/engineering_pipeline.py - Engineering Pipeline → Execution Grant: requests bounded authority
jester_ai_company/engineering_pipeline.py - Engineering Pipeline → Isolated Worktree: uses isolation
jester_ai_company/engineering_pipeline.py - Engineering Pipeline → QA Execution: runs verification
jester_ai_company/engineering_pipeline.py - Engineering Pipeline → Bounded Repair: coordinates repair
jester_ai_company/engineering_pipeline.py - Engineering Pipeline → Authority Controls: checks authority
jester_ai_company/engineering_pipeline.py - Human Founder → Authority Controls: provides approval
- Human Founder → Real Repository Apply: authorizes apply
- Engineering Pipeline → Real Repository Apply: proposes repository apply
jester_ai_company/engineering_pipeline.py - Company Service → Project and Repository: uses project records
jester_ai_company/service.py - Company Service → Knowledge Sources: selects knowledge
jester_ai_company/service.py - Company Service → Artifact Materializer: materializes artifacts
jester_ai_company/service.py - Company Service → Durable Run Storage: persists run state
jester_ai_company/service.py - Real Repository Apply → Durable Run Storage: stores proposals
jester_ai_company/durable_storage.py