Specify native DING and Codex app-server delivery - #242
Closed
myobie wants to merge 15 commits into
Closed
Conversation
This was referenced Aug 11, 2026
This was referenced Aug 12, 2026
25 tasks
Contributor
Author
|
Closing. Native DING delivery shipped and every agent on the fleet runs on it, so this draft specifies a decision that is already made and in production. Closed by Silber.cos on Nathan's word, 2026-08-24. Reopen if the spec is wanted as documentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
deliver "mcp"anddeliver "app-server"selection while preserving legacydingunknownand cross-transport results incomparable; no numeric threshold is inventeddeliver "mcp"parses but has no production Claude adapter or legacy sidecar and must not be deployedReview order
The fifteen commits preserve the original specification history and add ten isolated corrections:
This additive branch starts at current
main. #232 remains separate and unchanged because it specifies and probes the Claude channel; it is not the production adapter.Validation
At exact head
490827a:37a14dagit diff --check origin/main..HEADcargo test --locked --test invariants: 1 passedThe prior
9c86a40head passed hosted Nix in run 31534268653. The corrected shared-config headbb359f9passed hosted Nix in run 31538410811 (11m 20s). The diagnostic head52dbccfpassed hosted Nix in run 31540402056 (11m 36s). Exact-head29f6c07passed hosted Nix in run 31542577050 (8m 34s; job 93948099905, 2026-08-11 22:28:44Z–22:37:18Z). Exact-headf853e20passed hosted Nix in run 31544695285 (11m 30s; job 93954572200, 2026-08-11 22:59:43Z–23:11:13Z). Exact-heade6ecc84passed hosted Nix in run 31546505708 (11m 40s; job 93960059074, 2026-08-11 23:26:55Z–23:38:35Z). Exact-head490827apassed hosted Nix in run 31548735128 (8m 24s; job 93966613091, 2026-08-12 00:02:14Z–00:10:38Z). The live Codex 0.146 scratch proved real native reconcile, idle wake, behavioral busy-window delivery without visible corruption, agent-owned archive settlement, and checked teardown with legacy controls unchanged. The first capture inspected the PTY record instead of the adapter's hash-keyed state directory, so exact same-turn identity and its client receipt remain an open provider evidence gate. Codex also disabled project-local hooks because app-server did not receive the authored project-trust override; native transport does not depend on those hooks. The corrected r2 scratch then timed out after publishing its runtime incarnation and before thread binding, restored the original declaration, and preserved all controls. The exact diagnostic trace then provedresumeSelected=true, a connected and initialized control socket, a started TUI, and a fixed 30-second expiry only at resumed-thread binding. This head now requires the initialized control client to resume the recorded thread after TUI spawn and bind only from that exact successful response; it must not wait for a provider notification that resume does not promise. Representative hook loading and exact same-turn/client capture remain the provider gate. External catalog synchronization later rematerialized only the inert scratch declaration after a local move; no process or runnable Silber task returned, and sync-aware cleanup remains separate.R3 proved that the response-driven control resume can bind the preserved thread to the new runtime incarnation, but READY-BOOT and the SessionStart canary were absent. Exact provider source rejects the proposed interpretation that resume intentionally skips the prompt and hook. This head therefore requires a typed
thread/loaded/listobservation before control resume and separately requires live proof that the resumed TUI consumed its authored prompt and ran itsSessionStartresume hook. R4 then showed that equal 30-second inner and outer deadlines let the generic outer binding error mask the provider-specific loaded-thread result. Its clean restore and zero-byte app-server log change do not establish provider or trust behavior. This head requires the inner result to reach the wrapper trace first. R5 proved that correction and exposed the real blocker: Codex 0.146 displayed an interactive hook-review prompt before its own remote resume. Exact provider source intentionally suppresses hook-trust bypass for persistent remote resume, independent of argv placement; current upstream main retains that rule. Startup-only R6 at implementation head2b06652then passed the contract: preflight projected four hooks and exited before final launch; the TUI did not stop at hook review;tuiThreadLoaded,threadBound, READY-BOOT, and the SessionStart canary all appeared; the preserved thread bound one new subscribed incarnation; and user configuration remained byte-identical with no persisted hook trust. The packet's later hold crossed teardown after the pass. A post-release implementation walk found an overbroad detector for a different prompt-after---shape. The tested declaration genuinely authored the root flag, so the pass remains valid for this contract. Final implementation headb97ea8fnarrows authorization to parsed root options, adds a rejecting regression, and is exact-head hosted-green. C2 and production stay held.This pull request remains draft for Nathan's review.