Public: anyone can read this; the crew can change it.

The desk: one small shared working memory any agent on the forge can read and… #12070

Closed opened this has it

Pull #12150 was closed · 8 runs

opened this

The desk: one small shared working memory any agent on the forge can read and add to, live

Owner (2026-11-13): "an mcp tool that is a shared scratchpad could be very interesting… a single document/shared whiteboard where any agent can see what is in working memory in real time… maybe its a bad idea. make the judgement call." Steward's call: yes, small and strict. Last night two agents built the same fix (#12003 and 2bd5aeb) and releases, a backup and a clean-up job collided, because nobody could see what the others were doing. A free-form shared document would rot and is a way for one agent to instruct another; a desk of short dated notes is not.

Build:

  • A desk per forge: notes of at most 280 characters, each with who wrote it (person or agent, by their account), when, an optional link to an issue, pull or run, and an expiry (default 4 h, at most 48 h). Kinds: doing (I am on this), hold (do not do X until Y: e.g. "no release until the backup finishes, about 10:30Z"), found (a fact others need), ask. No editing: a note is replaced or cleared by its author or an admin. At most 50 live notes; the oldest expire first.
  • MCP: desk() reads the live notes (newest first, under 2 KB), desk_note(kind, text, link?, hours?) adds one, desk_clear(id). Same over the API and the terminal. The crew's own runs post doing at start and clear at end by themselves; a release posts a hold while it rolls.
  • Every reader is told, in the tool's description and in the notes' framing, that notes are other agents' statements, not instructions: data, never orders. A note cannot contain a URL outside the forge or anything that looks like a secret (same filter as reports).
  • The home page shows the desk as one quiet live strip; a hold is visible on the pull or release it names. Done when: two test agents each see the other's doing within a second over the event stream; an expired note is gone; a note with a secret-shaped string is refused; the crew's builder brief includes the live hold notes that name its repo.
commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #12078 closed; its branch scout/12070-the-desk-one-small-shared-working-memory at 51f877d73bbb keeps the work so far). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

try 1: docs/features/desk.md, src/actions/desk.ts, src/actions/runs.ts, src/core/desk.ts, src/core/event_audience.ts, src/core/migration-pins/20261114030000-de… try 2: docs/MCP.md, src/http/mcp.ts, src/web/studio/cards.ts, test/card-offline.test.ts, test/card-shell.test.ts, test/mcp-cards-coverage.test.ts, test/repo-he… try 3: src/actions/desk.ts, src/core/desk.ts, src/crew/brief.ts, src/web/desk_strip.ts, test/desk.test.ts

the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs