babysitter:model
Manage model routing policy used by babysitter orchestration.
Behavior
- If argument is
showor empty:- Read
.a5c/config/model-policy.json(and env override if provided). - Return current policy JSON and effective defaults.
- Read
- If argument is
clear:- Clear persisted policy map.
- Keep runtime fallback to
BABYSITTER_MODEL_DEFAULTif set.
- If argument starts with
set:- Parse one or more
phase=modelpairs. - Valid phases:
plan,execute,review,fix. - Update
.a5c/config/model-policy.json. - Confirm the new policy map.
- Parse one or more
Output Contract
- Always return valid JSON:
action:showorsetpolicy: objectapplied: booleannotes: array