| name | babysitter:model |
| description | Set or view model routing policy for plan/execute/review phases. |
| argument-hint | [show|clear|set <phase>=<model> ...] |
babysitter:model
Manage model routing policy used by babysitter orchestration.
Behavior
- If argument is
show or empty:
- Read
.a5c/config/model-policy.json (and env override if provided).
- Return current policy JSON and effective defaults.
- If argument is
clear:
- Clear persisted policy map.
- Keep runtime fallback to
BABYSITTER_MODEL_DEFAULT if set.
- If argument starts with
set:
- Parse one or more
phase=model pairs.
- Valid phases:
plan, execute, review, fix.
- Update
.a5c/config/model-policy.json.
- Confirm the new policy map.
Output Contract
- Always return valid JSON:
action: show or set
policy: object
applied: boolean
notes: array