Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
fix(core): preserve recorded CPU owner during unavailable scan [A6,H16]
Corey Olson8f281586b2ca
diff --git a/src/health-sentinel.js b/src/health-sentinel.jsindex 84748fa3..b6f7980a 100644--- a/src/health-sentinel.js+++ b/src/health-sentinel.js@@ -20,7 +20,7 @@ export function scanHealthSentinel(file, { root, config, now, cpu = agentCpuFindconst report = healthReport({ db, root, config, now });const last = db.prepare("SELECT event_detail FROM event WHERE event_kind = 'health-scan' ORDER BY event_id DESC LIMIT 1").get();const processes = cpu(db);- report.stuck.push(...(processes ?? (last ? JSON.parse(last.event_detail).active : []).filter(finding => finding.cause === 'AGENT_CPU')));+ report.stuck.push(...(processes ?? (last ? JSON.parse(last.event_detail).active : []).filter(finding => finding.cause === 'AGENT_CPU').map(finding => ({ ...finding, owner: { who: finding.owner } }))));const before = (last ? JSON.parse(last.event_detail).active : []).map(healthFindingIdentity).sort();const after = normalizedHealthFindings(report.stuck).map(healthFindingIdentity).sort();db.exec('COMMIT');