Fix BPM/NotebookLM auth cookie sync in Luci Auth Portal
Bug reported by Elmar via Telegram bug topic. Issue: The BPM / NotebookLM authentication cookie sync does not work in the Luci Auth Portal. Evidence: Screenshot shows Luci Aut...
StateDoneNext ActionClosedOwnerLuciRuntimeClosedAge10d ago
Ticket is done; runtime is closed.·profile claude_opus_1m_medium · cwd /home/lucienne/workspace/mission-control/.claude/worktrees/pool-1 · uptime 10d 0h · last activity 9d 22h ago
Description
MC-4637
Bug reported by Elmar via Telegram bug topic.
Issue: The BPM / NotebookLM authentication cookie sync does not work in the Luci Auth Portal.
Evidence: Screenshot shows Luci Auth Portal at 100.118.207.3:8788 with NotebookLM preview, buttons 'Save Cookies' and 'Cancel', and status stuck at 'Capturing cookies...'.
Screenshot path on Luci: /home/lucienne/.hermes/image_cache/img_ba6e915f76bc.jpg
Expected: Auth Portal should capture and sync the NotebookLM/BPM cookies successfully after login, then allow Save Cookies / refresh state to complete.
Acceptance criteria:
- Reproduce or inspect auth portal cookie capture flow for BPM/NotebookLM.
- Identify why capture stays at 'Capturing cookies...' or sync fails.
- Fix capture/sync and verify from the portal.
- Add/adjust regression coverage or a runbook check if practical.
Expected check-in: today + 2h
Activity
done
INTERACTIVE
Luci is working...
Details —
Done
· High
· Luci
▼
SState
Done
Closed
PPeople
TTiming / Details▼
telegram_bug_topic (human)
Mission Control
10d ago
10d ago
Advanced / Operator evidence
RRouting owner
ROperator console
Ticket is done; runtime is closed.ticket_runtime_doneprofile claude_opus_1m_medium · cwd /home/lucienne/workspace/mission-control/.claude/worktrees/pool-1 · uptime 10d 0h · last activity 9d 22h agoMC is visibility-only. Hermes Luci launches and gates work outside MC, then mirrors evidence/status here.Raw console: luci · claude/anthropic/opus[1m]
WWorkflow
Start Dev Review + QA ▾
Select phases to include:
Agents
Review Gates
Decision
WAT routing: choose an agent, review gate, or decision. Buttons use the live runtime when one is attached.
[follow-up] 10 min past expected check-in (2026-06-03T08:52:44.192188+02:00 UTC).
Luci10d ago
MC-4637 fixed+deployed: NotebookLM auth capture no longer hangs on "Capturing cookies…". Root cause = orphaned Playwright Chromium + Singleton locks forwarding launch to a dead session. Reap-by-profile + lock-clear + JS watchdog (commit 0fe138c8) committed/pushed to master AND deployed via auth-portal.service restart (old May-26 code was running). Verified end-to-end: start→ready, capture→success in 3s, 73 cookies/has_sid, storage_state written; cleanup reaps orphans. 4 regression tests pass, runbook added, portal shows NotebookLM healthy at 375/1280px.
luci10d ago
Workflow action `review_ready` applied. Work ready for review.
luci-controller10d ago
[orchestrator-note] Elmar reported that "Retry as To Do" unexpectedly created a runtime. Confirmed: runtime/retry currently sets status=todo and immediately calls _queue_and_pickup for Luci/Larry tickets, so mc-MC-4637 was created by design but the UX label is misleading. Created MC-4656 to split pure Move-to-To-Do / false-needs_input recovery from explicit Retry-now runtime creation. Leaving this runtime active because the ticket still needs work.
luci-controller10d ago
[orchestrator-review] Independent review verified MC-4637 can close. Auth portal commit 0fe138c8 is in pushed master; auth-portal.service active on :8788; test_mc4637_nblm_capture.py: 4 passed; /api/status 200 with nblm healthy, 73 cookies and SID; browser smoke passed at 375x1280 and 1280x800; service logs show capture POST 200 and storage persisted.
[control-room-recover] MC-4637: direct worker tmux gone with no DONE/REVIEW/QUESTION signal (attempt 1). Closed runtime (direct_worker_tmux_missing_no_signal); ticket → todo.
luci-controller10d ago
Controller corrected false needs_input: this ticket had no comments, no runtime_sessions, no tmux, and no worker process — it never actually started.
Now dispatched from scratch to direct Control Room worker.
Runtime: tmux cr-MC-4637, pid 2745874.
Worktree: /home/lucienne/workspace/state/control-room-worktrees/mc-4637-auth-portal.
Expected check-in: 2026-06-03T08:52:44.192188+02:00
Completion gate: reproduce/inspect auth portal capture, fix cookie sync, add regression/runbook check if practical, commit+pushed branch, DONE with smoke evidence.