-
Notifications
You must be signed in to change notification settings - Fork 15
Implement prompt-engineering validator: PE-001 to PE-004 #40
Copy link
Copy link
Closed
Labels
complexity:mediumSome edge cases to handleSome edge cases to handlephase:3Phase 3: Core ValidatorsPhase 3: Core Validatorspriority:p0Critical - MVP blockerCritical - MVP blockersize:m1-2 hours1-2 hours
Description
Summary
Implement prompt engineering validation rules. Rule IDs are defined in SARIF output but no validator exists.
Rules to Implement
- PE-001: Repetition without emphasis or XML isolation
- PE-002: Chain-of-thought on simple task
- PE-003: Weak imperative language in critical rules
- PE-004: Ambiguous instructions
Deliverables
- Create
crates/agnix-core/src/rules/prompt.rs - Add prompt file detection in lib.rs
- Add test fixtures in
tests/fixtures/prompt/ - Tests for each rule
References
- knowledge-base/VALIDATION-RULES.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
complexity:mediumSome edge cases to handleSome edge cases to handlephase:3Phase 3: Core ValidatorsPhase 3: Core Validatorspriority:p0Critical - MVP blockerCritical - MVP blockersize:m1-2 hours1-2 hours