mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-27 13:06:20 +02:00
Flow drops from five steps to three: role + use_case merge into a single About-you screen (one Skip covers both; Continue stamps skip markers on whichever group was left unanswered), and the source question leaves onboarding entirely. Source is now collected only by the workspace source-backfill prompt, which additionally waits until agents/squads have completed at least SOURCE_BACKFILL_MIN_AGENT_DONE_ISSUES (3) issues in the workspace — attribution is asked after Multica has visibly delivered value, not before. The count rides a limit:1 issues query keyed under issueKeys.all so realtime invalidations keep it fresh, enabled only for users who still owe an answer. Server: questionnaire complete() narrows to role + use_case so the funnel step doesn't stall on the now-deferred source; a new metrics-only onboarding_source_submitted event (+ Prometheus counter) tracks the backfill prompt's answer/decline transition once per user. Co-authored-by: Lambda <lambda@multica.ai> Co-authored-by: multica-agent <github@multica.ai>
25 lines
547 B
TypeScript
25 lines
547 B
TypeScript
export type {
|
|
OnboardingStep,
|
|
OnboardingCompletionPath,
|
|
QuestionnaireAnswers,
|
|
Source,
|
|
Role,
|
|
UseCase,
|
|
} from "./types";
|
|
export {
|
|
saveQuestionnaire,
|
|
completeOnboarding,
|
|
joinCloudWaitlist,
|
|
} from "./store";
|
|
export { ONBOARDING_STEP_ORDER } from "./step-order";
|
|
export {
|
|
needsSourceBackfill,
|
|
SOURCE_BACKFILL_MAX_DISMISSALS,
|
|
SOURCE_BACKFILL_MIN_AGENT_DONE_ISSUES,
|
|
} from "./needs-backfill";
|
|
export { agentCompletedIssueCountOptions } from "./queries";
|
|
export {
|
|
useWelcomeStore,
|
|
type WelcomeSignal,
|
|
} from "./welcome-store";
|