feat(ultraplan-local): v1.6.0 — /ultraresearch-local deep research command
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>
This commit is contained in:
commit
f153f969a0
196 changed files with 43854 additions and 0 deletions
37
scanners/supply-chain-recheck-cli.mjs
Normal file
37
scanners/supply-chain-recheck-cli.mjs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#!/usr/bin/env node
|
||||
// CLI wrapper for supply-chain-recheck scanner
|
||||
// Usage: node supply-chain-recheck-cli.mjs <target-path>
|
||||
// Outputs JSON to stdout. Exit codes: 0=ok, 1=warning, 2=block, 3=error
|
||||
|
||||
import { resolve } from 'node:path';
|
||||
import { existsSync } from 'node:fs';
|
||||
import { resetCounter } from './lib/output.mjs';
|
||||
import { scan } from './supply-chain-recheck.mjs';
|
||||
import { riskScore, verdict } from './lib/severity.mjs';
|
||||
|
||||
const target = process.argv[2];
|
||||
if (!target) {
|
||||
console.error('Usage: node supply-chain-recheck-cli.mjs <target-path>');
|
||||
process.exit(3);
|
||||
}
|
||||
|
||||
const targetPath = resolve(target);
|
||||
if (!existsSync(targetPath)) {
|
||||
console.error(`Target path does not exist: ${targetPath}`);
|
||||
process.exit(3);
|
||||
}
|
||||
|
||||
resetCounter();
|
||||
const result = await scan(targetPath, { files: [] });
|
||||
|
||||
// Add aggregate info matching orchestrator format
|
||||
const counts = result.counts;
|
||||
const score = riskScore(counts);
|
||||
const verd = verdict(counts);
|
||||
result.aggregate = { risk_score: score, verdict: verd };
|
||||
|
||||
process.stdout.write(JSON.stringify(result, null, 2) + '\n');
|
||||
|
||||
if (verd === 'BLOCK') process.exit(2);
|
||||
if (verd === 'WARNING') process.exit(1);
|
||||
process.exit(0);
|
||||
Loading…
Add table
Add a link
Reference in a new issue