feat(FN-3321): add agent self-improvement service and heartbeat evaluation

This merge delivers agent self-improvement (FN-3321) — adding evaluation identity tools, wiring evaluation into the heartbeat loop, implementing a self-improvement service, and providing test coverage. It also expands the dashboard guide view with regression tests, adds org chart full-view mode with

Fusion-Task-Id: FN-3321
This commit is contained in:
Fusion
2026-05-05 03:44:01 -07:00
committed by gsxdsm
parent 02a0c48bad
commit 499417bc8e
14 changed files with 667 additions and 16 deletions

View File

@@ -3580,6 +3580,12 @@ export interface AgentHeartbeatConfig {
heartbeatTimeoutMs?: number;
/** Max concurrent heartbeat runs per agent (default: 1). Min: 1 */
maxConcurrentRuns?: number;
/** Whether periodic self-improvement is enabled (default: true) */
selfImproveEnabled?: boolean;
/** Interval between self-improvement cycles in ms (default: 14400000 = 4h). Min: 3600000 (1h) */
selfImproveIntervalMs?: number;
/** ISO timestamp of last self-improvement run */
lastSelfImproveAt?: string;
/**
* How this agent responds to incoming messages.
* "immediate" triggers a heartbeat run when a message arrives.