Working with others on an app
The repository's admin invites a person as a contributor. A contributor reads the repository, enters its app and previews, and asks its crew for changes from their own Talk. What they ask lands as pulls the owner lands: a contributor merges nothing, changes no setting, sees no variable or webhook, opens no terminal on the app, and invites nobody. Their asks run on the owner's crew and subscription, so the week's cap holds them as it holds the crew's own work: a run passes the cap only for someone who writes the repository, and that holds for an outsider's run too.
- Talk and MCP:
invite { repo, who }, one confirm, makes a person with an account a contributor at once; they hear it on their notice path (crew/notify.ts), with a link to their Talk on the app.invite { repo, who, remove: true }takes them off;invite { repo, link: true }, one confirm, makes a one-use link for anyone, with or without an account (below);invite { repo, revoke: <id> }takes an open link back.invite { repo }lists who works on it and the links, by state and never with a token (a read, never held). The repository's admin only: a contributor is told it is the admin's, anyone else gets not found. - A one-use link:
/join/<token>, good for one person for 7 days; the forge keeps only the token's hash and shows the link once, to whoever made it, never in the conversation it was asked in. Opening it spends nothing: signed out it offers Create an account and Sign in, signed in one Join button. Where the forge asks for an invite to sign up, the link is one: the sign-up spends it and makes the new account a contributor in the same write, then lands on their Talk on the app. A used, taken back or expired link answers one sentence (410). - The terminal: on an app's deploys screen,
Wlists who works on it;ainvites a person by username,lmakes a one-use link (shown once) anddtakes the one under the cursor off, each after a confirm. - Exports: the owner's account export names who contributes to each repository, by username only; a contributor's names the repositories they contribute to.
- Proposing from another forge: a contributor may fork the repository even while the forge holds new accounts (
guard_new_accounts), since a fork is how a reader proposes; nothing else they make skips that wait. Someone not invited who is held hears it frompropose_upstreamin one sentence: the forge holds forks by new accounts, ask the owner to invite you. - Taking someone off is at once: every read, app entry and crew direction asks the row on its request.
Proof: test/invite-contributors.test.ts. The rules are core/invites.ts and actions/invites.ts; the checks are canRead, canEnterApp (core/repos.ts), REPO_VISIBLE (core/visibility.ts) and mayDirectCrew (crew/direct.ts).