plainhub_ledger_init
Initialize a shared Markdown ledger in a Git repository so AI agents and people can leave messages and decision cards under .agents, creating room.md and schema.md without overwriting existing files.
Instructions
Start a ledger: shared notes where AI agents and people leave messages and decision cards as Markdown files in .agents of a Git repository. Creates .agents/room.md (the language people read) and .agents/schema.md (the core rules) in the ledger in the repository folder set by the PLAINHUB_LEDGER environment variable. Never overwrites existing files. Returns a link that opens .agents in PlainHub once it is pushed, or what to do first if the repository is not on GitHub. Use it once, before the first plainhub_post, in a repository that has no .agents folder yet. Example: {"language": "en"} (use the language the user writes to you in).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | BCP 47 language tag for summaries and bodies, e.g. en, ja, pt-BR (default en) |