[codex] 修复日程长期项保留和系统动作展示语义#191
Merged
utopiafar merged 1 commit intoMay 26, 2026
Merged
Conversation
PR Preflight Summary / PR 预检汇总中文
English
PR Policy Preflight / PR 规则预检PR Policy Preflight / PR 规则预检中文
未发现确定性规则问题。 English
No deterministic policy findings. PR Flutter Quality / Flutter 质量预检PR Flutter Quality / Flutter 质量预检中文
English
Flutter Analyzer Baseline
No new analyzer issues introduced by this PR. Flutter Test Baseline
No new Flutter test failures introduced by this PR. |
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.
背景
这组改动修复从备份排查中发现的日程聚合体验问题:无日期长期关注项无法清除、未来真实日期事件被窗口漏掉、Action Center 清空误等同拒绝系统动作,以及诊断输入误触发系统动作创建。
最新
main已经把系统动作拆到独立SystemActionAgent,所以本 PR 保持 PKM agent prompt 不变,只在系统动作 agent/skill 上加窄范围保护。Fixes #190
主要改动
为无日期非 task 日程项增加 7 天展示期限:
display_first_seen_at/display_until修正日程聚合窗口:
start_time/due_date修正系统动作语义:
dismissed,不再写成rejected兼容最新 agent 重构:
SystemActionAgent/SystemActionSkill中明确诊断/排查输入不是创建日程同意getScheduleAggregation先做长期项过滤,再做 live task hydrationsystem_action:*等合成 id验证
flutter test --no-pub --concurrency=1 test/agent/skills/schedule_aggregation_skill_test.dart test/agent/skills/schedule_aggregation_retention_test.dart test/agent/schedule_aggregation_run_context_test.dart test/data/services/system_action_service_test.dart test/data/repositories/get_schedule_aggregation_test.dart test/domain/models/schedule_aggregation_model_test.dart test/ui/schedule/widgets/schedule_widgets_test.dart test/ui/card_attachments/widgets/system_action_card_test.dart test/agent/task_completion_agent_test.dartflutter analyze --no-pub(touched files)git diff --check