You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remote Link remedies: gaps left by the #8694 review (bound detach after cleanup complete, ~/.local/bin, link add texts) #8696
Follow-ups left by the final review of #8694 (head cc35e05). None harms a link in valid use when the printed text is followed; they are gaps and dead ends.
Bound detach killed between "cleanup complete" and removing the record (native/ocx-child/src/cli.rsown_interrupted, codex_home.rsrelease()). release() writes phase cleanup complete and then removes the ownership record. A bound detach killed between the two leaves (L, cleanup complete) with no state and no rollback; every later detach --expect-link L answers residual, with a reason ("outside an interrupted attach or detach") that is false for that state, and ocx link recover stays at child_residual until a person runs --forget. Present before fix(link): bind every failed-enrollment step to the attempt's link id, and finish a bound detach killed while restoring its own attach #8694; the window is narrow. Accepting CleanupComplete in own_interrupted looks safe (only release() writes that phase and an attach overwrites it); needs a kill test at that point and the structure/remote-link.md residual list updated.
Lightweight step omits ~/.local/bin (src/link/residual-recovery.ts, gui/src/pages/RemoteLink.tsx). The step names the managed copies, then command -v ocx-child / where.exe ocx-child. Discovery tries ~/.local/bin/ocx-child (src/link/ssh-argv.ts) and %USERPROFILE%\.local\bin\ocx-child.exe (src/link/remote-windows.ts) first; when that directory is not on PATH (usual on Windows) no printed path runs. Name that location, as forceRemoved.unknownLocate already does (11 dashboard locales).
link add capability and skill text (src/cli/capabilities-base.ts, skills/ocx/references/01_surface_access-remote.md): the %LOCALAPPDATA% path is not labelled Command Prompt; the %USERPROFILE% fallback is missing; nothing says what to do when an older build refuses --expect-link (the CLI's own error text does); "and, if it disconnected, ocx restart" reads as applying to a lightweight Child, which has no ocx.
A plant that never installed the binary: the bound purge printed after an uncertain journalled plant fails with "not found" in that case and the text does not say what that means.
child_restart_unsupported (src/server/management/link-child-preflight.ts, echoed in the Remote Link guide): "still linked to a Home … run: ocx disconnect, then ocx restart" is an unbound disconnect of the link the machine uses now. It is the deliberate way to move a machine between Homes, but the text never says it ends that link.
Source: the coordinator's fresh final review of #8694; items 1 to 4 are its P3-1, P3-3, P3-4 and a nit, item 5 its out-of-diff observation.
Activity
fix(link): refuse route edits during an unfinished removal; scope ide…