Repository navigation
[DO NOT MERGE] chore(identity): DO NOT MERGE — isolated debug Keychain slot (full stack for native testing) - #1822
Closed
matt2e wants to merge 1 commit into
Conversation
matt2e
force-pushed
the
onboarding/08-settings-key-backup-row
branch
from
October 28, 2026 14:18
d5a5ef2 to
c1e4548
Compare
matt2e
force-pushed
the
onboarding/09-do-not-merge-keychain-slot
branch
from
October 28, 2026 14:18
c90322b to
1dbab3b
Compare
matt2e
force-pushed
the
onboarding/08-settings-key-backup-row
branch
from
October 28, 2026 14:21
c1e4548 to
954be58
Compare
matt2e
force-pushed
the
onboarding/09-do-not-merge-keychain-slot
branch
from
October 28, 2026 14:21
1dbab3b to
2bc85e8
Compare
This was referenced Oct 28, 2026
Merged
matt2e
force-pushed
the
onboarding/08-settings-key-backup-row
branch
from
October 29, 2026 03:36
954be58 to
b4e66e5
Compare
matt2e
force-pushed
the
onboarding/09-do-not-merge-keychain-slot
branch
2 times, most recently
from
October 29, 2026 23:48
0735dbf to
5daa01f
Compare
matt2e
force-pushed
the
onboarding/08-settings-key-backup-row
branch
from
October 29, 2026 23:48
b4e66e5 to
4ffb5a0
Compare
matt2e
force-pushed
the
onboarding/09-do-not-merge-keychain-slot
branch
from
October 30, 2026 00:30
5daa01f to
2023f7d
Compare
matt2e
force-pushed
the
onboarding/08-settings-key-backup-row
branch
2 times, most recently
from
November 2, 2026 04:21
1b6313a to
23e9e52
Compare
matt2e
force-pushed
the
onboarding/09-do-not-merge-keychain-slot
branch
from
November 2, 2026 04:21
2023f7d to
09d89dc
Compare
matt2e
force-pushed
the
onboarding/08-settings-key-backup-row
branch
from
November 2, 2026 05:55
23e9e52 to
f98b7e9
Compare
matt2e
force-pushed
the
onboarding/09-do-not-merge-keychain-slot
branch
from
November 2, 2026 05:56
09d89dc to
e8f9c9d
Compare
matt2e
force-pushed
the
onboarding/08-settings-key-backup-row
branch
from
November 2, 2026 06:36
f98b7e9 to
417b71d
Compare
matt2e
force-pushed
the
onboarding/09-do-not-merge-keychain-slot
branch
from
November 2, 2026 06:37
e8f9c9d to
b310ab2
Compare
…ychain slot
Every debug build of buzz-app, from any worktree, stores the human key in
the same Keychain item (service `dev.local.buzz.foundation.identity.debug`,
account `human`). That item already holds the real key from another
worktree, so on this branch "Creating keys…" fails with -25299 and the
first-run flow cannot be exercised without deleting that key.
This changes the debug slot name returned by `human_service(true)` in
crates/credential-store/src/lib.rs to
`dev.local.buzz.foundation.identity.debug.onboarding`. Everything that
restores, creates, imports, deletes or sign-out-marks the human key goes
through `HUMAN_SERVICE`, so this branch's dev identity is isolated and can
be reset safely:
security delete-generic-password \
-s dev.local.buzz.foundation.identity.debug.onboarding -a human
The release slot is unchanged. The two tests that pin the exact debug
string (`human_identity_slots_stay_separate`,
`development_and_release_items_are_separate`) move with it so CI stays
green. No TypeScript, fixture or script references the string;
docs/identity.md is left describing the real slot.
Revert or drop this commit before merging.
Validation: `cargo test -p buzz-credential-store human_identity_slots`
and `cargo test --manifest-path src-tauri/Cargo.toml
development_and_release_items_are_separate` pass; `cargo fmt --check`
clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e
force-pushed
the
onboarding/08-settings-key-backup-row
branch
from
November 2, 2026 08:32
417b71d to
3bee161
Compare
matt2e
force-pushed
the
onboarding/09-do-not-merge-keychain-slot
branch
from
November 2, 2026 08:33
b310ab2 to
3b6f086
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DO NOT MERGE. #1821's tree plus one debug-only commit, so the native app can be built and exercised on the complete first-run flow. Nothing in it is meant to land.
Onboarding stack (merge in order, top to bottom):
Diff over #1821: production +2/−2; tests +6/−3 — the isolated debug Keychain slot (
xyz.block.buzz.desktop.identity.debug.onboarding) so a dev build of this branch does not share an identity with the primary checkout.Native testing on this tree
Build and run the desktop app from this branch. Because of the debug slot, the first run starts from an empty identity without disturbing the primary checkout's Keychain item. To reset the slot between runs:
Native evidence (first-run recordings, hands-on checks) applies only to this tree; the PRs before it are unit/integration-tested only. No native run has been made since the rebase onto main without #1817.
Checks run
9818f778ewithout feat(builderlab): tenant table — a login origin per hosted relay, granted natively and accepted by the binding signer #1817 (2026-10-30).tsc --noEmitis clean at each of feat(identity): first-run Builderlab account client and dev seed — bundled-grant sign-in, account reads, key link/unlink, backup, saved communities #1818–feat(settings): read-only Key backup row in Settings → Identity #1821. At the stack head5daa01ffd([DO NOT MERGE] chore(identity): DO NOT MERGE — isolated debug Keychain slot (full stack for native testing) #1822; same tree that was tested): fullvitest run13,915 passed, 1 failed (codex-sh.test.ts, outside the stack, passes 3/3 alone);biome checkon the changed files and the design push check pass.--no-verify: the pre-push unit check failed only on 5 s timeouts in files the stack doesn't touch while the machine was at load ≈45; all 7 of those files pass when run alone. Rust is unchanged below [DO NOT MERGE] chore(identity): DO NOT MERGE — isolated debug Keychain slot (full stack for native testing) #1822 and was not re-run locally.🤖 Generated with Claude Code