How jeetukashyap1/buildscale works
BuildScale Company OS is a multi-tenant business operations platform with a web control plane, agent/workflow execution, and CRM, project-delivery, pricing, and finance capabilities. Users access operational views through the web app and API; governed runtime actions dispatch to domain handlers, where policy, permission, risk, approval, and audit controls constrain consequential changes. The source index documents these broad relationships, but many route and domain implementations were not excerpted; those links are shown only where the index supports them. Web-to-API transport is unverified.
Main entry points: routes.py API routes · handlers.py Operation handlers · governance.py Action governance · service.py Runtime service
Components 25
User experience
- Web application
web/src/App.tsx - API client
web/src/api/client.ts - Operational pages
web/src/pages
API control plane
- API routes
api/routes.py - Agent routes
api/routes_agents.py - CRM routes
api/routes_crm.py - Finance routes
api/routes_finance.py - Pricing routes
api/routes_pricing.py - Runtime routes
api/routes_runtime.py
Agent execution
- Runtime service
runtime/service.py - Operation handlers
runtime/handlers.py - Workflow runner
automation/runner.py - Agent runtime
agents/runtime.py
Business operations
- CRM lifecycle
crm/leads.py - Project delivery
projects/tasks.py - Invoices and payments
finance/payments.py - Pricing decisions
core/pricing.py
Governance and state
- Action governance
core/governance.py - Permission controls
core/permissions.py - Policy registry
core/policies.py - Audit trail
core/audit.py - Scoped memory
memory/store.py - Persistent records
core/models.py - Database sessions
core/db.py
Other components
- Operator
Connections 30
- Operator → Web application: uses
web/src/App.tsx - Web application → Operational pages: renders
web/src/App.tsx - API client → API routes: sends requests
- API routes → Agent routes: routes to
api/routes.py - API routes → CRM routes: routes to
api/routes.py - API routes → Finance routes: routes to
api/routes.py - API routes → Pricing routes: routes to
api/routes.py - API routes → Runtime routes: routes to
api/routes.py - API routes → Runtime service: uses
api/routes.py - Runtime routes → Runtime service: invokes
- Runtime service → Operation handlers: dispatches
runtime/service.py - Runtime service → Workflow runner: invokes
runtime/service.py - Runtime service → Agent runtime: invokes
runtime/service.py - Operation handlers → CRM lifecycle: delegates
runtime/handlers.py - Operation handlers → Project delivery: delegates
runtime/handlers.py - Operation handlers → Invoices and payments: delegates
runtime/handlers.py - Operation handlers → Pricing decisions: delegates
runtime/handlers.py - Operation handlers → Scoped memory: delegates
runtime/handlers.py - CRM routes → CRM lifecycle: calls
api/routes_crm.py - Finance routes → Invoices and payments: calls
api/routes_finance.py - Pricing routes → Pricing decisions: calls
api/routes_pricing.py - Action governance → Permission controls: checks
core/governance.py - Action governance → Audit trail: records
core/governance.py - Action governance → Policy registry: consults
core/governance.py - CRM lifecycle → Action governance: governs actions
crm/leads.py - Invoices and payments → Action governance: governs actions
finance/payments.py - Project delivery → Action governance: governs actions
projects/tasks.py - Audit trail → Persistent records: writes records
core/audit.py - Database sessions → Persistent records: creates schema
core/db.py - Scoped memory → Persistent records: persists records
memory/store.py