User Story:
As a form creator (Maya), in order to improve the extracted specs without editing JSON, I want to describe changes in natural language and have the system update the DataCollectionSpec accordingly
Preconditions:
- A FormProject with DataCollectionSpec exists (Slice 2+)
- Maya is authenticated
- Comparison UI available (Slice 4)
Acceptance Criteria:
Success Metrics:
- Percentage of natural language requests correctly interpreted on first attempt
- Average refinement rounds needed to achieve desired spec state
Notes:
- LLM uses tool calls:
add_field, remove_field, update_field, move_field, set_condition, etc.
- Tool calls produce auditable changes (each maps to a spec modification)
- Reuses comparison protocol from Slice 4 for review
- This is the authoring agent pattern from the design spec
Definition of Done:
User Story:
As a form creator (Maya), in order to improve the extracted specs without editing JSON, I want to describe changes in natural language and have the system update the DataCollectionSpec accordingly
Preconditions:
Acceptance Criteria:
Success Metrics:
Notes:
add_field,remove_field,update_field,move_field,set_condition, etc.Definition of Done:
catalog/architecture/threat-model.md