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
4 changes: 2 additions & 2 deletions agents/exploration-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const repoMap = require(path.join(pluginRoot, 'lib/repo-map'));
const map = repoMap.load(process.cwd());

if (!map) {
console.log('Repo map not found. Consider: /repo-map init');
console.log('Repo map not found. Consider: /repo-intel init');
} else {
console.log(`Repo map loaded: ${Object.keys(map.files).length} files, ${map.stats.totalSymbols} symbols`);
}
Expand Down Expand Up @@ -109,7 +109,7 @@ if (fs.existsSync(mapFile)) {

console.log(`Repo intel loaded: hotspots=${repoIntel.hotspots?.length || 0}, bugspots=${repoIntel.bugspots?.length || 0}`);
} else {
console.log('Repo intel not found. Consider: /git-map build');
console.log('Repo intel not found. Consider: /repo-intel init');
}
```

Expand Down
2 changes: 1 addition & 1 deletion agents/implementation-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const map = repoMap.load(process.cwd());
if (map) {
console.log(`Repo map loaded: ${map.stats.totalSymbols} symbols`);
} else {
console.log('Repo map not found. Consider /repo-map init for faster lookups.');
console.log('Repo map not found. Consider /repo-intel init for faster lookups.');
}
```

Expand Down
10 changes: 5 additions & 5 deletions agents/planning-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const repoMap = require(path.join(pluginRoot, 'lib/repo-map'));
const map = repoMap.load(process.cwd());

if (!map) {
console.log('Repo map missing. Suggest /repo-map init if needed.');
console.log('Repo map missing. Suggest /repo-intel init if needed.');
}
```

Expand Down Expand Up @@ -201,19 +201,19 @@ If the exploration output includes repo-intel data (hotspots, bugspots, coupling
const { getPluginRoot } = require('./lib/cross-platform');
const path = require('path');

const pluginRoot = getPluginRoot('git-map');
const pluginRoot = getPluginRoot('repo-intel');
let repoIntel = null;

if (pluginRoot) {
try {
const queries = require(path.join(pluginRoot, 'lib/git-map/queries'));
const queries = require(path.join(pluginRoot, 'lib/repo-intel/queries'));
repoIntel = queries;
console.log('[OK] repo-intel available - augmenting risk assessment');
} catch {
console.log('[WARN] git-map plugin found but queries failed to load');
console.log('[WARN] repo-intel plugin found but queries failed to load');
}
} else {
console.log('[WARN] git-map plugin not installed - using heuristic risk assessment only');
console.log('[WARN] repo-intel plugin not installed - using heuristic risk assessment only');
}
```

Expand Down
Loading