Skip to content

feat(#286): room-based collaborative memory for multi-agent discussions - #300

Merged
ajianaz merged 1 commit into
developfrom
feat/286-room-based-memory
Jun 12, 2026
Merged

ajianaz merged 1 commit into
developfrom
feat/286-room-based-memory

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

What

Adds collaborative memory rooms where multiple AI agents can share context in a discussion.

New CLI Commands

# Store memory in a room with author attribution
uteke remember "SurrealDB graph relevant" --room discord:1514528701109506199 --author cto

# List all rooms
uteke room list

# Room stats (participants, memory count)
uteke room stats discord:1514528701109506199

# Cross-namespace recall
uteke room recall discord:1514528701109506199

# Filter by author
uteke room recall discord:1514528701109506199 --author zeko

Schema v3 Migration

  • rooms table: id, title, namespace, timestamps
  • room_memories junction table: room_id, memory_id, author, role
  • Auto-migration from v2 (safe, zero data loss)
  • Cross-namespace recall within room context

Key Design Decisions

  • Dual-write: Memories stored in agent namespace AND linked to room
  • Auto-create room: Room created on first remember --room if not exists
  • Author attribution: Every room memory has an author and role
  • Memories survive room deletion: room delete only removes links

Closes

Closes #286

Add collaborative memory rooms where multiple agents can share context.
Rooms are identified by external IDs (e.g., Discord thread ID, meeting ID).

New CLI commands:
- uteke remember --room <id> --author <name> (dual-write to namespace + room)
- uteke room list [--namespace <ns>]
- uteke room stats <room_id>
- uteke room recall <room_id> [--author <name>] [--limit N]
- uteke room delete <room_id> --confirm

Schema v3 migration:
- rooms table (id, title, namespace, timestamps)
- room_memories junction table (room_id, memory_id, author, role)
- Cross-namespace recall within room context
- Auto-create room on first memory link

Core changes:
- memory/rooms.rs: Room CRUD, link/unlink, recall with author filter
- rooms.rs: High-level Uteke methods (remember_in_room, recall_room)
- schema.rs: v2→v3 migration with rooms + room_memories tables

Also updated AGENT.md with v0.0.14/v0.0.15 lessons learned:
- crates.io publish pitfalls (intra-workspace deps, include_str paths)
- Lazy ONNX init pattern
- Pre-commit hook discipline
- Release tag approval requirement (Rule #11)
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-cli · BYOK · MIT

@ajianaz
ajianaz merged commit 6fcfb23 into develop Jun 12, 2026
8 checks passed
@ajianaz
ajianaz deleted the feat/286-room-based-memory branch June 12, 2026 04:50
ajianaz added a commit that referenced this pull request Aug 13, 2026
…ns (#300)

Add collaborative memory rooms where multiple agents can share context.
Rooms are identified by external IDs (e.g., Discord thread ID, meeting ID).

New CLI commands:
- uteke remember --room <id> --author <name> (dual-write to namespace + room)
- uteke room list [--namespace <ns>]
- uteke room stats <room_id>
- uteke room recall <room_id> [--author <name>] [--limit N]
- uteke room delete <room_id> --confirm

Schema v3 migration:
- rooms table (id, title, namespace, timestamps)
- room_memories junction table (room_id, memory_id, author, role)
- Cross-namespace recall within room context
- Auto-create room on first memory link

Core changes:
- memory/rooms.rs: Room CRUD, link/unlink, recall with author filter
- rooms.rs: High-level Uteke methods (remember_in_room, recall_room)
- schema.rs: v2→v3 migration with rooms + room_memories tables

Also updated AGENT.md with v0.0.14/v0.0.15 lessons learned:
- crates.io publish pitfalls (intra-workspace deps, include_str paths)
- Lazy ONNX init pattern
- Pre-commit hook discipline
- Release tag approval requirement (Rule #11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🏠 Feature: Room-based collaborative memory for multi-agent discussions

1 participant