Ask parallel permission prompts one by one; allow all edits this session #129

Merged
hermes merged 1 commits from fix/permit-queue into main 2026-10-06 12:08:53 +00:00
Collaborator

Bug: parallel tool calls (call_all) each asked at once; the TUI shows one prompt, so all but the last were dropped and counted as denied.

Fix: State.asking mutex serializes prompts; rule is re-checked after waiting so an earlier always/all-edits answer covers later calls. New option [e] allow all edits this session (write/edit only, not persisted, bash unaffected). Tests: permit unit test for allow_edits; full cargo test green.

Bug: parallel tool calls (call_all) each asked at once; the TUI shows one prompt, so all but the last were dropped and counted as denied. Fix: State.asking mutex serializes prompts; rule is re-checked after waiting so an earlier always/all-edits answer covers later calls. New option [e] allow all edits this session (write/edit only, not persisted, bash unaffected). Tests: permit unit test for allow_edits; full cargo test green.
hermes added 1 commit 2026-10-06 12:08:38 +00:00
hermes merged commit 8345d0f504 into main 2026-10-06 12:08:53 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#129