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
profiles bind: label live backends with their Chrome profile directory and name, computed by cua itself #21
Spike #8 showed the vendor's profile enrichment cannot label backends under cua serve (node_repl's default sandbox denies the temp-directory write it needs), so every profiles bind shows bare instance ids and the user must map them to Chrome profiles by hand. cua can compute the mapping itself, in the CLI process, outside the vendor runtime.
Success criteria
cua profiles bind <key> (interactive candidate list and --json) shows, beside each live Chrome-family backend's instance id, the Chrome profile directory (e.g. Profile 12) and the profile's display name when known.
Method: read Chrome's Local State for the profile list; for each profile, copy the ChatGPT extension's settings store (Local Extension Settings/<extension id>) to a temp directory under CUA_HOME (never read the live store in place; never write into Chrome's directory), read extensionInstanceId with the classic-level already present in the relocated cua_node tree, and match it to the live backends. Clean the temp copies.
Unreadable Chrome data (chrome_data_unreadable) degrades to unlabelled candidates with the Full Disk Access hint; no failure.
The explicit pick stays mandatory (design constraint): a candidate whose directory equals the key's registered directory is marked as the likely match, never auto-bound.
Tests with fixture stores; a live read-only check on the owner's Mac recorded in the PR; spec Decision Log line.
Reference
Issue #8 comment (commands, raw values, where the vendor code fails); spike script left on the mini at /tmp/cua-spike8/.
With the sandbox metadata now sent (#20), the vendor's own profileName labels appear on live backends. First step: show that label beside each candidate in profiles bind (interactive and --json). The directory mapping above becomes the second step, needed only where names collide (they do on the mini). The dogfood report also showed an agent binding a profile on its own from tab contents; labels make the user's pick easy, and #23 tells agents never to bind. The explicit pick stays mandatory.
[board] in-progress: Step 1 started: showing the vendor's profileName label beside each candidate in profiles bind (interactive and --json); directory mapping (step 2) stays out of scope.
[board] in-review: Step 1 in review: vendor labels beside bind candidates, likely match marked, automatic bind removed. Step 2 (directory mapping) not done; issue stays open for it.
[board] deferred: Step 1 (vendor labels + automatic bind) merged in PR #27. Step 2 (directory mapping from extension-store copies) is needed only where display names collide (seen on the mini); take it up when that bites.
[board] done: Step 2 merged in PR #45: profiles bind maps live backends to Chrome profile directories via copied extension stores (classic-level), directory match beats name for the automatic bind, --dry-run added; 501 tests. Mini (colliding names) covered by fixtures, not live.
Activity
SSFSKIM commentedon Oct 5, 2026
[board] in-progress: Step 1 started: showing the vendor's profileName label beside each candidate in profiles bind (interactive and --json); directory mapping (step 2) stays out of scope.
SSFSKIM commentedon Oct 5, 2026
[board] in-review: Step 1 in review: vendor labels beside bind candidates, likely match marked, automatic bind removed. Step 2 (directory mapping) not done; issue stays open for it.
Escape C1 controls and bidi overrides in printed bind labels
Restore the automatic bind for a unique labelled name (owner's decisi…
SSFSKIM commentedon Oct 5, 2026
[board] deferred: Step 1 (vendor labels + automatic bind) merged in PR #27. Step 2 (directory mapping from extension-store copies) is needed only where display names collide (seen on the mini); take it up when that bites.
SSFSKIM commentedon Oct 6, 2026
[board] ready-for-implementer: Un-deferring: names collide on the mini (owner confirmed); step 2 goes ahead.
Merge pull request #45 from SSFSKIM/feat/bind-directory-map
SSFSKIM commentedon Oct 6, 2026
[board] done: Step 2 merged in PR #45: profiles bind maps live backends to Chrome profile directories via copied extension stores (classic-level), directory match beats name for the automatic bind, --dry-run added; 501 tests. Mini (colliding names) covered by fixtures, not live.