xml-pipeline/xml_pipeline/message_bus
dullfig d97c24b1dd
Some checks failed
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.13) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
Add message journal, graceful restart, and clean repo for public release
Three workstreams implemented:

W1 (Repo Split): Remove proprietary BloxServer files and docs, update
pyproject.toml URLs to public GitHub, clean doc references, add CI
workflow (.github/workflows/ci.yml) and CONTRIBUTING.md.

W2 (Message Journal): Add DispatchHook protocol for dispatch lifecycle
events, SQLite-backed MessageJournal with WAL mode for certified-mail
delivery guarantees (PENDING→DISPATCHED→ACKED/FAILED), integrate hooks
into StreamPump._dispatch_to_handlers(), add journal REST endpoints,
and aiosqlite dependency.

W3 (Hot Deployment): Add RestartOrchestrator for graceful restart with
queue drain and journal stats collection, SIGHUP signal handler in CLI,
POST /organism/restart endpoint, restart-aware app lifespan with journal
recovery on boot, and os.execv/subprocess re-exec for Unix/Windows.

All 439 tests pass (37 new tests for W2/W3).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 22:27:38 -08:00
..
steps Fix XSD path for installed package (v0.3.1) 2026-01-19 22:24:36 -08:00
__init__.py Add message journal, graceful restart, and clean repo for public release 2026-01-28 22:27:38 -08:00
budget_registry.py Add BudgetWarning system alerts for token budget thresholds 2026-01-27 21:41:34 -08:00
buffer_registry.py Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
config.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
dispatch_hook.py Add message journal, graceful restart, and clean repo for public release 2026-01-28 22:27:38 -08:00
envelope.py Add Ed25519 envelope signing infrastructure 2026-01-27 20:00:35 -08:00
errors.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
journal.py Add message journal, graceful restart, and clean repo for public release 2026-01-28 22:27:38 -08:00
journal_store.py Add message journal, graceful restart, and clean repo for public release 2026-01-28 22:27:38 -08:00
message_state.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
scheduler.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
sequence_registry.py Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
stream_pump.py Add message journal, graceful restart, and clean repo for public release 2026-01-28 22:27:38 -08:00
system_pipeline.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
thread.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
thread_registry.py Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00
todo_registry.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
worker.py Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00