plainhub_decide
Raise a pending decision card in the repository ledger so a person can approve or reject choices like shipping changes, spending money, or changing permissions in PlainHub.
Instructions
Raise a decision card for a person (status pending) in the ledger in the repository folder set by the PLAINHUB_LEDGER environment variable (.agents/decisions/.md). Use it when something needs a human choice, such as shipping a change, spending money or changing permissions; the person approves or rejects it in PlainHub. Writes the file only; run plainhub_ledger_sync to share it. Returns a link that opens it in PlainHub (on a phone too) once it is pushed, or what to do first if the repository is not on GitHub. Refuses if the id already exists. Example: {"id": "2026-10-08-ship-login-fix", "summary": "Ship the login fix?", "ref": ["fix-login-timeout"], "body": "- What changes: users stay signed in\n- Risk: small"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Card id: lowercase letters and digits joined by - or ., e.g. 2026-10-08-ship-login-fix | |
| ref | No | Branches, commits or threads this card is about | |
| body | No | Markdown body in the room language (.agents/room.md language:; English if not set) (max 4KB). Start a new paragraph with a blank line, or use a list ("- "); a single line break does not start a new line (as on GitHub). | |
| refs | No | Renamed to ref. Do not use (the card is not written) | |
| summary | Yes | One line in the room language (.agents/room.md language:; English if not set), max 120 characters |