refactor: introduce TASK_SOUL.md for task-specific behavior and update related documentation

This commit is contained in:
Abhimanyu Saharan
2026-02-09 22:16:57 +05:30
parent 8f6347dc8d
commit f8860bbc71
15 changed files with 379 additions and 337 deletions

View File

@@ -230,9 +230,9 @@ def _update_agent_heartbeat(
payload: BoardGroupHeartbeatApply,
) -> None:
raw = agent.heartbeat_config
heartbeat: dict[str, Any] = (
dict(raw) if isinstance(raw, dict) else DEFAULT_HEARTBEAT_CONFIG.copy()
)
heartbeat: dict[str, Any] = DEFAULT_HEARTBEAT_CONFIG.copy()
if isinstance(raw, dict):
heartbeat.update(raw)
heartbeat["every"] = payload.every
if payload.target is not None:
heartbeat["target"] = payload.target