plainhub_post
Adds a message to a work thread ledger so teammates can follow progress, commits, and verdicts. Writes the file only; sync it separately to share.
Instructions
Add a message to a work thread in the ledger in the repository folder set by the PLAINHUB_LEDGER environment variable (.agents/threads//NN-.md, next free number). Use it at each step so others can follow: when you start (what you will do and what counts as done), after you commit, and when you finish; reviewers post their verdict. 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. Never overwrites; refuses secrets, summaries over 120 characters and bodies over 4KB. Example: {"thread": "fix-login-timeout", "role": "dev", "verdict": "info", "summary": "Started: keep users signed in after a network error", "body": "Done when the login test passes."}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). | |
| role | Yes | Your role: dev (does the work), reviewer (checks the work), security (checks safety and secrets), daily (PlainHub loop summary), cockpit (PlainHub orchestrator). Must match PLAINHUB_ROLE if it is set | |
| commit | No | Commit this message is about (7-40 hex characters), e.g. 1a2b3c4 | |
| thread | Yes | Thread name: lowercase letters and digits joined by - or ., e.g. fix-login-timeout. One thread per piece of work | |
| summary | Yes | One line in the room language (.agents/room.md language:; English if not set), max 120 characters | |
| verdict | Yes | What this message says: pass (the check passed), fail (the check failed), changes-requested (the check asks for fixes), approved (approval of a plan or change), info (progress note (started, committed, done)) |