-
Notifications
You must be signed in to change notification settings - Fork 2
Promote scheduler and guardrail features to default #2099
Copy link
Copy link
Closed
Labels
configConfiguration file changesConfiguration file changesfeatureNew functionalityNew functionalitysize/SSmall PR (11-50 lines)Small PR (11-50 lines)
Description
Summary
Two optional features have demonstrated strong stability through extensive live testing and should be added to the default feature set in root Cargo.toml.
Features to Promote
scheduler
- Current: optional, requires
--features scheduler - Code impact: 34
#[cfg(feature = "scheduler")]sites - Dependencies added:
zeph-scheduler(cron + sqlx) —cron,chrono,schemarsare lightweight;schemarsalready non-optional in 7 other crates - CI verification: Live verified across CI-30, CI-32, CI-54, CI-58. Zero open bugs. Natural-language scheduling, cron parsing, deferred tasks all working
- Config:
scheduler.enabled = trueis already the default inconfig/default.toml
guardrail
- Current: optional, requires
--features guardrail - Code impact: 48
#[cfg(feature = "guardrail")]sites - Dependencies added: Zero — marker feature enabling code paths in existing crates
- CI verification: GuardrailFilter, DestructiveCommandVerifier, InjectionPatternVerifier all live verified
- Runtime default: disabled (
[security.guardrail] enabled = false) — feature flag only controls compilation, runtime toggle controls behavior
Changes
- Root
Cargo.toml:default = ["bundled-skills", "scheduler", "guardrail"] - Remove
schedulerfromdesktopandserverbundles (now redundant with default) - Clean up empty
scheduler = []feature incrates/zeph-core/Cargo.toml - Update
CLAUDE.mdfeature flag documentation
Risk
LOW. Adding features to default is additive. Users with default-features = false are unaffected. No behavioral change (scheduler config already defaults to enabled; guardrail runtime-disabled by default).
Analysis
Full details: .local/reports/feature-stabilization-analysis.md, Section 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
configConfiguration file changesConfiguration file changesfeatureNew functionalityNew functionalitysize/SSmall PR (11-50 lines)Small PR (11-50 lines)