feat(personal-analytics): add incremental reports and Agent insights - #106
Merged
Merged
Conversation
Add an 8-table SQLite analytics index with atomic incremental sync, deterministic range reporting, native navigation/filtering, and an independent Agent insight lifecycle.
Unify Agent insight operations around durable JSON state and completed-cache recovery. Correct scoped task activity, canonical attempt identities, and mode-specific terminal metrics. Reject stale report and operation responses in the frontend.
Preserve the personal analytics route and API integration while adopting the latest ACP session convergence changes. Admit analytics Agent attempts through the shared durable ACP lifecycle owner contract.
# Conflicts: # web/src/api/desktop.ts # web/src/components/Shell.tsx
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.
Summary
Add a Personal Analytics experience backed by a rebuildable incremental SQLite index over canonical task, run, attempt, and usage data.
What Changed
src/prompts/zh-CNandsrc/prompts/en.Data Integrity and Lifecycle
AgentInsightOperationlifecycle with revision and generation ordering.UI
Testing
cargo check -p gold-band -p gold-band-desktopgit diff --checkpassed/chat/personal-analyticsat 1280×720 and 720×900 with no horizontal overflow, control overlap, or browser console errorsKnown Baseline Issue
The full frontend suite reports 10 failures in existing Markdown/GFM editor tests. The affected implementation, tests, and dependency manifests are unchanged from
origin/main; 1,592 other tests pass.