feat(factory): manage agent docs and add MCP setup runbook - #49
Open
ahjota wants to merge 1 commit into
Open
Conversation
Bring ~/.factory/AGENTS.md and ~/.factory/docs/gopls-mcp.md under chezmoi control (they were previously live-only files) and add a new docs/mcp-setup.md runbook for configuring ~/.factory/mcp.json on a new machine. mcp.json itself is intentionally left unmanaged: Factory owns it as a read-write store (droid mcp add, /mcp toggles, persistent approvals, auto-reload), and approvals are per-machine anyway. The runbook uses paste-ready JSON snippets (templated with homeDir) rather than droid mcp add because connectTimeout is not settable via the CLI. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.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.
cm add ~/.factory/AGENTS.md
cm add ~/.factory/docs/gopls-mcp.md
add a new
docs/mcp-setup.mdrunbook for configuring~/.factory/mcp.jsonon a new machine.I originally wanted chezmoi to manage mcp.json, but decided against it. Factory owns it as a read-write store (droid mcp add, /mcp toggles, persistent approvals, auto-reload), and approvals are per-machine anyway. The runbook uses paste-ready JSON snippets (templated with homeDir) rather than
droid mcp addbecauseconnectTimeoutis not settable via the CLI.