How techaust/shakti_prime works
Shakti Prime BOS is a business operating system for the Shakti group. Its user-facing flow includes configuring CRM pipelines in the web app, submitting changes through server actions, and applying them through domain commands and the database. The repository also has distinct import, file, outbox, and PDF-worker paths. The graph preserves these documented product areas; relationships without excerpt or index evidence are omitted, so it does not claim a complete runtime call graph.
Main entry points: crm/pipeline-settings.ts Pipeline commands · crm-settings.ts CRM settings action · enums.ts Shared contracts · crm/pipeline-settings.ts Pipeline settings query
Components 22
Web experience
- BOS web app
apps/web/src/app/(bos)/layout.tsx
CRM configuration
- Pipeline settings screen
apps/web/src/components/pipelines/pipeline-settings-screen.tsx - Pipeline editor
apps/web/src/components/pipelines/pipeline-card.tsx - CRM settings action
apps/web/src/actions/crm-settings.ts - Pipeline commands
packages/domain/src/commands/crm/pipeline-settings.ts - Pipeline settings query
packages/domain/src/queries/crm/pipeline-settings.ts
Domain platform
- Shared contracts
packages/contracts/src/crm/enums.ts - Command context
packages/domain/src/command/context.ts - Command runner
packages/domain/src/command/run-command.ts - Application database
packages/db/src/connection.ts
Files and imports
- File API routes
apps/web/src/files/routes.ts - File storage
apps/web/src/files/store.ts - Import commit route
apps/web/src/app/api/v1/workers/imports/commit/route.ts - Import processing
apps/web/src/workers/imports.ts
Background processing
- Outbox worker route
apps/web/src/app/api/v1/workers/outbox/[type]/route.ts - Event delivery
apps/web/src/workers/events/deliver.ts - Event registry
apps/web/src/workers/events/registry.ts - PDF render route
apps/web/src/app/api/v1/workers/pdf/render/route.ts - PDF job
apps/web/src/workers/pdf/job.ts - Integration admin routes
apps/web/src/observability/integration-routes.ts - Integration health
apps/web/src/observability/integration-health.ts
Other components
- BOS user
Connections 20
- BOS user → BOS web app: uses
- BOS web app → Pipeline settings screen: presents
- Pipeline settings screen → Pipeline editor: renders
apps/web/src/components/pipelines/pipeline-settings-screen.tsx - Pipeline editor → CRM settings action: submits changes
apps/web/src/components/pipelines/pipeline-card.tsx - CRM settings action → Pipeline commands: executes
apps/web/src/actions/crm-settings.ts - Pipeline commands → Application database: reads and writes
packages/domain/src/commands/crm/pipeline-settings.ts - Pipeline commands → Command context: uses
packages/domain/src/commands/crm/pipeline-settings.ts - Pipeline commands → Shared contracts: uses types
packages/domain/src/commands/crm/pipeline-settings.ts - CRM settings action → Command runner: executes
apps/web/src/actions/crm-settings.ts - Pipeline settings query → Application database: reads
packages/domain/src/queries/crm/pipeline-settings.ts - Pipeline settings query → Pipeline commands: references
packages/domain/src/queries/crm/pipeline-settings.ts - File API routes → Shared contracts: validates
apps/web/src/files/routes.ts - Import commit route → Import processing: invokes
apps/web/src/app/api/v1/workers/imports/commit/route.ts - Import commit route → Shared contracts: validates
apps/web/src/app/api/v1/workers/imports/commit/route.ts - Outbox worker route → Event delivery: dispatches
apps/web/src/app/api/v1/workers/outbox/[type]/route.ts - Outbox worker route → Event registry: uses
apps/web/src/app/api/v1/workers/outbox/[type]/route.ts - Event delivery → Event registry: dispatches via
apps/web/src/workers/events/deliver.ts - PDF render route → PDF job: starts job
apps/web/src/app/api/v1/workers/pdf/render/route.ts - Integration admin routes → Integration health: reads status
apps/web/src/observability/integration-routes.ts - Integration admin routes → Command runner: executes replay
apps/web/src/observability/integration-routes.ts