-
Notifications
You must be signed in to change notification settings - Fork 0
Schema: reusable prompts and output contracts #97
Copy link
Copy link
Open
Labels
priority: highHigh-leverage / cornerstone patternHigh-leverage / cornerstone patterntype: featureNon-pattern feature — website, tooling, templatesNon-pattern feature — website, tooling, templatestype: schemaMachine-readable contract with a human-readable guideMachine-readable contract with a human-readable guide
Description
Activity
Metadata
Metadata
Assignees
Labels
priority: highHigh-leverage / cornerstone patternHigh-leverage / cornerstone patterntype: featureNon-pattern feature — website, tooling, templatesNon-pattern feature — website, tooling, templatestype: schemaMachine-readable contract with a human-readable guideMachine-readable contract with a human-readable guide
Goal
Define
library/schemas/prompt.schema.jsonfor versioned project prompts that can be rendered and evaluated consistently.Human contract
Document purpose, input variables, context requirements, output contract, constraints, examples, failure behavior, model assumptions, and eval references. Keep prompt text readable as Markdown.
Machine contract
Validate stable prompt ID/version, typed variables, required context, output schema reference, model capability requirements, token ceiling, and linked eval IDs. Secrets must never be valid defaults.
Acceptance criteria
Depends on the document envelope; coordinates with eval and token-budget schemas.