/** * The runner composes the authoring brief; no caller may append to it. * * Same reasoning as the validator brief. When an orchestrating agent * assembled this prompt it authored the spec inside its own context — already * carrying the whole planning conversation — composed its own instructions, * and then ran the validation gate over its own output. Three seams, all * closed by having the package build the brief and spawn a clean agent. */ export interface WorkstreamScope { summary: string; includes: string[]; excludes: string[]; } /** One line of the program roster: what exists, not how it works. */ export interface RosterEntry { id: string; name: string; scope: WorkstreamScope; } export interface AuthorTarget { id: string; name: string; taskFile: string; dependencies: string[]; scope: WorkstreamScope; } export interface AuthorBriefSources { programId: string; target: AuthorTarget; /** Every workstream in the program, this one included. */ roster: RosterEntry[]; /** Full specs of the direct dependencies that fit the brief budget. */ dependencySpecs: Array<{ id: string; path: string; content: string; }>; /** Direct dependencies cut to their roster entry to fit the budget. */ demoted: string[]; programDoc: string; manifest: string; agentsMd?: string; vision?: string; contextDocs: Array<{ path: string; content: string; }>; } export declare function composeAuthorBrief(sources: AuthorBriefSources): string; //# sourceMappingURL=author-brief.d.ts.map