WorkSignalProbe typedef

WorkSignalProbe = Future<GateOutcome> Function(String workspaceDir)

The engine's WORK-SIGNAL seam: whether the workspace at workspaceDir still holds UNCOMMITTED work. The engine knows this in CONCEPT ("what a finished turn leaves behind"); the concrete probe is the COMPOSER's opinion — it binds this to its own source-control service (ADR-0008 D5: the engine names no VCS, and holds no worktree-layout opinion). Reuses GateOutcome so the fence inherits ADR-0006 D3's ratified fail-closed-on-probe-error posture verbatim.

Implementation

typedef WorkSignalProbe = Future<GateOutcome> Function(String workspaceDir);