/** * attempt-capture.ts * * Extension: Attempt Capture * Triggers: registerCommand("attempt"), on("turn_end") * * Registers the /attempt Pi command. When a learner submits work: * 1. Loads the active rubric via calibration-engine. * 2. Fetches recent gap context from correction-memory. * 3. Injects rubric + gaps + submitted content into the conversation. * 4. Records the attempt in correction-memory for future context. * * After the model responds (turn_end), parses the PISCES_EVAL block and * writes gaps/strengths/score back to the attempt record so the next attempt * receives an accurate gap summary. */ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; interface EvalBlock { gaps: string[]; strengths: string[]; score?: number; } export declare function parseEvalBlock(text: string): EvalBlock | null; export default function (pi: ExtensionAPI): void; export {}; //# sourceMappingURL=attempt-capture.d.ts.map