Viske's picture
Fix deployment: defer agent load, add missing workbench packages and credentials
9ebfd41
raw
history blame contribute delete
944 Bytes
# ============================================================================
# memory.py — working memory for the Thematic Analysis workbench (stub)
# ============================================================================
#
# Scaffolding stub identical in shape to the Grounded Theory memory stub.
# Future rounds will grow this into a real per-run memory for inter-node
# continuity. Not currently used by any real node.
# ============================================================================
class WorkbenchMemory:
"""Tiny in-process memory store. Keyed by arbitrary string."""
def __init__(self):
self._store = {}
def get(self, key, default=None):
return self._store.get(key, default)
def put(self, key, value):
self._store[key] = value
def clear(self):
self._store.clear()
def items(self):
return list(self._store.items())
memory = WorkbenchMemory()