How it works
Workspaces and hand-off
Every conversation is in one workspace. Only you can read your personal workspace. Everyone in a team workspace can read it, and one person at a time works on each conversation.
- Alice creates a workspace. Its key is made on her computer. The server stores a copy sealed for her, and can open nothing with it.
- She invites Bob, by the email of his GitHub account. Bob already uses Cesar, so her computer makes his copy of the workspace's key at once and leaves it with the invitation. With --admin he can invite and remove people too.
- Bob joins. The copy that came with the invitation is his from that moment. He can read every conversation in the workspace.
- Alice moves a conversation in. Its key is sealed once more, with the workspace's key. Until now only she could read it.
- She hands it off. Her last turn is sent, and she lets go of the conversation.
- Bob pulls it. He is now the one working on it, and continues it with his own coding agent.
Two kinds of workspace
Personal. Made at your first login. Every conversation you sync goes there first. Nobody else can read it, whatever their role in your team.
Team. Made with cesar workspace create. Everyone in it reads every conversation in it, and the team's brain is built from those conversations. A conversation enters it with cesar move, and goes back to you alone with cesar move <id> personal.
One person at a time
Two people continuing the same conversation would overwrite each other. So the server keeps track of who is working on it, and cesar list shows who. Pulling a conversation someone else is working on is refused. There are three ways to pass it on:
cesar handoff 1a2b3c4d --to bob@acme.io # send your last turn and let go, for him
cesar release 1a2b3c4d # send it and let go, without naming anyone
cesar take 1a2b3c4d --into ~/code/app # ask whoever has it, wait, then pullWhen someone asks for a conversation you have, your coding agent tells you once, at the end of a turn.
cesar givelists who is asking.cesar give <id>sends your last turn and hands the conversation over.cesar give <id> --declinesays no.
Meanwhile, anyone in the workspace can follow along with cesar watch <id>: each new turn appears as it is sent.
When someone joins and cannot read yet
The server decides who is listed as a member. It does not decide who can read: that takes the workspace's key, which the server never has. For someone who already uses Cesar, their copy of the key comes with the invitation, as in the steps above.
Someone who has never run cesar login has no key of their own yet, so no copy can be made for them. They install Cesar and join, and one of your computers makes their copy the next time it syncs. Until then they see the workspace and can open nothing in it.
If that does not happen (the person who invited them is away, or someone left the workspace in between, which changes its key), any owner or admin can do it by hand:
cesar workspace approve acme carol@acme.ioBeing listed is not enough on purpose. If it were, the server could add an account of its own to your workspace and read it. How encryption works explains why.
Remove someone
cesar workspace remove acme bob@acme.ioHe can no longer fetch anything from the workspace. Its key is also changed, so what is moved in afterwards is sealed with a key he never had. The copies already on his computers stay there: nothing can take those back.
Good to know
- Close the conversation in your coding agent before
handofforrelease. A turn that ends afterwards is not sent by auto-sync, because that would take the conversation back from your teammate. cesar pull --forcetakes over a conversation someone else is working on. Their next push is then refused.- Deleting a conversation removes it from the server, not from the computers that already have it.
- Who may invite, remove and rename is on Rules and roles.