Skip to content

Experience — User Interaction

The user interaction layer. Manages consent, oversight, onboarding, accessibility, and how users engage with AI. Like accessibility services and user preferences in an OS, Experience ensures every interaction respects the user. It provides structured entry points for new operators and teams, and manages human oversight: deciding when a task requires human review versus autonomous execution.

interface ExperienceResult {
success: boolean;
error?: string;
[key: string]: unknown;
}
interface ExperienceStatus {
initialized: boolean;
subsystems: Record<string, boolean>; // 9 subsystems
state: ExperienceState;
}
interface OnboardingSubsystem {
team: {
start(company: string, options?: Record<string, unknown>): Promise<ExperienceResult>;
configure(teamId: string, config: Record<string, unknown>): Promise<ExperienceResult>;
};
project: {
setup(name: string, options?: Record<string, unknown>): Promise<ExperienceResult>;
};
}
import { BaselineExperienceSystem } from '@baselineos/experience';
const exp = new BaselineExperienceSystem();
// Start a team onboarding flow
const result = await exp.onboarding.team.start({ name: 'Acme' });
// { success: true, teamId: '...' }
// Check system status — all 9 subsystems report availability
const status = exp.getStatus();
// { initialized: true, subsystems: { onboarding: true, collaboration: true, ... } }

The layer sweep runs three checks against Experience:

CheckWhat it validates
Consent checkpointUser has granted consent for AI processing (when user context is present)
Interaction loggedThe layer sweep interaction is recorded in the audit log
Oversight routingEpic-complexity or critical-priority tasks are routed for human review