-
-
Notifications
You must be signed in to change notification settings - Fork 745
Closed
Labels
status: needs-triageAwaiting initial triageAwaiting initial triage
Description
Problem
The task-elicitation module (.aios-core/core/elicitation/task-elicitation.js) has no unit test coverage. This module defines the progressive disclosure steps for creating new tasks.
Solution
Add 28 unit tests covering structure, validators, filters, and conditional logic.
Test Details
| Area | Tests | Key Scenarios |
|---|---|---|
| Structure | 3 | Array, titles, questions |
| Basic Info | 6 | ID validation, smartDefault, description, required |
| Context | 4 | Conditional, prerequisites, filter |
| Workflow | 4 | Types, stepCount validation/filter |
| Steps | 2 | Validators array |
| Output | 3 | Formats, conditional, required |
| Error Handling | 3 | Strategies, retry conditional/validation |
| Security | 3 | Condition, conditional, OWASP checks |
| Total | 28 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: needs-triageAwaiting initial triageAwaiting initial triage