Skip to content

fix: set application/yaml content-type for autonomous_work ask-body commands - #205

Merged
sunilgattupalle merged 1 commit into
mainfrom
fix_autonomous_work
Sep 9, 2026
Merged

fix: set application/yaml content-type for autonomous_work ask-body commands#205
sunilgattupalle merged 1 commit into
mainfrom
fix_autonomous_work

Conversation

@sunilgattupalle

Copy link
Copy Markdown
Contributor

Summary

  • The 7 YAML ask-body create/update commands (work_class, work_trigger, capability, risk_evaluator, member, member_template, software_component) declared file_body: required but no content_type, so the file was sent as application/json and adlc-service rejected it. Added content_type: application/yaml to each.
  • Corrects team and content_source_connector set_default command help text — those are plain JSON bodies, not YAML ask-bodies (same root cause identified in fix: correct autonomous_work YAML ask-body content-type and Team schema mcp-server#932).

Test plan

  • Diff-reviewed against adlc-service's contracts/schemas/v1/*.schema.json for the affected resources

…ommands

The 7 YAML ask-body create/update commands (work_class, work_trigger,
capability, risk_evaluator, member, member_template, software_component)
declared file_body: required but no content_type, so the file was sent as
application/json and adlc-service rejected it. Also corrects team/
content_source_connector set_default help text: those are plain JSON bodies,
not YAML ask-bodies.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sunilgattupalle
sunilgattupalle merged commit 127d004 into main Sep 9, 2026
1 check passed
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