Repository navigation
Conversation
docs/organizations.md says what an organization is (a separate account whose chats are hosted on its server, private until shared), what runs where, who can see what, how sharing and verbs work, bots, the hosting policy, the limits that are still open, and a ten-minute path: Compose up, claim, invite, first hosted chat. The top-level README and the documentation map link to it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The services table now lists the sessionhost and gitstub profiles, the six volumes and the two networks. Adds a Contents list, loopback trust on a team server (and that this stack cannot turn it on), Invite someone, the idle and user-number settings of the sessionhost, what to do when a published image is not found, and that .env is not git-ignored. Corrects "only the owner drives" against the guest sections, the owner's stop and delete, the no-build advice after building only the codeaf image, and the Railway service count. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…e app door A chat moved into a workstream stays as private as it was and is listed only to people it is shared with, not to the workstream; a grant on a private chat, Afi's pane or a hosted chat reaches the people it names and nobody else; stopping or deleting a hosted chat needs the manage permission, not only ownership; a bot starts hosted chats only where the policy lets agents create, and only reads My space and the lists; the operator sees a private chat only when the policy says so; removing a person stops their bots; a hosted chat is shared by a grant, not by moving it, and its spend lands in My space under the owner's own key too; a chat's task on an organization's server does not start by itself; Afi's pane can be shared read only; an organization's runner starts without GitHub; the AgentField examples name the node swe-planner. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…hat" and "how do I join"
New sections in a person's own words: what the operator, a company's IT and
whoever runs the machine can see; switching between Personal and the
organization and what each window shows; what happens when the server is down
(one sentence, never run locally); a teammate sending messages while the owner
has the chat open; joining a company's organization by invite link; and hosting
one (Docker Compose, Railway, the operator's guide). Two headings take the
words people use for them ("shared chat", "sandbox"). Seventeen probes in
chat_test.go keep these questions reaching those pages.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…guide and manual sections Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The worker law bans the swe worker from every manual page, and its pattern (\bswe\b) cannot tell the AgentField reasoner swe-planner or the SWE-AF agent from the removed worker. factory-agentfield.md goes back to the base spelling of the two example targets (planner.build_issue), and organization-start.md describes the Compose stack's agents by what they do instead of by name. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The one conflict was the hosted-chats start step in deploy/org/README.md: org/main builds codeaf from this checkout by default now, so its wording stands, and the rest of the README (the smoke test paragraph, the pins and the Secrets paragraph) now agrees with it and says that .env is ignored by git. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
hostedOwnerManage said only the owner can stop or delete a hosted chat, but the check is the manage verb, which a guest shared in full holds too, so the sentence was false for them. It now reads "Only this chat's owner, or someone it is shared with in full, can stop or delete it." The test and the manual page that quote it follow. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The sharing page and docs/organizations.md say that by default only the owner moves a chat and that chats.move_by lets people with manage do it too, and the start step says Compose builds codeaf from this checkout. The change entry drops the two claims org/main's own entry now covers and records the reworded stop and delete sentence. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
AbirAbbas
added a commit
that referenced
this pull request
Nov 25, 2026
…ack (#2903) The hosted organisation line: a team-mode org server deciding every request through one access model (verbs, roles, grants and policy in SQLite), hosted chats run by the sessionhost under a per-chat uid inside a Landlock fence with minted model bearers, sealed keys and a git helper, shared chats acting through verbs, bots owned by their creator, the Hosting and chats policy settings, and a self-hosting stack (deploy/org Docker Compose, published images behind a leak gate, a Railway path). Consolidates #2894 #2895 #2896 #2898 #2899 #2900 and the follow-ups #2904 #2905 #2907 #2908 #2910 #2911 #2912 #2913 #2915 #2916 #2918 #2927 #2936 #2944. Proven by the full suite, a keyless Compose smoke, a hostile wire client, sandbox escape probes, a real-model run and a production-style install from the published images. Co-Authored-By: Santosh kumar <29346072+santoshkumarradha@users.noreply.github.com> Co-Authored-By: ZeroPoint95 <329227198+ZeroPoint95@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Documentation for the organization feature, for two readers: the operator who self-hosts one, and a person who joins one. Draft, into
org/main; nothing goes todev.What changed
docs/organizations.md(new): the entry point. What an organization is, what runs where (text diagram), the trust model, sharing and verbs, bots, the hosting policy, the limits that are still open, and a ten-minute path (Compose up, claim, invite, first hosted chat). Linked fromREADME.mdanddocs/README.md.deploy/org/README.md: made correct end to end againstcompose.yaml, the scripts and the code (services table with the sessionhost and gitstub profiles, six volumes, two networks, loopback trust on a team server, Invite someone, sessionhost idle and user-number settings, published image not found,.envis not git-ignored, owner stop and delete, Railway service count,--no-buildadvice). Adds a Contents list.internal/manual/chat/): sentences that became false are fixed (see the second commit message), and new##sections answer "can my admin read my chats", "who pays for a shared chat", "how do I join my company's codeaf", "does the organization's window run on my laptop", the server-down case, a teammate sending messages while the owner has the chat open, and "how do I host one". Seventeen probes ininternal/manual/chat_test.gokeep those questions reaching those pages.docs/changes/unreleased/.False claims removed
manageverb (fullholds it), not ownership alone. The refusal sentence said otherwise (Only the owner of this chat can stop or delete it.), so it is reworded in code, test and manual toOnly this chat's owner, or someone it is shared with in full, can stop or delete it.(hosted_access.go,hosted_p2_test.go).deploy/org/README.md: "five named volumes" (six), "nothing long-lived runs as root" (the sessionhost does), "only the owner drives" (guests, below it), "seven services" on Railway (six).Validation contract
docs/organizations.mdanddeploy/org/README.mdand know what each piece does.org/main; claims that could not be settled are listed in the open questions, not written as fact.chat_test.gofails if a new question stops reaching its page.Open questions (code and decisions disagree, or cannot be settled from code)
manageholder stop and delete (org gaps: ignore deploy/org/.env, Compose builds codeaf from source, chats.move_by policy, entry 2900 wording #2910's entry says so too). The docs follow the code.chats.move_by. The docs say "by default only the owner".)codeaf factory token addmints the host's access token. A non-operator on a password-only organization has no documented way to a--orgtoken.deploy/org/.gitignoreignores.env. The README says so.)loopback_trustcannot be set in the Compose stack:scripts/serve.shrewrites the host config on every start.codeaf sessionhost; the pinned releasefetchdownloads does not.compose.yaml, not run.Merge with org/main
org/mainat #2910 was merged in (a merge commit, one README conflict). The README,docs/organizations.mdand the sharing page now agree with it: Compose builds codeaf from source by default (fetchis opt-in),.envis git-ignored, andchats.move_byisownerby default.Gates
make test-focus PKGS=./internal/manual RUN=.green; tui3 and sessionRUN=Manualgreen;make changelog-check. Run niced under the wave lock.🤖 Generated with Claude Code