Conditionally render MCP guideline sections#722
Conversation
083a46f to
27c5167
Compare
There was a problem hiding this comment.
Hey! Nice PR, clean and follows the existing patterns well.
One thing I noticed, when boost:update regenerates guidelines, it calls InstallCommand with --guidelines and --skills but never passes --mcp. Since selectBoostFeatures() only returns explicitly passed flags, hasMcp will always be false during updates. This means existing MCP users who run boost:update would silently lose the ## Tools and ## Searching Documentation sections even though their MCP server is still configured.
27c5167 to
262d8d8
Compare
|
Thanks for your review, good catch there! I'm now passing the |
|
But MCP config once published isn't supposed to change. it will be kind of breaking change, |
262d8d8 to
c18b942
Compare
c18b942 to
b409692
Compare
|
How about this? I've updated |
Before this change, the Tools and Searching Documentation sections were always emitted into the generated AI guidelines, even when users chose not to enable MCP during installation. This meant AI agents were instructed to use database-query, search-docs, and other MCP tools that simply weren't available in their environment, leading to failed tool calls or confusing behaviour.
After this change, those sections are only included when MCP was actually selected at install time. Users who run a guidelines-only setup get a leaner, accurate guideline file that reflects their actual configuration.
Closes #721.