[建议] 定时自动化会话:标题无日期+侧栏无按日分组,长期堆积无法管理
Open
Nobody has claimed this yet.
priority: P2
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
场景
定时自动化每天/每周触发,每次生成一个新会话,标题全部相同(如「定时触发的『每日XX扫描』」)。5 个日频自动化 = 每年 1300 个同名会话堆在同一分组/项目下。
问题
- 标题无日期:只能靠侧栏相对时间("2小时前")区分,隔天即乱;重命名/备份数据时也无法与会话日期对应。
- 无按日/按周期分组:侧栏分组是手动 Drag 的平铺列表,日频任务长期堆积后查找、清理、归档都极低效。
- 目前用户侧唯一缓解 = 手动逐个右键重命名(无批量、无自动化接口)。
建议
- 自动化触发的会话自动加日期后缀(如「每日政策扫描 09-05」或触发时间戳),或在自动化设置里提供「标题模板」(支持 {{date}} 变量)。
- 侧栏分组支持按触发日期自动子分组/折叠(今天/昨天/本周/更早),或提供「自动化会话」专属视图:按自动化任务分组 × 时间轴。
- 提供自动归档策略(如 N 天前的自动化会话自动归档,可配置)。
- 上述模板变量若能开放给 API/CLI,用户即可自建清理脚本。
临时缓解(供其他用户参考)
会话内跑脚本改 DB 标题(tasks.title + session.title 双写 + title_overridden=1),在自动化提示词末尾加一行"开场重命名"指令即可实现带日期命名。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by tracing how scheduled automations create sessions, set titles, and populate the sidebar; compare the existing automation and session-management flows. Before coding, narrow the proposal to one behavior and define acceptance criteria for date-based titles, grouping, or archival.
Written by the indexing model from the issue text.
Assessment
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100