Ben Barclay
ad90be9b08
fix(scope): terminal policies name their owner; binds copy what they keep
...
Round-2 review findings:
- A raw terminal mapping could still replace the bound profile's policy with
another profile's. Raw policies now go through bind_terminal_policy(policy,
profile_home=...): inside a bound scope only the bound agent's own policy is
accepted. The four callers pass the session's owning profile.
- A partial bind (home_override=False) inherited the home override from an
earlier change, so resetting that change took it away. A bind now copies the
pieces it keeps, so it is whole on its own.
- bind_state switched directly between hosted agents and tenants. Inside a
hosted scope only a bind of the same tenant and agent is allowed.
- Setters whose tokens are discarded grew the state chain without bound. Changes
that can no longer be reset fold together on the next push.
- A cross-profile install_profile_terminal_scope dropped its env_overlay.
- HX016 flagged a bare 'from . import set_secret_scope', whose module it cannot
know.
- The TUI heap-trim ordering test observes the whole-profile release.
2026-11-11 09:44:33 -05:00
..
2026-11-11 17:29:14 +05:30
2026-11-10 14:06:57 -08:00
2026-11-11 16:00:17 +05:30
2026-11-10 10:40:31 -05:00
2026-11-11 17:29:14 +05:30
2026-11-06 23:02:20 -05:00
2026-11-02 04:06:07 -08:00
2026-11-11 09:44:33 -05:00
2026-11-10 13:36:29 +05:30
2026-11-09 21:17:06 +01:00
2026-11-10 00:16:18 +05:30
2026-11-09 18:06:44 +05:30
2026-11-02 06:58:25 -08:00
2026-11-06 23:02:03 -05:00
2026-10-30 11:13:02 -04:00
2026-11-09 18:06:44 +05:30
2026-10-30 13:46:07 -04:00
2026-11-04 12:56:04 -05:00
2026-11-06 22:59:41 -08:00
2026-11-10 13:36:29 +05:30
2026-11-06 08:46:25 -08:00
2026-11-06 08:46:25 -08:00
2026-11-05 22:23:44 -08:00
2026-11-05 23:12:42 -08:00
2026-11-05 23:12:42 -08:00
2026-11-07 02:46:16 -05:00
2026-11-04 12:56:04 -05:00
2026-11-04 13:26:30 -08:00
2026-11-04 13:38:09 -08:00
2026-11-05 23:12:42 -08:00
2026-11-10 04:50:40 +05:30
2026-11-02 07:54:35 -08:00
2026-11-06 08:46:25 -08:00
2026-11-06 08:46:25 -08:00
2026-11-05 23:12:42 -08:00
2026-11-04 13:26:30 -08:00
2026-11-04 13:26:30 -08:00
2026-11-04 13:26:30 -08:00
2026-11-04 13:38:09 -08:00
2026-11-05 23:12:42 -08:00
2026-11-06 20:23:20 -05:00
2026-11-06 20:23:20 -05:00
2026-11-09 15:02:48 -08:00
2026-11-04 23:06:14 -08:00
2026-11-11 15:26:19 +05:30
2026-10-30 11:13:02 -04:00
2026-11-10 23:20:02 -08:00
2026-11-07 16:44:24 -08:00
2026-10-30 11:13:02 -04:00
2026-11-10 11:37:47 -05:00
2026-11-10 00:16:18 +05:30
2026-11-07 02:46:16 -05:00
2026-11-04 23:37:25 -05:00
2026-11-04 21:32:52 -08:00
2026-11-09 14:42:06 -08:00
2026-11-10 01:13:52 -08:00
2026-11-08 11:44:20 -08:00
2026-11-06 04:08:24 +01:00
2026-11-08 16:47:03 +05:30
2026-11-08 16:47:03 +05:30
2026-11-07 01:17:21 -05:00
2026-11-10 13:26:00 -08:00
2026-11-10 13:36:29 +05:30
2026-11-04 23:37:25 -05:00
2026-11-07 02:46:16 -05:00
2026-11-09 14:42:06 -08:00
2026-11-10 13:36:29 +05:30
2026-11-10 13:36:29 +05:30
2026-11-10 13:36:29 +05:30
2026-11-06 20:48:57 -05:00
2026-10-31 22:08:49 -07:00
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 15:15:48 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 17:54:05 -06:00
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-09 00:56:23 +05:30
2026-11-07 00:01:43 -05:00
2026-11-10 10:40:31 -05:00
2026-11-10 10:40:31 -05:00
2026-11-04 23:37:25 -05:00
2026-11-06 10:38:43 -05:00
2026-11-06 10:38:43 -05:00
2026-11-09 00:56:23 +05:30
2026-11-10 06:56:54 +00:00
2026-11-10 06:25:43 -06:00
2026-11-10 06:25:20 -06:00
2026-11-10 06:25:43 -06:00
2026-11-01 19:24:04 +05:30
2026-11-10 06:25:43 -06:00
2026-11-09 14:42:06 -08:00
2026-11-02 04:24:00 -08:00
2026-10-30 13:46:07 -04:00
2026-11-08 11:59:30 -08:00
2026-11-02 15:06:27 -05:00
2026-11-11 09:44:33 -05:00
2026-11-08 09:51:09 -08:00
2026-10-31 22:04:21 -07:00
2026-11-05 17:59:21 -05:00
2026-11-06 23:02:20 -05:00
2026-11-11 09:28:43 -05:00
2026-11-06 21:18:01 -08:00
2026-11-08 01:26:58 -08:00
2026-11-06 23:02:29 -05:00
2026-11-06 04:08:24 +01:00
2026-11-06 04:08:46 +01:00
2026-11-02 20:53:09 -08:00
2026-11-08 15:52:48 +05:30
2026-11-04 20:52:12 -08:00
2026-11-09 19:13:40 +01:00
2026-11-06 23:01:26 -05:00
2026-11-10 00:16:18 +05:30
2026-11-08 11:44:20 -08:00
2026-11-01 22:07:56 -08:00
2026-11-10 00:49:30 +05:30
2026-11-06 10:41:13 -05:00
2026-11-01 19:53:24 -08:00
2026-11-11 15:26:19 +05:30
2026-11-11 15:26:19 +05:30
2026-11-10 11:37:47 -05:00
2026-11-08 20:09:42 +05:30
2026-11-09 18:06:44 +05:30
2026-11-09 18:06:44 +05:30
2026-11-05 17:59:21 -05:00
2026-11-04 13:26:30 -08:00
2026-11-06 20:39:14 -08:00
2026-11-09 07:41:08 -08:00
2026-11-06 20:22:20 -05:00
2026-11-06 20:22:20 -05:00
2026-11-06 20:48:57 -05:00
2026-11-06 20:22:20 -05:00
2026-11-06 23:27:29 +05:30
2026-11-05 18:28:39 -05:00
2026-11-06 20:22:20 -05:00
2026-11-06 20:48:57 -05:00
2026-11-05 18:47:10 -05:00
2026-11-10 19:57:25 -08:00
2026-11-04 21:58:12 -08:00
2026-11-04 21:58:12 -08:00
2026-11-04 21:58:12 -08:00
2026-11-05 18:28:39 -05:00
2026-11-05 19:16:24 -05:00
2026-11-04 21:58:12 -08:00
2026-11-05 18:28:39 -05:00
2026-11-10 06:26:30 -06:00
2026-11-06 20:22:31 -05:00
2026-11-07 21:35:26 -08:00
2026-11-05 18:27:13 -05:00
2026-11-06 23:27:29 +05:30
2026-11-06 12:57:52 -05:00
2026-11-06 20:22:31 -05:00
2026-11-10 06:26:16 -06:00
2026-11-10 06:26:30 -06:00
2026-11-09 22:17:43 -05:00
2026-11-06 23:04:28 -05:00
2026-11-10 15:30:14 +05:30
2026-11-07 01:11:16 -05:00
2026-11-05 13:08:14 +05:30
2026-11-06 23:27:29 +05:30
2026-11-11 15:26:19 +05:30
2026-11-07 12:01:04 -08:00
2026-11-10 15:30:14 +05:30
2026-11-10 13:26:00 -08:00
2026-11-04 13:38:09 -08:00
2026-11-04 21:32:52 -08:00
2026-11-01 21:54:15 -08:00
2026-11-10 13:26:00 -08:00
2026-11-10 13:26:00 -08:00
2026-11-02 06:57:42 -08:00
2026-11-10 13:26:00 -08:00
2026-11-10 13:36:29 +05:30
2026-11-10 15:06:13 -08:00
2026-11-04 23:37:25 -05:00
2026-11-07 02:46:16 -05:00
2026-11-07 02:46:16 -05:00
2026-11-01 21:30:21 -08:00
2026-11-07 02:46:16 -05:00
2026-11-01 19:53:24 -08:00
2026-11-09 00:56:23 +05:30
2026-11-09 00:56:23 +05:30
2026-11-09 00:56:23 +05:30
2026-11-07 01:17:21 -05:00
2026-11-09 19:13:40 +01:00
2026-11-06 23:04:10 -05:00
2026-11-07 00:01:43 -05:00
2026-11-10 15:44:28 +01:00
2026-11-07 01:17:21 -05:00
2026-11-07 01:17:21 -05:00
2026-11-07 01:17:21 -05:00
2026-11-06 23:17:16 -05:00
2026-11-06 23:23:32 -05:00
2026-11-06 23:17:16 -05:00
2026-11-06 04:08:24 +01:00
2026-11-10 00:16:18 +05:30
2026-11-07 00:01:43 -05:00
2026-11-01 10:08:01 -08:00
2026-11-04 21:32:52 -08:00
2026-11-06 04:08:24 +01:00
2026-11-06 23:02:03 -05:00
2026-11-09 21:17:06 +01:00
2026-11-06 04:08:24 +01:00
2026-11-06 23:04:10 -05:00
2026-11-07 00:01:43 -05:00
2026-11-07 00:01:43 -05:00
2026-11-01 07:26:34 +05:30
2026-11-09 21:17:06 +01:00
2026-11-06 20:23:34 -05:00
2026-11-06 04:08:24 +01:00
2026-11-07 17:54:05 -06:00
2026-11-07 17:54:05 -06:00
2026-11-06 04:08:46 +01:00
2026-11-10 15:30:14 +05:30
2026-11-07 12:01:04 -08:00
2026-11-02 13:56:48 -05:00
2026-11-07 12:01:04 -08:00
2026-11-11 15:26:19 +05:30
2026-11-11 17:29:14 +05:30
2026-11-07 12:01:04 -08:00
2026-11-11 09:44:33 -05:00
2026-10-31 12:56:13 +05:30
2026-11-11 15:26:19 +05:30
2026-11-05 13:08:14 +05:30
2026-11-06 20:39:14 -08:00
2026-11-11 15:26:19 +05:30
2026-11-03 22:58:38 -05:00
2026-11-07 12:01:04 -08:00
2026-11-11 17:29:14 +05:30
2026-11-07 12:01:04 -08:00
2026-11-04 10:58:03 -06:00
2026-11-11 02:49:29 -06:00
2026-11-05 18:26:06 -05:00
2026-11-02 13:56:48 -05:00