Bucket chat threads by source#3330
Conversation
|
Warning Review limit reached
More reviews will be available in 11 minutes and 55 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (29)
Comment |
Summary
work,from_reflection,subconscious_tick,worker, andagent-taskinto the new buckets.subconsciousand task-board / worker / subagent threads totasks.Problem
Chat threads were still organized around older labels (
All,Work,Briefing,Notification,Workers) that no longer match the desired product model. Removing those filters outright would risk hiding historical threads unless legacy labels are folded into the new buckets.Solution
The chat filter utility now classifies every thread into General, Subconscious, or Tasks. General is the fallback bucket for unlabeled and unknown historical labels,
workremains compatible with General, legacy reflection/subconscious labels resolve to Subconscious, and worker / agent-task labels resolve to Tasks. Thread creation paths for subconscious and agent task-board generated work now persist the new canonical labels. The UI renders only the three buckets, defaults to General, and uses smaller horizontal chip padding.Submission Checklist
diff-cover) meet the gate enforced by.github/workflows/pr-ci.yml. Runpnpm test:coverageandpnpm test:rustlocally; PRs below 80% on changed lines will not merge. Focused changed-line tests were run locally; full merged coverage is left to CI for this UI/core slice.docs/TEST-COVERAGE-MATRIX.mdreflect this change. N/A: bucket naming/filter behavior only; no feature row added, removed, or renamed.## Related. N/A: no coverage matrix feature IDs changed.docs/RELEASE-MANUAL-SMOKE.md). N/A: chat filter labeling change only; no release manual smoke steps changed.Closes #NNNin the## Relatedsection. N/A: no linked issue was provided for this follow-up.Impact
Desktop chat UI now shows General, Subconscious, and Tasks only. Existing stored labels remain readable through normalization, with unknown historical labels falling back to General rather than disappearing. No migration, network, or security impact is expected.
Related
AI Authored PR Metadata (required for Codex/Linear PRs)
Linear Issue
Commit & Branch
fix/chat-thread-bucketsbd8248a6bValidation Run
pnpm --filter openhuman-app format:checkvia pre-push hookpnpm typecheckvia pre-push hookpnpm debug unit src/pages/conversations/utils/threadFilter.test.ts src/pages/__tests__/Conversations.render.test.tsx src/components/intelligence/__tests__/IntelligenceTasksTab.test.tsxcargo fmt --manifest-path Cargo.toml --check;pnpm rust:checkvia pre-push hook; targeted Rust tests listed belowpnpm rust:checkvia pre-push hookAdditional validation:
pnpm --dir app exec tsx ../scripts/i18n-coverage.ts --json --no-unusedgit diff --checkGGML_NATIVE=OFF cargo test --manifest-path Cargo.toml store_handles_labels_and_inference --libGGML_NATIVE=OFF cargo test --manifest-path Cargo.toml persist_worker_thread_creates_thread_with_tasks_label_and_messages --libGGML_NATIVE=OFF cargo test --manifest-path Cargo.toml rejects_if_already_worker_thread --libGGML_NATIVE=OFF cargo test --manifest-path Cargo.toml spawn_worker_thread_tool_persists_worker_thread_e2e --libGGML_NATIVE=OFF cargo test --manifest-path Cargo.toml creates_child_thread_linked_to_parent_and_seeds_prompt --libGGML_NATIVE=OFF cargo test --manifest-path Cargo.toml rejects_if_has_parent_thread_id --libValidation Blocked
command:N/Aerror:N/Aimpact:N/ABehavior Changes
Parity Contract
work-> General; reflection/subconscious labels -> Subconscious; worker/task labels -> Tasks), with unknown/unlabeled threads falling back to General.Duplicate / Superseded PR Handling