Skip to content

docs: remove dead feature gate references#2103

Merged
bug-ops merged 1 commit intomainfrom
fix/2098-dead-feature-gate-docs
Mar 22, 2026
Merged

docs: remove dead feature gate references#2103
bug-ops merged 1 commit intomainfrom
fix/2098-dead-feature-gate-docs

Conversation

@bug-ops
Copy link
Owner

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

Summary

  • Rename "Always-On (compiled unconditionally)" section in feature-flags.md to "Built-In Capabilities" with explicit note that these are not Cargo feature flags
  • Remove zeph-mcp from the optional crates list in CLAUDE.md (MCP compiles unconditionally)
  • Add changelog entry

8 capabilities (openai, compatible, orchestrator, router, self-learning, qdrant, vault-age, graph-memory) have zero #[cfg(feature)] annotations and are not declared in the root Cargo.toml [features] section. The previous docs misleadingly called them feature flags.

Test plan

  • cargo +nightly fmt --check passes
  • cargo clippy --workspace --features full -- -D warnings passes
  • cargo nextest run — 6363 tests pass
  • Verify feature-flags.md renders correctly in mdbook

Closes #2098

Clarify that 8 capabilities (openai, compatible, orchestrator, router,
self-learning, qdrant, vault-age, graph-memory) are built-in and always
compiled -- they are not Cargo feature flags and have zero #[cfg]
annotations in any .rs file.

Rename the "Always-On" section in feature-flags.md to "Built-In
Capabilities" with an explicit note that these are not feature flags.
Remove zeph-mcp from the optional crates list in CLAUDE.md.

Closes #2098
@bug-ops bug-ops enabled auto-merge (squash) March 22, 2026 00:14
@github-actions github-actions bot added documentation Improvements or additions to documentation size/S Small PR (11-50 lines) labels Mar 22, 2026
@bug-ops bug-ops merged commit 0065dc1 into main Mar 22, 2026
21 checks passed
@bug-ops bug-ops deleted the fix/2098-dead-feature-gate-docs branch March 22, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/S Small PR (11-50 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove dead feature gate references from documentation

1 participant