Skip to content

Desktop-absent steady state: --all runs with cua registered - #32

Merged
SSFSKIM merged 2 commits into
mainfrom
feat/desktop-absent-steady-state
Oct 5, 2026
Merged

SSFSKIM merged 2 commits into
mainfrom
feat/desktop-absent-steady-state

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Part of #9.

Parent's decision: on a Mac with no desktop registration, the steady state is "cua registered". The extension needs a manifest to launch any host, and there is nothing to defer to. The desktop-absent gate (#31) still proves (d): unregister leaves every slot absent, identical to before. The recommended flow then re-registers and runs --all in that state.

  • desktopAbsentState(slots, record) is absent, or registered when every non-absent slot is cua's and cua's registration record ($CUA_HOME/chrome/registration.json, now read through the exported readRecord) says it replaced nothing. Anything else is null: a replacement on record, no record, or a foreign or unreadable slot. That case keeps the --replace gate's BLOCKED.
  • C5 in the steady state passes doctor class cua, and still passes no manifest. Either way it says which state it saw. If Chrome's slot is cua's but doctor disagrees, it is FAIL. If cua is registered only for another browser, it is BLOCKED with the step to register Chrome.
  • The refusal and no-op checks in the steady state are N/A (no desktop registration present).
  • The gate's BLOCKED steps end with the re-register and an --all rerun while registered.
  • README acceptance section documents the flow (gate, then re-register, then --all). The Decision Log line cites Clean-machine release gate: desktop-absent and fresh-TCC run in a macOS VM on the mini #9. --c6-slots is unchanged.

npm test 452/452.

… app

On a Mac with no desktop registration the extension needs a manifest to
launch any host, so after the desktop-absent gate proves unregister returns
every slot to absent, the flow re-registers and runs --all registered. C5
passes doctor class cua there (and still passes no manifest), saying which
it saw; the refusal and no-op are N/A. cua's registration record (nothing
replaced) tells this state from a --replace gate left mid-run, which stays
BLOCKED. The gate's BLOCKED steps end with the re-register.

Part of #9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant