config-audit/hooks/scripts/backup-before-change.mjs
Kjell Tore Guttormsen caee558e79 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>
2026-04-08 08:58:35 +02:00

18 lines
551 B
JavaScript

#!/usr/bin/env node
// Backup script for config-audit plugin
// Creates timestamped backups of config files before modification
// Usage: node backup-before-change.mjs <file1> [file2] ...
import { createBackup } from '../../scanners/lib/backup.mjs';
const files = process.argv.slice(2);
if (files.length === 0) {
process.stderr.write('Usage: node backup-before-change.mjs <file1> [file2] ...\n');
process.exit(1);
}
const { backupId, backupPath } = createBackup(files);
console.log(`Backup complete: ${backupPath}`);
console.log(backupPath);