Replace createCursorRole/createHermesRole with adapter + prompt + zod meta. Add shared compileRoleSpec, cursor ask adapter, nerve.yaml extract defaults. Refs #248 Made-with: Cursor
7 lines
211 B
TypeScript
7 lines
211 B
TypeScript
import { z } from "zod";
|
|
|
|
export const reviewMetaSchema = z.object({
|
|
approved: z.boolean().describe("true if diff is clean and ready for tests"),
|
|
});
|
|
export type ReviewMeta = z.infer<typeof reviewMetaSchema>;
|