/** * ProgressMdAdapter is a ProgressPort that keeps a LIVE progress.md tracker on * disk. It owns a ProgressTracker, applies each event, and rewrites the single * progress file — so progress.md is always current, never the dead skeleton the * master-plan skill used to leave behind. The tracker is exposed so the run * loop can fold a per-stage handoff note in before the next stage. */ import type { FsPort } from "../ports/fs.ts"; import type { ProgressEvent, ProgressPort } from "../ports/progress.ts"; import { ProgressTracker } from "../domain/progress-tracker.ts"; export declare class ProgressMdAdapter implements ProgressPort { private readonly fs; private readonly path; readonly tracker: ProgressTracker; constructor(fs: FsPort, path: string, issue: string); emit(event: ProgressEvent): Promise; /** Re-persist after an out-of-band tracker mutation (e.g. a handoff note). */ flush(): Promise; }