diff --git a/docs/j5/product/features/inbox.md b/docs/j5/product/features/inbox.md index faa1b9fcfa5b0..87fb35b8603e3 100644 --- a/docs/j5/product/features/inbox.md +++ b/docs/j5/product/features/inbox.md @@ -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. @@ -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. @@ -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)). diff --git a/docs/j5/user/personas.md b/docs/j5/user/personas.md index 623f2e97e7e72..ef6f7956f57ee 100644 --- a/docs/j5/user/personas.md +++ b/docs/j5/user/personas.md @@ -52,7 +52,7 @@ Older clients can still read the persona library; update the client to see the f Definitions are copied into the selected environment's library. To bring a persona over from another connected environment, use **Copy to environment** instead. Later changes to the original files require another import. If any selected persona IDs already exist, a confirmation lists the affected personas. Each conflicting persona has a replacement toggle, initially on. Turn it off to skip importing that persona and keep its current definition. Choose **Import selected** to import new personas and overwrite the selected existing personas, including local edits, or **Cancel** to import nothing. Turning off every replacement still imports any new personas in the selection. Replacement preserves each persona’s on/off setting and existing tasks; future launches use the imported definition. Original source files remain unchanged. If an existing definition changes while confirmation is open, you will be asked to confirm again. Duplicate IDs within the same selection are always rejected. -Each persona shows its availability badge (hover a **Blocked** badge on web or desktop, or tap the persona on mobile and read its sheet, to see why each model entry failed: a model the signed-in provider does not offer, a provider that is not signed in or has reached its usage limit, or an access level that is not enforceable yet) and its origin: **Personal** for created or imported personas, **Folder** with the source folder's name, or **Overrides** with the folder's name for a saved edit of a folder persona. An override hides the team version for everyone on this server; hover it, or tap it on mobile, for the way back. Once a persona has launched a task, a usage line appears under its description on web and desktop. On mobile, tap the persona to see its details, including the usage line: tasks, runs, completed and failed counts, the average run time, tokens reported by the provider, and the last launch date. Hover the line (web and desktop) to see which models those tasks actually ran on. The numbers are read from the environment's existing task history whenever Settings opens, so nothing extra is stored. Every persona that isn't removed has an **On/Off** switch, including folder personas. New imports start on. Turn a persona off to keep it in the library while preventing new launches; its status changes to **Disabled**. Turn it back on to make it available for activation, subject to its model and access-level requirements. The setting belongs to the selected environment and survives restarts and edits; switching off a folder persona never touches its file. +Each persona shows its availability badge (hover a **Blocked** badge on web or desktop, or tap the persona on mobile and read its sheet, to see why each model entry failed: a model the signed-in provider does not offer, a provider that is not signed in or has reached its usage limit, or an access level that is not enforceable yet) and its origin: **Personal** for created or imported personas, **Folder** with the source folder's name, or **Overrides** with the folder's name for a saved edit of a folder persona. On mobile, a persona's sheet also names the environment it lives on, such as **Personal on** followed by the environment's name. An override hides the team version for everyone on this server; hover it, or tap it on mobile, for the way back. Once a persona has launched a task, a usage line appears under its description on web and desktop. On mobile, tap the persona to see its details, including the usage line: tasks, runs, completed and failed counts, the average run time, tokens reported by the provider, and the last launch date. Hover the line (web and desktop) to see which models those tasks actually ran on. The numbers are read from the environment's existing task history whenever Settings opens, so nothing extra is stored. Every persona that isn't removed has an **On/Off** switch, including folder personas. New imports start on. Turn a persona off to keep it in the library while preventing new launches; its status changes to **Disabled**. Turn it back on to make it available for activation, subject to its model and access-level requirements. The setting belongs to the selected environment and survives restarts and edits; switching off a folder persona never touches its file. To remove a persona whether it is on or off, choose **Remove** from its row's **⋯** menu, or from its sheet on mobile. Removing an imported or personal copy deletes it, so it must be imported again to come back. A removed folder persona stays in the list marked **Removed** with a **Restore** action that brings it back. Source files remain unchanged, removal survives restarts, and running tasks keep their saved definition. @@ -76,7 +76,7 @@ When one limit stood in the way, either a model **Models for custom members** do Ask an agent to create a persona or change one, for example "make the code reviewer stricter about tests". The agent reads the persona, drafts the change, and asks you. Nothing is saved until you approve it. In a crew, a member sends the draft to its Captain, and the Captain asks you. -The request shows what J5 recorded about the draft: for an edit, each changed field, with the instruction lines removed and added; for a new persona, its full definition, laid out as written in a block that scrolls sideways. An Owner approves it with **Save persona** on the request. To ask for changes, reply in words, and the agent drafts again. Declining, or never answering, saves nothing. If the persona changed after the agent read it, or a new persona's ID was taken in the meantime, saving is refused and the agent has to draft again. **Save persona** is on the web and desktop apps; the mobile app shows the request without it. +The request shows what J5 recorded about the draft: for an edit, each changed field, with the instruction lines removed and added; for a new persona, its full definition, laid out as written, with long lines wrapping under their own indentation. An Owner approves it with **Save persona** on the request. To ask for changes, reply in words, and the agent drafts again. Declining, or never answering, saves nothing. If the persona changed after the agent read it, or a new persona's ID was taken in the meantime, saving is refused and the agent has to draft again. **Save persona** is on the web and desktop apps; the mobile app shows the request without it. The persona library belongs to the server, so a saved persona is the one everyone on it runs, including guests and the people you give access to. Saving an edit to a folder (team) persona makes an environment override, and the folder file is never changed. Two things follow from that: @@ -116,9 +116,9 @@ When a crew member needs your approval to use a tool, the request appears under Every member is instructed to send its result, evidence, and unresolved issues to the Captain. Completion notices tell the Captain how the member's run ended and carry the member's reply, cut when it is long (the rest is in the member's own conversation). The Captain's conversation tells you only about members that need you: one that couldn't start or failed. A persona does not owe a file; if an assignment asks for one, the member writes it as a project artifact and it appears on the Artifacts page. -On mobile, the roster is a row above the Captain's message box; tap **Review** to see how each member will run, then approve, decline, or remove members (and restore ones you removed). Changing a member's harness, model, access or workspace, and adding members, are done on web or desktop. In the Chats list, a Captain's row shows how many members it has, such as "3 seats"; tap it to list them under the row with their status, including **Not started** and **Replaced by** for a member the Captain replaced. Members stay out of the thread list on every device so it shows the conversations you started; on web and desktop the Captain's row shows an anchor mark (hover it for the crews it commands) and, for each crew it runs, a toggle named for that crew that opens into its members with seat, status, and last activity; agents it started outside a crew get a toggle of their own. When a member finishes and owes no reply, the Captain is told how it ended; the member's thread settles under the same rules as any other thread, and settling the Captain settles its crew's members, except any still working or waiting on you. On web and desktop, **Fleet**, from the radar icon beside the Inbox, shows every agent by project with each crew under its Captain. On web and desktop, a thread's **Lineage** section in the thread details panel shows the agent it works under and its crew's Captain, and lists the agents and crew members under it. +On mobile, the roster is a row above the Captain's message box; tap **Review** to see how each member will run, then approve, decline, or remove members (and restore ones you removed). Changing a member's harness, model, access or workspace, and adding members, are done on web or desktop. In a Captain's conversation, the **Agents** button above the message box counts its crew members and the agents it started; tap it to list them with their status, including **Not started** and **Replaced by** for a member the Captain replaced, and tap one to open its conversation. Members stay out of the thread list on every device so it shows the conversations you started; on web and desktop the Captain's row shows an anchor mark (hover it for the crews it commands) and, for each crew it runs, a toggle named for that crew that opens into its members with seat, status, and last activity; agents it started outside a crew get a toggle of their own. When a member finishes and owes no reply, the Captain is told how it ended; the member's thread settles under the same rules as any other thread, and settling the Captain settles its crew's members, except any still working or waiting on you. On web and desktop, **Fleet**, from the radar icon beside the Inbox, shows every agent by project with each crew under its Captain. On web and desktop, a thread's **Lineage** section in the thread details panel shows the agent it works under and its crew's Captain, and lists the agents and crew members under it. -To stop a crew that is heading the wrong way, use **Stop crew** on the crew's row in Fleet, the small **Stop** beside that crew's toggle under the Captain in the thread list, or **Stop crew** under the Captain's row in the mobile Chats list; all appear only while a member is running. Stopping interrupts every running member's turn and nothing else: members stay on the roster and can be messaged again. The Captain can do the same from its own tools. +To stop a crew that is heading the wrong way, use **Stop crew** on the crew's row in Fleet, the small **Stop** beside that crew's toggle under the Captain in the thread list, or **Stop crew** on the crew in the Captain's **Agents** sheet on mobile; all appear only while a member is running. Stopping interrupts every running member's turn and nothing else: members stay on the roster and can be messaged again. The Captain can do the same from its own tools. A crew is retired as a unit, by the Captain or by you. The Captain is shown exactly what will end, seat by seat, and asked to confirm; the guidance is to check with you first. You can retire a crew yourself with **Archive crew** on its row in Fleet. A crew always follows its Captain: archiving a Captain's thread retires its crews with it (from the thread list, a dialog first lists every member with any running turn or open ask), and unarchiving the Captain (or **Undo** on its archive) brings those crews back, though not the turns the archive interrupted. If some members come back and the crew still shows as retired, archive the Captain again and unarchive it. Settling or unsettling a Captain does the same to its members. A crew you retired with **Archive crew** stays retired. Individual crew members cannot be archived or deleted on their own, from any device. Archiving a crew removes the worktrees it created for its members when they are clean and their work is merged, and keeps any with unfinished work. An Owner then gets one Inbox item listing the worktrees it kept and what each still holds, and chooses which to remove; removing one keeps its branch and discards its uncommitted changes. On the mobile app the item is read-only: finish it on web or desktop. Members the Captain replaced are archived with the crew and their worktrees go by the same rule; a member whose worktree was removed gets it back, from its branch, on its next turn after you unarchive it; the dialog lists which it expects to remove and which to keep, and the archive result lists what it did. Archiving never deletes branches, pull requests, or conversation history, and a retired crew's brief and roster stay readable in the **Retired crews** section of Fleet, which lists retired crews from every project.