Repository navigation
Revoke other Owner devices on password change - #4928
DoodleBears wants to merge 24 commits into
Conversation
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
…olicy Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ffa6-e6a0-75a0-bb06-711b17edf1f7
Issue: #4898 Agent-Task: codex/local/01a1ffa6-e6a0-75a0-bb06-711b17edf1f7
Issue: #4899 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4899 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
Issue: #4898 Agent-Task: codex/local/01a1ffa6-e6a0-75a0-bb06-711b17edf1f7
Issue: #4899 Agent-Task: codex/local/01a20227-5819-7d43-ab77-f7e1ed665c7e
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: truePre-merge checks:
|
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Product Terms Follow The Glossary | Checked the PR-only changes (merge-base 4fd8bb8 to head 41bfc6b, 31 files) against GLOSSARY.md. Most product nouns follow the glossary. The new UI strings ("Connection routes", "Sign out other dev… | Change the device-retention wording in docs/bot-cli.md and docs/bot-cli.zh.md so that it uses the glossary term. For example, in English use "QR-paired devices and the active Owner device retain access" (or "the current Owner Paired Device"… |

Passed checks: 3 passed
-
Check name Status Explanation Fix Targets The Root Cause The check is inapplicable. It applies only when the PR title starts with "fix". The contributor title is "Revoke other Owner devices on password change", which does not start with "fix". The PR is pro… Consistent With Adrs And Existing Features The check applies. PR #4928changes behavior: an Owner password change now revokes other password-enrolled devices. ADR contradiction: docs/adr/ holds nine ADRs (0353–0361). None covers Team credentia…Touched Features Are Verified Summary: Two mapped features have runtime code changes in this PR. Their verification notes name runs, so the FAIL condition is not met. Method: I compared the PR diff (merge-base 4fd8bb8 to HEAD 41… Full details: Fix Targets The Root Cause
-
Explanation
The check is inapplicable. It applies only when the PR title starts with "fix". The contributor title is "Revoke other Owner devices on password change", which does not start with "fix". The PR is provider-reported as GitHub BotHarness/DeepSeekBot
#4928, from codex/4899-owner-password-revocation into main, by author DoodleBears. The PR adds an Owner password-change option that revokes other password-enrolled devices. It does not present itself as a bug fix, so the root-cause criteria do not apply. No code inspection was needed for this decision.
Full details: Consistent With Adrs And Existing Features
-
Explanation
The check applies. PR
#4928changes behavior: an Owner password change now revokes other password-enrolled devices. ADR contradiction: docs/adr/ holds nine ADRs (0353–0361). None covers Team credentials, password change, paired devices, or device revocation. The ADRs that the wider branch touches do not conflict with the diff: - ADR-0353 (accepted): the Codex device sign-in is covered by its own amendment. - ADR-0359 (accepted): the Worker reads headers only. No image-decoding library appears in packages/market/src or packages/host-protocol/src. - ADR-0361 (accepted): the preset sub-choice work matches the ADR. ADR-0355 and ADR-0360 are Proposed, so they do not bind this PR. Duplicate implementation: the PR reuses existing modules. - Stream closing and revocation go through DevicePairing.revoke (packages/core/src/devices/pairing.ts:701-719), which closes live streams. - The owner dialog reuses the shared OwnerPasswordDialog. - Sign-in discovery is shared through sign-in-discovery.ts, and encrypted-sign-in.ts is shared by owner-sign-in.ts and team-sign-in.ts. - The remote Connections rows use the existing Provider subscription ListCard. One point to note: setOwnerPassword (packages/core/src/team/member-auth.ts:195-218) writes the paired_devices revoked_at column inline. That write duplicates the single-row UPDATE inside DevicePairing.revoke. It runs in the same transaction as the credential write. The same pattern already exists in member-lifecycle.ts revokeMember (lines 85-93) and in changePassword. This extends an established pattern. It does not add a second revocation mechanism. This is a design observation, not a failure of this check. Limits: I did not review docs/decisions/team-mode.md, because the check names docs/adr/ only. I sampled the 1,008-file branch diff. I checked the password, device, and sign-in areas in depth.
Full details: Touched Features Are Verified
-
Explanation
Summary: Two mapped features have runtime code changes in this PR. Their verification notes name runs, so the FAIL condition is not met. Method: I compared the PR diff (merge-base 4fd8bb8 to HEAD 41bfc6b) with the ## Sources globs of every file in .agents/skills/verify-deepseekbot/features/. Mapped features touched: - remote-hosts.md. Matching runtime files: packages/client/src/client/owner-password-dialog.tsx and packages/client/src/client/connection-hosts.tsx. The base Sources already matched owner-password-dialog.tsx, so the match does not depend on the Sources line this PR adds. - team-mode.md. Matching runtime files: owner-password-dialog.tsx, team-bridge.ts, team-settings.tsx, packages/core/src/features/team/rpc.ts, packages/core/src/team/{bridge,http,member-auth,service}.ts. Verification notes (PR description, "Verification"): - They name runs. "The earlier live Web and CLI run passed all ten checks at d1047a0." "The Team security run at that revision passed 12 of 18 scenarios." A linked Team security run summary is also given. - They name reasons for work not yet run. "Installed Windows Desktop QA, the narrow-window long-address stress case, CI, and Human approval remain open." - The remote-hosts journey "Change the Owner password (
#4899)" was added in this PR. The notes do not name that journey by its heading. Whether the live Web and CLI run covered it is inferred, not stated. Limits and caveats: - The named runs were at d1047a0. The PR head is 41bfc6b. The check does not require a run at head, but the gap is real. - The linked Team security run summary could not be opened from this sandbox. Its content is unverified. - Because the notes do name runs and open items, the check's explicit FAIL condition is not met. The result is a PASS with the caveats above.
-
Full details: Product Terms Follow The Glossary
-
Explanation
Checked the PR-only changes (merge-base 4fd8bb8 to head 41bfc6b, 31 files) against GLOSSARY.md. Most product nouns follow the glossary. The new UI strings ("Connection routes", "Sign out other devices that used your password", "Signing out other devices requires --confirm.") and the architecture, changes/ and verify-deepseekbot copy use no Avoid word for a glossary term. The PR description uses Host, Owner, Remote Connections and Tobs Connect without a conflicting Avoid word. One line does conflict. In docs/bot-cli.md (and the zh counterpart docs/bot-cli.zh.md), the text reads "QR-paired devices and the active Owner session retain access." The glossary entry Paired Device lists "session" under Avoid. The entry Member Credential also lists "session" under Avoid, and says sign-in yields a Paired Device grant. The sentence describes the Owner's sign-in access, which the glossary treats as a Paired Device grant, and it calls it a "session". The architecture doc describes the same retained access as "the current device" from the authenticated connection. The copy therefore uses the avoided word for a glossary product noun. The "Session" glossary term (DSH execution unit) does not apply here, so this is not a clear case of an Avoid word used for something else. The standing prior FAIL has no retrievable details. I cannot name its claims, so I cannot refute or address them. This line is the only glossary conflict I found, and it is consistent with that prior concern. Result: FAIL.
Resolution
Change the device-retention wording in docs/bot-cli.md and docs/bot-cli.zh.md so that it uses the glossary term. For example, in English use "QR-paired devices and the active Owner device retain access" (or "the current Owner Paired Device"). In Chinese, replace "当前 Owner 会话" with "当前 Owner 设备" and check that the term matches the zh glossary. Keep "session" only where the glossary Session term (DSH execution unit) is meant. Then re-run the check to refresh the prior failure details.
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
|
Human merge required (
|
|
Download the Owner password rotation review explainer The explainer covers head |
Issue: #4898 Agent-Task: codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd
…899-owner-password-revocation
Owner password rotation #4899 | Merged sign-in PR #4915
Why the change
The Owner can change a Host password and end access from other password-enrolled devices while keeping the initiating device and QR-paired devices connected.
Harness / Model
Harness: codex
Model: gpt-6.2-sol
Special things to note
main. The Client, Provider subscriptions, CLI, and inventory tests passed. All eight Noise authorization tests passed on an isolated rerun after four timeouts in the parallel job. TypeScript and build passed. The earlier live Web and CLI run passed all ten checks atd1047a048. The Team security run at that revision passed 12 of 18 scenarios. Installed Windows Desktop QA, the narrow-window long-address stress case, CI, and Human approval remain open.Change outline
Team security run summary
Remote Connections
The routes, paired devices, and Tobs Connect action use the Provider subscription ListCard. The English Web captures use anonymized Host labels and addresses. Before is the prior draft
d1047a048. After is the current PR head41bfc6b8.Light, 1440 × 960
Before
After
Dark, 1440 × 960
Before
After
Narrow window, 800 × 900
After
The standard test address and actions fit. A separate stress check with a long unbroken synthetic address detected an overlap with Check route at this width.
Owner password dialog
The current captures show Sign out other devices that used your password checked by default. Light dialog · Dark dialog
Local Team password dialog, Dark, 1440 × 960
Before shows the existing password-change fields. After shows the same fields with the device sign-out choice.
The historical local Team captures are from
f489d9c4andd1047a048. The earlier review explainer coversd1047a048. For the remaining local Team Light pair, dismiss the first-run tour, then open Settings → Team → Your password → Change in both builds. The tour covered the form in both Light captures.Implementation task
codex/local/01a1ff25-bf04-7871-9287-3625c3cb9dcd. Merge integration taskcodex/local/01a20227-5819-7d43-ab77-f7e1ed665c7e. Issue claimCloses #4899