Repository navigation
Conversation
|
Windows run of the manual acceptance from the description, against a real enforcing NIP-FI deployment (Block's), in case it helps with the "Windows native execution" item. Environment: Windows 11 Enterprise 10.0.26300, WebView2 156, existing Buzz identity, relay in NIP-FI enforce mode (plain WebSocket upgrade → 401). Builds made with the repo-pinned Rust 1.98.1 / pnpm 11.8.0, 1. The branch as-is needs a rebase. Built from 2. Rebased onto
Observations (not blockers):
Build note for Windows without admin: |
04df5c0 to
b130944
Compare
|
@corydouthat-sq Thanks for testing this and documenting the Windows results. I verified the lifetime check you identified and rebased onto upstream That also brings in the macOS Keychain bundling change. There were two conflicts against this newer base: the configuration docs and the session-store constructor. Both are resolved, preserving upstream's launch guidance and Checks on the rebased Mac checkout passed: 113 federation tests, 207 relay tests (2 existing ignored), the native import fixture, formatting, and the mandatory workspace Clippy check. Another 313 existing first-run/sign-in tests passed. Independent Claude Opus 5.5 review found no blockers. The description now credits your Windows acceptance against the build you tested, separately from our checks on this newer head. We're keeping the PR draft pending packaged Mac/real-Keychain/browser SSO testing, human acceptance and hosted CI. Headless Chromium/WebKit also confirmed the separate first-run limitation: an external community still offers Builderlab signup or an existing key. This rebase doesn't expand into that signup work. |
joahg
left a comment
There was a problem hiding this comment.
🤖 Read runtime.rs and the FederatedIdentity::open wiring. Compiled config short-circuits before the file is opened, and the Unix loader opens with O_NOFOLLOW, checks the handle's owner and mode, and bounds the read. The PR itself notes that maintainer agreement on this opt-in local trust model is needed; that decision is outside what I reviewed. Branch currently conflicts with main.
523fc46 to
2eba153
Compare
|
Rebased onto current main The important scope change upstream is the built-in The current CI run requires approval. I also reproduced an unrelated typecheck failure on clean main: the |
|
The current-head Mac live cycle is now complete on
This used the existing Keychain identity and an enforcing relay in an Apple silicon macOS VM. The validation section retains the packaging limit: this unsigned debug bundle required direct executable launch; Finder launch and signed distribution are not qualified. The zero-compiled-server scope and standard official-download limitation are unchanged. Upstream also fixed the unrelated build fixture in #2783. No additional code was pushed for this test. |
2eba153 to
804133e
Compare
|
Could a maintainer approve the CI run and weigh in on allowing a local sign-in descriptor when Buzz ships with an empty sign-in registry? Thanks. |
Co-authored-by: Codex <codex@openai.com> Signed-off-by: Nick <ci@kuhn-labs.com>
804133e to
78318db
Compare
|
Rebased onto The exact arm64 candidate now passed the existing-identity Mac cycle: sign-in, native sign-out (204; protected relay read 401), reconnect and persisted messages. Native agent enrollment also passed; logout revoked its grant, and a profile update after reconnect obtained a new grant for the same agent key, bounded by the new owner session. The updated description records artifact identity, receipts, human/agent test scope and remaining limits. The current CI run still requires approval and has zero jobs. The local-authority trust decision remains unchanged; this does not add an authority to a standard download with a compiled registry. |
A desktop deployment with its own NIP-FA/NIP-FI authority currently has to compile the authority into Buzz. This change lets a desktop built with an empty sign-in registry load one nonsecret descriptor,
federated-identity.json, from its existing federation store at startup. The configuration guide covers installation, permissions, removal, and issuer compatibility.A nonempty compiled registry takes precedence and Buzz never opens the local file. Standard downloads compile
bb-public. Standard and mixed registries retain Builderlab customer routing, saved customer hosts, community-specific sign-in links, and per-server session slots. A local descriptor selects a single authority and cannot enable Builderlab customer discovery, even if it copies the built-in descriptor.In a build with an empty registry, an absent file leaves federation unconfigured. An invalid or unreadable file stops startup. Unix checks the opened file's type, owner and write mode, refuses a symlink at the final component, and bounds the read. The operator must protect the parent path and ACLs. Windows relies on the user's application-data ACLs. Sessions keep their existing profile and descriptor fingerprint. Installed plugins still need a matching explicit grant.
Trust decision for review. Someone with write access as the user could place a descriptor and change which organization prompts for sign-in after restart. Is enabling that local choice for builds shipped with an empty registry acceptable? The earlier review left this decision to the project owners.
Current validation:
78318db8, rebased ontoe933a830. The rebase preserves the current Builderlab routing and sign-in guidance. After the rebase, 171 native federation tests, 10 build-configuration tests, 241 relay tests (2 existing ignores), and 132 renderer tests across federation and Builderlab passed. The only subsequent changes corrected documentation. The import regression fixture and required pre-push checks, including workspace Clippy, passed on the final head. Formatting passed. An arm64 debug bundle built from the final head with pinned dependencies and an empty compiled sign-in registry; its executable checksum matched after transfer to a macOS VM.Independent review by
claude-opus-5-5found no blocking code defect. Its two documentation findings were corrected: the current Community sign-ins UI location and the issuer contract required for native agent grants.Live Mac validation passed on this head, November 18. The exact arm64 bundle ran in a macOS VM with an existing Keychain identity and a relay enforcing NIP-FI. Its executable SHA-256 was
1df73a79a34545e1724b631337918662c11537b7d8d5f31d903032982a9ca7c9.prompt=login, completed exchange/session/assertion with 200 responses and restored the same identity. A new message was accepted; both messages remained visible after switching away and reopening the channel.The external test issuer was updated separately for the current native logout, forced-login parameter and grant/assertion contracts. Its 28 Node 24 tests passed, including real PostgreSQL integration with signed proofs, renewal, replay refusal, owner/key/relay boundaries and logout revocation. Deployed source hashes and health matched. These issuer changes are not part of this client PR.
The author manually exercised sign-in renewal in the current VM build and confirmed completion. The subsequent full logout/reconnect/agent-grant cycle was driven through the native UI and corroborated with server receipts. Agent validation covers credential lifecycle and signed profile publication; it does not claim model inference. App-session revocation does not establish identity-provider global logout or forced password/MFA.
buzz-review-completed
The November 9 existing-identity Mac validation previously recorded in this description was on
804133e, not this head. It covered browser sign-in, enforced relay access, organization sign-out and a second sign-in with persisted messages. The previous Mac run and contributor's Windows run also cover earlier heads.Fresh enterprise signup, a signed distribution, and adding another authority to the standard download remain outside this change. The rebase was clean against
e933a830; a later merge-tree check against7ab40051was conflict-free, but that combined tree is not the VM-tested artifact. The current application CI run requires maintainer approval and has zero jobs. DCO passed. GitHub reports the PR mergeable, with required checks still blocking merge. The local-authority trust decision above also remains with maintainers.