feat(FN-4296): complete Step 5 — finalize sync wiring and verification fixes

Fusion-Task-Id: FN-4296
Fusion-Task-Lineage: 9d061861-547a-4905-8fdd-4b66dd7bff97
This commit is contained in:
Fusion
2026-05-14 05:33:12 -07:00
committed by gsxdsm
parent 300e023e2c
commit b5b7ca9b09
5 changed files with 12 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ import { describe, expect, it, vi } from "vitest";
import { isEphemeralAgent, type Agent, type AgentStore, type Task } from "@fusion/core";
import { SelfHealingManager } from "../self-healing";
import { SelfHealingManager } from "../self-healing.js";
function makeAgent(id: string, taskId: string, state: Agent["state"] = "active"): Agent {
return { id, state, taskId, updatedAt: new Date(Date.now() - 120_000).toISOString() } as Agent;

View File

@@ -6,7 +6,7 @@ import { join } from "node:path";
import { AgentStore, type AgentCreateInput, type Task } from "@fusion/core";
import { describe, expect, it, vi } from "vitest";
import { attachAgentLinkSync } from "../task-agent-sync";
import { attachAgentLinkSync } from "../task-agent-sync.js";
class EventedStore extends EventEmitter {
on(event: "task:moved", listener: (data: { task: Task; from: string; to: string }) => void): this {