Repository navigation
Warn about AI tools in your own account, and say when an answer was too long - #105
Merged
Merged
Conversation
…was too long The README said the app gives agents "no way into your Vault" without saying that an AI tool running in the owner's own account works as the owner. Add a guide section on what such a tool may reach (Backups, the Vault folder, Touch ID, the clipboard, the Agent Key, the screen), the safest setup (a separate standard account) and habits for running tools in the owner's own account. Point to it from the README and the security model, and make the Emergency Reader steps prefer a Backup and quit Terminal afterwards. The Agent Companion reported an answer cut off at the 512-token limit as an "unsupported response" and told the agent to try once more, which fails the same way. Report it as its own fixed error, output_limit, still without returning any of the cut-off text, and say so in the tool description and the Companion guide. 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.
Why
The README says the app gives AI agents "no way into your Vault". That's true of the app, but it never said that an AI tool running in your own account (Claude Code, Codex, Cursor) works as you. Separately, the Agent Companion told agents "unsupported response, try once more" when an answer was cut off at the 512-token limit, so a retry just fails the same way.
What changed
Docs: AI tools in your own account
docs/guide.md, "AI tools on this computer". It lists what such a tool may reach: Backups, the Vault folder (with when macOS asks first), Touch ID, the clipboard, the Agent Key and the screen. It covers Windows briefly.README.md: "the app itself", a short Important note that links to the section, and a line saying AGENTS.md is an instruction, not a lock.docs/security-model.md: "Doesn't protect" now names AI tools and other software running in your account.Companion: a cut-off answer gets its own error
companion/src/generate.mjs: a response withstatus: "incomplete"andincomplete_details.reason: "max_output_tokens"now gives the fixed erroroutput_limit: "The answer was longer than 512 tokens, so it was cut off and not returned. It may still be billed. Ask for a shorter answer or split the request. The same text will likely fail again." None of the cut-off text is returned. Any other incomplete or unexpected response is stillinvalid_response.companion/src/mcp.mjs) anddocs/agent-companion.md(limits, agent contract, troubleshooting) now say a longer answer isn't returned.policy.jsonis unchanged, so the pinned policy hash still matches. No dependency changes.Tests
npm --prefix companion run check: 64 of 64 pass.content_filter, a missing reason and another model, which stayinvalid_response;Review notes
🤖 Generated with Claude Code