Repository navigation
Enforce stage timeouts for default native agents - #120
Merged
Merged
Conversation
Contributor
|
@swerner RE: "a three-second fake response against a one-second budget" -- Does this mean a three second test? Sounds slow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Default native agent stages could accept a model response after their timeout: dispatch selected native API, but lowering marked the stage as handler-managed, so neither the session nor the driver enforced the deadline. Treat an omitted agent backend as executor-enforced, using the same interview-aware timer as explicit
backend="api".Add regressions for backend resolution (default, node, graph, and stylesheet), a three-second fake response against a one-second budget, and deadline cancellation of a child agent's tool shell and descendant process. Native session tests now exercise the default backend. ACP and prompt-stage policies are unchanged.
Fixes #101.
Validation:
petri-runtime::host_actions::failed_action_cleanup_preserves_the_host_workspace_until_retrytest, which does not exercise agent lowering.mise run checkgate exited successfully.Validation used fake model providers and local Docker; live Daytona credentials were unset. Downloaded compatibility corpora were not present in this checkout.