Skip to content

Teams: first foundation (message authors, access decision, join links) #866

Open

Description

@bvsr365

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 teamAccess function decides cross-person routed calls. A new crossUser mark 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/config advertises joinLinks: 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 means localOnly, 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.

Activity

  1. self-assigned this
    on Nov 10, 2026
  2. bvsr365 commented on Nov 10, 2026

    @bvsr365
    CollaboratorAuthor

    First PRs are open:

    Follow-ups for the next slice:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions