feat: add context-engine host capability requirements (#84994)

* feat(context-engine): add host capability requirements

* fix(context-engine): advertise pi host capabilities

* fix: repair incompatible context engine slots
This commit is contained in:
Josh Lehman
2026-05-22 10:28:08 -04:00
committed by GitHub
parent 9d24fde283
commit cff5244a5b
27 changed files with 1154 additions and 4 deletions
+4
View File
@@ -134,6 +134,10 @@ Lossless remains supported as a context engine. Configure it through
`compaction.provider: "lossless-claw"` shape to the Lossless context-engine slot
when Codex is the active runtime.
The native Codex app-server harness supports context engines that require
pre-prompt assembly. Generic CLI backends, including `codex-cli`, do not provide
that host capability.
When the active context engine reports `ownsCompaction: true`, `/compact` runs
that engine's compaction lifecycle and invalidates the bound Codex app-server
thread. The next Codex turn starts a fresh backend thread and rehydrates it from