Repository navigation
docs(product): define identity and access (#19) - #96
Merged
Merged
Conversation
Adds the Identity and access section to docs/product.md and the who's-who glossary: Clerk holds who a person is, Patchy holds the company and which machines act as a user; invite or verified domain; member and admin, everyone builds; owner-only editing; device login with code confirmation and a per-machine token (90 days absolute, 30 idle). Fixes the operator collision: the CLI's agent is its driver, operator is Patchy. Written by Claude Fable 5 via Claude Code.
This was referenced Sep 1, 2026
Closed
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.
What changed
Patchy Cloud had patches, tiers and companies written down, but not how a person gets in or what they may reach once they are: the "log in once, every link you have access to just opens" promise was a sentence, not a design.
This adds the Identity and access section to
docs/product.md: Clerk holds who a person is (Google, Microsoft or an emailed code — no passwords; company SSO self-served by the admin, enforced on a verified domain, paid); invite as the default way in, a verified domain as the opt-in auto-join; the hard one-company rule and what it refuses; two roles — member and admin — and everyone builds; owner-only editing with admins seeing everything; inside-the-company or public, nothing between; what the wrong person sees (login door / ask the owner + request access / no such patch); andpatchy login— a device login where the person confirms the code in a signed-in browser and names the machine, yielding one machine token per machine, shared by every agent on it, Patchy's own, 90 days absolute / 30 idle, listed and revoked on Your machines. Self-service minting retires with it. The who's-who glossary closes the "operator" collision: the CLI's agent is its driver; operator stays Patchy.Glossary entries land in the Auth
CONTEXT.md(member, session, invite, verified domain, SSO, device login, machine token, your machines, operator; self-service token and revocation updated), the PublishingCONTEXT.md(driver, agent, login handoff; auto-mint marked retiring), the PatchesCONTEXT.md(owner), and the ServingCONTEXT.md(reader vs viewer).Resolves the Identity and access ticket on the foundation map. Research behind it:
research/clerk-organizations-and-ssoandresearch/cli-device-loginbranches.How it was verified
Docs only.
prettier --checkpasses on the five files. (pnpm lintOOMs on cleanmaintoday — unrelated, pre-existing.)pnpm testpasses locallyRelease impact
Documentation only; no code, contract or schema changes.
Written by Claude Fable 5 via Claude Code.