/** * v0.6 §2.5 — Retrospective stats ETL (회고 입력원 집계). * * Deterministic aggregation of v0.5 operational data into a markdown * report. Called by the `v06-retrospective-stats` routine (weekly cron). * Output: `/memory/v0.6-retrospective-stats-.md`. * * No LLM calls — facts only. Retrospective text body is written by humans * who read this report. * * Coverage of §2 표 회고 작업 inputs: * #1 누락/잉여 stage — workflows _status.yaml stage status 분포 * #2 핸드오프 슬라이스 패턴 — _handoff.md 섹션 분포 (per agent) * #3 Stage별 keep/discard — goals results.tsv per-stage 비율 * #4 author SKILL 패턴 — author-costs.jsonl per-skill, per-step * #5 / #6 — 빈 섹션 (사람이 회고 후 채움) */ export interface StatsExtractInput { workspace: string; orgSlug: string; /** Override "today" — testing only. Format YYYY-MM-DD. */ todayIso?: string; } export interface StatsExtractResult { outputPath: string; markdown: string; summary: { workflowsScanned: number; handoffsScanned: number; resultsRows: number; authorCostRows: number; ledgerEntries: number; }; } export declare function extractV06Stats(input: StatsExtractInput): StatsExtractResult;