xml-pipeline/xml_pipeline/server
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
..
__init__.py Add AgentServer REST/WebSocket API 2026-01-27 20:22:58 -08:00
api.py Add message journal, graceful restart, and clean repo for public release 2026-01-28 22:27:38 -08:00
app.py Add message journal, graceful restart, and clean repo for public release 2026-01-28 22:27:38 -08:00
models.py Add usage persistence for billing (SQLite) 2026-01-27 21:58:22 -08:00
restart.py Add message journal, graceful restart, and clean repo for public release 2026-01-28 22:27:38 -08:00
state.py Add capability introspection REST endpoints 2026-01-27 20:51:17 -08:00
websocket.py Add AgentServer REST/WebSocket API 2026-01-27 20:22:58 -08:00