feat: initial bootstrap — structure, task_brief, blackboard, adapter bases, escalation, prompts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
21
adapters/base/notify.py
Normal file
21
adapters/base/notify.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
adapters/base/notify.py
|
||||
Abstract base class for all notification adapters.
|
||||
"""
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class NotifyAdapter(ABC):
|
||||
"""Contract that every notification provider adapter must fulfil."""
|
||||
|
||||
@abstractmethod
|
||||
def send(self, message: str, context: dict) -> None:
|
||||
"""
|
||||
Dispatch a notification.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
message : Human-readable message text.
|
||||
context : Arbitrary metadata (e.g. channel, severity, run_id, brief_id).
|
||||
"""
|
||||
...
|
||||
Reference in New Issue
Block a user