dsh-chief 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,80 @@ All notable changes to **`dsh-chief`** (**DSH 参谋长**) will be documented in
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.6.0] - 2026-11-21
9
+
10
+ > **Release Theme**: **简明可视 · 节约注意力资源(Visual Clarity & Attention Conservation)** — consolidated 5-tab navigation, SVG Flow Canvas & click-to-expand Org Tree, top-bar rotating `⚙️` Settings page, Away Managed reliability loop, and live `zh / en` bilingual UI.
11
+
12
+ ### Added
13
+
14
+ #### 🧭 可视化工作拓扑、5 页签整合与全站统一拉起交互 (`board-schema.js` / `board-actions.js` / `digest.js` / `subagent-runtime.js` / `tabs/tasks-flow.js` / `tabs/tasks.js` / `components/common.js`)
15
+ - **工程实现**:
16
+ - **5 页签一体化任务工作台**:将原「规划」页签正式合并入「任务」页签(顶栏保持 `参谋 / 任务 / 协同 / 档案 / 边界` 5 大页签),按「**核心目标 → 可视化工作拓扑(流程画布 / 组织树)→ 推进任务板(步骤与任务列表合一)→ 跨会话接力与部署**」清晰排布。
17
+ - **工作流推进流与跨步回指拓扑 (`planStepId` / `targetPlanStepId` / `derivePlanFlowProgress`)**:任务卡片支持关联规划步骤及目标回指步骤(并对历史看板基于 `graph.plan` 自动回填);「流程画布」使用 SVG 绘制主线顺序阶段节点、可嵌套子代理分支卡片与跨步回指连线(支持横竖向切换与缩放适配器)。
18
+ - **全站统一拉起折叠体验**:抽象通用可折叠组件 `AccCard`,推进任务板默认折叠已完成任务分组;「组织树」默认收起,移除冗余的全局 `全部收起 / 全展开` 按钮,改为点击 `👑 主代理` 卡片整卡即可直接拉起/收起下级子代理与任务树,并补齐 DSH 浅色主题全部覆盖样式。
19
+ - **用户感知**:打开「任务」页即可在一屏内看懂主代理和子代理现在推到第几步、卡在哪步、谁做完会向哪步交卷;平时层级保持收起干净,需要排查哪一条再点开即可。
20
+
21
+ #### 🌙 离桌托管闭环:关键节点告警、LLM 调用账本与硬预算熔断、复盘战报导出 (`chief-state.js` / `chief-models.js` / `chief-review.js` / `runtime-hooks.js` / `src/client/notify.js` / `src/client/report.js`)
22
+ - **工程实现**:
23
+ - **7 类关键里程碑告警与静默基线引擎**:后端在 `pending_approval`、`pending_elevation`、`guard_wall_blocked`、`auto_continue_rescue`、`managed_auto_sleep`、`budget_circuit_break`、`hazard_halt` 事件写入 `alertEvents`(5s 同键去重、20 条滚动上限);前端 `notify.js` 为每个会话建立首次静默基线(绝不重放历史旧告警),后续增量推送按开关触发系统桌面 `Notification` 与双音阶 WebAudio 轻柔提示音。
24
+ - **参谋长 LLM 分类账本与硬预算熔断 (`llmLedger` / `checkManagedBudgetBeforeCall` / `recordChiefLlmUsage`)**:按 `问答(chat) / 巡检(review) / 梦境漫游(dream) / other` 统计调用次与输入/输出 Token(对累计统计字段施加 `1M calls / 1B tokens` 安全上限夹紧);在 `托管` 模式下触及单轮次数上限(默认 30 次,可设 `3–500` 或 `0=不限`)或 Token 上限(默认 `300K`,可选 `100K/300K/500K/1M/不限`)立即触发硬熔断并退回 `⏸ 关停`,同时确保人类主动 `ask_chief` 问答永远豁免阻断。
25
+ - **Markdown 复盘战报导出 (`report.js`)**:汇集核心目标、规划进度、任务验收证据、子代理名册、参谋摘要、红线/物理驻墙及账本消耗生成结构化中/英文 `.md` 战报(自动脱敏 `sk-` / `ghp_` / `AKIA` / `AIza` / `Bearer` 及私钥块),支持一键下载 `.md` 文件或复制剪贴板。
26
+ - **用户感知**:离开电脑挂机时,遇到必须拍板或触发熔断会第一时间在桌面收到提醒,再也不用担心后台循环烧光额度;回来点一下就能导出或复制脱敏干净的整局战报交差归档。
27
+
28
+ #### ⚙️ 顶栏旋转齿轮「设置」页、3 档开箱情景预设与中英双语 (`components/Panel.js` / `tabs/plan.js` / `tabs/boundaries.js` / `src/client/i18n.js` / `locale/zh.json` / `locale/en.json`)
29
+ - **工程实现**:
30
+ - **顶栏齿轮入口与边界页减负**:将设置页从「边界」二级页签移至顶栏 `DSH 参谋长` 与版本号 `v1.6.0` 之间的旋转齿轮按钮(点击顺滑旋转 `180°` 切换设置页),让「边界」页专注物理驻墙、红线列表与运行环境信息。
31
+ - **3 档情景预设 (`CHIEF_SCENARIO_PRESETS`)**:支持一键切换「👁 只读旁观 (`L0 · 关停`) / 🤝 日常协作 (`L2 · 巡检 + 红线哨兵`) / 🚀 离桌托管 (`L3 · 托管 + 80% 压缩 + 30次/300K 熔断 + 桌面告警`)」;切换离桌托管必须经过弹窗双重风险确认(后端硬拦截无确认直传)。
32
+ - **全界面中英双语 (`i18n.js`)**:补全 `locale/zh.json` 与 `locale/en.json`,支持 `跟随宿主 (auto) / 简体中文 (zh) / English (en)` 运行时无刷新切换并覆盖全部 5 个页签、弹窗及导出战报。
33
+ - **用户感知**:新装用户点顶栏齿轮就能 1 秒选好合身的协作挡位,也可以随时一键切换中英文界面。
34
+
35
+ ### Fixed
36
+ - **修复 `--format` 选项误触发破坏性磁盘格式化拦截 (`safety/invariant-guards.js`)**:将命令行参数里的 `--format` 与真实磁盘格式化命令(如 `format C:`、`format.com D:`、`cmd /c format ...`)精确区分,`git log --format=...` 等高频开发命令零误杀,真实格式化命令仍 100% 硬拦截。
37
+ - **加固强介入防空转与冷却期接续 (`idle-guard.js` / `chief-review.js`)**:新增回合中途卡死/重复打转与连续工具报错空转识别 `detectMidTurnSpin`(写入规划操作豁免计数);修复 `off` / `patrol` 模式下开启强介入被忽略、4 秒冷却期内跳过不重排、以及 LLM 未给出 `interventionText` 但存在 `goalMissing` 时漏发督导续推的问题。
38
+ - **修复硬预算熔断后的滞后调用拦截 (`chief-state.js`)**:`checkManagedBudgetBeforeCall` 在 `mr.tripped` 为真且未切入 `patrol` 时直接拦截滞后后台 `review` / `dream` 调用,防止熔断瞬间仍有在途定时器漏跑;显式切回 `patrol` / `managed` 或点击重置计数时同步清除熔断标记。
39
+
40
+ ## [1.5.0] - 2026-11-20
41
+
42
+ ### Added
43
+
44
+ #### 🗂️ 认知桌面、三层钩子渐变隔离与动态俯视纸质卷宗 UI (`archive-core.js` / `archive-dossiers.js` / `tabs/archives.js`)
45
+ - **工程实现**:
46
+ - **三层钩子平滑可见性模型**:本局档案柜未整理草稿对主对话不可见、参谋随时可读,经参谋整理写入 `hookKeywords`/`hookCue`/`hasHook: true` 后仅向主对话注入轻量 `🪝` 索引并新增 `chief_board({ action: "archive.pull", id })` 按需拉阅(点亮 `leadPulledSessions` 与 `📖 主代理已拉阅` 徽章);全局档案柜未织钩草稿对主对话和参谋双盲,织钩后仅向参谋开放 `globalHookIndex` 与 `pull_global` 拉阅(主对话仍 0 泄露);冷藏档案柜(`precipitated`)新增 `precipitatedFolders` 折叠抽屉及人类速览钩子,对主对话和参谋维持 0-byte 隔离并拦截参谋 `archiveOps` 访问。
47
+ - **认知桌面预算驱动与双通道注入**:`digest.js` 与 `board-actions.js` 彻底肃清 `sessionArchiveBriefs` 全文泄露,确立置顶 `desktop`(上限 `2,400 Tokens / 6 份`)为唯一全文注入源;超额自动按 `copper < silver < gold`/Pin 时间挤退入 `recentlyUnpinnedWatch` 观察队列;新增 `executeChiefArchiveInjectionOp` 双通道(`pin_to_desktop`/`unpin_from_desktop` 通道 A、`deliver_to_lead` 一次性执行信封通道 B,记入 `chiefDeliveredSessions`),严格服从 L0–L3 权限门控。
48
+ - **动态俯视纸质卡片 UI**:新增 `.dnb-desktop-zone`(含实时 Token 占用条与「🌙 交参谋梦境漫游归入抽屉」快捷按钮)、`.dnb-vault-banner` 谁在看总览横幅、全三层 `.dnb-drawer-box` 折叠抽屉及 `.dnb-paper-dossier` 动态纸质卷宗卡(折叠态仅呈现标题、关键词钩子与谁在看徽章,点击后平滑展开操作栏与分块记忆点)。
49
+ - **用户感知**:打开档案页顶部即见置顶「认知桌面」和 Token 额度条,三层档案像俯瞰书桌上的实体文件夹与纸页,未点开只看标题和关键词钩子,谁能看、谁在看一眼了然,主对话上下文不再被无关历史档案挤爆。
50
+
51
+ #### 🤖 正交运行模式、托管「🌙 梦境漫游」、5 条件自动休眠与一站式执行 (`chief-review.js` / `auto-continue.js` / `runtime-hooks.js`)
52
+ - **工程实现**:
53
+ - **三态正交总控 (`runMode: 'off' | 'patrol' | 'managed'`)**:统一替代旧版零散开关;`off` 后台 0 review LLM 消耗;`patrol` 常规回合 0 Token,仅在 `guard_wall_blocked`、`turn_error`、`stream_interrupted` 等异常事件唤醒巡检;`managed` 启用持续督导。
54
+ - **托管后台「🌙 梦境漫游」 (`runManagedDreamRoam`)**:托管态 L1+ 权限时自动分拣未织钩草稿与 `recentlyUnpinnedWatch` 入抽屉并生成钩子,同时点亮星空紫蓝毛玻璃遮罩 `data-tone="dream"`(`'🌙 参谋长正在梦境漫游 · 轻拢卷宗与织就钩子中...'`),严禁改写工作区代码或回推桌面。
55
+ - **5 条件自动休眠守护**:`checkAndStopIdleAutoPilot` 仅在(1)闲置达 `managedIdleTimeoutMs`(默认 15 分钟)且无运行中代理、(2)0 `doing` 任务、(3)0 待审批/提权、(4)0 未结 `inquiries`、(5)0 待复盘定时器且 `recentlyUnpinnedWatch` 清空时自动切回 `'off'`。
56
+ - **`Auto continue` 双模式唤醒与 L3 一站式建议收口**:`patrol` 与 `managed` 下断流事件过红线与物理墙检查后按 L0–L3 分级处置(L3 下发 `[EXECUTION_REQUEST #taskId]`);`L3 + 强介入` 时 `executeBatchSuggestions` 自动执行安全建议(跳过 `guard_wall`、`goal_approval` 及 `pinGlobal`)并产出 `isOneStopReport: true` 合并战报卡片 `'🏁 一站式战报回执'`。
57
+ - **用户感知**:关停即零消耗,巡检只在真出事或断线时介入,开启托管后参谋长会在空闲期悄悄「🌙 梦境漫游」归整卷宗并织好检索钩子,忙完 15 分钟所有待办归零后自动退回关停休眠。
58
+
59
+ #### 🧠 思考强度、自适应换挡与跨模型每角色 `🔒 锁挡` 保护 (`chief-models.js` / `subagent-runtime.js` / `tabs/chief.js`)
60
+ - **工程实现**:
61
+ - **6 档配置与模型能力对齐 (`thinkingEffort`)**:支持 `auto / off / low / medium / high / xhigh`,调用 `llm.resolveModelInfo` 自动降级或对非推理模型剥离参数;`decideAdaptiveChiefEffort` 在 `chat_summary` / `dream_roam` / `quick_status` 自动降为 `off`,常规复盘为 `medium`,`blank_explore` / `wall_blocked` / `craft_wall` / `precipitate` / `strong_intervention` 升为 `high`,`hazard_diagnosis` 升为 `xhigh`,并在聊天与回执卡落盘 `thinkingEffort` 与 `thinkingEffortMode` 角标元数据。
62
+ - **L2/L3 跨代理热调挡与 `🔒 锁挡` 一票否决**:通过 `effortOps`、看板 `task.dispatch({ reasoningEffort })` 与 `controlMainAgent({ op: 'set_effort' })` 静默热调 `@lead` 与子代理下一轮推理深度;新增 `lockedModelEfforts` 每角色锁挡,用户一键锁定后参谋 L2/L3 自动改挡被硬拦截并记入审计。
63
+ - **用户感知**:可在模型选择器与参谋回复右上角直接看清每条回答使用的推理强度,默认「🪄 自适应」自动把好钢用在复杂排障与筑墙上;也能直接在前端一键锁定主对话或任意子代理的思考挡位,防止参谋越权改动。
64
+
65
+ ### Fixed
66
+ - **加固模型思考锁挡 (`lockedModelEfforts`) 权限隔离与 `toggleLockAgentEffort` 落地 (`chief-state.js` / `api-routes.js`)**:封堵非人类调用方通过 `updateChiefConfig` 直接篡改 `lockedModelEfforts` 或已锁挡 `chief` 思考强度的旁路(Fail-Closed 拦截并写入 `model_effort_lock` 审计日志);仅允许经宿主鉴权面板路由 (`/chief/config`) 或显式 `byUser: true` 人工操作修改。
67
+ - **拦截 `inquiry.reply` 重复重放 (`chief-state.js`)**:`answerChiefInquiry` 校验问询当前状态,对已 `answered` 结案的 `inquiryId` 幂等拒绝并写入 `inquiry_reply_replay_rejected` 审计记录,杜绝覆盖原答案及重复写入聊天回执、审计日志与任务账本。
68
+ - **修复 DSH 浅色主题下弹层仍为深色问题(Fixes [#3](https://github.com/gluztm/dsh-chief/issues/3), thanks `@iridiumgit`,`styles.js`)**:将 `--dnb-popover` 从固定深色的 `--dsw-alias-hovercard-bg` 切换为随主题变的 `--dsw-alias-bg-elevated`,并显式适配 `html[data-ds-theme-source="light"]` 与 `[data-ds-theme="light"]`(独立于系统 `prefers-color-scheme`,覆盖四级权限弹层、战术驾驶舱、更多菜单、流光毛玻璃与俯视角纸质卷宗,并防止系统浅色误染 DSH 深色主题)。
69
+ - **子代理会话自动隐藏参谋长入口与防会话污染(Fixes [#4](https://github.com/gluztm/dsh-chief/issues/4), thanks `@iridiumgit`,`store.js` / `api.js` / `components/Panel.js`)**:新增 `isSubagentSessionId` 复用宿主 `sessions.subagentAddress` 与快照元信息识别子代理会话,在子代理对话框内自动隐藏输入框参谋长按钮(`ComposerEntry`)及主视口右下角悬浮入口(`CornerTrigger`),并阻止 `adoptSession` 被子代理窗格覆盖主会话焦点。
70
+ - **自适应顶栏版本号、锁挡状态同步、强介入先锁目标即推与极低概率请示拆墙(`Panel.js` / `tasks.js` / `modals.js` / `chief.js` / `chief-commands.js` / `chief-approvals.js` / `api-routes.js`)**:
71
+ - 使用 `@container dnb-head` 在宽敞面板展示版本号、窄面板自动隐藏(未同步警示始终亮显);
72
+ - 修复子代理/主对话思考强度 `🔒 锁挡` 按钮因 `effortLocked` 缓存及别名键导致的无法切换/解锁问题,并区分清晰锁定态图标文案;
73
+ - 开启「主动强介入」必须先填写并点选锁定核心总目标(未锁点击则目标框红框闪烁提醒),确认开启后按当前权限自动立即唤醒/审批首轮推进,无需再发“继续”;
74
+ - 参谋长请示拆墙机制落地(`kind: 'wall_removal'`):仅当主/子代理真实撞墙无法绕过并上报、参谋独立复核确认无替代方案时方可提交审批单,任何 L0–L3 权限均不可自拆或由自动流水线跳过,必须人类点击批准才暂挂/拆除目标墙;
75
+ - 参谋摘要页新增「💡 咨询」按钮,坦诚给出建议或直接说明暂无建议/管不了的外部事项,不强行凑执行按钮,可执行项按标准权限与审批流程推进。
76
+ - **扇形思考强度仪表盘、固定高度防抽搐、弹窗实底防透与团队思考强度「自动 / 手动」简洁切换(`chief-state.js` / `chief-commands.js` / `subagent-runtime.js` / `api-routes.js` / `components/common.js` / `components/modals.js` / `tabs/chief.js` / `tabs/tasks.js` / `styles.js`)**:
77
+ - 将模型选择器与战术驾驶舱中的思考强度替换为 180° 扇形档位表(`EffortFanGauge`):支持拖拽/点击切换固定挡位或点按中心一键切回 `🪄 自动调节`,移除自动扫掠循环动画与底部自适应说明栏,保持原生气泡解释且彻底消除鼠标跨档悬停导致的弹窗高度抽搐;
78
+ - 取消针对单个主/子代理的思考档位下拉调控与 `锁挡` 按钮,改为在扇形表盘下方提供「团队思考强度(主/子代理):自动 / 手动」一键切换(`teamEffortMode`,默认 `auto` 由参谋长按当前权限范围自动调节,切换 `manual` 则由人类掌控且参谋主动调挡门禁与执行均严格拦截);
79
+ - 精简移除战术驾驶舱顶部 `拉起 / 复位` 把手,保留主代理与子代理卡片及调度标签前置 `agentLead` / `agentSub` 矢量图标,并为 `.dnb-tactical-pop` / `.dnb-perm-pop` / `.dnb-more-menu` / `.dnb-menu` 补充深/浅色实底背景修复深色模式下弹层半透明透底叠字问题。
80
+ - **支持鼠标单击毛玻璃遮罩即穿透恢复操作且保留外框流光提示 (`components/Panel.js` / `styles.js`)**:当后台「🌙 梦境漫游」或自动审查点亮毛玻璃舞台时,新增 `点击任意处收起遮罩继续操作 · 外框流光表示仍在运作` 提示;用户鼠标单击毛玻璃任意区域即可立即卸除模糊与点击拦截层恢复自由操作面板,同时四边 `.dnb-chief-fx-border` 彩色流光外框依然保持运行,直至本轮后台运作结束。
81
+
8
82
  ## [1.4.0] - 2026-11-19
9
83
 
10
84
  ### Added
package/README.en.md CHANGED
@@ -1,11 +1,15 @@
1
1
  <div align="center">
2
2
 
3
- **Right-sidebar supervisor, anti-compaction vault, and approval gate for DeepSeek Harness (DSH)**
4
- <sub>Saves paths and findings before `/compact` wipes context, tracks subagent DAGs in one view, and asks before editing files or running shell commands.</sub>
3
+ **Right-sidebar supervisor, Cognitive Desktop, pre-execute Guard Walls & multi-agent gate for DeepSeek Harness (DSH)**
4
+ <sub>Saves paths and findings before `/compact` wipes context, tracks subagent DAGs in one view, and enforces Guard Walls + per-action approvals before file edits or commands run.</sub>
5
5
 
6
6
  <img src="assets/chief-10s-compare.gif" alt="Side-by-side comparison: plain long session loses context on compaction vs. dsh-chief saves findings to cold vaults, guards actions, and carries structured handoffs across windows" width="800" />
7
7
 
8
- <sub>Read-only by default · Per-action workspace approval · `dsh plugin --profile web add dsh-chief`</sub>
8
+ <sub>Read-only by default · Per-action workspace approval · `dsh plugin --profile desktop add dsh-chief`</sub>
9
+
10
+ <br />
11
+
12
+ <img src="assets/v160-highlights.png" alt="dsh-chief v1.6.0 feature highlights: SVG Flow Canvas with cross-step return arcs, attention-first click-to-expand Org Tree, top-bar rotating Settings gear with Presets/Alerts/Hard Budget Breaker, and live zh/en bilingual UI plus redacted .md report" width="100%" />
9
13
 
10
14
  <br />
11
15
 
@@ -17,23 +21,36 @@
17
21
  ### DeepSeek Harness Right-Sidebar Supervisor, Zero-Token Archive Vault & Safety Gate
18
22
 
19
23
  [![DSH Compatibility](https://img.shields.io/badge/DSH-%3E%3D%200.2.2--rc.2-38bdf8?style=flat-square)](https://dsh.deepseek.com)
24
+ [![GitHub Release](https://img.shields.io/github/v/release/gluztm/dsh-chief?color=2563eb&style=flat-square)](https://github.com/gluztm/dsh-chief/releases)
20
25
  [![npm version](https://img.shields.io/npm/v/dsh-chief?color=cb3837&style=flat-square)](https://www.npmjs.com/package/dsh-chief)
26
+ [![CI](https://github.com/gluztm/dsh-chief/actions/workflows/ci.yml/badge.svg)](https://github.com/gluztm/dsh-chief/actions/workflows/ci.yml)
21
27
  [![DSH Market](https://img.shields.io/badge/DSH%20Market-Listed-f59e0b?style=flat-square)](https://awesome-dsh-plugin.com/p/gluztm/dsh-chief/)
22
- [![Bilibili Demo](https://img.shields.io/badge/Bilibili-Video%20Demo-fb7299?style=flat-square)](https://www.bilibili.com/video/BV1DqsV6QEGi)
28
+ [![Bilibili Demo](https://img.shields.io/badge/Bilibili-Video%20Demo-fb7299?style=flat-square)](https://www.bilibili.com/video/BV1Fksq6iEw8)
23
29
  [![SuperAgent Ready](https://img.shields.io/badge/SuperAgent-Router--Worker%20Synergy-a855f7?style=flat-square)](https://github.com/deepseek-ai/dsh-superagent-prototype)
24
30
  [![Node.js](https://img.shields.io/badge/Node.js-%3E%3D%2022.13-30d158?style=flat-square)](https://nodejs.org)
25
31
  [![Zero Dependencies](https://img.shields.io/badge/Dependencies-0%20External-ffe033?style=flat-square)](#)
26
32
  [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-f87171?style=flat-square)](LICENSE)
27
33
 
28
- > **Current release `v1.4.0`**: Adds a 9-module safety kernel (`pkg/safety/`), `tools/pre-execute` guard walls (`guard-walls.json`), two-tier `role + capabilities` with persistent `TaskLedger` resume, main-chat-first lazy delegation (`[EXECUTION_REQUEST]`), quiet `[INQUIRY]` checks, and DSH `0.2.2-rc.5` support.
34
+ > **Current release `v1.6.0`**: Ships **Visual Work Topology (SVG sequential Flow Canvas with cross-step return arrows + click-to-expand Org Tree) inside the consolidated 5-tab layout**, **Away Managed last-mile loop (7 milestone desktop alerts & optional gentle chime, categorized LLM usage ledger + hard budget circuit breaker, and redacted `.md` retrospective report export)**, plus **top-bar rotating Settings gear, 3 one-click Scenario Presets, and live `zh / en` bilingual switching** — alongside the `2,400T / 6` Cognitive Desktop, `180°` fan effort gauge, click-through Dream Roam, `--format` zero-false-positive guard, and DSH `0.2.2-rc.5` support.
29
35
  > Shares the Router + Workers split from DeepSeek's **[SuperAgent (`dsh-superagent-prototype`)](https://github.com/deepseek-ai/dsh-superagent-prototype)** while keeping Chief state and prompts isolated from the main session.
30
36
 
31
- [简体中文 (`README.md`)](README.md) · **English** · [Changelog (`CHANGELOG.md`)](CHANGELOG.md)
37
+ [简体中文 (`README.md`)](README.md) · **English** · [Changelog (`CHANGELOG.md`)](CHANGELOG.md) · [Architecture (`ARCHITECTURE.md`)](ARCHITECTURE.md)
38
+
39
+ [v1.6.0 Highlights](#what-changed-in-v160) · [Problems Fixed](#daily-friction-this-plugin-fixes) · [Inside the Sidebar](#inside-the-sidebar) · [Architecture](#modular-architecture-v160) · [Installation](#installation--host-compatibility) · [Security](#local-storage--security-guarantees) · [Contributors](#contributors)
32
40
 
33
41
  </div>
34
42
 
35
43
  ---
36
44
 
45
+ ## What Changed in `v1.6.0`
46
+
47
+ - **🧭 Visual Work Topology, 5-Tab Consolidation & Unified Pull-Cards**: Merges Plan into the **Tasks** tab cleanly (`Chief / Tasks / Peers / Archives / Guards`): **Flow Canvas** plots sequential stages, nested subagent branches, and explicit cross-step return arrows via SVG, while **Org Tree** stays folded by default until you click the Lead card, matching uniform `AccCard` pull-to-expand interactions and full light-theme support.
48
+ - **🌙 Away Managed Last-Mile Loop**: Emits session-baseline-suppressed desktop `Notification` alerts and optional 2-note WebAudio chimes across 7 milestone events (approvals, elevations, wall blocks, rescue continues, auto-sleep, budget break, hazard halt); tracks calls/tokens by `chat / review / dream` with a default `30 calls / 300K tokens` Managed circuit breaker (never blocking human `ask_chief`); and exports/copies secret-redacted Markdown session reports.
49
+ - **⚙️ Top-Bar Settings Gear, 3 Scenario Presets & Bilingual UI**: Moves configuration into a smooth rotating gear button between the title and `v1.6.0` badge, offering **Observer / Co-Pilot / Away Mode** one-click presets (with mandatory dual-risk modal for L3/Managed) plus instant `Auto / 简体中文 / English` switching backed by `locale/zh.json` & `locale/en.json`.
50
+ - **🛡️ Safety & Mid-Turn Spin Hardening**: Disambiguates `--format` CLI flags from destructive disk-format commands (`format C:` still hard-denied); adds mid-turn duplicate/error-thrash spin detection (`detectMidTurnSpin`) with `planWrite` exemption; and blocks delayed background calls immediately after a budget breaker trip.
51
+
52
+ ---
53
+
37
54
  ## Daily Friction This Plugin Fixes
38
55
 
39
56
  If you run multi-step coding tasks inside DeepSeek Harness, these six problems tend to come up quickly.
@@ -45,64 +62,61 @@ If you run multi-step coding tasks inside DeepSeek Harness, these six problems t
45
62
 
46
63
  ### 2. Agents stop halfway ("I edited the file, please test it")
47
64
  - **What goes wrong**: Left unattended or overnight, an agent updates one file and marks the task done without running checks or builds.
48
- - **How `dsh-chief` handles it**: Locks the Core Objective under Strong Intervention (`0 = ∞` turns with stall breakers) and checks your `allowed` must-do list until you explicitly click `✅ 批准结项`.
65
+ - **How `dsh-chief` handles it**: Requires locking a Core Objective before enabling Strong Intervention (`0 = ∞` turns with 3-strike identical-error circuit breakers), wakes cleanly across `🛡 Patrol` and `🤖 Managed` on stream interruptions, executes safe L3 steps into a merged `🏁 One-Stop Report`, and holds final completion until your `allowed` checks pass and you approve.
49
66
  - Hit the red `⏹ 急停` button at any time to stop background drives and take back manual control.
50
67
 
51
68
  ### 3. Always-on memory plugins bloat prompts and burn tokens
52
69
  - **What goes wrong**: Injecting kilobytes of old notes on every turn wastes context window and distracts the model from the current file.
53
- - **How `dsh-chief` handles it**: Stores sealed dossiers in three local vaults (Session, System Global, Precipitated). **While sealed, they add 0 bytes and 0 tokens to the main chat.**
54
- - Click `📌 摆上桌面` or `📤 取出` only when a specific note is needed, and put it back as soon as you finish that step.
70
+ - **How `dsh-chief` handles it**: Archives live in top-down stack-of-papers folders across three vaults (Session, System Global, Precipitated). **Only items pinned to the Cognitive Desktop (`2,400 Tokens / 6 items`) enter the prompt automatically; unpinned dossiers add 0 full-text tokens**, exposing only lightweight `🪝` keyword hooks for on-demand `archive.pull` retrieval while keeping Precipitated secrets double-blind.
55
71
 
56
72
  ### 4. Full autonomy feels unsafe, but chat-only mode leaves Chief idle (or bossy)
57
73
  - **What goes wrong**: Clicking "allow everything" risks `git push --force`, destructive deletes, or reading `.env`, while high-tier supervisors often try to edit files themselves instead of letting your main agent work.
58
- - **How `dsh-chief` handles it**: Uses four permission tiers (`advisor` read-only default, `assistant`, `strategist` per-action approval, `chief` high autonomy) plus a pre-execution firewall.
74
+ - **How `dsh-chief` handles it**: Separates permission tiers (`L0 advisor` read-only default / `L1 assistant` / `L2 strategist` per-action approval / `L3 chief`) from header runtime modes (`⏸ Off / 🛡 Patrol / 🤖 Managed`), backed by a pre-execution firewall.
59
75
  - **Every new session starts read-only**: Observes code, answers questions, and updates the board without touching your workspace.
60
- - **Pre-execution guard walls (`tools/pre-execute`)**: Before the main agent, any subagent, or Chief writes a file or runs a command, calls pass through `~/.dsh/chief/guard-walls.json`. Walls can be scoped as `global` (follow every new session like preferences), `workspace` (project-only), or `paused`, merged in-place when they share a rule type, or crafted in plain language by Chief for you to approve. High-risk command rules can prompt DSH's native one-time approval dialog.
61
- - **Lazy intervention & background check-ins**: Unless you explicitly ask Chief to edit files directly, it sends structured `[EXECUTION_REQUEST]` items to the main conversation instead of taking over or speaking as you. In a blank new chat, it instructs `@lead` to read the repo and build a plan first, asks clarifying questions quietly in the background without pausing `@lead`, and updates the top summary after chats.
62
- - **Auto-resume after approval & restrict-only policies**: `TaskLedger` picks up unfinished steps once you click Allow, hard rules (compound shells, `node -e`/`python -c`, quote-backslash `.env` tricks, symlinks, NTFS ADS) hold in every tier with logs written to `~/.dsh/chief/chief-audit.jsonl`, and optional JSON `policyPlugins` can tighten permissions without ever weakening built-in hard guards.
76
+ - **Pre-execution guard walls (`tools/pre-execute`)**: Before the main agent, any subagent, or Chief writes a file or runs a command, calls pass through `~/.dsh/chief/guard-walls.json`. Walls switch between `🌐 Global`, `📁 Workspace`, and `⏸ Paused`, merge same-type rules, or get drafted from plain language for your approval. Models in any L0–L3 tier can never mute or remove locked walls — genuine dead-end blockers can only submit a human-approved removal request.
77
+ - **Lazy intervention & background check-ins**: Unless you explicitly ask Chief to edit files directly, it sends structured `[EXECUTION_REQUEST]` items to the main conversation instead of taking over or speaking as you. In a blank new chat, it guides `@lead` to inspect the repo and plan first, and asks clarifying `[INQUIRY]` questions quietly without pausing `@lead`.
78
+ - **Auto-resume after approval & restrict-only policies**: `TaskLedger` picks up unfinished steps once you click Allow; hard rules (compound shells, `node -e`/`python -c`, quote-backslash `.env` tricks, symlinks, NTFS ADS) hold in every tier with logs written to `~/.dsh/chief/chief-audit.jsonl`, alongside optional restrict-only JSON `policyPlugins`.
63
79
 
64
80
  ### 5. Dozens of subagents run out of sight and ignore verbal rules
65
81
  - **What goes wrong**: Workers live across scattered tabs, and rules mentioned in chat scroll out of context after ten turns.
66
- - **How `dsh-chief` handles it**: Shows the main coordinator and subagents in one tree view with status controls, step Q&A, and one-click `分屏` live output streams. Pin rules with `📌` in Boundaries so every new task inherits them.
82
+ - **How `dsh-chief` handles it**: Shows the main coordinator and subagents in one pyramid tree with status controls, `@agent` direct steering pills along the bottom bar, plain-language step explanations, and one-click `分屏` live streams. Pin rules with `📌` in Boundaries so every new task inherits them.
67
83
 
68
84
  ### 6. Long threads slow down, but opening a new window resets everything
69
85
  - **What goes wrong**: After 100 turns you want a clean window without re-explaining workspace paths and task progress, and you do not want a background plugin quietly calling paid APIs every turn.
70
- - **How `dsh-chief` handles it**: Defaults to `⏸ On-Demand` (0 background LLM calls) and mirrors your active session's provider/model. Edit or freeze handoff notes with `📌 定住防改`, then deploy a linked window carrying only the vault scope you pick.
86
+ - **How `dsh-chief` handles it**: Defaults to `⏸ Off` / `🛡 Patrol` (0 idle LLM calls), mirrors your active session's provider/model, and exposes a `180°` fan effort gauge with `🪄 Auto` adaptive depth. Click `解释` on any plan step for plain-language explanations, freeze handoff notes with `📌 定住防改`, and deploy a linked window carrying only the archive scope you pick.
71
87
 
72
88
  ---
73
89
 
74
90
  ## Inside the Sidebar
75
91
 
76
- ### 01 · Chief Cockpit (`参谋` Tab)
77
- - Send tasks in plain language from the bottom input box (with action buttons cleanly aligned at bottom-right). Status pills above show `⚡ 强介入`, `✦ 智选压缩`, `🛡 红线哨兵` (turning red with a colored shield when active), permission tier, and `⏹ 急停`.
78
- - Enabling Strong Intervention opens a confirmation modal listing both active Physical Guard Walls and Forbidden Redlines side by side (`管理边界` + expand/collapse controls).
79
- - Filter the feed by `全部 / 💬 问答 / 📋 回执`. User prompts and Chief receipts sit inside high-contrast grouped frames that collapse individually or all at once, multi-step suggestions merge into one top `▶ 执行建议` button, and background Chief work switches to the active tab with a frosted overlay and sweeping light-beam border.
92
+ ### 01 · Chief Cockpit & Click-Through FX Stage (`参谋` Tab)
93
+ - Send tasks in plain language from the bottom input box, toggle `⚡ 强介入`, `✦ 智选压缩`, `🛡 红线哨兵`, `L0–L3` tiers, and `⏹ 急停`, or adjust `⏸ Off / 🛡 Patrol / 🤖 Managed` and the `180°` fan thinking effort gauge.
94
+ - When Dream Roam or auto-review raises the frosted working stage overlay, **a single click dismisses the blur so you keep full control while the glowing outer border continues to show Chief is active**.
80
95
 
81
96
  ![01 - Chief Cockpit Overview](assets/screenshots/01-chief-cockpit-overview.png)
82
97
 
83
98
  ---
84
99
 
85
- ### 02 · Coordinator & Subagent Task Tree (`任务` Tab)
86
- - Displays the root coordinator and active subagent lanes in a single layout instead of tiny nested lists, with inline status toggles, plain-language step explanations, and `分屏` live stream panes.
100
+ ### 02 · Visual Flow Canvas & Click-to-Expand Org Tree (`任务 / Tasks` Tab)
101
+ - **Dual Topology Views**: Switch between **Flow Canvas** (SVG sequential plan backbone, sprouted subagent branches, and dashed cross-step return arcs) and **Org Tree** (collapsed to a crisp one-line summary by default to conserve attention; click anywhere on the lead card to expand/collapse subordinate lanes—zero redundant toggle buttons), above the consolidated progress board and `分屏` live stream panes.
87
102
 
88
103
  <div align="center">
89
- <img src="assets/screenshots/02-full-spread-pyramid-dag.png" alt="02 - Subagent DAG View" width="76%" />
104
+ <img src="assets/screenshots/02-full-spread-pyramid-dag.png" alt="02 - Subagent DAG View" width="80%" />
90
105
  </div>
91
106
 
92
107
  ---
93
108
 
94
- ### 03 · 3-Tier Local Archive Vaults (`档案` Tab)
95
- - Separates **💬 Session Cabinet** (strictly isolated per `rootSessionId`, with multi-cabinet support and one-click `一键收纳入柜` for temporary notes), **🌐 System Global Vault** (tracks `Synced` / `Local Modified` / `Local Only` diffs), and **🏛️ Precipitated Vault** (double-blind by default).
96
- - Dossiers stay out of prompts until you click `📌 摆上桌面`.
109
+ ### 03 · Cognitive Desktop & Stack-of-Papers Vaults (`档案` Tab)
110
+ - Features the pinned **📌 Cognitive Desktop** (`2,400 Tokens / 6 items` bar — sole per-turn prompt injection source) above Session, System Global, and Precipitated drawers with top-down stack-of-papers cards and `🪝` keyword hooks.
97
111
 
98
112
  <div align="center">
99
- <img src="assets/screenshots/03-cold-archive-cabinet.png" alt="03 - Three-Tier Cold Vaults and Diff Tracking" width="68%" />
113
+ <img src="assets/screenshots/03-cold-archive-cabinet.png" alt="03 - Three-Tier Cold Vaults and Cognitive Desktop" width="90%" />
100
114
  </div>
101
115
 
102
116
  ---
103
117
 
104
- ### 04 · Core Objective Lock & Step Q&A (`规划` Top)
105
- - Click `🎯 设为目标` to track long tasks, or click any step in the plan list to ask why that step exists without interrupting the main agent.
118
+ ### 04 · Objective Lock, Flow Topology & Step Q&A (`Tasks` Tab)
119
+ - Click `🎯 Set Objective` to lock your Core Objective before Strong Intervention, inspect the collapsible **Work Topology** (Flow Canvas / Org Tree) and unified Progress Task Board below, or click `Explain` on any step without interrupting `@lead`.
106
120
 
107
121
  <div align="center">
108
122
  <img src="assets/screenshots/04-dual-tier-goal-and-step-qa.png" alt="04 - Goal Supervision and Step Q&A" width="68%" />
@@ -111,8 +125,8 @@ If you run multi-step coding tasks inside DeepSeek Harness, these six problems t
111
125
  ---
112
126
 
113
127
  ### 05 · Cross-Window Peer Linking & Mailbox (`协同` Tab)
114
- - Connect multiple open DSH windows to share live progress, with automatic cache and mailbox purge on detach.
115
- - Screenshots pasted into the cockpit are saved under `<cwd>/.dsh-chief/uploads/` so models can inspect real files instead of guessing.
128
+ - Connect multiple open DSH windows to share live progress and coordinate ports/contracts, with automatic cache and mailbox purge on detach.
129
+ - Screenshots pasted into the cockpit are saved under `<cwd>/.dsh-chief/uploads/` so models inspect real files instead of guessing.
116
130
 
117
131
  <div align="center">
118
132
  <img src="assets/screenshots/05-cross-session-collab-bus.png" alt="05 - Cross-Window Linking and Mailbox" width="68%" />
@@ -121,8 +135,8 @@ If you run multi-step coding tasks inside DeepSeek Harness, these six problems t
121
135
  ---
122
136
 
123
137
  ### 06 · Guard Walls, Pinned Redlines & Must-Do Checks (`边界` Tab)
124
- - The top **🧱 Physical Guard Walls** section blocks dangerous commands or paths before execution: add rules manually (`+ 手动驻墙`) or let Chief draft them from plain text (`✨ 参谋手搓墙`), toggle `🌐 Global`, `📁 Workspace`, or `⏸ Paused`, and merge multiple walls of the same type cleanly (cross-type merges are blocked).
125
- - Below that, `allowed` (verification gates), `forbidden` (hard blockers), and `notes` separate global `📌` rules from session-only ones and list boundary proposals from blocked workers. Models cannot delete or mute locked walls or redlines on their own.
138
+ - The top **🧱 Physical Guard Walls** section blocks dangerous commands or paths before execution: add rules manually or let Chief draft them from plain text, switch `🌐 Global`, `📁 Workspace`, or `⏸ Paused`, and merge same-type walls.
139
+ - Below that, `allowed`, `forbidden`, and `notes` separate global `📌` rules from session-only ones. No L0–L3 model can delete locked walls without an approved blocker removal ticket.
126
140
 
127
141
  <div align="center">
128
142
  <img src="assets/screenshots/06-pinned-bounds-and-handoff.png" alt="06 - Pinned Global Redlines and Proposals" width="68%" />
@@ -130,8 +144,8 @@ If you run multi-step coding tasks inside DeepSeek Harness, these six problems t
130
144
 
131
145
  ---
132
146
 
133
- ### 07 · Session Handoff & Deployment (`规划` Bottom)
134
- - Edit the Markdown handoff packet directly and lock it via `📌 定住防改` so later summaries do not overwrite your edits.
147
+ ### 07 · Top-Bar Rotating Gear Settings: Presets, Budget Breaker & Bilingual UI
148
+ - Click the rotating `⚙️` gear between `DSH 参谋长` and the version chip to open the dedicated **Settings** page: **3 One-Click Scenario Presets** (Observer / Co-Pilot / Away Mode), **7 Milestone Desktop Alerts & Gentle Chime**, **categorized LLM Ledger (`chat / review / dream`) & hard budget circuit breaker**, and live `zh / en` switching — while `📌 Pin Lock` Session Handoff and secret-redacted `.md` report export live in `Tasks`.
135
149
  - Choose which archive scope follows into a new session (`None`, `Spotlight Only`, `Entire Drawer`, or `Full Session Cabinet`), while Strong Intervention safely resets to off.
136
150
 
137
151
  <div align="center">
@@ -146,32 +160,32 @@ If you run multi-step coding tasks inside DeepSeek Harness, these six problems t
146
160
  > Keep these two constraints in mind when using Wishing Box tools, `⚡ Strong Intervention`, or `✦ 智选压缩`:
147
161
  >
148
162
  > 1. **Guardrails set the safety floor; your LLM sets the ceiling**
149
- > The plugin guarantees 0-token vault isolation, permission gating, verified pre-compact saves, loop breakers, and `⏹ 急停`. Planning accuracy and code judgment still depend on the model assigned to Chief. Use a strong reasoning model for real engineering work.
163
+ > The plugin guarantees 0-token vault isolation, permission gating, verified pre-compact saves, loop breakers, guard walls, and `⏹ 急停`. Planning accuracy and code judgment still depend on the model assigned to Chief. Use a strong reasoning model for real engineering work.
150
164
  > 2. **Avoid stacking heavy external prompt injections**
151
- > Skip stacking hundreds of conflicting global rule lines or always-on memory plugins alongside `dsh-chief`. Extra prompt noise competes with active work and causes unnecessary loops or early trips. Keep prompts lean and store reference notes in the cold archive instead.
165
+ > Skip stacking hundreds of conflicting global rule lines or always-on memory plugins alongside `dsh-chief`. Keep only essentials on the **Cognitive Desktop** and store reference notes in the hooked drawers instead.
152
166
 
153
167
  ---
154
168
 
155
- ## Modular Architecture (`v1.4.0`)
169
+ ## Modular Architecture (`v1.6.0`)
156
170
 
157
- `v1.4.0` spans **38 backend modules (including 9 isolated modules under `pkg/safety/`) and 16 frontend modules** with zero `export let` bindings and zero circular imports. See [ARCHITECTURE.md](ARCHITECTURE.md) for boundaries and module contracts.
171
+ `v1.6.0` spans **38 backend modules (including 9 isolated modules under `pkg/safety/`) and 20 frontend modules** with zero `export let` bindings and zero circular imports. See [ARCHITECTURE.md](ARCHITECTURE.md) for boundaries and module contracts.
158
172
 
159
173
  ```mermaid
160
174
  flowchart TB
161
- subgraph UI["DSH Right Sidebar (client.js <- 16 source modules)"]
162
- T1["Chief Tab (Grouped Q&A + Red Shield + FX Border)"]
163
- T2["Tasks Tab (Coordinator + Subagent Lanes + Split Stream)"]
164
- T3["Peers Tab (Cross-Window Link + Mailbox)"]
165
- T4["Plan Tab (Objective Lock + Pinned Handoff + Deploy)"]
166
- T5["Archives Tab (3-Tier Vaults + Sweep Notes)"]
167
- T6["Boundaries Tab (Dynamic Guard Walls + 📌 Redlines)"]
175
+ subgraph UI["DSH Right Sidebar (client.js <- 20 modules · 5 Tabs + Top-Bar Settings)"]
176
+ T1["Chief Tab (180° Effort Gauge · Click-Through FX · Report Export)"]
177
+ T2["Tasks Tab (Core Objective · Flow Canvas / Org Tree · Unified Board · Handoff)"]
178
+ T3["Peers Tab (Cross-Window Link + Mailbox · Split Stream)"]
179
+ T5["Archives Tab (2400T Cognitive Desktop · Hooked Stack-of-Papers)"]
180
+ T6["Guards Tab (Guard Walls · Blocker Removal · 📌 Redlines)"]
181
+ T7["Top-Bar ⚙️ Settings (Presets · Desktop Alerts · Budget Ledger · zh/en)"]
168
182
  end
169
183
 
170
184
  subgraph Core["Local Backend & Safety Kernel (Zero External Deps · 38 modules)"]
171
185
  Hot["Hot Boards: ~/.dsh/chief/board.json & boards/<sid>.json\nCross-process/worker_threads O_EXCL spin locks"]
172
186
  Walls["Guard Walls: ~/.dsh/chief/guard-walls.json\nGlobal / Workspace / Paused"]
173
- Cold["3-Tier Vaults: cabinets/ + global-vault/ + precipitated/"]
174
- Bus["Safety & Resume: safety/*.js + chief-executor.js + taskLedger + chief-audit.jsonl"]
187
+ Cold["3-Tier Vaults: 2400T Cognitive Desktop + Hooked Drawers + 0-byte Blind Vault"]
188
+ Bus["Runtime & Safety: safety/*.js + Off/Patrol/Managed(5-Cond Sleep) + Audit"]
175
189
  end
176
190
 
177
191
  subgraph Agents["Host Execution Agents (tools/pre-execute gate)"]
@@ -185,7 +199,7 @@ flowchart TB
185
199
  Hot -->|"Compact Hot State"| Subs
186
200
  Walls -->|"Pre-Execution Block or Ask Prompt"| Lead
187
201
  Walls -->|"Pre-Execution Block or Ask Prompt"| Subs
188
- Cold -.->|"0 Tokens While Sealed\nInjected Only When Pinned to Desk"| Lead
202
+ Cold -.->|"Cognitive Desktop Full Text · Hooked Pull on Demand"| Lead
189
203
  Bus <-->|"chief_board / chief_memory\nchief_boundaries / chief_handoff"| Agents
190
204
  ```
191
205
 
@@ -196,21 +210,21 @@ flowchart TB
196
210
  Search **`dsh-chief`** inside [dshmarket](https://github.com/dsh-market/dsh-market) / DSH Plugin Market, or install via CLI (replace `desktop` with `web` for the web profile):
197
211
 
198
212
  ```bash
199
- # Option 1: Install latest release (v1.4.0) from npm
213
+ # Option 1: Install latest release (v1.6.0) from npm
200
214
  dsh plugin --profile desktop add dsh-chief
201
215
 
202
216
  # Option 2: Install directly from GitHub main branch
203
217
  dsh plugin --profile desktop add github:gluztm/dsh-chief
204
218
 
205
- # Option 3: Install prebuilt GitHub Release tarball (v1.4.0)
206
- dsh plugin --profile desktop add https://github.com/gluztm/dsh-chief/releases/download/v1.4.0/dsh-chief-1.4.0.tgz
219
+ # Option 3: Install prebuilt GitHub Release tarball (v1.6.0)
220
+ dsh plugin --profile desktop add https://github.com/gluztm/dsh-chief/releases/download/v1.6.0/dsh-chief-1.6.0.tgz
207
221
  ```
208
222
 
209
223
  ### Host Version Compatibility
210
224
 
211
225
  | DeepSeek Harness (DSH) Version | Panel / Board / Vaults / Pre-Execute Walls | Named Subagent Tree (`task.dispatch` / `team.*`) | Notes |
212
226
  | :--- | :---: | :---: | :--- |
213
- | **`>= 0.2.2-rc.5` (current desktop target)** | Full support | Full support | Matches `dsh-tool-fs` (`read`/`read_image`/`write`/`edit`/`apply_patch`), `str_replace_editor`, and native `{ kind: 'ask' }` approval dialogs |
227
+ | **`>= 0.2.2-rc.5` (current desktop target)** | Full support | Full support | Matches `dsh-tool-fs`, `str_replace_editor`, dynamic `reasoningEffort` switching, and native `{ kind: 'ask' }` dialogs |
214
228
  | `0.2.2-rc.2 ~ 0.2.2-rc.4` | Full support | Full support | Provides native `subagents.resolveName`, `rootOf`, `namesOf`, and `tools/pre-execute` |
215
229
  | `0.2.0 ~ 0.2.2-rc.1` | Panel works | Upgrade notice | Blocks unsafe `team.*` dispatch and prompts host upgrade |
216
230
 
@@ -220,7 +234,7 @@ dsh plugin --profile desktop add https://github.com/gluztm/dsh-chief/releases/do
220
234
 
221
235
  | Tool Name | Purpose | Common Actions |
222
236
  | :--- | :--- | :--- |
223
- | **`chief_board`** | Task DAG updates, cold archive queries, peer & chief requests, inquiry replies, wall listing, elevations, compaction | `graph.plan`, `task.add`, `task.update`, `plan.set`, `cursor.set`, `mail.send`, `chief.request`, `inquiry.reply`, `wall.list`, `archive.save`, `archive.search`, `bounds.propose`, `permission.request`, `context.compact` |
237
+ | **`chief_board`** | Task DAG updates, cold archive queries/pulls, peer & chief requests, inquiry replies, wall listing, effort tuning, compaction | `graph.plan`, `task.add`, `task.update`, `plan.set`, `cursor.set`, `mail.send`, `chief.request`, `inquiry.reply`, `wall.list`, `archive.save`, `archive.search`, `archive.pull`, `model.effort`, `bounds.propose`, `permission.request`, `context.compact` |
224
238
  | **`chief_memory`** | Session-scoped hot items (`decisions`, `progress`, `verify`, `risks`) | `list`, `get`, `add`, `update`, `remove` |
225
239
  | **`chief_boundaries`** | Global `📌` redlines, must-do checks (`allowed`), and notes | `get`, `set`, `add`, `pin`, `remove` |
226
240
  | **`chief_handoff`** | Preview and render self-contained Markdown handoff packets | `preview` / session handoff |
@@ -241,7 +255,7 @@ dsh plugin --profile desktop add https://github.com/gluztm/dsh-chief/releases/do
241
255
  | Contributor | Role |
242
256
  | --- | --- |
243
257
  | [gluztm](https://github.com/gluztm) | Creator, product design, and maintainer |
244
- | [Gemini](https://github.com/gemini-code-assist) | Feature development, `pkg/safety/` kernel, pre-execute guard walls, lazy intervention, and CI gates |
258
+ | [Gemini](https://github.com/gemini-code-assist) | Feature development, `pkg/safety/` kernel, Cognitive Desktop, orthogonal runtime modes, fan gauge & CI gates |
245
259
  | [Codex](https://github.com/codex) | Modular architecture design, concurrency stress tests, and red-team boundary audits |
246
260
  | [deepseek-ai](https://github.com/deepseek-ai) | DeepSeek Harness host runtime and SuperAgent workflow alignment |
247
261