You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4b0f434
Browse filesBrowse the repository at this point in the historyBrowse files
fix(agent): classify lease-style guard stops and check delivery liveness (#206)
A bare execution guard whose assertActive throws a plain RuntimeException
(the framework's own checkpoint lease throws LeaseLostException) no longer
degrades to a marked repair failure or escapes the delivery as an
execution error: attemptRepair re-asserts the guard before treating a
call failure as the client's own, and the graph delivery boundary
re-checks the guard to classify stop-shaped failures as INTERRUPTED.
The boundary also asserts liveness before publishing, so an already
cancelled, expired or ownership-lost run cannot deliver a COMPLETED
output even when the terminal message is schema-valid and needs no
repair. ExecutionGuard gains a default deadline() accessor (overridden
by ExecutionControl) so the repair wait is sliced only when a deadline
actually bounds it — a deadline-less guard goes back to a plain wait
instead of polling idle — and the graph bridge reuses the canonical
AgentExecutionContext scope instead of re-implementing the wrap.
Deterministic regression tests cover a lease-style guard lost during
the repair and an expired trusted deadline with a valid terminal.
Copy file name to clipboardExpand all lines: argi-agent/argi-agent-core/src/test/java/io/github/agentic/ai/agent/result/StructuredOutputFinalizerExecutionControlTest.java
Copy file name to clipboardExpand all lines: argi-orchestration/argi-agent-framework/src/main/java/io/github/agentic/ai/agent/orchestration/ReactAgent.java
Copy file name to clipboardExpand all lines: argi-orchestration/argi-agent-framework/src/test/java/io/github/agentic/ai/agent/orchestration/ReactAgentExecutionControlDeliveryTest.java
0 commit comments