plmhub
All commands

Rules

3 commands · plm agent-rules

Non-negotiable behaviours the agent recites before acting. Public rules ship in releases.

  1. Step 1 of 2

    Set a hard rule

    A rule is a line the agent will not cross, held above instinct and recited before it acts. Keep it one imperative sentence: the shortest rules last the longest. Like memory, a rule sits in a zone — PRIVATE by default, or --public so it ships in the agent's releases and every install inherits it as foundation.

    plm agent rule add
    $ plm agent rule add "Screenshot and LOOK before claiming UI work is done." --public
    ✓ rul_e5292550dcf54fb8 (public — ships in releases)

    full form · plm agent rule add <text> [--public]

  2. Step 2 of 2

    Scan the rules

    The whole ruleset at a glance, each row tagged [pub]/[priv]; the footer counts the split. A bare query matches the text (rule push finds the push rule), and --public / --private narrow to one zone. Boot recites every rule, so this is how you audit what the agent is bound by.

    plm agent rule ls
    $ plm agent rule ls --public
    rul_82dd9220e5d94f2d [pub ] No em dashes in user-visible copy.
    rul_e5292550dcf54fb8 [pub ] Screenshot and LOOK before claiming UI work is done.
    2 rules (2 public · 0 private)

    full form · plm agent rule ls [query] [--public|--private]

Also in this chapter

rule rm
$ plm agent rule rm|publish|unpublish <rul_id>

Prune a rule, or flip its zone (publish ships it in releases; unpublish pulls it back to private).