feat(observe): make telemetry live#65
Merged
Merged
Conversation
Web and TUI could lag, hide tool semantics, require manual project paths, and spike CPU on every hook.\n\nStream SQLite changes, bound transcript ingestion and derived updates, batch search work, and expose session insights without writing target repositories.
63504e6 to
bcc1c82
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Kaizen could consume a full CPU core, the Web UI only looked live, details were missing, hooks obscured real tool activity, and project selection required a pasted absolute path.
What changed
Proof
cargo nextest run --all-targets --no-default-features --features dev-fast: 534 passed, 3 skipped.cargo test --all-targets --no-default-features --features dev-fast: passed.cargo clippy --all-targets --no-default-features --features dev-fast -- -D warnings: passed.cargo fmt --all -- --check, rustdoc, Quint specs,cargo audit, andcargo deny: passed.Trade-off
Active-session full-text search commits in bounded batches; Web and TUI use SQLite directly and remain live. Search flushes on session stop or the next event after the batch interval.
AI assistance
Codex implemented, tested, manually exercised, and reviewed this change.