$ the-wire · showcase
Hypervisor event queries stop returning everything on limit=0
By RepoJournal · Filed · About Agent Security · Composed from the cited sources · methodology
Two upstream fixes in microsoft/agent-governance-toolkit tighten behavior operators can already hit: event queries with a zero limit and task failure transitions that wrote errors onto finished tasks.
fix(agent-hypervisor): return no events for an event query limit of 0 (#4491) microsoft/agent-governance-toolkit
HypervisorEventBus.query kept the trailing events with results[-limit:], and because results[-0:] is the whole list, a limit of 0 returned every matching event; a negative limit instead silently dropped the oldest ones. It now returns an empty list for 0, raises ValueError for a negative limit, and GET /api/v1/events rejects limit < 0, so any dashboard or exporter that passed 0 meaning "none" n...
fix(a2a-protocol): keep a task's error when fail() is rejected (#4488) microsoft/agent-governance-toolkit
TaskEnvelope.fail set error before checking the transition, so failing an already complete, failed or canceled task raised ValueError but overwrote error anyway, leaving a completed task serialised with an error and a failed task stripped of its original one. The transition is now checked first and error is set only once the task is failed, which matters to any consumer reading error off task p...