Add /ultraresearch-local for structured research combining local codebase analysis with external knowledge via parallel agent swarms. Produces research briefs with triangulation, confidence ratings, and source quality assessment. New command: /ultraresearch-local with modes --quick, --local, --external, --fg. New agents: research-orchestrator (opus), docs-researcher, community-researcher, security-researcher, contrarian-researcher, gemini-bridge (all sonnet). New template: research-brief-template.md. Integration: --research flag in /ultraplan-local accepts pre-built research briefs (up to 3), enriches the interview and exploration phases. Planning orchestrator cross-references brief findings during synthesis. Design principle: Context Engineering — right information to right agent at right time. Research briefs are structured artifacts in the pipeline: ultraresearch → brief → ultraplan --research → plan → ultraexecute. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
1,007 B
JavaScript
30 lines
1,007 B
JavaScript
// Temporary probe — delete after debugging
|
|
import { execFile } from 'node:child_process';
|
|
const SCRIPT = '/Users/ktg/.claude/plugins/marketplaces/plugin-marketplace/plugins/llm-security/hooks/scripts/pre-edit-secrets.mjs';
|
|
|
|
// Fake AWS key
|
|
const awsKeyId = 'AKIA' + 'IOSFODNN7EXAMPLE';
|
|
|
|
async function test(filePath) {
|
|
return new Promise(resolve => {
|
|
const child = execFile('node', [SCRIPT], {timeout:5000}, (err, stdout, stderr) => {
|
|
resolve({ code: child.exitCode, filePath, stderr: stderr.split('\n')[0] });
|
|
});
|
|
const payload = { tool_name: 'Write', tool_input: { file_path: filePath, content: `key = "${awsKeyId}"` } };
|
|
child.stdin.end(JSON.stringify(payload));
|
|
});
|
|
}
|
|
|
|
const paths = [
|
|
'knowledge/aws-docs.md',
|
|
'/project/knowledge/aws-docs.md',
|
|
'tests/config.test.mjs',
|
|
'tests/config.test.js',
|
|
'config.example',
|
|
'src/config.example.js',
|
|
];
|
|
|
|
for (const p of paths) {
|
|
const r = await test(p);
|
|
console.log('exit=' + r.code, JSON.stringify(p), r.stderr || '');
|
|
}
|