docs(swarm): add design note for swarm-memory architecture #275

Open
Rockachopa wants to merge 1 commits from step35/232-atlas-research-solve-the-swa into main
Owner

Creates docs/swarm-memory-design.md — a comprehensive design note that:

  • Distinguishes session memory (private, ephemeral) from swarm memory
    (shared, coordinated)
  • Evaluates two candidate designs: append-only event log + synthesis vs
    shared board + evidence links with CAS
  • Documents trade-offs, failure modes, and proposes an experimental
    prototype using 3 concurrent subagents

This is the smallest concrete step toward solving the swarm-memory gap:
a shared frame of reference that concurrent subagents can use to
coordinate without corrupting each other.

Design note sections:

  1. Problem Statement — isolation, races, lost correlation, stale state
  2. Session vs Swarm Memory — clear semantic distinction
  3. Candidate Design A — Append-Only Event Log + Synthesis
  4. Candidate Design B — Shared Board + Evidence Links (CAS)
  5. Trade-off Matrix — concurrency, latency, efficiency, audit
  6. Experimental Prototype — 3-agent parallel task + synthesis worker
  7. Failure Modes — duplication, contradiction, CAS conflicts, log growth
  8. Next Steps — implementation roadmap

Addresses #232

Creates docs/swarm-memory-design.md — a comprehensive design note that: - Distinguishes session memory (private, ephemeral) from swarm memory (shared, coordinated) - Evaluates two candidate designs: append-only event log + synthesis vs shared board + evidence links with CAS - Documents trade-offs, failure modes, and proposes an experimental prototype using 3 concurrent subagents This is the smallest concrete step toward solving the swarm-memory gap: a shared frame of reference that concurrent subagents can use to coordinate without corrupting each other. **Design note sections:** 1. Problem Statement — isolation, races, lost correlation, stale state 2. Session vs Swarm Memory — clear semantic distinction 3. Candidate Design A — Append-Only Event Log + Synthesis 4. Candidate Design B — Shared Board + Evidence Links (CAS) 5. Trade-off Matrix — concurrency, latency, efficiency, audit 6. Experimental Prototype — 3-agent parallel task + synthesis worker 7. Failure Modes — duplication, contradiction, CAS conflicts, log growth 8. Next Steps — implementation roadmap Addresses #232
Rockachopa added 1 commit 2026-04-26 16:37:39 +00:00
docs(swarm): add design note for swarm-memory architecture
Some checks failed
Test / pytest (pull_request) Failing after 8s
759abffd00
Creates docs/swarm-memory-design.md — a comprehensive design note
that:
- Distinguishes session memory (private, ephemeral) from swarm memory
  (shared, coordinated)
- Evaluates two candidate designs: append-only event log + synthesis
  vs shared board + evidence links with CAS
- Documents trade-offs, failure modes, and proposed experimental
  prototype using 3 concurrent subagents
- Sets acceptance baseline for issue #232

This is the smallest concrete step toward solving the swarm-memory gap:
a shared frame of reference that concurrent subagents can use to
coordinate without corrupting each other.

Closes #232
Owner

🛡️ Goblin Patrol Alert 🛡️

Hey brother — this PR has been idle for 6 days and is unassigned.

The goblin fleet has been notified. A goblin may claim this if it remains stale.

— Timmy Goblin Wizard King

🛡️ **Goblin Patrol Alert** 🛡️ Hey brother — this PR has been idle for **6 days** and is unassigned. The goblin fleet has been notified. A goblin may claim this if it remains stale. — Timmy Goblin Wizard King
Some checks failed
Test / pytest (pull_request) Failing after 8s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin step35/232-atlas-research-solve-the-swa:step35/232-atlas-research-solve-the-swa
git checkout step35/232-atlas-research-solve-the-swa
Sign in to join this conversation.