You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is a company on Patchy Cloud — the tenant everything hangs off? Multi-tenant SaaS run by Patchy is settled; this ticket sharpens what "private to each company" isolates (patches, data, integrations, identities), how a company comes to exist, whether a person can belong to more than one, what a company's own admin can do versus Patchy as the platform operator, and what "dedicated instances later" must not be foreclosed by.
Output: glossary entries and the Company section of docs/product.md. Input: Comparable platforms — companies, identity, and access.
Grilled across three rounds; landed in #95 as the Companies section of docs/product.md plus glossary entries in the Auth and Patches CONTEXT.mds.
Company is the tenant and the unit that pays: everything (patches, connections, groups, users) lives in exactly one; usage counted against it; nothing crosses its line except a patch made public. Flat — no sub-tenants — with a globally unique handle. Created at signup by its first admin; self-serve billing is the intended path; no person exists outside a company (a solo builder is a company of one).
User: one individual, one account, exactly one company (agencies/consultants deliberately deferred). Holds expiring, rotatable per-machine tokens. Deactivated (admin's act: sign-in and tokens end, personal connection credentials wiped, data kept, owner-only patches and their provisioned primitives go into the retired state — cost stops, nothing is lost) is distinct from deleted (later act; the flow prompts the admin to reassign the user's patches, unreassigned ones go with the account). Patches shared to a group or company-wide stay up through owner deactivation.
Group: the one sub-unit concept — a named set of users, admin-created, many per user, purely a grant surface. "Team"/"department" are labels companies give groups, not system nouns.
Admin runs the company (invites, groups, permissions, company integrations, and alone reassigns patch owners); at least one always exists and the last cannot demote themself. Operator (Patchy) holds platform powers only — create/suspend/delete a company, quotas, moderation — never acts inside a company; suspension is also where a company out of credits lands; company deletion is the admin's, with a recovery window.
Integration vs connection: Patchy ships the integration (the capability); a company or a user holds a connection (the credentialed instance). Personal connections need no admin enablement and die with the account (credential wiped, data kept). Patches use connections, never credentials.
Addresses (graduated from fog): sharing scope is single-select — owner (+ named users), exactly one group, or company-wide — and the address follows it: company/user/patch, company/group/patch, company/patch. Users and groups share one per-company handle namespace; names are first-come, never reserved; widening prompts for a free name, old addresses redirect until reclaimed; identity stays the id.
Dedicated instances: no rules reserved now — YAGNI, one server; dealt with when it comes.
Left to Identity and access: sign-in and SSO, roles beyond admin, per-patch access mechanics, token binding, the who's-who glossary and the operator collision.
Activity
allisonmahmood commentedon Aug 31, 2026
Resolution
Grilled across three rounds; landed in #95 as the Companies section of
docs/product.mdplus glossary entries in the Auth and PatchesCONTEXT.mds.company/user/patch,company/group/patch,company/patch. Users and groups share one per-company handle namespace; names are first-come, never reserved; widening prompts for a free name, old addresses redirect until reclaimed; identity stays the id.Left to Identity and access: sign-in and SSO, roles beyond admin, per-patch access mechanics, token binding, the who's-who glossary and the operator collision.
docs(product): define companies and tenancy (#18) (#95)