Skip to content

feat(config): promote scheduler and guardrail features to default#2106

Merged
bug-ops merged 1 commit intomainfrom
feat-issue-2099-promote-scheduler-guardrail
Mar 22, 2026
Merged

feat(config): promote scheduler and guardrail features to default#2106
bug-ops merged 1 commit intomainfrom
feat-issue-2099-promote-scheduler-guardrail

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Mar 22, 2026

Summary

  • Add scheduler and guardrail to default features in root Cargo.toml
  • Remove scheduler from desktop and server bundles (now redundant with default)
  • Add scheduler explicitly to full bundle (preserves --no-default-features --features full behavior)
  • Update scheduler config comments in all three default.toml copies

Motivation

Both features have demonstrated strong stability through extensive live testing:

  • scheduler: live verified across CI-30, CI-32, CI-54, CI-58 — zero open bugs. Natural-language scheduling, cron parsing, deferred tasks all working. Config already defaults to scheduler.enabled = true.
  • guardrail: GuardrailFilter, DestructiveCommandVerifier, InjectionPatternVerifier all live verified. Zero additional dependencies — purely a compilation toggle. Runtime behavior unchanged ([security.guardrail] enabled = false by default).

Risk

LOW. Adding features to default is additive. Users with default-features = false are unaffected. No behavioral change at runtime.

Pre-commit checks

  • cargo +nightly fmt --check — clean
  • cargo clippy --workspace --features full -- -D warnings — 0 warnings
  • cargo nextest run --config-file .github/nextest.toml --workspace --features full --lib --bins — 6363 tests passed
  • cargo check (default features) — compiles cleanly
  • cargo check --no-default-features — compiles cleanly

Closes #2099

@github-actions github-actions bot added documentation Improvements or additions to documentation rust Rust code changes core zeph-core crate dependencies Dependency updates config Configuration file changes enhancement New feature or request labels Mar 22, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 22, 2026 00:35
@github-actions github-actions bot added the size/S Small PR (11-50 lines) label Mar 22, 2026
@bug-ops bug-ops force-pushed the feat-issue-2099-promote-scheduler-guardrail branch from 359a261 to 63006f9 Compare March 22, 2026 00:39
Add scheduler and guardrail to the default feature set. Both features
have been extensively live-verified (scheduler: CI-30/32/54/58;
guardrail: CI-42/45). No behavioral change: scheduler.enabled is already
true in default.toml; guardrail is runtime-disabled by default.

Remove scheduler from desktop and server bundles (now redundant with
default). Add scheduler explicitly to full bundle to preserve
--no-default-features --features full behavior.

Closes #2099
@bug-ops bug-ops force-pushed the feat-issue-2099-promote-scheduler-guardrail branch from 63006f9 to 3fd532f Compare March 22, 2026 00:43
@bug-ops bug-ops merged commit d33c306 into main Mar 22, 2026
25 checks passed
@bug-ops bug-ops deleted the feat-issue-2099-promote-scheduler-guardrail branch March 22, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration file changes core zeph-core crate dependencies Dependency updates documentation Improvements or additions to documentation enhancement New feature or request rust Rust code changes size/S Small PR (11-50 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Promote scheduler and guardrail features to default

1 participant