plainhub_post
Posts a progress, commit, or verdict message to a work thread in the repository ledger, writing the file only; sync separately to share it.
Instructions
Add a message to a work thread in the ledger in the repository folder set by the PLAINHUB_LEDGER environment variable (if not set, the folder the server was started in) (.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."}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"thread": "<thread>",
"role": "<role>",
"verdict": "<verdict>",
"summary": "<summary>"
},
"name": "plainhub_post"
}
}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)) |