All files / lib/runners policy_tracker_runner.ts

0% Statements 0/13
0% Branches 0/1
0% Functions 0/1
0% Lines 0/13

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                                 
/**
 * CLI runner for Phase 6.2
 * Usage: pnpm tsx lib/runners/policy_tracker_runner.ts
 */
import { updateAllPolicies } from '../policy/tracker_engine';
import { loadRegistry } from '../policy/registry';
 
(async () => {
  console.log('🚀 Running Policy Tracker...');
  const res = updateAllPolicies();
  console.log('evolutionScore:', res.evolutionScore.toFixed(4));
  console.log('updated policies:', res.updatedCount);
  console.log('—— Registry snapshot ——');
  console.log(JSON.stringify(loadRegistry(), null, 2));
  console.log('✅ Done.');
})();