Repository navigation
feat: make the Board CLI the only read/write path for animas - #412
Merged
Merged
Conversation
Remove post_channel from every LLM tool surface; animas read and post with animaworks-tool board read/post. board post takes <channel> [<text>|-] (stdin for long text), keeps the legacy <from> <channel> <text> form, and uses --as / operator on the host. board read and dm-history output is wrapped as untrusted, and Bash commands that run them resolve to untrusted trust. read/write_memory_file on shared channel files point to the CLI. Templates (ja), i18n and the board guide now describe the CLI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The inbox marks the channels whose board_mention it is answering in a context variable that tool subprocesses (the Board CLI run from Bash, MCP servers) cannot see. Engines now export the set as ANIMAWORKS_BOARD_REPLY_CHANNELS and the post handler reads both. Also drop the per-run Board post limit from the ja templates (each CLI call is its own process) and the duplicated CLI usage line in the prompt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restore the concise en wording for the tool guides and send_message description with the Board CLI substituted, and point the locale tests at the CLI wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
post_channelfrom every LLM tool surface (MCP, Mode A/B builder, compact). Animas read and post withanimaworks-tool board read/animaworks-tool board post; the internal handlers stay as the CLI adapters.board post <channel> [<text>|-]:-or an omitted text reads the body from stdin. The legacy<from> <channel> <text>form still works. Inside an anima the poster is that anima (impersonation is refused); on the host--as <name>(defaultoperator) posts withkind=operatorthrough the internal API.board read/board dm-historyoutput is wrapped as untrusted,board readdistinguishes a missing channel from an empty one, and Bash commands that run them resolve tountrustedtrust.("board", "post")maps topost_channelin the action gate so action rules apply to the CLI too.read_memory_file/write_memory_fileonshared/channels/*.jsonlreturn a hint pointing to the CLI instead of forwarding.board_mentionbeing answered asANIMAWORKS_BOARD_REPLY_CHANNELS, and the post handler reads both that and the context variable.Test plan
ruff check core cli server teststranslate.py all --checkpasses🤖 Generated with Claude Code