Skip to content

feat(core+wizard): wire GonkaProvider end-to-end with native wizard branch (#3613, #3603)#3632

Merged
bug-ops merged 3 commits intomainfrom
3613-gonka-provider-wizard
May 6, 2026
Merged

feat(core+wizard): wire GonkaProvider end-to-end with native wizard branch (#3613, #3603)#3632
bug-ops merged 3 commits intomainfrom
3613-gonka-provider-wizard

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented May 6, 2026

Summary

  • Wire GonkaProvider end-to-end: AnyProvider::Gonka variant, build_gonka_provider factory, native wizard branch, config migration step, and integration docs
  • Add mandatory address: String field to GonkaNode config struct (required for ECDSA signature target)
  • All private key material wrapped in Zeroizing<String> across factory, wizard state, and provider snapshot
  • GonkaProvider gains status_tx support — TUI status indicators now work during native Gonka inference
  • Integration guide at book/src/guides/gonka.md covering both GonkaGate and native paths

Changes

Area File(s)
AnyProvider::Gonka variant + tests crates/zeph-llm/src/any.rs
GonkaProvider Clone, status_tx, overrides crates/zeph-llm/src/gonka/provider.rs
build_gonka_provider factory (Zeroizing, tracing span) crates/zeph-core/src/provider_factory.rs
GonkaNode.address field crates/zeph-config/src/providers.rs
Native wizard branch src/init/llm.rs, src/init/mod.rs
Config migration step 45 crates/zeph-config/src/migrate/
Provider snapshot Gonka secrets crates/zeph-core/src/agent/state/mod.rs
Integration guide book/src/guides/gonka.md, book/src/SUMMARY.md
Insta snapshot src/init/snapshots/zeph__init__tests__gonka_provider_entry_toml.snap

Test plan

  • cargo +nightly fmt --check — PASS
  • cargo clippy --workspace --features full -- -D warnings — PASS
  • cargo nextest run --workspace --features full --lib --bins — 9284/9284 PASS
  • cargo insta test --workspace --features full --check --lib --bins — no new snapshots
  • Live testnet round-trip blocked pending ZEPH_GONKA_PRIVATE_KEY in age vault + GNK staking — tracked in CI playbook .local/testing/playbooks/gonka-native.md

Closes #3613
Closes #3603

…ranch (#3613, #3603)

- Add AnyProvider::Gonka variant with full delegate_provider! coverage,
  status_tx forwarding, and variant-level unit tests (#[cfg(feature = "gonka")])
- Implement build_gonka_provider factory: vault key resolution, RequestSigner
  construction, optional address mismatch check (lowercase-normalized),
  EndpointPool from GonkaNode list, tracing span; Zeroizing<String> for
  private_key_hex and ProviderConfigSnapshot.gonka_private_key
- Add mandatory address: String field to GonkaNode config struct
- Add native Gonka wizard branch in --init: inferenced CLI detection,
  key selection/export with manual hex fallback, node configuration,
  age vault enforcement; WizardState.gonka_private_key: Zeroizing<String>
- Add config migration step 45: advisory comment inserted before
  [[llm.providers]] for GonkaGate entries with idempotency guard
- Add insta snapshot test for Gonka provider TOML output
- Add GonkaProvider Clone impl, with_generation_overrides, and set_status_tx
- Add Gonka integration guide at book/src/guides/gonka.md covering
  GonkaGate and native paths with troubleshooting section (#3603)

Closes #3613
Closes #3603
@github-actions github-actions Bot added documentation Improvements or additions to documentation llm zeph-llm crate (Ollama, Claude) rust Rust code changes core zeph-core crate dependencies Dependency updates enhancement New feature or request size/XL Extra large PR (500+ lines) labels May 6, 2026
@bug-ops bug-ops enabled auto-merge (squash) May 6, 2026 00:37
@bug-ops bug-ops merged commit b0a0760 into main May 6, 2026
36 checks passed
@bug-ops bug-ops deleted the 3613-gonka-provider-wizard branch May 6, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core zeph-core crate dependencies Dependency updates documentation Improvements or additions to documentation enhancement New feature or request llm zeph-llm crate (Ollama, Claude) rust Rust code changes size/XL Extra large PR (500+ lines)

Projects

None yet

1 participant