section 2: Phase 2 — Content-hashed hunk ids and stop status

This commit is contained in:
Chris Scott committed 2026-10-08 15:53:26 -04:00
1 parent 4b5f76f416
commit 7bf6c35f29
7 files changed
+156 -63

No files matched your search

@@ -17,13 +17,18 @@ export const WalkthroughHunkSchema = z.object({
export type WalkthroughHunk = z.infer<typeof WalkthroughHunkSchema>;
export const WalkthroughStopSchema = z.object({
id: z.string(),
title: z.string(),
explanation: z.string(),
hunkIds: z.array(z.string()),
status: z.enum(["pending", "ready", "failed"]),
explanationKey: z.string().nullable(),
});
export type WalkthroughStop = z.infer<typeof WalkthroughStopSchema>;
export type WalkthroughStopStatus = WalkthroughStop["status"];
export const WalkthroughOmittedFileSchema = z.object({
file: z.string(),
reason: z.enum(["binary", "budget"]),