unsupportedpastels
4e0806d5dc
fix(approval): skip the execute_code gate only while an approving viewer is attached
...
The exemption's last condition, a notifier registered for the bound session
key, holds for every gateway session turn: TurnRunner registers it whether
or not a viewer is attached. It only told side tasks apart and did not show
that anyone could answer. A viewer's queued turn that ran after the viewer
detached still skipped the whole-script gate, so non-terminal() code in the
script ran unprompted while its terminal() prompts timed out.
The attached-viewer records are reachable without a new protocol: the live
session that execute_admission binds for a viewer turn holds its
subscribers, the same records the approval resolver checks
(SessionAuthority accepts an approval answer only from an attached
subscriber holding session:approve) and the local clarify path already
reads. approval_context.is_viewer_turn_with_approver() now also requires
such a subscriber at gate time; a read-only viewer or nobody attached keeps
the whole-script gate. The notifier check stays, documented as what it is:
it tells side tasks apart, not that a human is present.
Tests: a viewer turn with nobody or only a read-only viewer attached gets the
whole-script prompt and a denied script never runs, and a viewer's turn
submitted after it detached keeps the gate in the real drain (both failed
before this change: the script ran / the gate was skipped).
Refs #134889 (T2)
Refs #139523
2026-10-16 19:42:20 -04:00
..
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-06 14:22:13 -07:00
2026-10-08 17:22:54 +02:00
2026-10-15 22:12:28 +02:00
2026-10-07 10:57:32 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 14:22:13 -07:00
2026-10-08 03:50:22 -07:00
2026-10-08 00:49:32 -07:00
2026-10-08 21:38:54 -07:00
2026-10-11 19:27:06 +02:00
2026-10-16 05:44:47 -07:00
2026-10-10 17:47:35 -07:00
2026-10-16 07:09:45 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 17:47:35 -07:00
2026-10-12 03:18:48 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-16 07:43:02 -07:00
2026-10-16 06:22:39 -07:00
2026-10-10 17:47:35 -07:00
2026-10-10 22:49:21 -07:00
2026-10-08 09:10:28 -07:00
2026-10-08 12:09:24 -07:00
2026-10-10 17:47:35 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-15 22:12:28 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 04:36:02 -07:00
2026-10-08 17:22:54 +02:00
2026-10-15 09:25:53 -07:00
2026-10-15 05:23:51 -07:00
2026-10-10 15:20:14 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-12 17:31:39 +05:30
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 17:13:33 -04:00
2026-10-15 21:17:23 +02:00
2026-10-10 13:29:32 -07:00
2026-10-10 15:20:13 +02:00
2026-10-11 15:00:29 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-06 14:22:13 -07:00
2026-10-12 22:25:50 -05:00
2026-10-16 17:42:48 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:22:03 +02:00
2026-10-05 17:20:30 -07:00
2026-10-06 22:54:13 -07:00
2026-10-02 20:30:25 -05:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 23:49:41 -05:00
2026-10-09 17:31:52 +02:00
2026-10-13 01:35:42 +05:30
2026-10-14 02:14:52 +05:30
2026-10-13 01:35:42 +05:30
2026-10-14 02:14:52 +05:30
2026-10-13 01:35:42 +05:30
2026-10-13 01:35:42 +05:30
2026-10-13 01:35:42 +05:30
2026-10-07 01:01:14 +05:30
2026-10-13 23:55:11 +05:30
2026-10-13 01:35:42 +05:30
2026-10-13 01:35:42 +05:30
2026-10-14 00:32:21 +05:30
2026-10-10 15:20:13 +02:00
2026-10-14 00:06:58 +05:30
2026-10-08 19:22:03 +02:00
2026-10-07 01:01:14 +05:30
2026-10-08 19:22:03 +02:00
2026-10-06 14:22:13 -07:00
2026-10-08 03:50:22 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:14 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-05 16:40:38 -05:00
2026-10-02 20:24:30 -05:00
2026-10-16 05:44:47 -07:00
2026-10-08 19:22:03 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-11 11:55:56 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:14 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-05 16:46:53 -05:00
2026-10-08 19:22:03 +02:00
2026-10-12 13:41:29 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-16 19:42:20 -04:00
2026-10-10 15:20:13 +02:00
2026-10-12 22:25:50 -05:00
2026-10-08 19:22:03 +02:00
2026-10-09 17:31:52 +02:00
2026-10-10 15:20:14 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-15 22:12:27 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:22:03 +02:00
2026-10-12 13:41:29 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 19:22:03 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 12:09:24 -07:00
2026-10-12 13:41:29 -04:00
2026-10-08 19:22:03 +02:00
2026-10-04 00:08:20 -07:00
2026-10-08 17:22:54 +02:00
2026-10-05 01:15:16 -07:00
2026-10-09 15:36:14 -04:00
2026-10-08 17:22:54 +02:00
2026-10-09 15:36:14 -04:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:22:03 +02:00
2026-10-06 15:39:24 +00:00
2026-10-10 15:20:13 +02:00
2026-10-13 22:51:07 -04:00
2026-10-13 16:31:45 -04:00
2026-10-10 15:20:14 +02:00
2026-10-11 16:53:57 -07:00
2026-10-05 16:42:57 -05:00
2026-10-16 14:19:22 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-14 00:32:21 +05:30
2026-10-12 18:25:59 -07:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-04 00:08:20 -07:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:31:52 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 22:54:13 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-16 18:37:22 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 11:41:50 -05:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-13 04:04:33 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-13 22:51:07 -04:00
2026-10-10 15:20:14 +02:00
2026-10-06 14:24:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-12 21:34:11 -04:00
2026-10-13 01:04:38 -07:00
2026-10-12 19:13:09 -07:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-10-15 22:25:22 +02:00
2026-10-15 05:23:51 -07:00
2026-10-06 22:54:13 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:14 +02:00
2026-10-08 17:22:54 +02:00
2026-10-14 20:38:07 -04:00
2026-10-08 17:22:54 +02:00
2026-10-03 09:38:33 -07:00
2026-10-11 04:37:57 -07:00
2026-10-05 00:23:05 -07:00
2026-10-08 19:22:03 +02:00
2026-10-11 19:31:36 -07:00
2026-10-09 17:34:38 +02:00
2026-10-06 00:00:57 -04:00
2026-10-10 17:59:08 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-03 17:03:54 -04:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-05 20:08:11 +05:30
2026-10-16 07:09:45 -07:00
2026-10-08 17:22:54 +02:00
2026-10-16 14:19:55 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 17:59:08 -07:00
2026-10-10 17:59:08 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-13 16:27:55 -04:00
2026-10-08 17:22:54 +02:00
2026-10-04 00:08:20 -07:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-10-04 00:08:20 -07:00
2026-10-16 07:09:45 -07:00
2026-10-10 17:59:08 -07:00
2026-10-09 10:24:04 -07:00
2026-10-16 17:49:54 -04:00
2026-10-13 23:55:10 +05:30
2026-10-14 00:06:58 +05:30
2026-10-14 00:06:58 +05:30
2026-10-10 15:20:13 +02:00
2026-10-16 07:09:45 -07:00
2026-10-07 06:48:09 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 21:29:48 +02:00
2026-10-07 02:27:40 -07:00
2026-10-15 21:01:31 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 02:36:34 -07:00
2026-10-05 15:56:28 -07:00
2026-10-09 13:58:16 -07:00
2026-10-15 22:12:28 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-04 02:54:56 +05:30
2026-10-16 15:21:07 -04:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-11 16:53:57 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-06 12:08:49 -07:00
2026-10-05 20:08:11 +05:30
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 09:53:34 -04:00
2026-10-16 15:03:56 -07:00
2026-10-09 17:31:52 +02:00
2026-10-13 23:55:10 +05:30
2026-10-14 00:29:12 +05:30
2026-10-07 01:02:34 +05:30
2026-10-06 12:08:49 -07:00
2026-10-05 16:40:15 -05:00
2026-10-06 12:08:49 -07:00
2026-10-06 12:50:31 -07:00
2026-10-08 17:22:54 +02:00
2026-10-05 12:37:46 -04:00
2026-10-06 12:08:04 -05:00
2026-10-08 17:22:54 +02:00
2026-10-02 18:35:34 -05:00
2026-10-08 17:22:54 +02:00
2026-10-09 02:34:03 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 00:52:41 -07:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:14 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 12:08:49 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-02 18:35:45 -05:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-14 00:32:21 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-04 00:10:54 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:31:52 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-02 21:12:48 -05:00
2026-10-03 23:43:03 -04:00
2026-10-08 17:22:54 +02:00
2026-10-12 19:13:09 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 14:22:13 -07:00
2026-10-08 17:22:54 +02:00