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-03 05:16:04 +00:00
2026-09-21 23:06:36 +00:00
2026-10-02 23:26:27 +00:00
2026-09-03 02:09:10 +00:00
2026-09-03 02:09:10 +00:00
2026-08-05 18:09:26 +00:00
2026-09-09 03:17:48 +00:00
2026-09-04 18:30:26 +00:00
2026-09-04 18:30:26 +00:00
2026-08-21 21:41:55 +00:00
2026-08-21 21:41:55 +00:00
2026-08-11 23:31:26 +00:00
2026-09-29 13:58:09 +00:00
2026-08-03 17:29:42 +00:00
2026-06-02 13:18:59 -07:00
2026-09-04 10:12:03 +00:00
2026-08-21 21:41:55 +00:00
2026-08-21 21:41:55 +00:00
2026-08-10 11:22:55 +00:00
2026-09-30 14:37:56 +00:00
2026-10-01 04:16:43 +00:00
2026-08-07 23:43:14 +00:00
2026-08-10 11:22:55 +00:00
2026-09-10 23:08:23 +00:00
2026-09-29 16:10:27 +00:00
2026-09-29 16:10:27 +00:00
2026-09-16 14:56:47 +00:00
2026-09-16 14:56:47 +00:00
2026-08-28 23:03:05 +00:00
2026-08-09 00:57:15 +00:00
2026-08-20 20:08:11 +00:00
2026-08-20 14:13:56 +00:00
2026-08-20 14:13:56 +00:00
2026-10-02 16:37:30 +00:00
2026-10-05 18:54:17 +00:00
2026-08-20 05:24:56 +00:00
2026-07-31 16:28:22 +00:00
2026-09-29 14:46:33 +00:00
2026-09-29 14:46:33 +00:00
2026-09-24 20:39:37 +00:00
2026-08-17 16:20:52 +00:00
2026-09-24 20:39:37 +00:00
2026-09-29 13:08:37 +00:00
2026-09-24 18:09:23 +00:00
2026-09-24 18:09:23 +00:00
2026-09-10 21:41:39 +00:00
2026-09-10 21:41:39 +00:00
2026-08-24 19:52:27 +00:00
2026-09-11 00:03:40 +00:00
2026-09-11 00:03:40 +00:00
2026-09-19 00:00:01 +00:00
2026-04-30 14:26:14 -07:00
2026-09-15 23:39:40 +00:00
2026-03-25 12:57:42 -07:00
2026-09-24 19:44:50 +00:00
2026-09-24 19:44:50 +00:00
2026-08-16 20:27:05 +00:00
2026-09-05 21:28:11 +00:00
2026-07-21 18:23:26 +00:00
2026-07-21 18:23:26 +00:00
2026-08-11 10:20:54 +00:00
2026-10-05 18:54:17 +00:00
2026-09-09 17:45:17 +00:00
2026-09-29 13:58:09 +00:00
2026-10-03 05:16:04 +00:00
2026-10-03 05:16:04 +00:00
2026-06-02 13:18:59 -07:00
2026-06-02 13:18:59 -07:00
2026-10-02 23:26:27 +00:00
2026-09-20 16:16:46 +00:00
2026-10-01 06:59:13 +00:00
2026-10-01 06:59:13 +00:00
2026-10-02 06:50:10 +00:00
2026-09-22 16:34:07 +00:00
2026-10-02 06:50:10 +00:00
2026-10-04 04:25:31 +00:00