-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
User Story
AS a dev-sop-engine user
I WANT sop.json validated before generation
SO THAT I catch config errors early with helpful messages
Current State
- No validation before generation
- Invalid config may cause silent failures or confusing errors
Expected Behavior
npx dev-sop-engine .
# Error: sop.json validation failed:
# - rules.my-rule.events: must be an array
# - agents.foo.prompt_file: file not foundImplementation Options
- JSON Schema - Create
sop.schema.json, validate with ajv - TypeScript - Runtime type checking with zod or similar
- Both - Schema for editor autocomplete + runtime validation
Acceptance Criteria
- Invalid sop.json produces clear error message
- Missing required fields are caught
- Invalid field types are caught
- File path references are validated (files exist)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels