Goal
Define stable contracts so all agent flows share one lifecycle and one integration surface.
Scope
- Add
src/paperbot/core/abstractions/agent_runtime.py
- Add
src/paperbot/application/ports/source_collector.py
- Define shared schemas:
AgentMessage, AgentResult, AgentError
- Keep compatibility adapters for existing agents
Acceptance
Goal
Define stable contracts so all agent flows share one lifecycle and one integration surface.
Scope
src/paperbot/core/abstractions/agent_runtime.pysrc/paperbot/application/ports/source_collector.pyAgentMessage,AgentResult,AgentErrorAcceptance