-
v1.17.0
Stablereleased this
2026-02-20 17:00:04 +00:00 | 163 commits to main since this releaseWhat's Changed — Event Infrastructure
Infrastructure
- feat(infra): add NATS container with JetStream to docker-compose (
4fd6b23) - feat(infra): add Valkey container to docker-compose (
9dc76e0) - feat(infra): wire NATS and Valkey into service environment config (
20d1028)
Domain Event Publishing
- feat(event): define domain event types, payload model, and Publisher interface (
237581a) - feat(store): add pm_event_outbox migration, outbox store methods, and BeginTx (
44f2c62) - feat(event): add NATS JetStream publisher and outbox poller (
9d5e319) - feat(event): instrument all write handlers with transactional outbox (
0d0cf9d)
Event-Engine NATS Migration
- feat(event-engine): add NATS connection wrapper with reconnect logic (
5798469) - feat(event-engine): replace GoChannel with Watermill subscriber/publisher interfaces (
e072158) - feat(event-engine): wire NATS JetStream and remove Gravity PM webhook (
12e183d)
Event Log & History
- feat(gravity-pm): add pm_event_log migration for append-only audit trail (
d954dce) - feat(event-engine): add event log writer consuming JetStream events (
8d6a624) - feat(events): add event history API endpoint and MCP tool (
5f194ca)
Bug Fixes
- fix: consolidate chi work package routes to resolve 404 on GET/PATCH/DELETE (
3360579)
Tests
- test(event): add poller drain and handler event helper tests (
7883e2f) - test(event-engine): replace GoChannel with NATS JetStream in all tests (
c819c96) - test(events): add event log integration tests (
c2ae8c6)
Tasks
- OP#1178: Add NATS container with JetStream to docker-compose.yml
- OP#1179: Add Valkey container to docker-compose.yml
- OP#1180: Update .env.example and service environment configuration
- OP#1181: Test: Verify NATS and Valkey infrastructure
- OP#1182: Define domain event types and payload model
- OP#1183: Create pm_event_outbox migration and store methods
- OP#1184: NATS publisher client and outbox poller
- OP#1185: Inject event publisher into Handler and instrument all write handlers
- OP#1186: Test: Domain event publishing integration tests
- OP#1187: Create pm_event_log migration
- OP#1188: Event log writer in event-engine (JetStream consumer)
- OP#1189: Event history API endpoint and MCP tool
- OP#1190: Test: Event log integration tests
- OP#1191: Add watermill-nats/v2 dependency and NATS connection wrapper
- OP#1192: Replace GoChannel with NATS JetStream in engine.go
- OP#1193: Remove Gravity PM webhook handler and wire NATS in main.go
- OP#1194: Test: Event-engine NATS integration tests
Epics
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- feat(infra): add NATS container with JetStream to docker-compose (