feat: enrich HumanTaskSpec in create request schema (Priority 3)#28
Merged
George-iam merged 2 commits intomainfrom Mar 14, 2026
Merged
feat: enrich HumanTaskSpec in create request schema (Priority 3)#28George-iam merged 2 commits intomainfrom
George-iam merged 2 commits intomainfrom
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
api.intents.create.request.v1.json: expandedHumanTaskSpec$defsto includetask_type(enum with 14 types),allowed_outcomes,required_comment,assignees, andevidence_required— matching the full model already inapi.scenarios.bundle.request.v1.json.Test plan
test_human_task_spec_has_task_typetest_human_task_spec_task_type_includes_v1_prioritiestest_human_task_spec_has_allowed_outcomestest_human_task_spec_has_required_commenttest_human_task_spec_has_assigneestest_human_task_spec_has_evidence_requiredMade with Cursor