Skip to content

feat(runtime): live observability (hooks passthrough) + the route-rigor auditor (auditIntent)#216

Merged
drewstone merged 1 commit into
mainfrom
feat/live-observability
Jun 10, 2026
Merged

feat(runtime): live observability (hooks passthrough) + the route-rigor auditor (auditIntent)#216
drewstone merged 1 commit into
mainfrom
feat/live-observability

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Two seams for the online layer: (1) RunAgenticOptions.hooks — the Supervisor lifecycle stream passes through runAgentic so watchdogs/tree-views subscribe to RUNNING loops; flywheel streams per-task lines. (2) auditIntent — the route-rigor analyst: infers the trajectory's REVEALED intent and compares against declared/user/meta intents → aligned|drifting|diverged + continue|steer|abort with evidence. Firewalled (trace-only ⇒ zero check-leakage ⇒ always safe online). Live-verified: caught a busy-but-wrong-route trajectory as diverged/abort @0.98 with grounded evidence.

…ent)

Online observability: RunAgenticOptions.hooks — the Supervisor lifecycle stream
(every spawn/settle: shots, analysts) now passes through runAgentic, so online
watchdogs/route-auditors/tree-views subscribe to a RUNNING loop, not just its report.
flywheel-run streams per-task lines on every phase (the onTask seam).

auditIntent — the route-rigor analyst, a different failure class from observe():
an agent can execute flawlessly down the WRONG ROUTE and no score sees it until
budget is gone. The auditor reads ONLY the trajectory + the intents (declared task /
user contract / loop meta-intent), infers the REVEALED intent from the action
pattern, and returns {verdict: aligned|drifting|diverged, evidence, recommendation:
continue|steer|abort, steer?}. Firewalled like every analyst (zero check-leakage —
always Goodhart-safe to run online). Runs between shots, as a stream watchdog
(abort-and-refund composes with the conserved pool: killing a doomed rollout buys
more attempts), or post-hoc over a BenchmarkReport (the meta-intent pass).

Verified live: a busy-but-wrong-route trajectory (task: escalate INC-7; agent:
cosmetic edits on unrelated tickets) -> diverged / abort / 0.98 confidence with
trajectory-grounded evidence.
@drewstone drewstone merged commit ea5743a into main Jun 10, 2026
@drewstone drewstone deleted the feat/live-observability branch June 10, 2026 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant