Repository navigation
Description
Tracked gaps after the doctor work (#72, #76) and the host-broker redesign (#73). Update this issue rather than opening a new issue for each operational finding.
Identity and authorization
- Decide the supported first-run authorization path.
gcb authorize --broker-container(feat: allow authorize to target a broker-container mount #132) is the host-side primitive; the container-side operator workflow is tracked in feat: typed gcb re-authorization operation for the broker sidecar devockr/idsh#123. - Have the deployment own the bootstrap around authorization: secret volume, one-time invocation, browser prompt, token installation.
gcb.authorizeruns the device flow on the host under the token lock and streams the code to a followable log (feat: add a typed gcb.authorize host operation devockr/idsh#125); gcb owns the OAuth logic. - Refresh and rotation stay in the broker, which owns the refresh token;
gcb.authorizeis the re-authorization entry point and a failed refresh needs a human device-flow approval (feat: add a typed gcb.authorize host operation devockr/idsh#125). - Alerting on
incorrect_client_credentials/bad_refresh_tokenin the deployment. - Provide a supported re-authorization path for a deployment whose token file is mounted only into the broker, without requiring a hand copy through
/tmp. feat: allow authorize to target a broker-container mount #132 provides the host-side path; container-initiated reauth is feat: typed gcb re-authorization operation for the broker sidecar devockr/idsh#123. - Finish the typed host broker (feat: add host broker replies and explicit repositories #73): rename
host-openertogcb host, typed review replies, allowlist check, deprecated alias.
Operations and deployment
-
Update
gcb-hostthrough the deployment repo, not by editing the broker checkout: idshgcb.updatestages both halves and replaces the container; verification remainsgcb --version, the socket healthcheck andgcb doctor. -
Apply the update to the live deployment; that remains external.
-
Do not ship the current dev-only shape (
gcb-host:dev,pull_policy: never) as the update mechanism; document the release-image update and rollback path. Documented in feat: drop npx from the sidecar compose path #133. -
Decide whether the deployment should run
gcb doctoras part of its health/update check, and which failures should alert rather than restart. Documented in feat: drop npx from the sidecar compose path #133. -
Reconcile
authorize's “outside every mount” rule with the broker-container deployment: reject agent mounts, or add an explicit broker-container mode, but do not require an unsafe copy. feat: allow authorize to target a broker-container mount #132 adds the explicit host-side mode and keeps the in-container refusal. -
Let the broker configuration deny catalogued actions (
actions.<name>.deny, feat: deny catalogued actions from config #150), on both app and host routes. -
Rotate and bound the audit log (
auditMaxBytes,auditKeep) with a documented retention policy (feat: rotate and bound the audit log #149). -
Per-host catalogued-action rate limit (
actionRateLimit, feat: rate-limit catalogued actions per host #151); output/timeout caps already existed.
Release
- Release the host-broker rename/reply changes and the doctor active-audit-path changes. Released as 0.8.0, then 0.8.1 with the compose image/command change.
- Bake updated
gcb-host/gcb-clientimages and update the deployment to the released digest. The release workflow publishes versioned images; updating the live deployment is external. - Document the minimum host/client version pair for the typed host reply and the active-audit-path ping field. In feat: drop npx from the sidecar compose path #133: >= 0.3.0;
--broker-containerneeds host >= 0.8.0.
Already done
-
gcb doctor: config digest, audit path (active when the daemon answers), last config record, socket state, chunked audit reads. - Host broker typed create/fork/reply and the
gcb hostcommand (feat: add host broker replies and explicit repositories #73). - Host-side allowlist management (feat: typed gcb config allow add/remove #103 plus idsh
gcb.allow).
Activity
git-credential-broker commentedon Nov 10, 2026
Started the authorization item: #132 adds
gcb authorize --broker-container, an explicit opt-in for a refresh-token path inside the broker container's mounts. The default path remains fail-closed; this removes the documented/tmpcopy workaround for the sidecar.git-credential-broker commentedon Nov 10, 2026
Scope clarification for the re-authorization item:
gcb authorize --broker-container(#132) is a host-side primitive for the deployment operator, not an in-container workflow. An agent inside the container cannot stop its sidecar, chown host files, or restart it. Operator-free re-authorization needs a typed idsh/deployment operation that wraps the stop, ownership handover, host authorize call and restart; gcb should not grow a container-side shell path for this.git-credential-broker commentedon Nov 10, 2026
Container-initiated re-authorization is tracked in devockr/idsh#123: a typed idsh operation to stop the sidecar, perform the host authorize step, restore ownership and restart, without exposing a shell path to the agent.
git-credential-broker commentedon Nov 10, 2026
Update/rollback, version pairing and doctor health-check guidance are now in #133; the remaining unchecked deployment items are external application of that procedure.
git-credential-broker commentedon Nov 12, 2026
Repo-side work is complete; remaining items are deployment-only and moved to devockr/idsh#89:
The live update itself is done. Closing this umbrella.