/** * Brief files - the procedural knowledge of the Stage-2 workers. * * Location: ~/.mama/briefs/brief-.md - a DEDICATED directory, not * ~/.mama/skills/ (plan A5/F5: skills-root flat files leak into the chat * system prompt, the skills UI, and PromptEnhancer keyword injection; the * consumer reads by path, so loader invisibility is the desired property). * * Missing brief -> the caller fails the workorder loudly (never a silent * skip). Seeding of packaged defaults is ensureBriefs() (S2-T5). */ import { type WorkOrderKind } from './task-ledger.js'; import { type PrivateConnectorPolicy } from '../connectors/private-connector-policy.js'; export declare function briefsDir(homeDir?: string): string; export declare function briefPath(kind: WorkOrderKind, homeDir?: string): string; /** null = missing (caller fails the workorder); read errors propagate loudly. */ export declare function loadBrief(kind: WorkOrderKind, homeDir?: string): string | null; export declare function buildDefaultBrief(kind: WorkOrderKind): string; /** Project a user-owned work-order brief for one run without changing its file. */ export declare function projectWorkOrderBriefForPrompt(kind: WorkOrderKind, raw: string, policy: PrivateConnectorPolicy): string; /** * Boot seeding (plan B2/C6/E9): write packaged defaults for MISSING briefs * only - user/agent edits always win (existsSync guard). DELIBERATE deviation * from the persona managed-marker pattern: briefs have NO auto-upgrade; after * seeding they are agent/user-owned (Stage-3 self-improvement substrate), so * packaged default changes do not propagate to existing installs. */ export declare function ensureBriefs(homeDir?: string): WorkOrderKind[]; //# sourceMappingURL=briefs.d.ts.map