-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: deprecate camelCase aliases in targets.yaml schema #907
Copy link
Copy link
Open
Description
Problem
The targets.yaml schema accepts both snake_case and camelCase for several fields:
grader_target/graderTarget(not used — onlyjudge_targethas camelCase alias)provider_batching/providerBatchingsubagent_mode_allowed/subagentModeAllowedtimeout_seconds/timeoutSecondslog_dir/logDir/log_directory/logDirectorylog_format/logFormatsystem_prompt/systemPromptapi_key/apiKeybase_url/baseUrl- etc.
YAML configs should use snake_case exclusively (matching the wire format convention in AGENTS.md). camelCase is for TypeScript internals only.
Proposal
- Emit deprecation warnings when camelCase variants are used in targets.yaml
- In a future major version, remove camelCase acceptance from the schema
- New fields (like
use_target) should only support snake_case
This is a minor, non-breaking refactor — existing configs continue working but users see warnings guiding them to snake_case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels