← Commit history

Record verified lifecycle results and first-run UI limitation

John Lauer ·5e8d8308dc ·28d ago ·parent 7aae933
3 files changed +54−1
bridge/PR.mdadded+47
@@ -0,0 +1,47 @@+## Summary++Add a Windows x64 Rust `codex-bridge.exe` owned by adom/codex, using the AB SDK+compiled-executable lifecycle contract. No AB core changes, Node runtime or Python+runtime. Forty verbs cover official desktop install/removal, preserved auth-cache+reuse, native app-server RPC, plugins, events/approvals and actual desktop tools.++Desktop-native tools use a PID-verified Windows named pipe with explicit endpoint+selection when ambiguous. The separate bridge-owned app-server is clearly labeled+and never presented as attachment to Windows desktop-owned active sessions.++## Verification++- `cargo test --locked`: 12 unit/mock tests and one HTTP integration test pass.+- `cargo clippy --all-targets -- -D warnings`: Linux and Windows cross-target pass.+- Windows release ZIP builds; root contains only executable and bridge.json.+- Live arav-rog: AB 2.1.72, OpenAI.Codex 26.901.6511.0, native CLI 0.153.4.+- Official Store install with explicit user agreement acceptance; package identity verified.+- Authorized cached-auth transfer, owner-only destination ACL, staging deleted;+  native account identity verified. No credential values in bridge replies/logs.+- Separate backend returned CODEX_BRIDGE_OK; actual desktop-created thread returned+  DESKTOP_BRIDGE_OK via native read_thread. Persisted reply survived reinstall.+- LaTeX plugin installed and read back enabled, then removed and read back absent.+- Desktop uninstall refused a running app; removal succeeded after closing the+  task-owned idle test process. Reinstall preserved account and native history.+- Final AB registration has one compiled-binary instance, no entry mismatch,+  stable port 63514, and a development pin. No install on AdomLapper.+- Deployed executable SHA256:+  `a636e19cbcc54b2cbd8bd77720aea1cd6782770096884f20316dd9851a0f04c8`.+- ZIP SHA256:+  `7fc759f387405871385dc2703f5eca6f05e92beeb63b285f84e31b051ae6c2f2`.++## Remaining work++The visible ChatGPT welcome screen still shows its role-confirmation step. The+app recognizes the signed-in account, and native thread/plugin communication+works, but setup/navigation acknowledgments did not prove visible onboarding+completion. Keep this PR draft until that first-run UI is resolved or accepted+as an upstream limitation. Native desktop pipe compatibility is experimental and+must be rechecked when OpenAI changes the desktop build. Worktree/automation+schemas were discovered, not destructive or recurring actions exercised.++Runtime is dev-pinned on arav-rog. The ZIP is a local candidate, not publicly+released. Publish the reviewed ZIP/update manifest and package together later;+do not merge or promote automatically. The existing wiki package linter has no+errors; unrelated baseline warnings remain. Main advanced during this work; use+the branch PR's three-way merge and preserve concurrent reload integration work.
docs/DESKTOP-BRIDGE.md+4
@@ -127,6 +127,10 @@ Test host arav-rog: AB 2.1.72, OpenAI.Codex 26.901.6511.0, native CLI 0.153.4. Live checks covered explicit-agreement install, cached-auth identity, backend reply `CODEX_BRIDGE_OK`, desktop-created thread reply `DESKTOP_BRIDGE_OK`, and LaTeX install/read-back/uninstall/read-back. The temporary plugin was restored to absent.+Desktop uninstall/reinstall and single-process AB restart were also verified;+account and saved thread survived. The visible ChatGPT welcome screen remained+on its role-confirmation step despite native setup/navigation acknowledgments.+That first-run UI issue is not considered solved by successful backend requests. See the PR for final lifecycle results. Windows x64 is first; other OS installers, a dock UI, full automation/worktree action testing and third-party OAuth are not claimed. Existing CAD recordings were made in Hydrogen, not this desktop app.
skills/codex-desktop-bridge/SKILL.md+3−1
@@ -1,10 +1,12 @@ --- name: codex-desktop-bridge-description: Install, authenticate and communicate with Codex Desktop through the compiled Rust AB bridge. Manage native plugins, conversations and desktop-specific tools on an explicitly selected Windows host.+description: Use when installing, authenticating or communicating with Codex Desktop through the compiled Rust AB bridge, including native plugins, conversations and desktop-specific tools on a selected Windows host. ---  # Codex Desktop Bridge +Parent skill: `codex-adom`.+ Read adom/codex `docs/DESKTOP-BRIDGE.md` and installed AB SDK/runtime skills before deployment. Source is `bridge/` in adom/codex, not AB core. Preserve development pins.