Guide for teammates: join a shared workspace

This guide is for teammates: someone shared a project folder with smurg and sent you an invite link. You do not need to have used smurg or Claude Code before. The host (the person who shares the folder) should read the host guide. This guide in 繁體中文.

New here? Start with the quick start.

Four things to know first:

Contents: 1. Join · 2. Roles · 3. The main screen · 4. Code mode · 5. Talk to agents · 6. Topics · 7. Worktrees and merge requests · 8. Host offline · 9. Leaving · 10. From a terminal (CLI)

An invite link looks like this: https://<site>/join/<workspace code>#k=…&s=…. When the host uses smurg's shared relay, <site> is app.smurg.ai (the link is https://app.smurg.ai/join/…; https://smurg.ai is smurg's product page and documentation and cannot open a workspace); when the host named another relay with --relay (their own, for example), it is that relay's address. The part after # is the secret that lets you join the workspace: do not repost the link in a group or in public, and do not copy only the part before the #.

  1. Open the link in a browser (Chrome on a computer is the safest choice; Safari and Firefox have not been tested yet).
  2. Log in: choose "Log in with Google" and use your Google account (another relay may also offer "Log in with GitHub"; whoever runs the relay decides which buttons appear). smurg uses the login only to know who you are and gets no access to your code; you do not need a Claude account or an API key. The relay knows which account you use and the IP address you connect from (host guide §2.1).
  3. The page asks "Join this workspace?" and lists the workspace ID and your identity. If this is the link the host gave you, choose "Join". After you join, the host sees your name, your account and your device's name.
  4. You are in the workspace. On the left are your inbox and the list of sessions, grouped by topic; on the right is room for up to four columns side by side: an agent's conversation, a spec, a plan, a result report (§3). The top bar shows who the host is, the connection state ("Connected"), your role, and a switch between "Sessions" (this screen) and "Code mode" (the file tree and the editor, §4).

The interface comes in English and Traditional Chinese: it starts in your browser's language, and the language menu on the page switches it (the login and join pages have it too). Everyone sees the language they chose; this guide quotes the English interface. Agent names (such as Claude (Amy)), the names of topics and work items, and text that other people or agents wrote are never translated.

Afterwards you open the workspace directly ("Recent workspaces" on the home page) and no longer need the invite link: this browser remembers the key of the host's computer. A private window does not; once you close it, you need a new invite link to join again.

Once you have joined, you can read everything in the workspace, including every conversation with an agent that took place before you came.

Should you check the key fingerprint? While sharing, the host can run smurg status on their computer to see the daemon key fingerprint. The first time you join, you can ask the host to read it to you over another channel (in person, on the phone). If you see "Security warning: connection refused" or "The host computer's key has changed", do not go on yet: someone may be posing as the host. It may also be that the host replaced the workspace's keys (for example, shared again after taking Agent access back from a teammate, or reinstalled smurg). Ask the host over another channel (in person, on the phone):

Other things you may see:

You seeWhat it means
"This invite link cannot be used"The link expired, has no uses left or was revoked by the host: ask the host for a new one. One more case: you are already a member, and the link is for another role than yours (the host's link for teammates is usually an Editor link). In a browser that had joined before and needed the link only because of "The host computer's key has changed", the new key was recorded all the same: open the workspace again without the link ("Recent workspaces" on the home page). On a new device, ask the host for a link of your own role.
"This browser already joined with another account"A browser profile can be only one person in a workspace: the first time it joined, this browser was bound to the account logged in then. Log out and log in with that account again; to use another account, open the invite link in another browser profile or in a private window.
"You were removed from the workspace"The host removed you from the workspace. To join again you need a new link from the host.
"Role changed"The host changed your role; the page reconnects by itself with the new permissions.
"Server unreachable"Your own network (or the relay) has a problem; the host is not offline. On smurg's shared relay, the free quota everyone shares may also be used up for today; it comes back after 00:00 UTC, 08:00 in Taiwan (host guide §2.1).
"Host offline"See §8.

2. Roles: what you can do

The host chooses your role with the invite link and can change it later in the host console.

ViewerEditorAgent access
See files, download files or folders, read every conversation, spec, plan and result report, watch every terminal✅✅✅
Be mentioned by other members (it shows in your inbox)✅✅✅
Edit, create, rename, delete and upload files; edit a topic's spec and plan❌✅✅
Vote and comment on an agent's questions; mention people❌✅✅
Send suggestions to an agent (it gets them only when someone with agent access accepts)❌✅✅
Be the responsible person of a session or a work item; review a result report❌✅✅
Mark a topic's result as checked ("I've checked the result")❌✅✅
Decide what a work item that was not merged needs ("Merge it as it is", "Leave it out…"); pause a plan❌❌✅
Start a topic, ask for the plan, start work items, open agent sessions and terminals (they run as the host)❌❌✅
Send messages to any agent, stop it, answer an agent's question in your own words❌❌✅
Allow or deny what an agent asks to run; accept or reject suggestions❌❌✅
Choose the model of an agent session or a topic, and what its agents may do without asking❌❌✅
Type into any terminal session❌❌✅
Ask the host to merge a worktree❌❌✅

Only the host can: invite members, change roles, remove members, read the audit log, force a file lock open, merge a worktree and choose whether work items merge by themselves, undo a merged work item, allow a request that reaches beyond the project, confirm the folder's Claude Code settings, delete a topic, choose the workspace's permission mode (only the host can let agents ask for nothing), and start work items when the host's computer has no usable git (they then run directly in the shared folder).

What Agent access means: the agents you start and the terminals you open run on the host's computer as the host, with no sandbox: an agent uses the host's Claude Code login (the usage and the cost are the host's), and what you allow it to run can do whatever the host's account can do. That is why a host gives this role only to people they fully trust. You do not need your own Claude account or API key, and you cannot use one.

Some files teammates cannot see: every .git folder, .envrc, smurg's own .smurg/, and the host's personal Claude Code settings (.claude/settings.local.json, CLAUDE.local.md). Some files teammates can see but not change (the file tree marks them "Only the host can change this file"): .claude/, .mcp.json and every CLAUDE.md (the host's Claude Code reads them as settings and instructions), .vscode/, .idea/. While the host uses the folder's Claude Code settings, teammates cannot change the scripts those settings run either; the file tree does not mark these, and the change is refused. A folder that holds a file only the host may change, or a hidden one, at any depth cannot be renamed or deleted by teammates: that would move the file with it. It can be a folder you do not expect, such as node_modules when a package in it ships a CLAUDE.md or a .vscode folder. You are told "Only the host can change this path."; ask the host to do it. Apart from these, every member sees every file in the folder (including configuration files such as .env). These limits apply to what people do in the web app and the CLI. Agents are kept from the hidden files too, but a command that someone allows, and any terminal, runs as the host and is not bound by them.

3. The main screen: inbox, sessions and columns

The screen you arrive at is the sessions view (the "Sessions" side of the switch in the top bar).

The inbox (top left) holds what waits for you, in two groups:

The inbox shows two counts, how many items are waiting and how many are to look at. While you are in code mode the same two counts are on the "Sessions" side of the switch; the browser tab's title shows only how many are waiting. What you should know about it:

The session list (below the inbox) is grouped by topic. A topic's rows are fixed: "Discussion" (the session everyone shares), "Spec", "Plan", then one row per work item once the plan exists. Sessions that belong to no topic are in the group "No topic"; a terminal session has a terminal icon. Above the list, "New" starts a topic, a single agent session or a terminal (Agent access and the host), and a filter shows "All", "Mine" or "Waiting". A row in bold means something happened there since you last had it on screen.

Each session shows what it is doing:

StatusWhat it means
"Running"The agent is working.
"Waiting for an answer"The agent asked a question and waits for the answer. A person must act.
"Waiting for permission"The agent asked to run something and waits. A person must act.
"Stopped without a report"A work item's agent stopped before it wrote its result report. A person must look.
"Idle"The agent finished its turn and waits for the next message. A discussion is in this state most of the time.
"Done"The work item is finished and its result report is written.
"Failed"The agent's process ended with an error. It can be tried again.
"Ended"Someone ended the session, or it ended by itself: a work item's session ends when the item is merged and reviewed, when its topic's result is checked, or when it is left out or undone, and a topic's sessions end when the topic is archived. Its conversation stays readable (for a session without a topic: for 30 days).

Columns (the right side) are your own view; nobody else sees what you have open.

4. Code mode: edit files together

"Code mode" in the top bar switches to the file tree and the editor; "Sessions" switches back. Both sides keep their state: the columns you had open are still there when you return. While you are in code mode, the inbox counts stay visible on the switch.

4.1 What the lock notices mean

smurg uses file locks so that people and agents do not overwrite each other. You see these notices above the editor or in the file tree; they also appear when you edit a spec or a plan in a column:

NoticeWhat it meansWhat you can do
"You are editing this file, so agents cannot change it for now."As soon as you started typing you got this file's edit lock: no agent can change it (the agent is told, always in English, "This file is being edited by <your name>. Work on other files first, or try again later."). Other people can still type with you.Keep editing. The lock is released when you stop typing for 30 seconds (the host can change this) or close the file. To let an agent change it now, choose "Let the agent go first" (you get the lock back when you type again).
"You and Amy are editing this file (a shared edit lock), …" / "This file is being edited by Amy, …"Several people share one edit lock; agents cannot change the file for now.As above.
"Claude (Amy) is editing; you cannot type for now"This agent is changing the file: the editor is read-only for the moment, and other agents cannot change it either.Wait: when it is done (60 seconds at most by default), you can type again. What you type in the meantime is not accepted.
"Claude (Amy) editing" and "Editing: Amy" in the file treeThe two locks above.
"This file is read-only for you"Your role cannot edit, it is a file only the host may change, or it is a folder that is read-only inside a worktree (a shared folder, or a topic's specs/ folder in a work item's worktree).
"This file was deleted by …" / "This file was moved to …"Someone deleted or moved the file you have open; this tab can no longer save."Create again from this content" or "Open the new location".

Conflicts: a program can also change a file without the file lock (the host's own editor, or a command an agent was allowed to run, such as sed, a formatter or git checkout). If it changes a place someone is editing, smurg keeps what the person is typing, puts the other version in the "Conflicts" panel at the bottom of code mode and tells both sides. In the conflicts panel you compare the two versions side by side and choose "Keep the text being edited", or "Apply this version…" to replace the whole file with the other side's complete version. Open conflicts show as a count on "Code mode" in the top bar.

5. Talk to agents: messages, suggestions, questions and votes

An agent session is a conversation, and everyone reads all of it, including what happened before they opened it. You see people's messages with their name and role, the agent's answers, and one line for each thing the agent did ("Read", "Edited", "Created", "Ran", "Searched"), which you can open to see the change or the output. Things that wait for people are cards in the conversation: questions, permission requests, suggestions.

Above the conversation a strip shows who is responsible for the session ("Responsible: Ian", or "Responsible: nobody"), where the agent works (the main workspace or a worktree), what it may do without asking (for example "Auto: runs what a check allows"; a topic's discussion shows "Reads code, writes only the spec and the plan") and the model it runs on (rest the pointer on it for the model's full name). When Claude Code runs the session in another mode than the one chosen, the strip says so ("Claude Code runs it as: …"), with the reason. The line above the message box says what the agent is doing or what it waits for (for example "Claude is idle.").

Links in what an agent or a member wrote. A link opens in a new tab, and it shows where it leads when you rest the pointer on it or reach it with the keyboard. Images are never loaded: an image is a link to it. When the words of a link name another place than the link leads to, smurg does not draw them as the link: it writes the words as text and the real destination after them, as the link: github.com (https://evil.example/). It does the same, wherever the link leads, when a dotted name in the words has a letter from outside the English alphabet in it (a look-alike letter in a well-known name, an umlaut), or a character nobody can see beside its dot. This is a help, not a guarantee. smurg reads words as a place when they are an address, a name with a path behind it, or a bare name under one of about fifty well-known endings (.com, .org, .io, .tw …). It draws an ordinary link, with the destination behind the pointer and the keyboard only, for:

So before you follow a link, look at where it leads.

Text that cannot be formatted in time. What agents and people write is shown formatted (headings, lists, code). A text that is too long or too deeply nested, or that takes too long to format, is shown as it was written, under the note "Shown as it was written: this text is too long or too deeply nested to format." A spec is formatted section by section: the section the time ran out on is shown as written and the rest is formatted, and when the time runs out a second time the whole spec is shown as written. When very many texts arrive at once, the ones that have to wait are shown as written for a moment, without the note, and are formatted as soon as the browser has time, the ones on screen first.

5.1 Messages (host and Agent access)

5.2 Suggestions (Editor)

5.3 Questions and votes

Agents are told to bring decisions to the team as multiple-choice questions. A question is a card, "Question from Claude", and the agent waits until it is answered.

5.4 Permission requests

Agents run in auto mode unless someone chose a mode that asks: Claude Code decides which commands run (simple file commands in the agent's own folder at once, the others after its check). An agent asks first when its mode says so, when smurg's own check asks (below), and after its check refused three commands in a row. The card ("Claude asks for permission to run a command") shows the whole command and where it would run.

5.5 Terminal sessions

A plain terminal is a shell on the host's computer, for running tests, builds and other commands by hand. The host and members with agent access open one with "New" in the session list ("Terminal") and can type into any terminal session; Editors and Viewers can only watch it (it is marked "Watch only"). A terminal opens as a column like any session, and in code mode under "Terminal" at the bottom. Everything typed there runs as the host: never paste a password into it. "Attach from your own terminal" lists the smurg attach commands for it (§10).

6. Topics: from discussion to reviewed result

A topic takes one feature or task from the first conversation to merged work that the team has checked. Each step is a row of the topic in the session list.

  1. New topic (host and Agent access): "New topic" asks for a name and, if you like, what you want to build. It says what it does: "Start discussion" opens an agent on the host's computer, with the host's Claude account, that may read the code and write only the topic's folder (specs/<folder>/ in the project).
  2. Discussion: one session per topic that everyone shares. Everyone but Viewers talks with the agent (Editors through suggestions, §5.2); the agent asks its questions as cards and everyone but Viewers votes (§5.3). When the team has said enough, the host or a member with agent access can choose "Write the spec now".
  3. Spec: the agent writes SPEC.md in the topic's folder and says so in the discussion ("Open spec"). In the spec column you read it, or switch to editing and type in it together with the others (file locks as in §4.1: while someone types, the agent waits its turn). "Ask the agent to revise" sends what you want changed to the discussion, where everyone sees it and the agent may ask a new question first. In a very large spec with sections that take too long to format (§5), the first keystrokes can each take most of a second, until every such section has been set aside.
  4. Plan: "Generate plan" (host and Agent access) makes the agent write PLAN.md: a list of work items, each with a title, a description and the items it must wait for. smurg checks the format; if it cannot read the work items, the plan says which line is wrong. When the spec changes later, the plan says so and offers "Update plan".
  5. Who is responsible: the agent suggests who looks after which work item among the members with agent access who are present, and smurg fills in what it leaves open; "Suggest again" computes it anew. The host and the members with agent access change it item by item, or choose "No one assigned: everyone watches"; Editors and Viewers read who is responsible. The responsible person of an item gets its agent's questions, permission requests and result report in their inbox. Being responsible gives no extra rights: an Editor who is responsible decides questions among the agent's options and reviews the report, while commands are still allowed, and decisions on the item taken, by members with agent access.
  6. Start (host and Agent access): before anything runs, a dialog lists what Start will do: which items start now and which wait for others, who is responsible, who edited the spec and the plan by hand since the last Start, the model of the items and what their agents may do without asking (the topic's settings), how the items run, and how they are merged ("How its items are merged": by smurg, the workspace's setting, or "The host merges each item", a stricter choice whoever starts may make). In a folder that is a git repository, smurg commits the two files to the host's repository and each item gets a worktree of it. In a folder without .git, smurg records the folder in its own history (in .smurg, never a .git in the folder) and each item gets a worktree of that. Without git on the host's computer, the items run one at a time directly in the shared folder, with no diff and no undo, and only the host can start them. A repository without a commit stops Start with what the host can do.
  7. Execution: every started work item is an agent session of its own, in its own worktree (§7), and shows up as a row of the topic. Its agent edits files and runs the commands its check allows without asking (§5.4). The plan column stays the overview: what runs, what waits for a person, what was merged. An item that waits for others starts by itself when those are merged, and only while the spec and the plan are still the ones that were confirmed at Start; if they changed, it waits for someone to look at the change and choose "Start again". The host and the members with agent access can "Pause" the plan: nothing new starts or merges until someone chooses "Continue all".
  8. Result report: when a work item is done, its agent writes a report with fixed sections: "What was done", "Why it was done this way", "How it was verified" (each check passed, failed or was not verified), "What to watch out for" and "Changes" (every changed file, with its diff). A report also says how the work ended: "Complete", "Partial" or "Blocked". Under it you can ask about the result or say what to change ("Ask about this result, or tell Claude what to change"); the question goes to the item's session and the answer shows in both places. When the item is finished (merged and reviewed, or its topic checked), the box is gone: "This item is merged and its session has ended. Ask in the discussion."
  9. Merge: smurg merges an item into the main workspace by itself when its report says it is complete and verified: the outcome "Complete", at least one check passed and none failed. The checks are what the agent reports: smurg runs none of them. What waits for the item then starts from the merged workspace. Anything else is a decision for a person (below). When the topic's Start chose "The host merges each item", or the host turned automatic merging off, the host merges each item after reading its diff (§7).
  10. Review: "I've reviewed this" is for the item's responsible person; when nobody is assigned, anyone but a Viewer can press it, once, for all. It means: I read the report and understand the change. A report that says "Partial" or "Blocked" asks once more before it counts ("Mark as reviewed"). If the agent changes the report afterwards, it asks for a review again. For an item smurg merged it is a mark and changes nothing in the folder; for an item the host merges, a reviewed item's changes go to the host's inbox by themselves ("Reviewed, ready to merge").
  11. Ready to check, and complete: when every work item is merged (or left out, or undone), the topic is "Ready to check", and everyone's inbox says so ("Ready to check: <topic>"). Its "Result" row shows every report, every file the items changed with its diff, and the checks that were not verified first. Anyone but a Viewer presses "I've checked the result": the topic is complete and its work items' sessions end. To change something, ask in the discussion: the plan can get a new item, which runs the same way. Only the host can undo a merged item ("Undo…"). "Archive topic" puts a topic away; its files stay in the project and its conversations stay readable ("Show archived topics").

When something stops, it shows, and someone gets it in their inbox:

How well an agent follows this flow depends on the model. smurg checks the plan and the report format itself and asks the agent to correct them, and it puts stopped work into an inbox; but the flow of this version was tested with a scripted stand-in for the model, not with a real Claude account, so expect rough edges and tell the host when a step does not work.

7. Worktrees and merge requests

A worktree is a separate working copy of the project on the host's computer, on its own branch. Agents change files there without disturbing the main workspace that everyone shares. A worktree is only a place to work, not a restriction: what runs in it runs as the host all the same.

8. What "Host offline" means

The host's smurg host is not running, the host's computer went to sleep (the laptop's lid was closed, for example), or the host's network is down. Once the host goes offline, everyone sees "Host offline" within 10 seconds.

When smurg was updated: the screens about versions. The page you use comes from the relay and is replaced there with each new version of smurg; the host's smurg is updated by the host. The two must speak the same protocol version, so around an update you may meet one of these screens. Each says who has to do something:

If one of these screens came while you were joining through an invite link, reload all the same: the page kept the link and asks "Join this workspace?" again. Only a browser that blocks site data cannot keep it; open the invite link again there.

An update of the host's smurg keeps the workspace: its members, their roles and their devices are carried over, from 0.4.0 too. You do not join again, and you are not asked about the host's key. If your page says "Security warning: connection refused" after the host updated, or a link asks "The host computer's key has changed", check the fingerprint with the host as in §1 and ask for a link: a host who went from 0.4.0 to 0.5.0 may have had to start the workspace anew, and may since have gone back to the earlier one. Since 0.5.0 the roles do more than they did in 0.4.0, and you have today's meaning of the role you had (§2).

9. Leaving a workspace: what ends

"Leave" at the top right → confirm with "Leave".

What ends (within seconds): the terminal sessions you opened, and the agent sessions you opened that belong to no topic. The worktrees of those sessions are kept, with their changes, and stay yours: you find them when you open the workspace again.

What passes to the host: the sessions of topics that you created or started. They keep running, now looked after by the host, so a plan does not stop because you left. Questions you would have decided are decided by the next person in line or by the host.

What is removed with you: your votes on questions that are still open, your messages that an agent has not read yet, the kinds of commands you always allowed, a permission mode you chose that is not stricter than what the session would follow, and a model you chose that may be billed to usage credits. Work items you started that have not begun yet do not start until someone starts them again.

What is not deleted:

Closing the tab or losing the connection is not leaving: nothing ends, and what waits for you keeps waiting (after a while the host and the members with agent access can answer in your place).

When the host changes your role so that you can no longer use agents, the same things end, pass to the host and are removed (your votes stay while you may still vote), and the worktrees you had kept pass to the host too: you can no longer remove them. When the host removes you from the workspace, the same happens, the topic sessions you started are stopped before they pass to the host, and your suggestions that nobody decided are closed.

10. Joining from a terminal (CLI, optional)

The smurg command can attach a terminal session of the workspace to a terminal on your own computer (macOS or Linux). Agent sessions are conversations and open in the browser only; the command lists them. Install it first with one line (it is the same program the host uses; see the host guide §1):

curl -fsSL https://smurg.ai/install.sh | sh

Then join:

smurg attach --invite -       # then paste the invite link and press Enter (it is not shown on screen)

smurg connects to the site in the invite link (the relay); you need no --relay. When this computer is not logged in to that relay yet, it asks you to log in first: the terminal prints an address (https://app.smurg.ai/device) and a code. Open the address in a browser on any device (a computer or a phone), log in with your Google account, enter the code, and press "Allow" once the page shows your own account. Press "Allow" only if you yourself just ran smurg in a terminal; if someone else gave you the code, press "Deny".

After joining:

smurg attach                  # lists the terminal sessions (number, owner, state), then the agent sessions with topic and status
smurg attach 2                # attaches terminal session 2 to this terminal; Ctrl-] detaches (the session keeps running)

Under the terminals, the list shows the agent sessions ("Agent sessions (conversations):") with their status and topic, and the address where they open in the browser. Naming an agent session to smurg attach only prints that it is a conversation, not a terminal.

The host and members with agent access can type into any terminal session; other roles can only watch (smurg says "Read-only: …" first). When the host goes offline, smurg attach tells you within seconds. To protect your terminal, a session's output is filtered before it is shown: terminal queries, clipboard access (OSC 52) and other control sequences smurg does not know are never sent to your terminal (a program in someone else's session could be tricked into printing them).

The CLI cannot open sessions, message agents, vote or send suggestions, and it has no "Leave": use the web app for those.