Skip to content

Comments

feat: add interactive configuration wizard and clap CLI#560

Merged
bug-ops merged 2 commits intomainfrom
feat/m28-install-wizard
Feb 18, 2026
Merged

feat: add interactive configuration wizard and clap CLI#560
bug-ops merged 2 commits intomainfrom
feat/m28-install-wizard

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Feb 18, 2026

Summary

  • Derive Serialize on Config and all nested types for TOML generation
  • Replace manual std::env::args() parsing with clap derive API (--tui, --config, init subcommand)
  • Add zeph init interactive wizard (dialoguer) with 5-step setup: LLM provider, memory, channels, secrets backend, review and write config.toml

Test plan

  • cargo +nightly fmt --check passes
  • cargo clippy --workspace -- -D warnings passes
  • 1692 tests pass, 9 skipped
  • Config round-trip serialization test
  • Security audit: no secret leakage, ResolvedSecrets properly skipped
  • Manual: zeph init walkthrough on macOS
  • Manual: zeph (no args) backward compatibility

@github-actions github-actions bot added rust core dependencies enhancement New feature or request size/XL documentation Improvements or additions to documentation labels Feb 18, 2026
@bug-ops bug-ops force-pushed the feat/m28-install-wizard branch from 3155e9c to ad896e9 Compare February 18, 2026 21:14
Add `zeph init` subcommand with 5-step interactive wizard (dialoguer)
for LLM provider, memory, channel, secrets backend configuration.
Generates valid config.toml via Serialize on Config types.

- Derive Serialize on Config and all nested types across zeph-core,
  zeph-tools (config, permissions, filters)
- Replace manual arg parsing with clap derive API
- New src/init.rs wizard module with dialoguer prompts
- Round-trip serialization test for Config
@bug-ops bug-ops force-pushed the feat/m28-install-wizard branch from ad896e9 to c6886a2 Compare February 18, 2026 21:16
@bug-ops bug-ops enabled auto-merge (squash) February 18, 2026 21:17
Update mdBook docs with installation script, configuration wizard guide,
and CLI reference page. Update README with quick start and CLI usage.
Add CHANGELOG entries for M28 features. Add 13 unit tests covering
clap parsing and build_config for all provider/channel/vault variants.
@bug-ops bug-ops force-pushed the feat/m28-install-wizard branch from c6886a2 to 6721221 Compare February 18, 2026 21:24
@bug-ops bug-ops merged commit 00d7f0c into main Feb 18, 2026
21 checks passed
@bug-ops bug-ops deleted the feat/m28-install-wizard branch February 18, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core dependencies documentation Improvements or additions to documentation enhancement New feature or request rust size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant