makecindy / makecindy/cindy

维护者确认:PR #4412 普通 Claude 空闲回收默认策略

Open
#4,413 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

请维护者确认 PR https://github.com/makecindy/cindy/pull/4412 的产品策略。

## 这次改了什么
为 Desktop 普通本地 Claude Code 任务新增空闲运行进程回收:默认开启,空闲 30 分钟后可回收,每 60 秒扫描一次。回收不归档或删除任务,下次发送走已有 lazy-create/resume。隐藏配置 `/claude-idle-release.json` 可把 `minutes` 设为 0–1440(0 关闭)。无设置 UI。

作者在 PR 描述中写明:30 分钟是本 PR 提出的默认策略,请维护者确认。现有用户未设覆盖值时也会采用新的默认回收策略。

## 为何需要确认(product)
这不是纯内部实现。用户能感知到的变化是:长期空闲任务会被释放运行进程,下次发送可能多一次恢复启动等待。没有界面改动,但改变了默认任务生命周期与交互等待。

本次同时命中 arch(maker-ipc / maker-host 核心路径约 476 行),实现是在既有 Maker IPC 上增加独立 watcher 与配置文件,不改跨包 API。当前 blocker 是 product 默认策略,不是模块边界本身。

## 明确不包含
设置 UI、其他 Agent、SSH 运行时,以及 Orca、Bot、未完成 Goal 的回收策略。

## 请求
请维护者直接在 PR 上 Approve 放行;若默认时长、默认开启或回收范围需要调整,请 Request Changes。

---
关联 PR:#4412(作者 @Undermoon1412);本 issue 由 review-pr 流程自动创建,用于先讨论该 PR 涉及的产品 / UI 变更,维护者确认后 PR 会恢复推进。

Contributor guide

Open the contributing guide

Research direction

Start by reviewing PR #4412 and its proposed default policy for ordinary local Claude Code tasks. Check the 30-minute idle timeout, 60-second scan interval, enabled-by-default behavior, recovery scope, and hidden configuration; done means approving the policy or requesting specific changes from the maintainer.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.