Journey 26: answering or unblocking an agent
An agent needs something from a person: an answer, a go, a decision between two agents that touch the same files, or it is stuck and hands the work back. Issue a0cf8c22 lists "answer or unblock an agent, including an overlap between two agents" in the core loop and "hands back to a person when stuck" on the agent scorecard.
Walked: the Needs you, answers, reply box, overlaps, conversation and message composer sources, help overlap, help board, help wait, the handoff action's refusal, the agent workflow doc (coordination, approval requests) and the open Issues 11ba7bb9 and e88f503d. Not walked: a question from an agent, an answer, a handoff and an overlap between two live Lanes.
Steps today
The agent's side
| # | Need | Route | What comes back |
|---|---|---|---|
| 1 | A go before landing | request-approval '{"laneId":"…","reason":"…"}' "records one request on a saved Lane and posts one project board note; the reply carries the owner's link". wait '{"approval":"LANE_ID"}' blocks until the decision. | Granted, or REVIEW_DECLINED with the reason. (docs; journey 7) |
| 2 | An answer to a question | ask records two or three choices on a Lane or Item. The recipient chooses an exact label with coordination ack. | The sender’s retained inbox carries the answer and resume prompt. (CLI and backend fixture) |
| 3 | Hand the work back | hand-back records what was tried, what is left and the exact saved Lane head, and releases the holder. The recipient can decline. | The Lane and its saves remain. (MCP and backend fixture) |
| 4 | Two agents on the same file | "A real conflict shows as conflictNotice on save, status and land, on both Lanes: file, lines and the other Lane's goal. Nothing needs an answer: sync or coordinate, save again". peers lists who saved the same files. wait '{"peer":"LANE_ID"}' waits for the other Lane to land. | (ran: help) |
| 5 | Stuck with no route | It tells its person in its own chat. Forge records nothing. |
The person's side
| # | Item in Needs you | What the person can do there | Evidence |
|---|---|---|---|
| 1 | "Approval request": "Approval for Lane 1a2b3c4d waits for you" | Review request opens the approval page. | source |
| 2 | A question with choices | Two or three buttons, or a reply box. "Could not send this reply." on failure. | source, docs |
| 3 | "Handoff to you" | "Taking this handoff.", Hand to OWNER or Hand to an agent. | source |
| 4 | An overlap between two Lanes | Now lists overlaps "as plain rows with nothing to answer (overlap answers were removed, Issue 853fcde3)", with Compare and "About overlap in PATH": "Both said they'd change it. Usually fine.", "Whichever is accepted second will need to update from main.", and an action "Ask NAME to wait". | source, docs |
| 5 | "Check failed", "Fix needed", "Reverted from main" | Open failing run, Start a fix ("Opens a sibling Lane from the reverted head with the failing tests, the diff and the undo command in its brief."), Close ("Close without a fix? The Intent is marked abandoned; its Lane and saved head stay."). | source |
| 6 | Writing to an agent directly | Lane or Review conversation; Who's working → Message. "Sent to NAME", or for a session Forge cannot reach, "Paste it into NAME's session." | source |
Findings
| Id | Severity | Finding | Evidence |
|---|---|---|---|
| J26-1 | S1 | ask now records a shared fixed-choice question on a Lane or Item. Ordinary questions to the agent’s own user stay in its app. | CLI fixture |
| J26-2 | S1 | hand-back records the work and releases the holder. | MCP fixture |
| J26-3 | S2 | CLI and MCP sends share the existing coordination event store. The board reads retained notes and system notices. The signed-in Lane and Item thread views remain open. | source, fixtures |
| J26-4 | S2 | The retained answer includes a ready resume prompt in the coordination inbox. Delivery and copy controls in the signed-in thread remain open. | fixture |
| J26-5 | S2 | A person cannot decide an overlap; they can only watch it. Overlap answers were removed on purpose (notices were noisy). What is left for a person is "Usually fine." and "Ask NAME to wait", which sends a message with no effect on the queue. When two agents really collide, the decision "this one first" has no control; queue priority exists as an operator action (x prioritize). | source, ran |
| J26-6 | S2 | The agent's request names a Lane by eight hex characters. "Approval for Lane 1a2b3c4d waits for you". The person needs the Item title and the agent's reason first. | source |
| J26-7 | S2 | A person is told nothing outside the app (journey 17, J17-1). The agent holds an approval link and must pass it on by other means. | docs |
| J26-8 | S3 | "Start a fix" explains itself in one long sentence that names a sibling Lane, a reverted head, a brief and the full check. It is accurate and written for someone who knows the internals. | source |
| J26-9 | S3 | Choices are limited to three labels of 120 characters. Good for a quick decision. A question that needs a file or a number falls back to free text, which the agent must parse. | docs |
Dead ends
- A person choosing which of two overlapping Lanes lands first.
- The signed-in thread still needs to expose the retained answer and resume prompt.
Naming and tone
- Question, message, note, notice, request, handoff, reply and answer are eight words across two systems.
- "Nothing needs an answer" is a clear and unusual sentence for a conflict notice. It tells the agent what not to do.
What each persona needs
- Agent, not person: one command to ask with choices, one to hand back with a structured note (tried, left, where), and a wait that ends when the person answers; a clear statement of when to ask and when to decide.
- Person, not agent: every question from every agent in one list, answerable in place, with the Item and the reason first; to know whether the agent got the answer; a way to restart a stopped agent with the answer included.
Approved direction (group I)
These owner decisions guide the P7 spec; the steps and findings above describe the implementation observed.
- I37: At beta, batched email reaches a person for approvals, agent questions and handoffs; phone push comes later.
- I38:
ask(with choices) andhand backbecome agent actions beside start, save and land. - I39: Use one message system: one thread per Lane or Item, with choices on a message. Board notes and session messages merge into it.
- I40: When the agent has stopped, the answer waits on the Lane and Forge offers a ready resume prompt. Forge never starts an agent by itself.
- I41: Needs you holds approvals, questions, handoffs and reviews; failures appear only when no agent is on them. Order the longest-blocked agent first.
- I44: Owner and write roles may order two overlapping Lanes from Now. Record the order and show it with Undo.
Questions for the owner
- Answered in group I:
ask(with choices) andhand backbecome agent actions beside start, save and land. - Answered in group I: Use one message system: one thread per Lane or Item, with choices on a message. Board notes and session messages merge into it.
- Answered in group I: When the agent has stopped, the answer waits on the Lane and Forge offers a ready resume prompt. Forge never starts an agent by itself.
- Answered in group I: Owner and write roles may order two overlapping Lanes from Now. Record the order and show it with Undo.
- When should an agent ask and not decide? Is that a project setting (the "You decide ↔ Agents decide" scale) that agents can read?