Repository navigation
feat(mobile): add one-off agent briefings - #8303
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryThe two PR commits after the previously reviewed increment are a CI-generated kilo-mcp catalog refresh (required-seconds datetime pattern plus procedure counts) and a one-line fix making Assumptions: Files Reviewed (3 files)
Previous Review Summaries (4 snapshots, latest commit c6c26bc)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit c6c26bc)Status: No Issues Found | Recommendation: Merge Executive SummaryThe only PR change since the prior review is Assumptions: Overview
Files Reviewed (5 files)
Previous review (commit bf23863)Status: 2 Issues Found | Recommendation: Address before merge Executive SummaryThe new snapshot size guard can still reject a valid heavy one-off because the fixed provenance arrays are never shrunk, and the last event bucket samples the cutoff instant that aggregation discards. Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (15 files)
Fix these issues in Kilo Cloud Previous review (commit e6f505d)Status: 3 Issues Found | Recommendation: Address before merge Executive SummaryThe latest revision ( Overview
Issue Details (click to expand)WARNING
Files Reviewed (8 files changed in this revision)
Previous review (commit 7eff193)Status: 3 Issues Found | Recommendation: Address before merge Executive SummaryHighest-risk items are the new MCP-exposed paid-generation mutation and a migration that rebuilds a unique index and validates CHECK constraints on a populated table without concurrent DDL. Overview
Issue Details (click to expand)WARNING
Files Reviewed (121 files)
Reviewed by deepseek-flash-latest · Input: 71.4K · Output: 12.8K · Cached: 1.3M Review guidance: REVIEW.md from base branch |
…efing # Conflicts: # .kilo/skills/kilo-mcp/SKILL.md # apps/mobile/src/components/agent-briefing/briefing-detail-screen.tsx # apps/mobile/src/i18n/locales/km.json # apps/web/src/lib/agent-briefing/store.ts # packages/db/src/migrations/meta/0292_snapshot.json # packages/db/src/migrations/meta/_journal.json
Summary
Add one-off agent briefings from the mobile Briefings screen. Users select Personal or one organization, choose a preset or custom historical period, and review coverage, the payer, the model, and the cost bound before creating a report.
Confirmed reports remain available in History while AI generation runs. They preserve the selected period and historical state without changing the morning schedule or automatic AI settings. Empty periods save without an AI request or charge.
Confirmation is idempotent. Account changes discard pending results. Source-access changes invalidate frozen evidence, including charges omitted from displayed details. Busy periods use bounded samples across the whole period and show partial-coverage warnings.
Paid confirmation remains native-only and is excluded from the MCP catalog.
Verification
Deployment
The generated report migration must precede backend promotion. The existing production workflow already gates promotion on its migration job. No new secrets, environment variables, feature flags, or external services are required.
The existing database enum snapshot check has a baseline mismatch for the todo session-origin enum; schema-to-migration consistency passes. No production migration or deployment was performed during verification.