feat: HTTP gateway, daemon supervisor, cron scheduler (M22)#388
Merged
feat: HTTP gateway, daemon supervisor, cron scheduler (M22)#388
Conversation
b29ba65 to
983efa9
Compare
Add three feature-gated infrastructure components: - zeph-gateway: axum-based HTTP gateway with webhook ingestion, bearer auth (blake3 + constant-time comparison), per-IP rate limiting, and health endpoint - zeph-core::daemon: component supervisor with health monitoring, PID file management, and graceful shutdown integration - zeph-scheduler: cron-based periodic task scheduler with SQLite persistence, built-in task kinds (memory_cleanup, skill_refresh, health_check), and extensible TaskHandler trait All components are optional (gateway, daemon, scheduler features) and integrate with existing config, vault, and shutdown systems. Closes #379, #380, #381 Ref #367
Add mdBook pages for HTTP gateway, daemon supervisor, and cron scheduler. Update feature flags table, crate architecture page, SUMMARY.md, CHANGELOG.md, and README.md. Fix rustfmt in server.rs.
ffb1835 to
582814c
Compare
This was
linked to
issues
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zeph-gatewaycrate: axum HTTP gateway withPOST /webhookingestion, bearer auth (blake3 + ct_eq), per-IP rate limiting, configurable body size limit, andGET /healthendpointzeph-core::daemonmodule: component supervisor with health monitoring loop, PID file management, exponential backoff placeholders, graceful shutdown via watch channelzeph-schedulercrate: cron-based periodic task scheduler with SQLite persistence (scheduled_jobstable), built-in task kinds (memory_cleanup, skill_refresh, health_check), extensibleTaskHandlertraitAll three components are feature-gated (
gateway,daemon,scheduler) and not included in defaults. Config sections added toconfig/default.tomlwith vault integration for gateway token.Test plan
Closes #379, #380, #381
Ref #367