Talk to the forge's agent
One door, talk() in src/actions/talk.ts, three ways in. It sends the words as you (your verified identity, never a name in the text), limits you to 12 a minute, and starts one agent turn, or steers the one already running (src/crew/conversation.ts).
- API:
POST /api/v1/conversation/messages {"text"}answers 202;GET /api/v1/conversation/turnsreads the conversation and whether an answer is being written. - MCP:
saywithtextand norepoornumber. The agent's own token is refused, so it cannot wake itself; it may still list, find and download your conversations (actionlist, find, download), which are reads and are never held. A read is never held for a Do it:test/talk-reads-not-held.test.tswalks every tool's read form after the agent has read someone else's words. - Terminal:
ssh <forge> talk <words>(the words are not passed to a shell),ssh <forge> talk --follow <words>, which prints the answer as it is written, andforge talk <words>, which prints the answer.
It needs a way to spend on a model: a granted Claude account, a monthly dollar grant, or credit the host lent this forge (a forge admin uses the forge's own key). With none you get no_account (403), and the words say to ask an admin; the grant is set at /settings/accounts, which only an admin can open. It says resting (429) when the account is resting, a dollar grant is spent for the month, or your daily ceiling is spent. A turn on a grant or lent credit is budgeted at most what is left of it, and is booked against it. When the copy of the lent credit is short, the refusal also starts the one refresh of it from the host (at most once in 15 s), so the next message sees the fresh figure. At most four turns run across the forge at once (TURNS_LIVE_MAX); a new one past that is busy (429, retry-after: 60), while a message into your running turn always goes through. A message that is refused is not kept in the conversation.
The agent reaches the forge only through its MCP, as you. Its tools/list is the Talk list (TALK_TOOLS in src/http/mcp/catalog.ts): the forge's control tools, the reads of issues, pulls, commits, files, runs, asks and health, who you are and what you may do (whoami_can: your name, role and abilities, that it acts as you through this conversation, and with repo whether you may read, write or administer it), and the everyday writes on that work, each held by the fence and the asked-first list as before. What runs the forge itself (accounts, backups, cutting or rolling back a release, child forges) is left to its own pages; the agent can still read releases.
GET /api/v1/conversation/turns?limit= takes 1 to 200 turns; absent, empty or not a number is 50.
On the web: /talk
Reached from the Talk icon in every page's top bar, "Talk to the forge" in the palette (Ctrl/Cmd+K), g t, and the Talk button beside the tell box on home. Signed out, it sends you to /signin and back. It shows your own conversation (the last 50 turns, "Earlier" pages back) and a composer; Enter sends and Shift+Enter breaks a line. / jumps to the composer from anywhere on the page except inside a field (and with no Ctrl, Cmd or Alt held); the composer carries aria-keyshortcuts="/". It is a web shortcut only: the terminal door (ssh <forge> talk, forge talk) takes its words as typed and has no shortcut keys, so / there is just a character.
On a phone the composer is sticky and lifts above the on-screen keyboard (the script sets --kb from visualViewport); the log is a role=log (polite, additions only) and the status line role=status, each already a polite live region, so a reply is announced once.
A reply streams in over GET /talk/stream?after=<turn id> (server-sent events, one turn frame per stored turn, each carrying the server-rendered markup, and live frames for the block being written, see "Live" below). The stream ends with the turn (done), or after 40 seconds (more), well inside the edge's timeout; the page then reconnects from the last turn id it saw (Last-Event-ID works too). Without the script the composer is a plain form and a reload shows the answer.
When the agent asks first (needs_confirm), the turn draws Do it (the existing yes) and Not now (a no: the confirm is spent, nothing runs, a turn says it was cancelled). The question is one sentence in the person's words, from one form per held tool in src/crew/conversation_ask.ts ("Archive marin/cakes.", "File an issue on owner/forge: "…"."): never a tool's name or the arguments in a row, which stay one tap away in Settings → Confirms; the ten-minute limit is the small print under the buttons. A result shown once (an invite link) is drawn by Settings → Confirms instead, where Do it leads. The sentence quotes at most a text's first line, cut at 60 characters; a confirm whose values are longer, or run past one line, carries everything it will send, whole (secrets hidden, invisible characters written out), in a fold under it, Everything it will send, so what is approved can be read in full.
What became of it is a line of its own in the thread, never folded, saying what happened to which thing: Done: archived marin/cakes., Done: merged pull #2 and deployed., Not done: reviewing pull #2. A verdict that gates a merge needs write access. (the tool's own words), or Not now: nothing was done. (outcomeWords, src/crew/conversation_answered.ts). The agent is told too, once, so it never guesses (the outcome turn records that it was told, and the next turn does not hear it again); it hears the forge's own sentence (the tool, and done, not done or Not now) and whatever the tool answered only inside a data block, raising the fence as any read of someone else's text does, so a tool answer that carries someone's instruction is never the person's word: a turn still running hears it between steps; with none running, a yes starts one short turn of the agent that says what happened and, if it was not done, what to do instead, acting with the person's last words and never with the forge's report (reportAnswered in src/crew/conversation.ts; one per answer, under the same budgets and the four-turn cap). A Not now starts no turn, since nothing happens next. When the follow-up cannot start, the next turn opens with the answers its session never saw. The terminal's Confirms screen shows the same line.
Live
The reply is drawn as it is written. The runner reports each piece of the block it is writing (onDelta in src/crew/agent_runner.ts; the Claude adapter asks for partial output with --include-partial-messages only for a Talk turn, so a crew run is unchanged). src/crew/conversation_live.ts holds the block in process memory, per conversation: the text so far (at most 20,000 characters, as a stored turn), whether the agent is thinking, and the tool call it is waiting on. It is cleared when the block is stored and when the turn ends, however it ends.
- Frames: the stream sends
live{html, thinking, tool}at once when something changes, at most one every 125 ms, always the latest.htmlis the text so far drawn by the same Markdown renderer as a stored reply (an unfinished fence is closed for drawing);toolis the step in plain words while it runs ("Reading src/a.ts…",runningStepinsrc/core/talk_steps.ts, or "Working: <tool words>…" for a tool with no words of its own), never its arguments as JSON;thinkingis true or false, and the thoughts themselves arrive only in the stored, folded turn. A stream that connects mid-block gets the whole block in its firstliveframe. When the block is stored itsturnframe is followed, in the same look, by an emptyliveframe, which removes the element: the server alone takes it away, so a turn from another door lands above the block and leaves it in place. A fresh attempt after a lost session starts from an empty block. - The page: one element,
<li id="live">, last in the log before any queued message,aria-hiddenso a screen reader hears the stored reply once. It never scrolls the page itself; the page's one follow rule does (see "Following" below). A lost stream removes it; the stream that comes back draws it again. - Who sees it: only the conversation's owner: the stream finds the conversation by its owner, and another person naming it gets 404.
- Secrets: what leaves the block is redacted as the stored turn is (
redactHeld: held values and credential shapes, which the stored turn now masks too), and the end of the text that could be the start of a held value is held back until the rest arrives, so a value cut across two pieces never shows in part; a word at the end that is, or could still become, a short held value waits for the letter that settles it, so nothing shows masked and then clear; the run of token characters being written (a credential shape is masked only once it is long enough) waits for the character after it, so the text grows a word at a time. - Other turns: every turn is stored through
appendTurn(src/core/conversations.ts), which wakes the open streams of its conversation, so a confirm, a receipt, an undo, a routine's post or a slash answer arrives at once too. A look once a second stays as the net. - Terminal: the page's part is
liveJsinsrc/web/pages/talk_client.ts.ssh <forge> talk --follow <words>(src/tui/talk_follow.ts) prints the reply as it is written and exits when the turn ends; when a block is stored the rest of the stored reply is printed, so the terminal ends with what the record holds. What is printed is never printed again: text that parts from it (a stop, a failure line, a fresh attempt after a lost session) prints only from where they differ, on a line of its own. A held action prints its sentence and how to answer it (Do it or Not now on /talk, or:Confirms in the terminal).forge talkstill prints each finished turn: the only live source is the page's stream, whose frames carry the page's markup and not the reply's words, so following it from the command line would mean parsing that markup or adding a field to every frame; the terminal's live door isssh talk --follow. - Without the script, or with a runner that reports no pieces, the page draws whole turns, as before.
A step says what happened
A tool call is stored once its result is known (src/crew/conversation_calls.ts, for a runner that reports pieces): one that ended well reads as done ("Merged pull #2 and deployed"), one the forge held for your yes reads "Asked to merge pull #2" (its confirm and, once answered, the outcome line say the rest), and one that failed reads "Tried to merge pull #2: not done". The steps line under a reply and its links count only what was done, and say "asked your yes for 1 step" or "1 step not done" for the rest (stepOf in src/core/talk_steps.ts, workOf in src/core/talk_work.ts); forge talk prints the same line.
The crew's line
/talk shows one line at the end of the thread, only while a run is live (idle is silence on the page, #15734), from the live runs only (liveCrewRows in src/actions/crew_now.ts, with crewNow's visibility filters but none of its planner or review-wait reads, so the common request stays fast): "The crew is working: <who> on <what>" (with the count first when several, "(3)") while an agent run is live. It is rendered with the page, never polled, one line that clips with an ellipsis. The terminal twin is ssh <forge> talk /crew, which prints the same line (crewLine() in src/web/crew_now.ts); signed out it says the crew is idle.
Naming the subject: ?about= and --about
/talk?about=owner/repo or /talk?about=owner/repo#N (an issue or pull) puts one plain line above the composer: "About owner/repo" or "About owner/repo#N: <title>". The terminal twin is ssh <forge> talk --about owner/repo[#N] [words]: it prints the same line first, and with no words prints only that line. Both read one lookup, aboutLine() in src/core/talk_about.ts. A value that is malformed, names something unknown, or names something you cannot read (a private repository, a sealed issue, signed out) shows nothing and the page is byte-identical to plain /talk, so a private repository's existence is not revealed.
The first message of a conversation opened this way also carries the subject to the agent as fenced context: the kind, name, title and body (the body capped at 4000 characters), fenced as data written by others, never as instructions. Only the first message carries it, the stored turn stays the person's own words, and the value is re-resolved against the sender's read access, so a forged about adds nothing. The page and the terminal send it the same way.
Many conversations (#8814)
A person has any number. /talk is their latest, with the list above it (newest activity first), New, and Archived (n) as the one filter (/talk?archived=1). Each opens at /talk/<id>, stable across reloads; Rename and Archive/Restore are plain forms (POST /talk/:id/rename, /talk/:id/archive, POST /talk/new), so they work without the script. The name is also the page's tab title (<name> · Talk); an empty name restores "Chat of <day>". Another person's id is 404 everywhere. A message with no conversation named goes to the latest one that is not archived.
- Cap: a person holds at most 100 conversations, archived ones counted; past it New is refused (page flash, API 409
too_many, MCPtoo_many). Stop ends every reply the person has running, in any conversation. - API:
GET /api/v1/conversations[?archived=1],POST /api/v1/conversations {title?},PATCH /api/v1/conversations/:id {title?, archived?};conversationonPOST …/messagesandGET …/turns?conversation=picks one. - MCP:
saywithactionlist | new | rename | archive | restore, andconversationto speak in one. - Terminal: Palette → Conversations:
nnew,rrename,xarchive or restore,athe archived list, Enter opens one (its last 50 turns;ssays something in it,rreloads); the same calls, so the web list and stream read what it writes. - Pin (#14564): Pin and Unpin on the open conversation (
POST /talk/:id/pin, owner only, same-origin) keep it at the top of the list under a quiet Pinned heading, newest activity first among the pinned. Archiving clears the pin and an archived conversation cannot be pinned. Terminal:pin Conversations. - Sending to an archived conversation keeps it archived; the page says so above the composer.
Edit, regenerate, retry (#8817)
Three actions on the last exchange, one door, talkAgain() in src/actions/talk.ts (the same 12-a-minute throttle and refusals as sending):
- Edit replaces your last message with new words and asks again. Regenerate asks the same message again for a new reply. Retry asks again after a failed turn.
- What is replaced stays in the conversation, marked replaced (
replaced: trueinGET /api/v1/conversation/turns), dimmed on the page; the agent no longer reads it, and the new turn starts a fresh session from the turns that still stand. - A turn that could not answer (a failed run, a resting account) says what happened in plain words, never the raw error, and shows Retry.
- Refused while a turn runs (
running, 409), or when there is nothing to act on (nothing, 409). A retry names the failed turn it answers; without it the retry is refused (unkeyed, 409), and with a turn that is no longer the last (a double submit, a stale tab) it is refused as already retried (retried, 409), so one failure is retried once. - Web: Edit under your last message (opens the composer holding it,
/talk?edit=1; Send resends), Regenerate under the last reply, Retry under a failed one. All are plain forms or links, so they work without the script, which only does them in place. They post toPOST /talk/again/edit|regenerate|retry, from your own signed-in browser only. - Terminal:
ssh <forge> talk-again edit <words>,ssh <forge> talk-again regenerate,ssh <forge> talk-again retry <turn>. The turn is the failed turn's id: a baretalk-again retryexits 1 and prints the full command with the id of the open conversation's failed turn (the same id the page's Retry form posts asturn). - With several conversations they act on the one open: the forms post to
/talk/<id>/again/<how>(/talk/again/<how>on the latest); the action takes the conversation as an optional argument. - There is no API or MCP door for these yet.
Stop
A turn can be ended mid-reply (stopTalk in src/actions/talk.ts, stopTurn in src/crew/conversation.ts). The agent's process group ends with everything it started; the words it had said stay, followed by a Stopped. line; the run is stored as stopped. Held writes waiting on a Confirm are cancelled before the kill and again after, so nothing lands while the process goes down.
- Web: the Stop button beside Send while an answer is running, and
Escapein the composer. Send still posts the form without the script. - API:
POST /api/v1/conversation/stopanswers 200, or 409 when nothing runs; a read-only token is 403. - MCP:
stopwith norepoand norunstops the forge's agent; with both it stops that crew run; one without the other is an error. The agent's own token is refused. - Terminal:
ssh <forge> talk /stop(or--stop) exits 0 when stopped, 1 with "no answer is running".
It checks identity, same origin and token scope. Viewers of /talk see the Stopped. turn arrive over the stream.
Queue and Steer while an answer runs (#8819)
The composer stays open while the agent works. say() in src/crew/conversation.ts takes during: inject (the old behaviour, still the default for the API without during, MCP and plain ssh talk), queue (kept in memory for after the turn; up to 5; each runs as its own turn, in order) or interrupt (stops the turn, keeps its words and the Stopped. line, and sends the message first). Stop clears the queue; a forge restart drops it. A file attached to a queued message is held: it cannot be removed (409) or sent with another message (file_taken), and one gone by the time it runs is left out.
- Web: while an answer runs Send reads Queue and Steer and Stop appear. A queued message shows dimmed, "Queued", with Cancel (a post form to
POST /talk/queue/:id/cancel, so it works without the script); every open tab sees it over the stream (queuedframe). Cancel puts the text back in the box. - API:
POST /api/v1/conversation/messageswithduring: "queue" | "steer"(anything else is 422invalid_during; a sixth queued message is 429queue_full);DELETE /api/v1/conversation/queue/:id(404 for an id that is not yours or already went);GET /api/v1/conversation/turnslistsqueued. - Terminal:
ssh <forge> talk /queue <words>,talk /steer <words>,talk /queued(ids and words),talk /unqueue <id>; they work with--attachtoo.
Chat features: have, adding, not adding (#8752)
Prior art read: Vercel AI Elements (Apache-2.0 React on shadcn; anatomy and behaviour ported, no code copied), AI SDK UI, ChatGPT and Claude.ai. No React: the page stays server-drawn with a small script.
| Feature | Status | Why |
|---|---|---|
| Server-drawn history, streaming over SSE, resume from turn id | have | the base of this page |
| Do it / Not now in place for held writes | have | trust rule |
| Enter sends, Shift+Enter breaks a line, autosizing box | this pull | what every chat does |
| Draft kept on reload (localStorage, this device): per person and conversation, saved after a 300 ms pause and when the page is hidden or closed | this pull | cheap, local |
| Who and when under each message; copy a message; copy a code block | this pull | AI Elements Message, CodeBlock |
| Tool calls folded into one closed disclosure per run of steps | have (#15734) | AI Elements Tool, ChainOfThought |
Starter questions on an empty chat (links to /talk?q=, so they work without the script) | this pull | AI Elements Suggestion |
| Stick to bottom, with Pause, Resume and Latest in one control | have (#15734) | AI Elements Conversation |
| Thinking as one closed line; a steps line under a reply ("read 3 files, opened #12"); links to each issue, pull, file or app the turn opened or changed | this pull | AI Elements Reasoning, ChainOfThought |
| Many conversations: new, list, rename, archive, URL each | have (#8814) | search (#8823, #13259) |
| Edit and resend, regenerate, Retry (see below) | have (#8817) | replaced turns are kept and marked, not deleted |
| Queue and Steer while an answer runs | #8819 | Queue / PromptInput |
| Cost under each reply and how full the context is (header, and in the terminal) | this pull | the run's own usage record, never an estimate |
| Attachments: pick, paste or drop | have | docs/features/talk-attachments.md |
| The reply drawn as it is written | have | see "Live" |
| Code highlighting and tables in replies | this pull (#8816) | a reply is stored whole and drawn whole, so no half-open fence is ever tokenised |
Without the script the page is a plain form: Enter adds a line, starters are links that prefill the box, and Copy and the follow control are not shown (the script draws or shows them, along with the "Enter sends" hint). The log is role="log"; with the script, a new message while you are scrolled up is announced in the status line.
Cost and context. Above the log, "Spent $0.52 in this conversation" totals the finished runs' cost_usd (conversationTotal); it, and a turn's cost, show nothing when no run reported one, never $0. GET /api/v1/conversation/turns (the read the MCP say tool points to) carries totalUsd and each agent turn's costUsd, null when unknown. Under a finished reply a quiet line gives the turn's dollars ($0.12 this turn); above the log, "Context 85% full (170k of 200k tokens)". Both are read from the run's record (conversation_run: cost_usd, and context_tokens/context_window from the last message's usage and the result's modelUsage), shown by core/conversation_cost.ts. When a run names no window, 200k is assumed and the line says so by showing it. From 80 % the line adds that a new conversation answers faster and costs less (information only: New starts another, see "Many conversations"). A reply that streams in gets both when the stream ends; the terminal (forge talk) prints the last turn's cost, the total ("Spent $0.52 in this conversation") and the share after its confirmation line. The MCP read of all this is the turns route above.
Stopped is not failed. A turn the person stopped is stored with conversation_run.state = 'stopped' (the stopped column is kept and set alongside, only for a release still in play that counts by it). The flow vitals line says it apart: Talk: 2 turns failed, 1 stopped by the person (flow/talk_turns.ts), and the failure rate leaves stopped turns out. The line is in the flow telemetry (GET /api/v1/telemetry/flow and the MCP flow tool) as vitals.says, with the counts at vitals.talkTurns.
The terminal (ssh <forge> talk <words>, forge talk) sends one line and prints the answer; it has no log, so who/when, copy, tool cards, starters and the jump button do not apply to it. forge talk prints a thought as one thinking: line, then the reply, the steps line and the links as paths (the API's agent turns carry work: {steps, links}). The steps line says "opened" for a read issue or pull and "changed" for a tool that writes one (CHANGES in core/talk_work.ts, held to the MCP tools' writes by a test); numbers carry their repo when a turn touched more than one. A reply first on an older page, or first in a stream batch, reads its calls from the turns before the page (worksOf), so it says the same on every door. The conversation's whole history is read through GET /api/v1/conversation/turns, where every turn carries its role and time.
Every link in a reply clicks
A reply is drawn by the README renderer and then, for Talk alone, by linkTalk (src/text/talk_link_words.ts): a Markdown link stays a link only if it goes somewhere (an http(s) address with no user part, or a path rooted on this forge: one leading slash, never // or /\\, no encoded control character), and a relative path, which would resolve against the conversation's own address, is set back to its words. A bare http(s) address in the words is a link, its trailing punctuation left out. A forge path written as words (owner/repo, owner/repo#12, owner/repo/pulls/4, owner/repo/src/a.ts) is a link when you may read that repository and, for a number, when it is there; anything else stays words, so a private repository's existence is never shown. Each repository a page of replies names is read once. An address of one of this forge's apps you may read goes to it while it runs, and to its page on the forge, said "not running yet", while it does not. READMEs keep their rules (no bare-address or path links); both now refuse a /\\host link, which a browser reads as //host.
Code, tables and Copy in a reply (#8816)
An agent reply is Markdown, drawn on the server by the same renderer as a README: fenced code is highlighted, tables and links render, and everything else is escaped (a <script> in a reply shows as text). A table wider than the column scrolls inside it; the page does not. The reply sits in the column like a person's turn, with none of the README's padding or line measure.
A reply grows in one live element while it is written (see "Live") and is then stored as one finished turn; the page only appends a turn whose id it has not drawn (a repeat is ignored). Turns already on the page are not touched, so nothing above a new reply moves, and the page follows the end only if you were already there (otherwise "Latest" appears). An unfinished fence in a stored reply is closed for drawing. The page's own bytes are held by a test (test/talk-page.test.ts): the stylesheet under 18,100 B, the script under 54,800 B, and a page with a code reply under 55,000 B (its own page: one question and a code reply; the widgets' rules ride every page, so a chart drawn in a live reply is styled at once).
Following
The thread follows a growing reply while you are at the true end of the element that scrolls (the window on a phone, the talk column where it scrolls on its own), within 70 px of its end with the composer counted. One rule does it, a ResizeObserver on everything in the scroller that can move its end: the log, the composer (an error or status line, buttons that wrap where fonts are wider) and the talk column itself (followJs in src/web/pages/talk_client.ts); the live block and a stored turn never scroll by themselves.
- Letting go: any move up lets go: a scroll up, the wheel, a finger dragging the thread down, PageUp, Home or Up outside the box, or selecting text in the thread while a reply is written. Then nothing moves.
- The one control, centred above the composer: while a reply is written and followed it reads Pause (it keeps your place so you can read); once let go it reads Resume while a reply is written, else Latest when you are above the end, with a dot when something new arrived. Hidden when there is nothing to do. End outside the box and Send come back to the end too. A press is said once in the status line.
- The composer is never painted as an error after a send: the script takes over the empty check, so the box is not
requiredonce it runs (it still is without the script). It is marked invalid only when a message could not be sent, with the reason in a line under it, and typing clears it. - Terminal:
ssh <forge> talk --followprints as written; a terminal has no scroller or composer to paint, so nothing here applies there. - Proof:
test/talk-follow.test.tsdrives it in a real Chromium at 390 px (the page scrolls) and 1280 px (the column scrolls).
Copy: each code block and each message has a Copy button, which copies the text, not the markup. The buttons are drawn by the script: with JavaScript off there are none, and the code is still there to select.
Search (#8823)
Finds a conversation by a word in its title or in what was said, among the person's own conversations only, archived ones included (labelled "archived").
- Web: the search box above the list is a plain GET form,
/talk?find=<words>, so it works without the script. Every word must be present and the last may be a prefix (narwhafinds "narwhal"); at most 8 words and 100 characters count, and punctuation is only a separator. A result opens at its turn,/talk/<id>?turn=<turn id>#t-<turn id>: the page that holds it, the turn outlined. A hit in the last few turns opens the latest page, live as usual. - Terminal: in Conversations,
/asks for words and the results replace the list (archived ones marked); Enter opens the chat on the page around the match, that turn marked▶;rgoes to the newest turns; esc leaves the results. - How: an FTS5 table,
conversation_find(title and standing turns, kept in step by triggers; a turn set aside is left out), with the owner as an indexed column that the query names in its MATCH, so the engine's 200-row limit counts only the person's rows.findConversationsandpageAroundinsrc/core/conversations.tsare the one door for both screens. - MCP:
saywithaction: "find"andtext(the words) returns{conversations: [{id, title, archived, turn?, line}]}, the samefindConversations, the caller's own only; a read-only token may use it. - Left out: the REST API does not search; no ranking beyond FTS5's, no highlighting of the words inside a turn.
Build an app from one prompt (#11010)
An empty conversation offers Build an app among its starters (#15734); it opens the same composer as the one that makes an app (/talk/<id>?build=1), asking "What do you want to build?" with the marked app templates as chips (&template=owner/name chooses one, a second tap lets it go). Without the script it is the same page and a plain form posting to POST /talk/build. Send makes the repository from the template (newAppFromSentence), starts a conversation in it, and sends the prompt; the agent is told with every message to work on the branch talk-<conversation id> and never on main (buildLead, src/core/chat_build.ts).
- Versions are the branch's commits past main, numbered v1, v2 from the oldest (
src/actions/build.ts); nothing about them is stored twice. The first one opens the branch's pull, which is what gives it a preview: it opens when a turn ends, or on Restore or Publish; a read never writes.?v=Nshows that version's files changed; Restore makes a new version holding exactly its tree, history kept. - Publish merges the pull to the default branch, which deploys production; the production URL then shows as a link. Only a person publishes.
- API:
POST /api/v1/builds {prompt, template?},GET /api/v1/conversations/:id/build,GET …/build/versions/:n/diff,POST …/build/restore {version},POST …/build/publish. Web forms:POST /talk/build,/talk/:id/build/restore,/talk/:id/build/publish. - Limits: five builds an hour and ten unpublished at once, per person (
BUILDS_PER_HOUR,UNPUBLISHED_MAX); a template must be one on offer to that person, on the API as on the page; a start that fails takes back the repository and conversation it made. - Terminal:
:then Build an app.nsays what to build (tchooses the template), Enter opens a build and lists its versions newest first, Enter again shows the files that version changed,Rrestores the chosen version,Ppublishes,rreloads. The screen calls the sameactions/build.tsfunctions as the page, so it is gated the same way (your own conversation, a writer of the repository) and what it does is what the page shows on its next read. - Proof:
test/talk-build.test.tsruns prompt, repository, v1, v2, restore v1 and publish against a scratch forge;test/tui-talk-build.test.tsdoes the same from the terminal.
Your accounts elsewhere (origins)
Ask "which of my GitHub repos can you see?" and Talk reads the accounts you
connected on /settings/origins (GitHub, Codeberg, another forge) through the
origins tool: list them, then repos one holds, every page of it, with q
words to narrow it. With group (yours, shared or public) it is one page as the
origin answers it, and next_cursor says there are more. Only you see your
accounts and what they hold; syncing one or changing its hosts stays on that
page. A repository brought in from one is a mirror, which is not the off-box
snapshot mirror of the forge's backups. GET /api/v1/user/origins/:id/repos
takes the same q, and the terminal's migrate filter matches the same way
(name or description). Test: test/talk-origins.test.ts.
Receipts
After you confirm a held action, the thread shows a receipt: the verb, the object, and a link to the page it changed. For close (close/reopen) and assign (assign/unassign) it also draws an Undo form (POST /talk/undo/:turn, same-origin, your own session) that does the inverse and writes its own receipt. It refuses, and says so, when the object has changed since or when it was already undone. Changed since is read from the issue's own events, not only its value: Undo runs only while the receipt's change is still the latest one to that field: the receipt keeps the event its change made, and Undo compares it with the newest such event stored (the same event, or nothing is undone; never an order of ids or clocks). An issue you closed that someone reopened and closed again reads the same, yet the close is theirs, so Undo does nothing and says who changed it and when ("mallory closed it after this, at 2026-11-24 10:02 UTC"); the same holds for an assignment made again, and for your own later change by hand. The terminal's receipts screen (src/tui/screens/receipts.ts) shows the same sentence. Every other confirmed call that names a repository gets a receipt with no Undo. A failed undo changes nothing and can be tried again; a second tap while one runs is refused.
Terminal: : then Receipts lists your receipts that can still be undone; u asks, then runs the same undoReceipt as the page's form, so it is gated the same (your own receipt, once, only while the object is as it was left). Proof: test/tui-talk-receipts.test.ts.
Download
GET /talk/:id.md (also /talk/:id/download; the Download link beside Archive) returns the conversation as one text/markdown attachment: a title, then each turn under ## who · when in the order written, attachments as links. Only its owner gets it; anyone else sees not found. The MCP say tool with action: download and conversation returns the same text as markdown. Code: src/core/conversation_markdown.ts; test: test/conversation-download.test.ts.
The terminal's Talk screen reads the same file: d on the list, or d or x in an open chat, shows the conversation as the Markdown /talk/:id/download serves (conversationMarkdown), its owner's alone. Each turn's words sit in a fenced block, so no message can forge a turn heading; past a million characters the earliest turns are left out and the file says so. The MCP say tool's download with no conversation takes the latest one.
When the preview times out
The preview frame opens with a sign-in link that lasts a few minutes, and every reload asks the forge for a fresh one. If the frame ever loads an old link, it says "The preview opened here has timed out." Press Reload above the preview to open it again.
The pane's address bar
The address over the preview is three pickers: the repository (the conversation's, then your own apps, only ones you may read), the version (Live, or an open pull's preview), and a path on the app. A pick changes the pane in place and leaves the chat where it was. Each pick is an entry in the browser's history, so Back returns to the one before, and a reload keeps it because it is in the address (?repo=&show=&path=). Opening the conversation fresh shows its own repository and newest version, drawn right the first time. If the pull you picked lands or closes, its preview is torn down and the pane shows Live, with one line saying so. Without the script the pickers are a form with a Go button; a version the newly chosen repository does not have falls to Live.
In the terminal, the Talk screen's pane (p) picks the same way: o picks the repository, w the version (Live or an open pull's preview), l a path on the app, each from what the page's bar offers, and the pane prints the preview's address there. Its Diff is the page's: the build's branch, the pull picked, or the pulls this conversation led to, each with its change.
Under the bar, one line says what you are looking at: for a pull, who made it, its number and title, its checks and its review, with a link to the pull; for Live, the default branch and what last landed. The terminal's pane prints the same line.
Diff shows what this conversation's work changed: the pulls its receipts led to, open or landed, newest first, each with its change. With a pull picked in the bar, Diff shows that pull alone. A conversation that filed nothing on the repository asks you to pick a pull; it never shows the repository's newest pull on its own.
The crew's block
Under the preview, while the crew works, its block says who is working and streams its steps and words. Its line folds the rest away (the fold is kept per conversation in the browser), and a box under the steps says your words on the pull shown above, or else on the issue the run works: a comment the crew member reads next, the same as a receipt's Reply. A hold (with the control that changes it) or a failed run is never folded away. Without the script the box posts the comment itself and you land on that issue's or pull's page; Back returns to Talk. In the terminal, c says words on the same place: the pull the pane shows, else the issue the crew's run works, else the newest receipt's issue.
Display (#15734)
Four preferences of the person's own, at the end of the conversation menu (⋯ → Display), one plain form that works without the script (POST /talk/display, signed in, same origin): spacing (comfortable or compact: the spacing scale only, never the type size), motion (as the system says, or reduced: Talk's arrivals, the head's slide and the shimmer stop whatever the system says), what Enter does (sends, or adds a line with Ctrl or Cmd+Enter sending) and whether a reply's steps start folded or open. They are the person's user_setting rows (talk.density, talk.motion, talk.enter, talk.steps, read by talkDisplay in src/core/settings.ts), applied by the server so the first paint is right; a value that is not one of a preference's own choices is never kept. No theme builder, no colours. The terminal honours the same steps choice: a conversation opened in forge talk shows a run of steps as one line ("3 steps") or each step, and v there flips the choice for both places, while D opens Talk display to set all four (docs/features/talk-display.md); spacing, motion and Enter are the page's own (the terminal has its own rows, no animation, and its s prompt always sends on Enter).
Motion. One vocabulary: a thing arriving (a sent message, a step, a receipt, the follow control, a version chip) fades and rises 4 px over --dur-3 (200 ms) with --ease, once; the live block's new paragraphs only fade, and the stored reply that takes its place does not move. Opacity and transform only, so nothing on screen shifts; none under prefers-reduced-motion or the person's reduced. Proof: test/talk-display.test.ts, test/talk-page.test.ts.
Peek (#15734)
A link in a message to an issue, a pull or a repository on this forge peeks: on a pointer device a small card after a 300 ms hover (it leaves 150 ms after the pointer does, and stays while the pointer is on it), on keyboard focus, and on touch after a 500 ms long press, as a dialog through the overlay host. A tap or a click still follows the link. Escape or a press outside closes it; the link is described by the card (aria-describedby), and focus is never trapped by the hover card.
The card is GET /talk/peek?href=<rooted path> (src/web/talk_peek.ts), signed in only: the kind and number with its state in a word and an icon (Open, Closed, Merged; for a pull its checks in words), the title, what the crew is doing on it now, in the same sentence as a receipt's work line ("marin has been working on it for 4 min."), the first lines of its body as escaped plain text (never Markdown, never a link), when it last changed, and at most two actions (Open, and Talk about this, which opens Talk with that subject). Read exactly as the link is: a repository the person cannot read, a sealed issue they may not see, a number that is not there, a pull asked as an issue, or any other path answers not found, and no card appears. Cached by the browser for 5 seconds. Proof: test/talk-peek.test.ts.
In the terminal there is no hover: a conversation names the same links as owner/repo#12 and owner/repo, which the terminal's issue and repository screens open.
Receipts that stay alive (#15734)
A receipt is one calm line in the thread: a check, what was done and its link, the time, and Undo where it can be undone (a ghost button, never a decision's weight). A receipt that names an issue (work filed, or an action on one) is alive: under it, one quiet line says what the crew is doing on it now, read when asked: queued, "scout has been working on it for 4 min", "scout pushed #12: checks running", "scout pushed #12, which is ready: waiting for you to land it", "scout landed #12", or done (workLine in src/core/talk_work.ts, which the terminal reads too). It is one of the page's live regions (data-live="run.,issue.,pull.,comment." on that repository, swapped from GET /live/talk-work?href=…&id=…, read exactly as the issue is), so it moves as the run does with no stream of its own; the crew's line at the thread's end is one too (/live/talk-crew).
Reply on such a receipt sends the composer's next words to the issue as a comment (the issue's own comment form, POST /<owner>/<name>/issues/<n>/comments), where a crew member working on it hears them as its next step, the same door as MCP say with a repository and a number. A line above the field says to whom while it is so; its ✕ turns the composer back to the forge. Without the script Reply is a link to the issue's comment form; with it, the 303 the comment answers is read as done, and the issue page behind it is never loaded. Proof: test/talk-receipt-live.test.ts, test/talk-page.test.ts.
Where the card opens: below the link while it fits on the screen (over the composer at worst, never over what is being read above it), else above, and always held inside the screen under the top bar; the 300 ms and 150 ms intent delays are unchanged.
In the terminal a conversation keeps a receipt that names an issue in view (never folded with steps), with the same work line under it, and c comments on that issue through the same addCommentThrough.
A run that waits says why. When the crew's run is queued and its log names a hold (queued, not started: …), the work line says it in plain words and links the exact control that changes it, for whoever may turn it: "Waits for the reset, Sun 29 Nov, 02:00 UTC: the crew has used 92% of this week and may use 90%. Change the limit" (/settings/crew#knob-budget). The others: the account's runs or checks at once (/admin/limits#quotas), the owner's focus (/settings#focus), a shut valve (/flow#valves), a bet's daily cap (its bets page), memory and clone failures (no control: the sentence says when it starts). A bet is named, with its cap, only to who may read its bets page; anyone else reads "a bet's daily cap". A hold no sentence knows is never quoted: the line points at the run's page. A run a person sent is never said to wait on the week under 100%: the cap does not hold it. The terminal prints the same line with the control's address, and the runs, new_app and tell answers carry it as waiting, change and changeWords, so the agent says it too (holdWords, src/core/talk_work.ts; proof test/talk-hold.test.ts).
Confirms wait above the composer (#15734)
A confirm (an action held for the person's yes) is never drawn in the scrolled thread, where a long reply could push it off screen. It waits in a dock directly above the composer, always in view: the engine's one sentence of what will happen and to what, Do it, and a quiet Not now, with the time left only when under two minutes. Several read as "2 waiting" and a stack, the first open and the rest one line each; the stack never grows past a third of the screen and scrolls inside itself beyond that. The dock is part of the composer, so the thread's end stays clear of it and following holds; its buttons come before the box in the Tab order, Enter on Do it answers, and Escape is never Not now. A new confirm is said once, politely.
Its buttons belong to the composer's form and post to the confirm's own address (formaction), so the dock works without the script. Answered, the confirm collapses out of the dock (instantly where motion is reduced) and its outcome arrives in the thread where it happened: the receipt for Do it, or "Not now: nothing was done." Only a confirm that ran out says so in the thread, with Ask again.
Things done fold: a run of receipts and steps in one reply reads as one line with a check, "2 things done, 3 steps", opening to the list; one receipt alone stays as itself. Proof: test/talk-page.test.ts, test/talk-live.test.ts.
In the terminal a confirm still waiting is never in the scrolled thread either: it waits at the foot of the conversation with its sentence, and a opens Confirms, where y does it and n says not now.
The pane's Code and Diff (#15734)
Beside a conversation that builds or changes an app, the pane's Code tab is the repository's files at the conversation's branch from the first moment: the files this conversation changed come first under "Changed here", each with what it added and removed, and are marked in the tree; the tree is the repository page's own explorer, and a file opens in the pane from the blob page's own view, with Files to go back. Diff is the change itself, inline: the forge's diff with its highlighting, each file folded open, for everything the branch changed against the default branch, or one version's own change when its chip is chosen (All, v1, v2, …). The pull is a quiet link in the head with its checks in words ("Pull #2 · checks passing"). Both are read only when their tab is opened, and a tab swaps the pane in place from the page's own fragment (?pane=code&fragment=pane), so nothing is a page in a frame. A preview that has not loaded in ten seconds says so in words, and one not there yet says why, never a blank box. Proof: test/talk-steps.test.ts, test/talk-page.test.ts.
In the terminal the pane (p) lists what the conversation's branch changed, each file with its +/− counts, then the diff itself, read through the same branchDiff.
The pane's preview frame (#15734)
The pane's Preview tab frames the app the conversation builds, on the app's own host. An app's answer says who may frame it; the proxy (admitForgeFrame, src/apps/frame_policy.ts) adds the forge's own origin, and only that origin, to a frame-ancestors that restricts framing ('none' becomes the forge, 'self' or a list keeps its sources and gains the forge). A policy that frames freely (*, or none) is the app's choice and stays as it is. An X-Frame-Options: DENY or SAMEORIGIN becomes frame-ancestors <forge>. Any other site that frames the app is refused by the browser, as before.
A private preview signs the person in inside the frame through their own grant. That grant's cookie is set inside the frame as SameSite=None; Secure; Partitioned, so it is kept per embedding site, is sent only while the forge is the framing page, and lives half an hour. A frame that is not signed in gets one sentence and a link that opens the preview on its own, never a redirect it cannot follow. A preview that is not serving shows the forge's own sentence inside the frame, with its links opening beside it. Proof: test/apps-frame-policy.test.ts, test/talk-preview-frame.test.ts (a real Chromium).
The pane while the crew works (#15734)
Until the app answers, the pane's Preview tab shows what the crew is doing on the repository: its newest run in plain words (crewNow, src/core/talk_work.ts). A queued run says why it waits (the hold sentence, with the control that changes it); a running one lists its newest six steps (a file read or changed, a search, the checks, a commit, a push), each added as the run writes it, from the forge's own event stream (run.log), by the same plainStep the server uses; a finished or failed one says how it ended. A log line is the builder's untrusted text: it is only ever drawn as text, and only for a reader who may read the run's log (mayReadRunLog: the repository's own facts or the crew); anyone else who may see the runs reads how it stands and the link, never a step, and the live tail is never sent them (/events sends run.log only to who may read it). "See the whole run" links the run's page, which is all of it without the script. The pane is a live region on the repository's runs, so the first deploy that turns running swaps the frame in; the page names the app's production origin in frame-src ahead, and a frame of another origin draws the page once. The pane opens by itself once the crew is on the repository the conversation names; a new app is named by its receipt (New app owner/name). In the terminal, the conversation's pane (p) prints the same lines and redraws as the run writes. Proof: test/talk-live-pane.test.ts.
What runs is framed from the start: a new app's starter answers seconds after it is made, so the pane frames production (until a pull's own preview answers) and the crew's block sits under the frame, which gives it room. The block says who works ("cheffry-james is working.", with the same shine Talk's own agent uses while it answers) and lists its newest eight lines: its own words (plainThought: the short text between its calls, trimmed to about two lines) and its steps. The block is a live region of its own, so the frame is never redrawn for the crew; a deploy that turns running reloads the frame in place, and a pull's preview that comes up while production is framed draws the page once (its origin joins frame-src).
The agent points the pane
Talk's agent opens the pane on the screen to try: pane { repo, path?, version?, try? } (src/http/mcp/tools/pane.ts). It frames that app (version: preview, the newest open pull's, else production; or live, production) at path, with one line above the frame, "Try: <try>", in plain muted text. The brief tells the agent to call it once a change it asked the crew for has deployed, at the changed screen, and when the person asks where to test.
- The path stays on the app's own address (
panePath,src/actions/talk_workspace.ts): it starts with one/, and holds no//, scheme,\,@, control character or..segment, checked again once percent-decoded (%2e%2etoo), at most 300 characters. The tool refuses another in one sentence; a stored call read back with one frames the app's root. The path goes through the app's own grant (openEnvUrl), so a private app opens signed in at that screen. - Only apps the person may read: someone who may not read the repository gets
not_found, and no pane. - The Try line is text, escaped, never a link, at most 300 characters.
- The tool answers the plain address it frames and the Try words, never the signed address the frame enters by.
- Live: a new
panecall in the stream draws the pane again through its Preview tab, or opens it; a frame on another origin than the page'sframe-srcdraws the page once. - The terminal: the conversation's pane (
p) prints the same address asPreview: <url>and the line asTry: <try>.
Proof: test/talk-pane-steer.test.ts.
Talk reads a link you paste
Paste a link in Talk and the forge's agent can read the page. The tool is fetch_url (src/core/web_page.ts, src/http/mcp/tools/fetch_url.ts). The page comes back as short Markdown: only its main content, with headings, lists, code (with its language when the page names it), tables and quotes. Images are dropped and their alt text is kept. Links are numbered, and each slice lists the ones it names below it. A long page comes in slices of about 8,000 tokens, and cursor reads the next one. The forge keeps a page for 15 minutes, so a second slice costs no second fetch. fresh: true fetches again.
In the terminal, open the palette and choose Read a web page (src/tui/forge.ts). Paste the link and you read the same Markdown the agent reads (src/tui/screens/docs.ts, markdownScreen).
What it will not fetch
- Private addresses. Everything goes through the forge's one outbound guard (
src/kernel/outbound.ts). It reads only https on the standard port. It resolves the name and refuses private, loopback, link-local, CGNAT, benchmarking, protocol-assignment, metadata, NAT64-, 6to4- or IPv4-mapped-wrapped (judged by the address inside), SIIT and Teredo addresses. It connects to the address it checked, and never to the forge's own host. Each redirect is checked again, and after five redirects it stops. - A link the conversation was never shown. The agent may read a link you wrote in this conversation, or a link on a page it already read here. It may not read a URL that appears only in its own words, so a page cannot talk it into reading somewhere else.
- A URL that looks like it carries a credential. That is a name or password in the URL, or a query value named like one (
token,api-key,x-api-key,access-token,auth_token,bearer,private_key,sig,sas,code,X-Amz-Signature,X-Amz-Security-Tokenand more). It is also a key or token shape anywhere in the URL: a JWT,sk-ant-…,sk-…,AKIA…,ghp_…,github_pat_…,xoxb-…and the shapes the forge redacts from logs. Ask for the link without it. - Other kinds of content. It reads HTML, plain text, Markdown and JSON (shown pretty-printed). Anything else is refused in one sentence.
- More than 60 pages an hour for one person. This counts both doors together; a page still kept from the last 15 minutes is free. A refusal says when to try again.
- More than the caps. It reads at most 2 MB off the wire and 5 MB once decoded, so a gzip bomb stops at the cap. It waits at most 10 seconds across every redirect. A cut page says
truncated.
Privacy
The request is built fresh each time. It sends User-Agent: forge-fetch/1 and no cookie, authorization, referer or forwarded-for header. The site still sees the forge's IP address, or, on a hosted forge, the address of the host's egress gate. The forge never sends the URL to a reading service.
Text a reader cannot see is left out: an element that is hidden, invisible, of no size, fully transparent, moved off the page, clipped to nothing, or the colour of its own background. Brackets the page writes are escaped, so a link reads only as its number and the address listed below. The forge's own host is matched by name whatever its case, trailing dot or escaped dot. /a and /a/ are two pages.
What the page says is someone else's text. It reaches the agent fenced, like an issue body, and once the agent has read it, a write you did not ask for waits for your confirm.