Chats

How desk chats work. Projects own chats for good, or a chat is general. Covers the manager and its pin, side chats and the delegate contract, reports, handoffs, and archive, move and trash.

01whose chat it is#

Each chat belongs to one project for good, or to none (a general chat). The conductor brief says so. A chat can change owner only through propose_conversation_move: it moves a chat to another project, or to general with an empty project. The chat keeps its thread, and a chat with a live run is refused.

A general chat has no manager and no side chats. delegate refuses it, and message_manager tells it to use handoff.

02the manager#

A project has one manager chat. The pointer is kept in managers.json next to the conversations, as state and not as a flag on any chat. An area of a project can have its own manager, keyed by project and area.

Only the manager starts work. A side chat that tries a start-work tool is told to message the manager with message_manager.

03side chats#

A side chat is a chat a manager delegated. It starts without the manager's memory; anything it needs is in the brief. Delegation goes one level only. A delegated side chat can't delegate, and a chat that is not its project's manager can't either.

auto-archive

An idle side chat archives itself after side_chat_ttl_days (3 by default, a negative number turns it off; see desk-json). The sweep skips a side chat that has a live run, has a report its manager hasn't read yet, or has keep on. Nothing is deleted; the chat gets a system line such as "archived after 3 days idle". conversation_keep switches the ttl off or on for one side chat, and refuses a chat that isn't a side chat.

04the delegate contract#

delegate hands a job to a new side chat. The side chat starts at once and reports back to the manager. The call takes:

The contract the desk keeps holds the deliverables, the check-in, the role, model and gate, and a trail of entries: progress, message, held, approved, sent_back, dropped and repointed. A delegation reads as one of dropped, reported, working, waiting on you or idle.

05progress and reports#

06messages between chats#

07archive, clear, compact, move and trash#

08reading and settings#