Repository navigation
C6 on a machine without the desktop app: the desktop-absent gate - #31
Merged
Merged
Conversation
Where no browser holds a native-messaging registration (no ChatGPT desktop app), C6 is judged by a desktop-absent gate report: register writes cua's manifests into empty slots only with nothing backed up, the slots then name cua's host, cua's placed host serves the live round trip, and unregister leaves every slot absent again, identical to the before snapshot. The refusal and no-op checks that presuppose the desktop's manifest are N/A there, stated rather than skipped. A desktop-absent report on a machine holding a foreign registration fails; without a report the BLOCKED steps follow the machine. accept-chrome --c6-slots prints the slot snapshots. Part of #9
macOS can deny a terminal without Full Disk Access every read under Chrome's directory; the slot reader took that for absence, which would let --c6-slots record 'absent before/after' it never saw and turn the refusal and no-op checks N/A. Only ENOENT/ENOTDIR is absent now; any other failure is unreadable with its code, keeps both checks and the gate choice BLOCKED, and fails a snapshot.
# Conflicts: # docs/doperpowers/specs/2026-10-02-standalone-cua-design.md
This was referenced Oct 5, 2026
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.
Part of #9.
accept-chrome --all's C6 assumed the ChatGPT desktop app's registration was present: its live part accepted only a--replacegate report (backup and byte-for-byte restore of the desktop's manifests), and its refusal check went BLOCKED with nothing foreign to refuse. On the clean-machine VM (no desktop app) neither can hold, so C1–C7 could never pass there.Parent's definition, implemented:
cua chrome registerwrites cua's manifests into empty slots only: every rowplaced, no backup, no replacement consequences; the written slots then name cua's host.servingHost.pathClasscua.accept-chrome --liveround trip passes through it.cua chrome unregisterremoves cua's manifests (removed/not_needed), and every slot is absent again, deep-equal to the before snapshot.N/A (no desktop registration present), never silently skipped, and do not hold the verdict.The report shape is
{scenario: "C6-desktop-absent-live-gate", slotsBefore, register, slotsRegistered, servingHost, roundTrip, unregister, slotsAfter}. The slots come from the new read-onlynode scripts/accept-chrome.mjs --c6-slots. A desktop-absent report on a machine that holds a registration cua did not write is FAIL, because the--replacegate applies there. Without a report, the BLOCKED steps follow the machine's slots:--replacesteps where a foreign registration exists, desktop-absent steps otherwise. The--replacepath is unchanged.Tests:
registerHost/unregisterHostplus snapshots produce a passing report;npm test421/421. README acceptance section and a Decision Log line updated.Round 2 (after review
ad96b6d..d62808b, three P2s, all fixed):unreadablewith its error code, never absent (ea4cd93). That keeps the refusal, the no-op, the gate choice and C5 BLOCKED, and it fails a snapshot. On macOS 27, a terminal without Full Disk Access gets EPERM under Chrome's directory.50835d3).50835d3).Added scope (parent): C5 without the desktop app.
doctorChromeCheckstakes the runner's slot snapshot. Where every browser slot is absent, doctor'schrome.host.registeredreporting no manifest passes with the stated reasonno desktop registration present; absent expected. A disagreement between doctor and the slots fails. Unreadable evidence stays BLOCKED. Without a snapshot, the behaviour is unchanged.Main (with #27) is merged in; the spec Decision Log conflict was resolved by keeping both entries.
npm test443/443.Round 3 (after review of the round-2 fixes, two P2s, both fixed in
6ff31e8):--c6-slotsrerun guidance. Malformed snapshots and established contradictions still FAIL.npm test449/449.