test(bmad-module): track fixture .mcp.json so CI install test passes

The acme-devlog fixture's .mcp.json was swallowed by the global
.gitignore '.mcp.json' rule, so it was never committed. The skill's
install test asserts _bmad/devlog/.mcp.json exists, which passed
locally (file on disk) but failed on CI's clean checkout. Add a
negation for the test-fixtures path and commit the fixture.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
pbean 2026-06-19 17:07:43 -07:00
parent ddac866ad6
commit 24d4f6426f
2 changed files with 14 additions and 0 deletions

3
.gitignore vendored
View File

@ -48,6 +48,9 @@ CLAUDE.local.md
.junie/ .junie/
.agents/ .agents/
# Test fixtures need a committed .mcp.json (the rule above ignores real projects')
!src/core-skills/bmad-module/tests/fixtures/**/.mcp.json
z*/ z*/
!docs/zh-cn/ !docs/zh-cn/

View File

@ -0,0 +1,11 @@
{
"mcpServers": {
"devlog-history": {
"command": "node",
"args": ["${CLAUDE_PLUGIN_ROOT}/scripts/mcp-server.js"],
"env": {
"DEVLOG_PATH": "${CLAUDE_PLUGIN_DATA}/devlog"
}
}
}
}