steering
Contextual steering: PAL injects a short self-check into your prompt when it matches a task type. Toggle the whole feature via dynamicContext.contextualSteering.
Keys
| Key | Type | Default | What it does |
|---|---|---|---|
steering.disable | array of "debugging" | "destructive" | "refactor" | "planning" | "testing" | "committing" | "secrets" | [] | Shipped steering rules to suppress, by tag. |
steering.rules | array of object | [] | Personal steering rules appended to the shipped set. A malformed entry (missing field or bad regex) is skipped, never fatal. |
Example
{
"steering": {
"disable": [
"planning"
],
"rules": [
{
"tag": "migrations",
"pattern": "\\bmigrat",
"snippet": "Writing a migration? Make it safe to run twice."
}
]
}
}Change it
pal cli settings set steering.disable '["planning"]'
pal cli settings set steering.rules '[{"tag":"migrations","pattern":"\\bmigrat","snippet":"Writing a migration? Make it safe to run twice."}]'
pal cli settings get steeringEach change is checked against the schema and recorded in PAL's event log. The file itself is not edited by hand.