/** * The `review-recent-work` workflow (DES-RUNS-REVIEW-001 ยง3) is DATA: `packages/crew/workflows/review-recent-work.json`. * This module only reads it, fills the three host tokens (`{node}`, `{analyze_cli}`, `{reviews_dir}`) and hands it to * the engine, which validates it (`adapter.registerWorkflow`) like the interactive seams' runtime defs. */ import type { WorkflowDef } from '../core/types.js'; export declare const REVIEW_WORKFLOW = "review-recent-work"; /** The packaged def (`packages/crew/workflows/`), from `src/insights/` and from `dist/insights/` alike. */ export declare const REVIEW_WORKFLOW_FILE: string; /** The analyze script beside this module (`.js` in dist; under vitest the `.ts` source sits here instead). */ export declare const ANALYZE_CLI: string; /** Where each review's run directory lives: outside the daemon state home (the worker fence), like walkthroughs. */ export declare function defaultReviewsDir(env?: NodeJS.ProcessEnv): string; export interface ReviewWorkflowTokens { node: string; analyzeCli: string; reviewsDir: string; } /** Fill the def's tokens. Only the Tool `cmd` carries them; anything else unfilled is a packaging error. */ export declare function fillReviewWorkflow(raw: unknown, tokens: ReviewWorkflowTokens): WorkflowDef; export declare function loadReviewWorkflow(tokens: ReviewWorkflowTokens, file?: string): WorkflowDef; //# sourceMappingURL=workflow.d.ts.map