Repository navigation
Open
Description
Problem
Mousse has no teams. Only one person can use their computers and threads, and no message records which person wrote it. Teams is the main product focus. The plans are in docs/plans/teams-architecture.md and docs/plans/teams-ui.md (added in a separate docs PR).
Goal
Lay the first foundation for Teams behind a default-off netTeams feature flag. A single-user install must behave exactly as before.
Done when
- Authors. Every human message and queued item sent from another person's node carries an author stamped by the receiving daemon. A client cannot name its own author. People edit or remove only their own queued items. Approvals record who answered.
- Access decision. One
teamAccessfunction decides cross-person routed calls. A newcrossUsermark on routed rows is deny-by-default, and a test walks every row. A thread that stays on this computer (localOnly) can never be shared. With the flag off, behaviour is unchanged. - Join links (Mousse ID). Mousse ID can hold a team join link for up to 7 days and relay join requests across accounts for approval. The approval carries a sealed 24-hour Space invite.
/v1/net/configadvertisesjoinLinks: 1.
Out of scope for this issue
The team Space kind and its events, the team identity (team user vs admin-owned Space, which needs a spike), the Team page, Share and Hand off UI, providers on team computers, OS accounts per member, and the web join page.
Decisions for the first build
These follow a review of both plans against current master by a Fable 5.2 critic.
- Shared-login first. A team computer starts as one shared OS account. Providers there are usable by everyone; "Only " waits for per-member accounts, because in one account any agent can read another person's tokens.
- The simpler UI model. A person is either in a thread or not; there are no viewer or maintainer levels. Anyone in a thread answers approvals. You steer only your own queued item.
- No new "private". On
master, "private thread" already meanslocalOnly, so team copy says "Only you", "People you add" or "Everyone in ". - Join links point to an invite. A 7-day link is a pointer, not a bearer invite. Approval issues a joiner-bound
sj1_invite that lasts 24 hours, because Space invites are capped at 24 hours.
Metadata
Metadata
Assignees
Labels
No labels
Activity
bvsr365 commentedon Nov 10, 2026
First PRs are open:
netTeamsflag.Follow-ups for the next slice:
nodeAuthorityand session admission inNetService.TeamDirectory, then the desktop side of join links.