pitview home

Teams

A team is the group of people whose agents share with each other. Everything pitview shares stays inside one team. You can be in more than one team, and what one team shares is never shown to another.

Create a team

Sign in to the dashboard. If you aren't in a team yet you see Welcome to pitview. Type a name under Start a team. Under Repositories to share, list the repositories the team works in, one per line, for example github.com/acme/app. You can leave it empty and add them later. Choose Create team.

Whoever creates the team is its owner.

Invite people

Open Settings and copy the Invite link. Anyone with a GitHub account who has the link can join, so send it privately.

A person who opens the link signs in with GitHub, sees the team's name and its repositories, and confirms. Nobody is added to a team just by opening a link.

Join a team

Open the invite link you were sent and confirm. Or paste the link into Join a team on the welcome page.

The page lists the team's repositories, all ticked. Your work is shared in the ticked ones. Untick any you work in alone and want to keep to yourself; you can share them later from Settings.

Joining a team never takes you out of another. See More than one team.

If the link says it doesn't work, it has been replaced. Ask a teammate for the current one.

What the owner can do

Only the owner can:

  • change team settings: never-share patterns, how long records are kept, Slack, the digest time and time zone
  • remove any repository from the team's list (the person who added a repository can remove it too)
  • make a new invite link, which stops the old one working
  • remove a member

Removing a member takes away their access straight away and changes the invite link, so they can't rejoin with the old one.

Leave a team

Settings, then Leave team. This leaves the team the dashboard is showing and no other. Your agents stop sharing with the team. What you already shared stays with the team until its retention period deletes it; delete your sessions first if you want them gone.

If the owner leaves, the team passes to the member who joined it earliest. When the last member leaves, its invite link stops working.

More than one team

If you work on separate projects with separate people, join a team for each. Create or join another team under Settings, Another team.

On the dashboard you see one team at a time. When you are in more than one, the team name at the top is a menu: choose a team there to switch. A link to a session in another of your teams asks first, then switches to that team and opens it.

From your laptop, work in a repository is shared with a team only when that team lists the repository. See Your team's repositories. If more than one of your teams lists it, pitview shares with one of them. It uses the team you chose for that repository with pitview team use <team name>. If you haven't chosen, nothing from that repository is shared until you do, and you get one notice telling you to choose. Sharing starts with the next session after you do:

pitview team use "Side project"

Run it inside the repository. pitview team shows your teams and where the repository you are in is going. pitview team use --clear removes your choice. You can only choose among teams that list the repository.

Your choice is yours alone. It never moves a teammate's sessions, and it is forgotten if you leave that team. A session that is already running stays in the team it started in.

Never-share patterns add up: a file or branch that any of your teams keeps out is kept out of all your work, because your laptop filters before it knows which team a repository belongs to.

Each person has one colour across all their teams, so in a second team two people can share a colour.

Your team's repositories

Each team lists the repositories it works in. Only work in a listed repository is shared with the team. Work in any other repository stays on your computer: your agent sends nothing about it, and no one on the team sees it. This is why you can use pitview in the same account for side projects and client work without sharing them.

A repository is identified by the address of its remote, for example github.com/acme/app. If a repository has several remotes, such as a fork and the original, it is shared when any one of them is listed. Two people are compared when their sessions are in the same listed repository. A repository with no remote is never shared.

See the list. Open Settings, then Repositories. Each repository shows who added it, when, and how many sessions it has.

Add a repository. In Settings, paste its address under Add a repository. You can paste github.com/owner/name, the page's link, or the clone address. Any member of the team can add one. Adding it shares your own work there; teammates are each asked first (see below). Or run this inside the repository:

pitview team add

If you are in more than one team, say which: pitview team add "Acme". A team lists at most 200 repositories.

Remove a repository. Choose Remove… next to it in Settings, or run pitview team remove inside the repository. The owner can remove any repository. Other members can remove the ones they added. Running sessions in it end. Sessions already shared are kept but hidden from teammates, and the people who did the work still see their own. Adding the repository again brings them back. Only the owner can delete them: the box that opens has Also delete its sessions, which deletes every session in the repository, whoever's they are, and can't be undone.

When a teammate adds a repository. Your work in it isn't shared until you say yes, because it could be a repository you use on your own. The Now page asks: Share or Not this one. Not this one stops the question; you can still share it later with Share my work here in Settings, or by running pitview team add inside the repository. Your agent sends nothing from it until then, and pitview team says who added it. Sessions you already had there are hidden from teammates, and from your own lists, until you share it. Repositories that were already listed when you joined were on the join page, so you aren't asked again.

When a repository isn't listed. Your agent sends nothing, and you see one hint the first time you work there:

pitview isn't sharing your work in this repository (github.com/acme/app). To share it with Acme, run: pitview team add

Run pitview team add there to start sharing. The same hint shows in a repository a teammate added that you haven't said yes to, and pitview team add is your yes. It can take up to five minutes for another computer to notice a change to the list. Work your agent never sent while the repository was unlisted is not shared later.

Teams that existed before repositories were listed started with the repositories where at least two of their members had worked. Those show as "listed automatically" in Settings. A repository only one person had used is not listed: add it if the team shares it.

How long records are kept

Session records (intents, summaries, decisions, file paths, warnings) are deleted after the team's retention period, 90 days unless the owner changes it. Deletion is automatic and runs at least hourly.

Team settings and your own settings

Team-wide never-share patterns apply to everyone. Each person can add their own under Just you. A repository can add more in a .pitview.json file. See Privacy and data.

PreviousThe dashboardNextSlack