fix(agent-safety): point threat trigger test at threat_flag table #85
Merged
wasabi opened 2 days ago

Summary

CI failed on `test_trigger_applied_to_threat` because the `threat` table (defined in `159_threatcasting.sql`) has no `status` column, so migration `350_agent_safety_triggers.sql` never attaches `trg_agent_safety` to it. `threat_flag` is the governed threatcasting table with a `status` column and already has the trigger installed.

Changes

  • `tests/test_agent_safety.py:149` — `test_trigger_applied_to_threat` → `test_trigger_applied_to_threat_flag`
  • Asserts the trigger exists on `threat_flag` (correct governed table) instead of `threat` (no status column, no trigger to test)
Commits were merged into target branch
1/1
Submitter wasabi
Target main
Source fix/agent-safety-threat-flag-trigger-test
Jobs
Merge Strategy
Create Merge Commit
Watchers (1)
Reference
pull request KI-85
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover