Repository navigation
Description
What
"Needs you" lists a session's must-read items from one source: a finished text block of the main conversation that holds the <essential> mark (src/shared/owner/to-human-items.ts, finishedTextOf; the owner service's marks; src/services/owner/projection.ts, the item "Must read").
A session that reports through the message tool (the to-human style: the model sends each message to the person as a tool call, and the mod draws it) writes its words in the tool call's input. That text is read as a message (messageOfCall) and is not read for marks. The style's instructions name no <essential> mark; they tell the model to put what needs the person in bold italics and to open a message with a "Critical" block when work was lost or blocked.
So in such a session a must-read reaches Needs you only if the model happens to write <essential> in plain assistant text, which the style never asks for. In practice the must-read items of mod-drawn sessions will rarely appear in Needs you, although the view itself draws the messages.
Found while writing the paid trial scene of board ticket 708 (its "jump" step could not pass on a working product until the prompt asked for a plain-text mark). The reading of the owner service's write path is the builder's; the two readers named above were read by the wave coordinator.
Direction (a product decision, to settle with the owner before building)
What in a message-tool session makes an item in Needs you. Candidates, not exclusive:
- Read the style's own emphasis in a message call's text: a span in bold italics is "what needs the person", and a message that opens with the Critical block is a must-read.
- Have the style name a mark that MAWS reads in a message call's text (the mod's contract and its version would say so).
- Treat a message that ends a turn (
final) as an item until it is read.
Each changes what a person sees in the sidebar and in Needs you, and (1) and (2) change what counts as a mark, so the choice goes to the owner with drawn examples.
Acceptance (once the direction is set)
- In a session that reports through the message tool, a message that needs the person makes an item in Needs you, with a jump to its place in the view, on the live route and after a reload.
- A session that writes plain assistant text with the mark reads as today.
- A two-build scene says what an older build shows for the same session.
Activity