Skip to content

Babysitter access: enroll a paired OpenChamber client for sandbox → laptop, and document the credential home #1271

Closed

Description

@dezren39

Problem (found by pilot #1188, 2026-10-26)

The babysitter (#1185) will run on the sandbox and watch sessions on the
laptop's OpenChamber over Tailscale. OpenChamber's remote access model
is paired clients (/api/client-auth: pairing sessions, enrolled
clients) — there is no enrolled client for a babysitter yet, and
several routes answer differently unauthenticated (/api/quota/providers
answers locally; /api/projects returned empty). Until a client is
enrolled, the babysitter can only observe from the laptop itself,
which defeats the design (the watcher should not live on the machine
it watches).

Work

  • Enroll a paired OpenChamber client for the babysitter (sandbox →
    laptop :3000 over Tailscale), scoped to what the babysitter needs:
    session reads, session-activity, quota reads, message injection
    (the nudge), plan/todo binding reads.
  • Store the credential the fleet way: Bitwarden item, referenced by
    name in the babysitter's config and docs — never a value in a file,
    commit, or log.
  • Document which routes the enrolled client can call (verified live,
    per route) in the API inventory doc; mark any route that still
    refuses and why.

Acceptance criteria

  • From the sandbox, the babysitter identity lists the laptop's
    projects and sessions and reads one session's activity
    end-to-end over Tailscale.
  • The credential's Bitwarden item name is recorded in the
    inventory doc; no secret value exists in any repo or log.
  • Routes that remain unavailable to the client are listed with
    the reason (scope, pairing class, or product gap — a product
    gap gets its own openchamber issue).

Child of epic #1234. Blocks the remote operation of #1185. Filed by
Muse (operator) 2026-10-26.

Activity

  1. added
    kind/featureNew feature or capability request
    priority/normalOrdinary priority (the default)
    area/infraInfrastructure, deployment, and operations
    effort/sSmall: expected under 2 hours of work
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  3. added
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 27, 2026
  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Oct 28, 2026
  5. 26 remaining items

  6. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Progress from repo-worker-any-b: verified: triage already complete (task 1287, 2026-11-14); follow-on task 16620 enqueued; checking laptop route for enrollment ceremony

  7. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Released by repo-worker-any-b (outcome: free). Verified fresh 2026-11-14: #1271 triage already complete (task 1287 completed by lane any-b earlier today, naming the existing 2026-10-28 triage); the enrollment follow-on already exists as broker task 16620 (parked by lane any-a as a prepared-session task). Queue backend recovered on the laptop during this shift (fleet queue health OK via laptop-agent: queued 154), so per runbook 0a/0b this lane returns to broker claiming and releases the fallback claim without duplicating task 16620's work. Remaining: the babysitter-sandbox OpenChamber pairing ceremony + five-route live verification + #1188 inventory doc, owned by task 16620.

  8. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 14, 2026
  9. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    Agent note — picked up (lane code-b, task 16620)

  10. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    Agent note — done (lane code-b, task 16620)

    Babysitter client babysitter-sandbox is enrolled and verified live. Closing #1271 with the evidence:

    • Enrollment: pairing ceremony run by the fleet operator on the laptop OpenChamber (2.5.0) via its client-auth API — pairing session pair_8668129e70908d2c9698568f (fingerprint F3CC-09CA, direct transports only, no relay), redeemed to client id 14883d1553d548a513a6ee1e, label babysitter-sandbox, authMethod pairing. Server-side readback: client present in GET /api/client-auth/clients, not revoked.
    • Credential home: Bitwarden Secrets item openchamber.babysitter-sandbox-client-token (project "developing today") — referenced by name only; the value appears in no issue, doc, log, or payload. Sandbox retrieval verified via fleet secrets get openchamber.babysitter-sandbox-client-token.
    • Live verification from the sandbox (over the fleet session tunnel to the laptop :3000, presenting the paired token; full per-route record in the Pilot: OpenChamber session API inventory for a remote babysitter #1188 inventory doc, openchamber-api-inventory-2026-10-26.md, section "Babysitter paired client (VERIFIED LIVE 2026-11-14)"):
      1. Session reads — GET /api/session 200, 50 sessions.
      2. Session-activity — GET /api/session-activity 200, 90 active entries.
      3. Quota reads — GET /api/quota/providers 200 (13 providers); GET /api/quota/codex 200 with usage windows.
      4. Message injection — throwaway session ses_e5e230e72edffeC41o4ewWsDf7: prompt accepted (user message msg_1a1dcf1cb8c0015lvxN7biFHqw), delivery proven by assistant message msg_1a1dcf1cbed001FQVBJaqocYPA containing exactly the requested marker; session archived afterwards (failedIds: []).
      5. Plan/todo binding reads — GET /api/project-context/<projectId> 200 (plans/todos/notes arrays; both live projects currently empty) and GET /api/projects/<projectId>/config 200. The plan-to-session binding write was not exercised.
    • Deviation filed as a product gap: the client could not be scoped to the five routes — paired clients are unscoped bearer tokens and pairing kinds are only mobile | desktop (this client is recorded as kind desktop). Filed as Paired clients have no route scopes and no programmatic client kind (babysitter enrollment gap, code#1271) developing-today-forks/openchamber#2290, per this issue's acceptance rule for gaps.
    • Fresh state at claim: OpenChamber babysitter v1: one worker, session rounds, quota + progress report (report-only) #1185 and Pilot: OpenChamber session API inventory for a remote babysitter #1188 are both CLOSED, so nothing this item blocked remains open.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/infraInfrastructure, deployment, and operationseffort/sSmall: expected under 2 hours of workepic/opencode-platformReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this itemuser/reviewNeeds a user-look: Muse reviews first and handles what it can

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions