feat(rules): add OAI-112, PYD-106 execution-limit rules - #47
Merged
ivanpaghubasan merged 1 commit intoAug 20, 2026
Merged
Conversation
Closes the execution-limit coverage gap for OpenAI Agents SDK and Pydantic AI, using the new agent_run_call_max_turns_missing and agent_run_call_usage_limits_missing predicates (merged in the trustabl engine, feat/openai-pydantic-execution-limit-discovery). - OAI-112: agent has no explicit max_turns set at the Runner.run/run_sync/run_streamed call site - PYD-106: agent has no explicit usage_limits set at the agent.run/run_sync/run_stream call site — Pydantic AI's default UsageLimits() caps request count but leaves token/ cost usage unbounded, the specific risk this rule flags Both severity low, confidence 0.6, matching the established calibration for this finding class (LC-102, CREW-110, CSDK-204). Default-value claims deliberately hedged where SDK docs and source conflicted, rather than asserting an unverified number. Mirrored into the engine fixture per the sync obligation. 206 total rules, validated under schema version 14.
sairenchristianbuerano
approved these changes
Aug 20, 2026
ivanpaghubasan
marked this pull request as ready for review
August 20, 2026 05:24
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.
Closes the execution-limit coverage gap for OpenAI Agents SDK and Pydantic AI, using the new agent_run_call_max_turns_missing and agent_run_call_usage_limits_missing predicates (merged in the trustabl engine, feat/openai-pydantic-execution-limit-discovery).
Both severity low, confidence 0.6, matching the established calibration for this finding class (LC-102, CREW-110, CSDK-204). Default-value claims deliberately hedged where SDK docs and source conflicted, rather than asserting an unverified number.
Mirrored into the engine fixture per the sync obligation. 206 total rules, validated under schema version 14.