Repository navigation
Conversation
A first-time visitor on a registered Home saw only the clock and the passkey circle. The Create guest account action lived in the unlock card, which the lock face hides, so new people could not find sign-up. The lock face now shows Create account whenever guest registration is on. It opens the existing guest passkey enrollment. Sign-in with an existing passkey is unchanged. Part of #86.
The welcome sheet asked every account with a Profile to "save an updated Recovery Kit" and said "your Profile stays unchanged". A brand-new guest has never saved a kit, so that copy did not fit. Recovery readiness now carries a reason when setup is required: recovery_kit_missing when no kit was ever verified, and recovery_kit_outdated when the verified kit predates the Profile. Home shows first-kit copy for a new account and keeps the updated-kit copy for an outdated kit. Part of #86.
Turning Discovery on marked the relay unavailable before any attempt, so People said "temporarily unavailable" at once. A failed pass then backed off up to 60 seconds, and Refresh could not shorten that wait. People also refreshed only on a click, so it stayed stale after Discovery connected. - Discovery reports connecting until its first relay pass finishes. - While Discovery is on, a failed pass retries within 15 seconds. - Turn On and Refresh clear the backoff and retry on the next worker pass. - Home includes Discovery state in people.changed, and People refreshes on that event instead of polling. - Failed relay passes are traced at debug level. Part of #86.
This was referenced Sep 29, 2026
Contributor
Author
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.
First slice of #86 (Chat and People with Home). The checklist in #86 tracks the whole plan: #86 (comment)
Related: #117 (Sasha) brings back the invite and join controls in Home. That PR changes the Chat UI and its built files, so this branch rebases on it once it merges, before the Chat basics work starts.
What this slice does
1. Create account on the first screen (
feat(home))A new visitor on a registered Home saw the clock and the passkey circle, with no way to sign up. The lock face now shows Create account when guest registration is on. It opens the existing guest passkey enrollment.
2. Welcome text that fits the account (
fix(home))Recovery readiness now says why setup is still required:
recovery_kit_missing(no kit was ever verified) orrecovery_kit_outdated(the kit predates the Profile). A new account now reads "Save a Recovery Kit so you can get back into your account." The "updated kit" copy stays for outdated kits only.3. Discovery that connects promptly and says so (
fix(people))people.changed, and People refreshes on that event. People still runs no polling of its own.Still to do in this PR
docs/COLLABORATION_NETWORK_PROFILE.mdfirst.Verification
cargo test -p elastos-server --lib -- discovery people recovery_readiness realtime home_summary: 95 passed, including the new tests for connecting, the Turn On/Refresh backoff reset, and the missing/outdated kit reasons.cargo clippy -p elastos-server --all-targets -- -D warnings: clean.cargo fmt --check: clean.node scripts/home-entropy-check.mjs,home-shell-auth-gate-smoke.mjs(guest registration off and on),recovery-profile-setup-smoke.mjs,just product-ui-source: pass.