Skip to content

feat(tui): Phase 1 dynamic metrics — model info, session config, infra status#2159

Merged
bug-ops merged 5 commits intomainfrom
feat-tui-dynamic-metrics
Mar 23, 2026
Merged

feat(tui): Phase 1 dynamic metrics — model info, session config, infra status#2159
bug-ops merged 5 commits intomainfrom
feat-tui-dynamic-metrics

Conversation

@bug-ops
Copy link
Owner

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

Summary

  • Add 8 new fields to MetricsSnapshot (zeph-core): embedding_model, token_budget, compaction_threshold, vault_backend, active_channel, self_learning_enabled, cache_enabled, autosave_enabled
  • Populate all fields at agent startup in runner.rs; active_channel derived from config presence (not env guessing)
  • Redesign Resources panel with LLM/Session/Infra grouped sections; collapse to single summary lines when terminal height < 30
  • Status bar: replace low-value Panel ON/OFF toggle with active model name inline

Non-blocking follow-ups (Phase 2)

  • N1: rename cache_enabledsemantic_cache_enabled for clarity
  • N2: add unit test coverage for 7 identified gaps in metrics/resources/status tests
  • N3: decide whether filter confidence line should appear in Resources panel
  • N4: replace active_channel telegram-token proxy detection with AnyChannel variant

Test plan

bug-ops added 2 commits March 23, 2026 14:48
…h-skills

Add crates/zeph-skills/skills -> ../../.zeph/skills symlink so build.rs
and bundled.rs reference $CARGO_MANIFEST_DIR/skills instead of the
brittle ../../.zeph/skills traversal.
…a status

Add 8 new fields to MetricsSnapshot: embedding_model, token_budget,
compaction_threshold, vault_backend, active_channel, self_learning_enabled,
cache_enabled, autosave_enabled. Populated at startup in runner.rs.

Redesign Resources panel with LLM/Session/Infra grouped sections; collapse
Session/Infra to summary lines when terminal height < 30. Status bar now
shows active model name, replacing the low-value Panel toggle indicator.
@bug-ops bug-ops enabled auto-merge (squash) March 23, 2026 14:45
@github-actions github-actions bot added enhancement New feature or request size/L Large PR (201-500 lines) documentation Improvements or additions to documentation skills zeph-skills crate rust Rust code changes core zeph-core crate and removed size/L Large PR (201-500 lines) labels Mar 23, 2026
@github-actions github-actions bot added size/L Large PR (201-500 lines) config Configuration file changes and removed size/L Large PR (201-500 lines) labels Mar 23, 2026
@github-actions github-actions bot added size/L Large PR (201-500 lines) and removed skills zeph-skills crate config Configuration file changes labels Mar 23, 2026
@bug-ops bug-ops merged commit 803ffbf into main Mar 23, 2026
25 checks passed
@bug-ops bug-ops deleted the feat-tui-dynamic-metrics branch March 23, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core zeph-core crate documentation Improvements or additions to documentation enhancement New feature or request rust Rust code changes size/L Large PR (201-500 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant