Skip to content

Add regression coverage for session budget None handling - #13

Open
ghzhost wants to merge 1 commit into
kindrat86:mainfrom
ghzhost:fix-session-budget-none-bypass
Open

Add regression coverage for session budget None handling#13
ghzhost wants to merge 1 commit into
kindrat86:mainfrom
ghzhost:fix-session-budget-none-bypass

Conversation

@ghzhost

@ghzhost ghzhost commented Aug 13, 2026

Copy link
Copy Markdown

Follow-up coverage for #7 after the main branch added session_budget handling for missing/None session ids.

Summary

  • Add regression scenarios proving session_id: None transactions cannot bypass session budget evaluation.
  • Renumber the following eval-gym scenarios so ids remain unique.

Verification

  • python3 -m agentshield.eval_gym -> 57/57 passed
  • python3 tests/eval_gym.py -> 63/63 passed
  • python3 -m unittest discover -s tests -> 26 tests passed

@ghzhost
ghzhost force-pushed the fix-session-budget-none-bypass branch from 0427779 to fe0225f Compare August 13, 2026 21:56
@ghzhost ghzhost changed the title Fix session budget bypass when session_id is None Add regression coverage for session budget None handling Aug 13, 2026
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