Memory write / mailbox

Memory write / mailbox A workflow diagram generated by Archify. 01 / Write path Leaf agent · e.g. memory-builder · Write path Leaf agent e.g. memory-builder memory-orchestrator · writes finding, acquires lock · Write path memory-orchestrator writes finding, acquires lock mem-files.sh · dedup by agent+tag+file:line · Write path mem-files.sh dedup by agent+tag+file:line memory-orchestrator · writes mailbox mirror (--to <agent>) · Write path memory-orchestrator writes mailbox mirror (--to <agent>) another agent's mailbox · run/<id>/mailbox/<agent>.md · Write path another agent's mailbox run/<id>/mailbox/<agent>.md Ack to leaf · OK · Write path Ack to leaf OK written / dup SendMessage(write finding) Legend Agent logic Tool action Context / trace

Late-started agent

  • • Reads its mailbox on startup, before acting
  • • No agent scans .swarm/ twice or writes it directly
  • • Every write is serialized by the single run instance