Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

560 B
Raw Blame
#!/usr/bin/env node
import { localReviewLifecycle } from '../lib/localReviewLifecycle.js';

try {
  const [action, base, value] = process.argv.slice(2);
  const result = await localReviewLifecycle(process.cwd(), {
    action, base: base || undefined,
    ...(action === 'complete' ? { status: value } : { prUrl: value || '' }),
  });
  process.stdout.write(`${JSON.stringify(result)}\n`);
} catch {
  process.stderr.write('Local review lifecycle evidence is missing, invalid or belongs to another delivery; preserve it and stop.\n');
  process.exitCode = 1;
}