DocsGitHubInstall

pal cli rule

Review the rules PAL drafted from your corrections

Usage
pal cli rule <command>

A draft steers nothing until it is approved, and a denied draft is never drafted again.

An opinion has no trigger and steers every session. There are at most 8 opinions, one per correction kind. list --all shows each one's correction-kind rate before and after its approval.

pal cli rule list

Drafts waiting for a decision

Usage
pal cli rule list [options]
OptionWhat it does
--allEvery rule, not only the drafts
--jsonMachine-readable output

pal cli rule approve

Approve a draft so it steers

Usage
pal cli rule approve <id>

pal cli rule opinion

Keep a draft as an opinion, steering every session without a trigger

Usage
pal cli rule opinion <id>

pal cli rule deny

Deny a draft; it stays on record so it is not drafted again

Usage
pal cli rule deny <id>

pal cli rule retire

End an approved rule or opinion

Usage
pal cli rule retire <id>

pal cli rule add-opinion

Write an opinion by hand; it is approved at once

Usage
pal cli rule add-opinion [options]
OptionWhat it does
--kind <value>The correction kind it prevents
--when <value>The situation, in one sentence
--steering <value>The instruction, imperative
--evidence <value>Why it is needed

pal cli rule legacy-opinions

Show the opinions the old opinion tracker left, to re-add the ones to keep

Usage
pal cli rule legacy-opinions [options]
OptionWhat it does
--reviewedMark them reviewed: renames opinions.json to opinions.reviewed.json