pal cli rule
Review the rules PAL drafted from your corrections
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
pal cli rule list [options]| Option | What it does |
|---|---|
--all | Every rule, not only the drafts |
--json | Machine-readable output |
pal cli rule approve
Approve a draft so it steers
pal cli rule approve <id>pal cli rule opinion
Keep a draft as an opinion, steering every session without a trigger
pal cli rule opinion <id>pal cli rule deny
Deny a draft; it stays on record so it is not drafted again
pal cli rule deny <id>pal cli rule retire
End an approved rule or opinion
pal cli rule retire <id>pal cli rule add-opinion
Write an opinion by hand; it is approved at once
pal cli rule add-opinion [options]| Option | What 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
pal cli rule legacy-opinions [options]| Option | What it does |
|---|---|
--reviewed | Mark them reviewed: renames opinions.json to opinions.reviewed.json |