Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "bmad",
"source": "./plugins/bmad",
"description": "BMAD Method - Breakthrough Method for Agile AI-Driven Development",
"version": "6.2.0.2"
"version": "6.2.0.3"
}
]
}
2 changes: 1 addition & 1 deletion .plugin-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v6.2.0.2
v6.2.0.3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- upstream-badges-end -->

<!-- upstream-version-start -->
**Plugin version:** v6.2.0.2
**Plugin version:** v6.2.0.3

| Module | Version | Released | Last Synced |
|---|---|---|---|
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bmad-plugin",
"version": "6.2.0.2",
"version": "6.2.0.3",
"type": "module",
"scripts": {
"prepare": "husky",
Expand Down
2 changes: 1 addition & 1 deletion plugins/bmad/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bmad",
"version": "6.2.0.2",
"version": "6.2.0.3",
"description": "BMAD Method - Breakthrough Method for Agile AI-Driven Development",
"author": {
"name": "PabloLION",
Expand Down
9 changes: 5 additions & 4 deletions scripts/lib/checks/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ export async function checkAgents(): Promise<void> {
const allPluginOnly = new Set<string>();

for (const source of getEnabledSources()) {
// Collect plugin-only agents from ALL sources (even those without agentsRoot)
for (const name of source.pluginOnlyAgents ?? []) {
allPluginOnly.add(name);
}

if (!source.agentsRoot) continue;
const upstreamRoot = join(ROOT, '.upstream', source.localPath);
const agentsDir = join(upstreamRoot, source.agentsRoot);
Expand All @@ -74,10 +79,6 @@ export async function checkAgents(): Promise<void> {
}
coveredNames.add(upstream);
}

for (const name of source.pluginOnlyAgents ?? []) {
allPluginOnly.add(name);
}
}

await checkPluginOnlyAgents(coveredNames, allPluginOnly);
Expand Down
10 changes: 9 additions & 1 deletion scripts/lib/checks/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ import { join } from 'node:path';
import { PLUGIN } from '../config.ts';
import { pass, section, warn } from '../output.ts';

/** Patterns that are expected to remain unrewritten. */
/** Patterns that are expected to remain unrewritten.
* These are valid runtime paths in the user's {project-root}/_bmad/ directory,
* not paths that the sync pipeline should have transformed. */
const EXPECTED_PATTERNS = [
/_bmad\/_memory\//,
/_bmad\/_config\//,
/_bmad\/[^/]*\{/, // template variables like {module-id}
/_bmad\/\[/, // bracket templates like [module-path]
/_bmad\/foo\//, // example placeholder
/_bmad\/\.\.\./, // documentation ellipsis
/_bmad\/bmm\//, // core BMM module runtime paths
/_bmad\/gds\//, // GDS module runtime paths
/_bmad\/planning\//, // project planning artifacts
];

async function listAllFiles(dir: string): Promise<string[]> {
Expand Down Expand Up @@ -50,6 +55,9 @@ export async function checkPaths(): Promise<void> {
const ext = filePath.slice(filePath.lastIndexOf('.'));
if (!textExts.has(ext)) continue;

// Skip test fixtures — intentionally contain old-format paths
if (filePath.includes('/tests/')) continue;

const content = await Bun.file(filePath).text();
const matches = content.match(/\{project-root\}\/_bmad\/[^\s'"<>{}()`]+/g);
if (!matches) continue;
Expand Down
8 changes: 6 additions & 2 deletions scripts/lib/upstream-sources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const UPSTREAM_SOURCES: UpstreamSource[] = [
skipContentFiles: new Set(['workflow.md', 'workflow.yaml']),
agentRefMappings: {},
pluginOnlySkills: new Set(['help', 'init', 'status', 'brainstorming']),
pluginOnlyAgents: new Set(['bmad-master', 'tech-writer']),
pluginOnlyAgents: new Set(['bmad-master', 'tech-writer', 'quinn']),
sharedFileTargets: {},
pluginOnlyData: new Set(['quick-dev/data/project-levels.yaml']),
},
Expand Down Expand Up @@ -117,7 +117,11 @@ export const UPSTREAM_SOURCES: UpstreamSource[] = [
skipContentFiles: new Set(['workflow.md', 'workflow.yaml']),
agentRefMappings: {},
pluginOnlySkills: new Set(),
pluginOnlyAgents: new Set(),
pluginOnlyAgents: new Set([
'agent-builder',
'workflow-builder',
'module-builder',
]),
sharedFileTargets: {},
pluginOnlyData: new Set(),
},
Expand Down
Loading