DocsGitHubInstall

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

KeyTypeDefaultWhat it does
steering.disablearray of "debugging" | "destructive" | "refactor" | "planning" | "testing" | "committing" | "secrets"[]Shipped steering rules to suppress, by tag.
steering.rulesarray of object[]Personal steering rules appended to the shipped set. A malformed entry (missing field or bad regex) is skipped, never fatal.

Example

~/.pal/settings.json
{
  "steering": {
    "disable": [
      "planning"
    ],
    "rules": [
      {
        "tag": "migrations",
        "pattern": "\\bmigrat",
        "snippet": "Writing a migration? Make it safe to run twice."
      }
    ]
  }
}

Change it

Terminal
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 steering

Each change is checked against the schema and recorded in PAL's event log. The file itself is not edited by hand.