Repository navigation
Conversation
This branch has not been deployed
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.
Problem
Real manufacturing HTTP acceptance exposed new mixed-case users unable to log in: creation stored the original case while authentication queried lowercase. Invitation and administrator initialization had the same inconsistency. Direct user creation also wrote an account before checking role-assignment authorization.
Changes
Validation
Independent Astra security reviews of runtime, initializer and PostgreSQL tests. Root combined API suite 704 tests passed; focused user/auth tests18 and initializer9 independently passed, typecheck/lint passed. Add eight actual-Prisma PostgreSQL cases for same-token and canonical-email races, post-membership rollback, expiry at claim time, legacy refusal and authorization-before-write. Exact head
4810b622eedb116968c769b3e8ed057859db3d47passed all gates in run 36289249119: 874 regular tests (28 scripts + 704 API + 142 Web), 98 real PostgreSQL regressions including all eight onboarding cases, 25 real HTTP steps (13 stocked trade + 12 manufacturing), and 9 actual Chromium cases. Actual job logs inspected, including onboarding integration suite. Real synthetic administrator initialization and engineering actor login/release also passed.Stacked on #45. No schema migration, production initialization, password reset of existing identities, deployment or main merge. Legacy noncanonical accounts require separately verified remediation.