Adam Perry @ OpenAI
42312d4ff4
Enforce required environment skills before model inference ( #51157 )
...
## What changed
- Accept per-environment `skills.required` lists through `environment/add` and `environments.toml`.
- Before inference, require each named skill to be enabled and supplied by the selected environment. Missing skills fail the turn before a model request, including when environment setup fails.
- Stop applying an environment's requirements after it is deselected. Exempt isolated Guardian reviewers, which have no skill catalog.
## Testing
Add tests for available, missing, disabled, and wrong-environment skills, failed environment setup, recovery after deselection, and propagation of TOML requirements to the correct environment.
GitOrigin-RevId: 302ced4774697d2f414f745fe0535e71f747eda2
2026-10-05 18:54:17 +00:00
..
2026-10-01 15:57:53 +00:00
2026-10-02 04:25:52 +00:00
2026-10-05 18:54:17 +00:00
2026-10-01 18:05:05 +00:00
2026-09-26 23:17:41 +00:00
2026-08-15 03:00:35 +00:00
2026-10-02 23:54:32 +00:00
2026-10-02 04:25:52 +00:00
2026-07-21 08:59:41 +00:00
2026-09-23 00:48:53 +00:00
2026-09-23 22:20:34 +00:00
2026-09-03 20:01:07 +00:00
2026-09-23 19:37:16 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-08-20 18:48:17 +00:00
2026-09-23 00:48:53 +00:00
2026-10-05 18:54:17 +00:00
2026-09-23 00:48:53 +00:00
2026-09-04 23:06:00 +00:00
2026-09-27 00:01:17 +00:00
2026-09-29 04:38:37 +00:00
2026-10-01 13:57:48 +00:00
2026-09-29 04:38:37 +00:00
2026-10-05 18:54:17 +00:00
2026-10-05 18:54:17 +00:00
2026-08-21 17:21:30 +00:00
2026-10-05 18:54:17 +00:00
2026-06-17 17:20:53 -07:00
2026-06-17 17:20:53 -07:00
2026-10-05 18:54:17 +00:00
2026-10-05 18:54:17 +00:00
2026-10-02 03:31:52 +00:00
2026-10-02 04:25:52 +00:00
2026-09-02 21:58:58 +00:00
2026-08-18 18:15:21 +00:00
2026-10-02 04:25:52 +00:00
2026-10-02 04:25:52 +00:00
2026-10-02 04:25:52 +00:00
2026-09-26 23:17:41 +00:00
2026-10-01 00:48:08 +00:00
2026-08-20 08:10:08 +00:00
2026-09-30 18:18:03 +00:00
2026-10-02 04:25:52 +00:00
2026-10-02 04:25:52 +00:00
2026-10-01 12:41:39 +00:00
2026-07-25 16:03:00 +00:00
2026-07-25 16:03:00 +00:00
2026-06-15 17:39:00 -07:00
2026-07-21 13:39:33 +00:00
2026-09-26 23:17:41 +00:00
2026-09-28 23:21:26 +00:00
2026-09-23 22:10:28 +00:00
2026-09-13 06:07:03 +00:00
2026-08-18 13:36:16 +00:00
2026-10-02 04:25:52 +00:00
2026-09-26 23:17:41 +00:00
2026-06-15 17:39:00 -07:00
2026-09-26 23:17:41 +00:00
2026-10-01 00:43:55 +00:00
2026-09-17 04:37:54 +00:00
2026-09-23 19:37:16 +00:00
2026-07-30 19:23:33 +00:00
2026-10-02 23:54:32 +00:00
2026-07-20 13:45:29 +00:00
2026-09-04 23:06:00 +00:00
2026-09-29 18:34:48 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-09-23 22:10:28 +00:00
2026-09-29 18:34:48 +00:00
2026-09-26 23:17:41 +00:00
2026-09-17 18:20:28 +00:00
2026-10-02 04:25:52 +00:00
2026-09-26 23:17:41 +00:00
2026-10-02 04:25:52 +00:00
2026-09-26 23:17:41 +00:00
2026-09-25 12:23:15 +00:00
2026-09-25 12:23:15 +00:00
2026-10-01 00:48:08 +00:00
2026-09-25 12:23:15 +00:00
2026-10-01 00:48:08 +00:00
2026-09-09 17:03:57 +00:00
2026-06-25 13:42:40 -07:00
2026-08-17 20:36:10 +00:00
2026-07-01 14:15:34 -07:00
2026-07-01 14:15:34 -07:00