Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/j5/product/features/inbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The inbox is the one place a person looks to find everything that is waiting on

The **inbox** is a person's queue of open asks, live Crew-seat provider approvals, and placed agents' pending native questions. It is **person-scoped, not project-scoped**: a person has one inbox across every environment the client connects to, every item wears the project it came from and, when more than one environment is connected, its environment, and no project selection elsewhere in the app hides an item.

The Inbox holds requests the person can act on: agent-addressed Exchanges, live Crew-seat provider approvals, and native questions on J5-spawned Peer Agents and live Crew seats. Native questions are links to the agent's original question form, not Exchanges or another answering form. A pending question counts whether it blocks the agent or the provider lets it continue working. Resolved, expired or cancelled questions leave the list as the server reports the change. A Captain's own native questions and approvals, and Crew roster approvals, stay inline in the thread the person watches. When a Captain needs the person's decision it asks with an Exchange, which is listed here and pinned above its composer, where it can be answered too; answering in either place closes the one ask. Native or delegated Subagents use upstream's parent routing.
The Inbox holds requests the person can act on: agent-addressed Exchanges, live Crew-seat provider approvals, and native questions on J5-spawned Peer Agents and live Crew seats. Native questions are links to the agent's original question form, not Exchanges or another answering form. A pending question counts whether it blocks the agent or the provider lets it continue working. An agent with more than one pending question, as when a restart leaves the old one open and the resumed turn asks again, has one link. Resolved, expired or cancelled questions leave the list as the server reports the change. A Captain's own native questions and approvals, and Crew roster approvals, stay inline in the thread the person watches. When a Captain needs the person's decision it asks with an Exchange, which is listed here and pinned above its composer, where it can be answered too; answering in either place closes the one ask. Native or delegated Subagents use upstream's parent routing.

A plain message to a person is refused; agents send an ask when a reply is owed. The person never opens an ask through the platform: their channel to an agent is its thread, and their only act on the ledger is the answer that closes an Exchange.

Expand All @@ -31,11 +31,11 @@ A server puts asks only in the inboxes of people who can write to the asking age

**Several people.** Where more than one person can write to an agent's thread, the agent can ask one of them, or **everyone here**: everyone who can write to its thread when the ask is read. An ask to everyone appears in each of their inboxes, marked as for everyone, and is counted on each of their bells. The first reply closes it for all of them, as any reply closes an ask, and for the others it moves to the Replied shelf showing who answered. A reply that arrives after that is refused and changes nothing. A person who had started typing an answer keeps the item in place, with their words, and sees who answered. In a thread only one person can write to, there is no "everyone here": the agent asks that person ([shared conversations](shared-conversations.md)).

**Owner actions.** An ask can carry one record J5 itself made, and with it one button only an Owner sees, in the Inbox and on the Captain's pinned card. The record shows in a **Recorded by J5** panel beside the agent's words, carried as data on the item rather than in the message, so the agent's text can't hide or imitate it. An indented block the record quotes, such as a persona draft's definition, keeps its layout in fixed-width text and scrolls sideways; the rest wraps. An ask about a persona launch the server refused carries J5's record of the block; where lifting one limit would let it run, the button is **Allow this once**, which answers the ask with a fixed reply and lets one launch attempt past that limit ([blocked personas](../agent-personas/index.md#blocked-personas)). An ask carrying an agent's persona draft carries the draft's summary and any override warnings; the button is **Save persona**, which saves the draft to the library, once, and answers the ask with a fixed reply ([editing in conversation](../agent-personas/index.md#editing-in-conversation)). Either record stays on the item it opened: it goes only on a new ask, a second ask can't take it while the first is open, and on a `regarding` follow-up to that ask an id already on it is ignored. Anyone else answers in words, which grants or saves nothing, and an answered ask saves nothing afterwards. The mobile app shows these asks and J5's record as plain text, without the button.
**Owner actions.** An ask can carry one record J5 itself made, and with it one button only an Owner sees, in the Inbox and on the Captain's pinned card. The record shows in a **Recorded by J5** panel beside the agent's words, carried as data on the item rather than in the message, so the agent's text can't hide or imitate it. An indented block the record quotes, such as a persona draft's definition, keeps its layout in fixed-width text, and a long line wraps under its own indentation; the rest wraps as prose. An ask about a persona launch the server refused carries J5's record of the block; where lifting one limit would let it run, the button is **Allow this once**, which answers the ask with a fixed reply and lets one launch attempt past that limit ([blocked personas](../agent-personas/index.md#blocked-personas)). An ask carrying an agent's persona draft carries the draft's summary and any override warnings; the button is **Save persona**, which saves the draft to the library, once, and answers the ask with a fixed reply ([editing in conversation](../agent-personas/index.md#editing-in-conversation)). Either record stays on the item it opened: it goes only on a new ask, a second ask can't take it while the first is open, and on a `regarding` follow-up to that ask an id already on it is ignored. Anyone else answers in words, which grants or saves nothing, and an answered ask saves nothing afterwards. The mobile app shows these asks and J5's record as plain text, without the button.

**Worktree cleanup.** When archiving a Crew keeps worktrees J5 created for its seats because they hold uncommitted changes or commits that never merged, the archive files one item for all of them, however many seats and worktrees it covered; a worktree whose commits are not on its branch (its seat detached or switched branches) is not offered, because removing it would leave those commits unreachable, and is kept and reported as unverified instead. No agent sent it, it is not an Exchange, and no agent can answer it; it reads "J5" as its sender, is marked FYI, and sits after the asks. Each worktree shows its thread, its branch, its uncommitted files, its commits not on the default branch, and its pull request when it has one, and the item says that removing discards the uncommitted changes and keeps the branch. Nothing is picked at first: the person keeps all, which clears the item and changes nothing, selects the worktrees to remove, or selects all. Each worktree they approve is checked again first, staged changes included; one that changed, is now used by an unarchived thread or an open session, or is already gone is skipped and reported, and a removal that fails is reported with its reason. Only Owners are shown the item and counted for it. The item resolves once, stays in place afterwards showing what was removed, kept, skipped or failed, and then lives on the Answered shelf.

The Inbox is reached from a bell in the rail that counts open asks, seat approvals, native-question links and, for an Owner, worktree cleanups, and opens a full page. The page's count line gives worktree cleanups their own clause, apart from questions. It is available on web, desktop and the mobile app, over local, remote and tunnel connections. On the mobile app the bell sits in the thread list's header and opens a full screen where asks are read and answered in place, seat approvals are answered with the provider's approval buttons, and native-question links open the agent's conversation; its answers carry words only for now. An Owner's worktree cleanups are listed read-only there and finished on web or desktop. A server the person has turned off is left out of the Inbox and its count, as it is from the thread list; one retrying after a failure says it is reconnecting and keeps its saved results.
The Inbox is reached from a bell in the rail that counts open asks, seat approvals, native-question links and, for an Owner, worktree cleanups, and opens a full page. The page's count line gives worktree cleanups their own clause, apart from questions. It is available on web, desktop and the mobile app, over local, remote and tunnel connections. On the mobile app the bell sits in the thread list's header and opens a full screen where asks are read and answered in place, seat approvals are answered with the provider's approval buttons, and native-question links open the agent's conversation; its answers carry words only for now. An Owner's worktree cleanups are listed read-only there and finished on web or desktop. A server the person has turned off is left out of the Inbox and its count, as it is from the thread list; one retrying after a failure says it is reconnecting and keeps its saved results. Its asks stay readable but can't be answered until it is back.

The inbox is **not** a backlog (a non-blocking note an agent wants to keep is a Memo), **not** an alerts feed (an agent that fell over is a measured fact for the Fleet page, not an obligation), and **not** project-scoped.

Expand Down Expand Up @@ -111,3 +111,4 @@ The inbox is **not** a backlog (a non-blocking note an agent wants to keep is a
- 2026-11-09 — a turned-off server is left out of the Inbox, and a retrying one says it is reconnecting, as upstream's lists do, on every client ([#958](https://github.com/Jacksondr5/j5code/issues/958)).
- 2026-11-09 — the mobile Inbox answers seat approvals, links native questions and counts both on its bell, and shows an Owner's worktree cleanups read-only (Jackson, [#836](https://github.com/Jacksondr5/j5code/issues/836), [#910](https://github.com/Jacksondr5/j5code/issues/910)).
- 2026-11-09 — the Recorded by J5 panel keeps a quoted definition's layout ([#967](https://github.com/Jacksondr5/j5code/issues/967)).
- 2026-11-11 — a quoted definition wraps under its own indentation instead of scrolling sideways; an ask from a disconnected server is read-only; an agent with several pending questions has one link; the mobile seat approval has one row of actions (Jackson at Checkpoint 4, [#1010](https://github.com/Jacksondr5/j5code/issues/1010)).
Loading
Loading