Implement shared blackboard state for coordination #97

Open
opened 2025-12-17 03:23:25 +00:00 by siennathesane · 0 comments
siennathesane commented 2025-12-17 03:23:25 +00:00 (Migrated from github.com)

Description

Implement shared memory for work assignments, inventory, and schedules.

Acceptance Criteria

Scenario: Blackboard coordination works
  Given institution has workers
  When blackboard is implemented
  Then workers see shared work queue
  And workers claim tasks from queue
  And workers update shared inventory
  And coordination happens without communication

Technical Notes

  • Blackboard pattern for shared state
  • Work queue: pending tasks, claimed tasks, completed tasks
  • Shared inventory: ingredients, tools, products
  • Schedule templates for roles
  • State updates trigger worker behavior changes
  • Blackboard is CRDT for multiplayer sync

Size: L (8 points)
Priority: P0
Phase: 6 - Institutions

## Description Implement shared memory for work assignments, inventory, and schedules. ## Acceptance Criteria ```gherkin Scenario: Blackboard coordination works Given institution has workers When blackboard is implemented Then workers see shared work queue And workers claim tasks from queue And workers update shared inventory And coordination happens without communication ``` ## Technical Notes - Blackboard pattern for shared state - Work queue: pending tasks, claimed tasks, completed tasks - Shared inventory: ingredients, tools, products - Schedule templates for roles - State updates trigger worker behavior changes - Blackboard is CRDT for multiplayer sync **Size:** L (8 points) **Priority:** P0 **Phase:** 6 - Institutions
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: studio/marathon#97