Skip to content

feat: enrich HumanTaskSpec in create request schema (Priority 3)#28

Merged
George-iam merged 2 commits intomainfrom
feat/human-task-spec-enrichment-20260313
Mar 14, 2026
Merged

feat: enrich HumanTaskSpec in create request schema (Priority 3)#28
George-iam merged 2 commits intomainfrom
feat/human-task-spec-enrichment-20260313

Conversation

@George-iam
Copy link
Contributor

Summary

  • api.intents.create.request.v1.json: expanded HumanTaskSpec $defs to include task_type (enum with 14 types), allowed_outcomes, required_comment, assignees, and evidence_required — matching the full model already in api.scenarios.bundle.request.v1.json.
  • 7 new schema contract tests asserting each new field and v1 priority task types.

Test plan

  • test_human_task_spec_has_task_type
  • test_human_task_spec_task_type_includes_v1_priorities
  • test_human_task_spec_has_allowed_outcomes
  • test_human_task_spec_has_required_comment
  • test_human_task_spec_has_assignees
  • test_human_task_spec_has_evidence_required
  • All 83 spec tests green

Made with Cursor

…sk model (Priority 3)

Add task_type (enum with 14 types), allowed_outcomes, required_comment, assignees,
and evidence_required to HumanTaskSpec in api.intents.create.request.v1.json,
matching the full spec already in api.scenarios.bundle.request.v1.json.
Add 7 new schema contract tests asserting each new field.

Made-with: Cursor
@George-iam George-iam merged commit 30971ef into main Mar 14, 2026
1 check passed
@George-iam George-iam deleted the feat/human-task-spec-enrichment-20260313 branch March 14, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant