Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crshdn/mission-control
/ functions
Functions
874 in github.com/crshdn/mission-control
⨍
Functions
874
◇
Types & classes
275
↓ 2 callers
Function
outputSnippet
(value: unknown)
src/lib/repo-preflight.ts:37
↓ 2 callers
Function
outputSnippet
(value: unknown)
src/lib/github-cli.ts:15
↓ 2 callers
Function
outputSnippet
(value: unknown)
src/lib/workspace-isolation.ts:87
↓ 2 callers
Function
parseGitHubPrUrl
(prUrl: string)
src/lib/rollback.ts:140
↓ 2 callers
Function
parseMetadata
(metadata?: AgentHealth['metadata'])
src/lib/agent-health.ts:123
↓ 2 callers
Function
parseTimestampMs
(value?: string | null)
src/lib/chat-listener.ts:52
↓ 2 callers
Method
performCacheCleanup
* Perform LRU cleanup of the event cache. * Removes the oldest entries based on access time when size exceeds limit. * Also removes entries olde
src/lib/openclaw/client.ts:90
↓ 2 callers
Function
populateTaskRolesFromAgents
(taskId: string, workspaceId: string)
src/lib/workflow-engine.ts:301
↓ 2 callers
Function
readLimited
(response: Response, maxBytes: number)
src/app/api/products/scan-url/route.ts:126
↓ 2 callers
Function
recordDispatchError
(taskId: string, error: string)
src/app/api/tasks/[id]/dispatch/route.ts:22
↓ 2 callers
Function
redactRepoUrl
(repoUrl: string)
src/lib/repo-preflight.ts:26
↓ 2 callers
Function
resolve_agent_name
Map a Clawdbot session label to a Mission Control agent name.
scripts/mc-bridge.py:100
↓ 2 callers
Function
resurfaceIdea
(ideaId: string, reason?: string)
src/lib/autopilot/maybe-pool.ts:21
↓ 2 callers
Function
runHealthCheckCycle
()
src/lib/agent-health.ts:499
↓ 2 callers
Function
setupTestDb
()
src/lib/autopilot/similarity.test.ts:91
↓ 2 callers
Function
shouldTriggerAutoDispatch
( previousStatus: string | undefined, newStatus: string, assignedAgentId: string | null )
src/lib/auto-dispatch.ts:46
↓ 2 callers
Function
storeIdeasFromPhaseData
( ideationId: string, productId: string, researchCycleId: string | null, ideasData: unknown[], llmUs
src/lib/autopilot/ideation.ts:241
↓ 2 callers
Function
stripMarkdownFormatting
(text: string)
src/app/api/products/scan-url/route.ts:63
↓ 2 callers
Function
summarizeExecFailure
(error: unknown)
src/lib/workspace-isolation.ts:94
↓ 2 callers
Function
taskCanBeDone
(taskId: string)
src/lib/task-governance.ts:101
↓ 2 callers
Function
triggerAutoDispatch
(options: AutoDispatchOptions)
src/lib/auto-dispatch.ts:15
↓ 2 callers
Function
trimDetail
(value: string, max = 600)
src/lib/task-flight-recorder.ts:198
↓ 2 callers
Function
updateConvoyProgress
(convoyId: string)
src/lib/convoy.ts:126
↓ 2 callers
Function
updateProductSettings
(productId: string, updates: Partial<ProductSettings>)
src/lib/rollback.ts:66
↓ 2 callers
Function
updateTaskStatusWithPersist
(task: Task, targetStatus: TaskStatus)
src/components/MissionQueue.tsx:95
↓ 2 callers
Function
updateWeights
(productId: string, newWeights: Partial<HealthWeightConfig>)
src/lib/autopilot/health-score.ts:462
↓ 2 callers
Function
useToast
()
src/components/Toast.tsx:27
↓ 2 callers
Function
validateRepoSettingName
(name: string)
src/lib/repo-readiness.ts:438
↓ 1 callers
Function
acknowledgeRollback
(id: string, acknowledgedBy: string = 'user')
src/lib/rollback.ts:376
↓ 1 callers
Function
acquireMergeLock
(productId: string)
src/lib/workspace-isolation.ts:763
↓ 1 callers
Function
activitySeverity
(activity: ActivityRow)
src/lib/task-flight-recorder.ts:183
↓ 1 callers
Function
addSubtasks
(convoyId: string, subtasks: CreateSubtaskInput[])
src/lib/convoy.ts:256
↓ 1 callers
Function
allocatePort
(taskId: string, productId?: string)
src/lib/workspace-isolation.ts:153
↓ 1 callers
Function
analyzeWinnerDelta
(testId: string)
src/lib/autopilot/ab-testing.ts:541
↓ 1 callers
Function
applyRepoReadinessFix
( productId: string, input: { kind: RepoReadinessActionKind; targetName?: string; value?: string } )
src/lib/repo-readiness.ts:446
↓ 1 callers
Function
archiveProduct
(id: string)
src/lib/autopilot/products.ts:78
↓ 1 callers
Function
assertGitHubRepo
(product: Product)
src/lib/repo-readiness.ts:432
↓ 1 callers
Function
auditBoardOverride
(taskId: string, fromStatus: string, toStatus: string, reason?: string)
src/lib/task-governance.ts:21
↓ 1 callers
Function
authHintForGitError
(errorText: string)
src/lib/repo-preflight.ts:60
↓ 1 callers
Function
backfillAllPreferences
()
src/lib/autopilot/preferences.ts:252
↓ 1 callers
Function
backfillEmbeddings
(productId: string)
src/lib/autopilot/similarity.ts:375
↓ 1 callers
Function
batchCheckSimilarity
( productId: string, candidates: Array<{ title: string; description: string; index: number }> )
src/lib/autopilot/similarity.ts:289
↓ 1 callers
Function
batchSwipe
( productId: string, actions: Array<{ idea_id: string; action: 'approve' | 'reject' | 'maybe' | 'fire'; no
src/lib/autopilot/swipe.ts:226
↓ 1 callers
Function
bayesianConfidence
(succeeded: number, used: number)
src/lib/skills.ts:63
↓ 1 callers
Function
bootstrapCoreAgents
(workspaceId: string)
src/lib/bootstrap-agents.ts:180
↓ 1 callers
Function
buildDecompositionPrompt
* Build the AI decomposition prompt from the task's spec and description.
src/app/api/tasks/[id]/convoy/route.ts:20
↓ 1 callers
Function
buildDefaultCommands
(options: { selectedTaskId?: string; onNavigateToTask?: (taskId: string) => void; onToggleChat?: () => v
src/components/chat/CommandPalette.tsx:169
↓ 1 callers
Function
buildDeviceAuthPayload
(params: { deviceId: string; clientId: string; clientMode: string; role: string; scopes: string[];
src/lib/openclaw/device-identity.ts:98
↓ 1 callers
Function
buildIdeationPrompt
( product: Product, researchReport: string | null, swipeHistory: SwipeHistoryEntry[], learnedPreferenc
src/lib/autopilot/ideation.ts:11
↓ 1 callers
Function
buildResearchPrompt
(product: Product, learnedPreferences?: string)
src/lib/autopilot/research.ts:12
↓ 1 callers
Function
canUseBoardOverride
(request: Request)
src/lib/task-governance.ts:16
↓ 1 callers
Function
cancelTest
(testId: string)
src/lib/autopilot/ab-testing.ts:191
↓ 1 callers
Function
chatBadge
(status: FlightRecorderPayload['summary']['chat_status'])
src/components/TaskFlightRecorder.tsx:102
↓ 1 callers
Function
checkAgentHealth
(agentId: string)
src/lib/agent-health.ts:466
↓ 1 callers
Function
checkAgents
()
src/lib/health.ts:170
↓ 1 callers
Function
checkCaps
(workspaceId: string, productId?: string)
src/lib/costs/caps.ts:73
↓ 1 callers
Function
checkConvoyCompletion
(convoyId: string)
src/lib/convoy.ts:154
↓ 1 callers
Function
checkCosts
()
src/lib/health.ts:259
↓ 1 callers
Function
checkDb
()
src/lib/health.ts:122
↓ 1 callers
Function
checkGateway
()
src/lib/health.ts:156
↓ 1 callers
Function
checkHealth
(url: string)
src/lib/rollback.ts:84
↓ 1 callers
Function
checkOpenClaw
()
src/app/workspace/[slug]/page.tsx:104
↓ 1 callers
Function
checkQueue
()
src/lib/health.ts:204
↓ 1 callers
Function
checkRepoAccess
()
src/app/autopilot/new/page.tsx:97
↓ 1 callers
Function
checkResearch
()
src/lib/health.ts:233
↓ 1 callers
Function
checkSimilarity
( productId: string, title: string, description: string )
src/lib/autopilot/similarity.ts:222
↓ 1 callers
Function
chiSquaredSurvival
* Approximation of chi-squared survival function (1 - CDF) for df=1. * Uses the relationship: P(X > x) = 2 * (1 - Phi(sqrt(x))) for df=1, * where Ph
src/lib/autopilot/ab-testing.ts:365
↓ 1 callers
Function
classifyActionRun
(run: { conclusion?: string; name: string })
src/lib/pr-recovery.ts:76
↓ 1 callers
Function
cleanupWorkspace
(task: Task)
src/lib/workspace-isolation.ts:658
↓ 1 callers
Function
cloneWorkflowTemplates
(db: Database.Database, targetWorkspaceId: string)
src/lib/bootstrap-agents.ts:235
↓ 1 callers
Function
completeJSON
(prompt: string, options: CompletionOptions = {})
src/lib/autopilot/llm.ts:148
↓ 1 callers
Function
completeSubAgentSession
(sessionId: string, summary?: string)
src/lib/orchestration.ts:126
↓ 1 callers
Function
computeBuildSuccess
* Build Success Rate: 0-100 * 100 = all dispatched tasks resulted in merged PRs * 0 = no merges (or no tasks)
src/lib/autopilot/health-score.ts:152
↓ 1 callers
Function
computeCostEfficiency
* Cost Efficiency: 0-100 * 100 = $0/merged PR (or very low) * 0 = $50+/merged PR * Inverse relationship — lower cost = higher score
src/lib/autopilot/health-score.ts:178
↓ 1 callers
Function
computeGaps
(events: FlightRecorderEvent[])
src/lib/task-flight-recorder.ts:217
↓ 1 callers
Function
computePipelineDepth
* Pipeline Depth: 0-100 * 100 = 10+ pending ideas (healthy pipeline) * 0 = no pending ideas
src/lib/autopilot/health-score.ts:116
↓ 1 callers
Function
computeResearchFreshness
* Research Freshness: 0-100 * 100 = completed cycle within last day * 0 = no cycle in 30+ days (or never)
src/lib/autopilot/health-score.ts:95
↓ 1 callers
Function
computeSwipeVelocity
* Swipe Velocity: 0-100 * 100 = 5+ ideas reviewed per day (7-day rolling avg) * 0 = no swipes
src/lib/autopilot/health-score.ts:132
↓ 1 callers
Function
concludeTest
( testId: string, winnerVariantId: string )
src/lib/autopilot/ab-testing.ts:165
↓ 1 callers
Function
connect
()
src/hooks/useSSE.ts:36
↓ 1 callers
Function
connectSSE
()
src/components/AgentActivityDashboard.tsx:100
↓ 1 callers
Function
createBackup
()
src/lib/backup.ts:85
↓ 1 callers
Function
createCostCap
(input: { workspace_id?: string; product_id?: string | null; cap_type: string; limit_usd: number; pe
src/lib/costs/caps.ts:6
↓ 1 callers
Function
createManualIdea
(productId: string, input: { title: string; description: string; category: string; complexity?: string
src/lib/autopilot/ideation.ts:446
↓ 1 callers
Function
createPreMigrationBackup
(db: Database.Database)
src/lib/db/migrations.ts:1649
↓ 1 callers
Function
createProduct
(input: { workspace_id?: string; name: string; description?: string; repo_url?: string; live_url?: s
src/lib/autopilot/products.ts:6
↓ 1 callers
Function
createRevertPR
( mergedPrUrl: string, mergedCommitSha: string, reason: string, defaultBranch: string = 'main' )
src/lib/rollback.ts:146
↓ 1 callers
Function
createSandboxWorkspace
( task: Task, projectDir: string, workspaceDir: string, baseBranch: string, port: number )
src/lib/workspace-isolation.ts:398
↓ 1 callers
Function
createSchedule
(productId: string, input: { schedule_type: string; cron_expression: string; timezone?: string; enable
src/lib/autopilot/scheduling.ts:5
↓ 1 callers
Method
createSession
(channel: string, peer?: string)
src/lib/openclaw/client.ts:479
↓ 1 callers
Function
createSwipeHistory
(productId: string, count: number, daysAgo: number = 0)
src/lib/autopilot/health-score.test.ts:48
↓ 1 callers
Function
createVariant
(input: { product_id: string; name: string; content: string; is_control?: boolean; })
src/lib/autopilot/ab-testing.ts:23
↓ 1 callers
Function
createWorktreeWorkspace
( task: Task, projectDir: string, workspaceDir: string, baseBranch: string, port: number )
src/lib/workspace-isolation.ts:293
↓ 1 callers
Function
cronMatches
* Simple cron matcher — checks if a schedule is due. * Supports: minute, hour, day-of-month, month, day-of-week
src/lib/autopilot/scheduling.ts:70
↓ 1 callers
Function
cycleLabel
(cycleType: string, index: number)
src/components/autopilot/ActivityPanel.tsx:51
↓ 1 callers
Function
deleteBackup
(filename: string)
src/lib/backup.ts:248
↓ 1 callers
Function
deleteConvoy
(convoyId: string)
src/lib/convoy.ts:315
↓ 1 callers
Function
deleteCostCap
(id: string)
src/lib/costs/caps.ts:68
↓ 1 callers
Function
deleteFromS3
(key: string)
src/lib/backup.ts:339
↓ 1 callers
Function
deleteSchedule
(schedId: string)
src/lib/autopilot/scheduling.ts:62
← previous
next →
201–300 of 874, ranked by callers