mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-09-29 11:32:19 +02:00
fix(agent): close approval continuation gaps
This commit is contained in:
@@ -104,6 +104,15 @@ def test_new_session_approval_supersedes_prior_pending_action():
|
||||
assert store.peek(second.approval_id) == second
|
||||
|
||||
|
||||
def test_independent_headless_runs_do_not_supersede_each_other():
|
||||
store = ToolApprovalStore()
|
||||
first = _pending(store, session_id=None, origin_run_id="headless-1")
|
||||
second = _pending(store, session_id=None, origin_run_id="headless-2")
|
||||
|
||||
assert store.peek(first.approval_id) == first
|
||||
assert store.peek(second.approval_id) == second
|
||||
|
||||
|
||||
def test_public_payload_shows_complete_action_but_not_authority_fields():
|
||||
store = ToolApprovalStore()
|
||||
pending = _pending(
|
||||
|
||||
Reference in New Issue
Block a user