@skillre/dsh-plugin-work-dashboard 0.0.0-stage → 0.9.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/LICENSE +21 -0
- package/README.en.md +259 -0
- package/README.md +371 -2
- package/UNINSTALL.md +7 -0
- package/compatibility.json +195 -0
- package/cordis.patch.yml +24 -0
- package/docs/DESIGN-0.3.md +122 -0
- package/docs/DETAIL.md +1 -0
- package/docs/DETAIL.zh.md +1 -0
- package/docs/PLAN-0.7-0.9.md +230 -0
- package/docs/preview.svg +254 -0
- package/docs/preview.zh.svg +254 -0
- package/icon.svg +17 -0
- package/lib/blockers.d.ts +45 -0
- package/lib/blockers.js +160 -0
- package/lib/client/api.d.ts +42 -0
- package/lib/client/api.js +45 -0
- package/lib/client/contracts.d.ts +94 -0
- package/lib/client/contracts.js +21 -0
- package/lib/client/css/base.d.ts +31 -0
- package/lib/client/css/base.js +461 -0
- package/lib/client/css/blockers.d.ts +18 -0
- package/lib/client/css/blockers.js +196 -0
- package/lib/client/css/charts.d.ts +14 -0
- package/lib/client/css/charts.js +191 -0
- package/lib/client/css/detail.d.ts +21 -0
- package/lib/client/css/detail.js +423 -0
- package/lib/client/css/insights.d.ts +27 -0
- package/lib/client/css/insights.js +660 -0
- package/lib/client/css/overview.d.ts +23 -0
- package/lib/client/css/overview.js +327 -0
- package/lib/client/css/summary.d.ts +13 -0
- package/lib/client/css/summary.js +187 -0
- package/lib/client/format.d.ts +57 -0
- package/lib/client/format.js +96 -0
- package/lib/client/preferences.d.ts +56 -0
- package/lib/client/preferences.js +118 -0
- package/lib/client/styles.d.ts +17 -0
- package/lib/client/styles.js +24 -0
- package/lib/client/text.d.ts +32 -0
- package/lib/client/text.js +1112 -0
- package/lib/client/view-contract.d.ts +118 -0
- package/lib/client/view-contract.js +28 -0
- package/lib/client.js +6599 -0
- package/lib/config.d.ts +61 -0
- package/lib/config.js +67 -0
- package/lib/form.d.ts +218 -0
- package/lib/form.js +1075 -0
- package/lib/gap.d.ts +60 -0
- package/lib/gap.js +227 -0
- package/lib/index.d.ts +40 -0
- package/lib/index.js +159 -0
- package/lib/repo.d.ts +124 -0
- package/lib/repo.js +407 -0
- package/lib/risks.d.ts +24 -0
- package/lib/risks.js +85 -0
- package/lib/skill.d.ts +94 -0
- package/lib/skill.js +220 -0
- package/lib/store.d.ts +63 -0
- package/lib/store.js +505 -0
- package/lib/timeline.d.ts +23 -0
- package/lib/timeline.js +93 -0
- package/lib/transport.d.ts +67 -0
- package/lib/transport.js +131 -0
- package/lib/types.d.ts +701 -0
- package/lib/types.js +78 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +117 -4
- package/skills/poc-export/SKILL.md +81 -0
- package/skills/poc-export/scripts/export-form.mjs +654 -0
- package/skills/poc-ledger/SKILL.md +171 -0
- package/skills/poc-submit/SKILL.md +186 -0
package/README.md
CHANGED
|
@@ -1,3 +1,372 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @skillre/dsh-plugin-work-dashboard · 工作看板
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> 状态:experimental · 面向 DSH `0.2.2-rc.2`
|
|
4
|
+
|
|
5
|
+
在 DSH 左侧栏加一个「工作看板」入口:一个**多模块**运营看板,把正在推进的事情放到一个地方看清楚,再决定下一步补什么。目前只有第一个模块 **POC 运营**。
|
|
6
|
+
|
|
7
|
+
[English](README.en.md)
|
|
8
|
+
|
|
9
|
+
## 为什么是「多模块」
|
|
10
|
+
|
|
11
|
+
原来这个插件叫「POC 运营台」,只服务 POC 台账这一件事。改名成「工作看板」是因为它长成了**看板的容器**:顶部的模块切换条是座位,POC 运营是第一个坐进去的模块,后续模块(比如客户拜访、招聘进展、项目复盘)会陆续加入同一个 Host 行,不需要新插件。
|
|
12
|
+
|
|
13
|
+
所以现在的结构是:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
工作看板(插件)
|
|
17
|
+
└── POC 运营(模块 1,唯一已实现)
|
|
18
|
+
├── KPI 顶条 总数 / 进行中 / 预算合计 / 有阻障 / G0 已通过 + 阶段 chip
|
|
19
|
+
├── 组合面板 阶段漏斗(含阶段内完成度)/ 体系公司 / 类型构成 / 金额集中度 / 四维覆盖 / 缺口规则
|
|
20
|
+
├── 预算面板 G0 已通过 / 待评审 / 未填金额 三桶 + 体系分布 + 集中度
|
|
21
|
+
├── 项目总览 同一批项目的三种读法:卡片 · 看板 · 表格
|
|
22
|
+
├── 阻障栏 五类来源合并、按项目分组:缺口规则 / 阶段停滞 / 未填金额 / 无进展 / 缺阶段起始日
|
|
23
|
+
├── 项目详情 阶段感知骨架:基本信息 / 待补清单 + 按 Gate 重排的区块(其余折叠,字段不丢)
|
|
24
|
+
├── 风险看板 按等级分泳道 + 严重度分布条
|
|
25
|
+
├── 全局时间线 按月份分组 + 月度分布条 + 无进展项目清单
|
|
26
|
+
└── 导出表单 按 v3 字段生成自包含 HTML 收集表单,导出的 YAML 可直接提交
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## 随包安装的三个技能
|
|
30
|
+
|
|
31
|
+
装这个插件会**同时**装好三个 POC 技能,它们不是独立的安装项,也不单独升级:
|
|
32
|
+
|
|
33
|
+
| 技能 | 做什么 | 什么时候触发 |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| `poc-ledger` | 读取并分析台账(v3),回答进展、判断阶段、识别 12 条缺口 | 「某个 POC 怎么样了」「哪些项目卡住了」 |
|
|
36
|
+
| `poc-export` | 生成自包含 HTML 收集表单,给没有 GitHub 账号的组员填 | 「导出表单」「让某某补一下这个项目的进展」 |
|
|
37
|
+
| `poc-submit` | 校验组员交回的 `.json`,合并进 v3 YAML 后提交 Draft PR | 「把这个文件提交上去」「帮我提个 PR」 |
|
|
38
|
+
|
|
39
|
+
**为什么随包发**:这三个技能描述的字段必须和看板读的数据是同一套。它们曾经作为独立 skill
|
|
40
|
+
装在用户目录里,结果数据模型从 v1 升到 v3 后,skill 还在教模型读 `why_customer_test` /
|
|
41
|
+
`result` / `timeline` —— 那些字段已经不存在了。打进同一个包、同一个版本,就不可能再错开。
|
|
42
|
+
|
|
43
|
+
- 技能文件在 `skills/<name>/SKILL.md`,导出技能还带一个可执行脚本
|
|
44
|
+
`skills/poc-export/scripts/export-form.mjs`。
|
|
45
|
+
- 注册走 DSH 的 `skills` 服务(`ctx.skills.register`,`source: 'bundled'`),
|
|
46
|
+
并绑定在插件自己的 Fiber 上:卸载插件就撤销注册。
|
|
47
|
+
- `skills` 是**可选**服务:profile 没有技能注册表时,看板照常工作,只是不注册技能(会记一条警告)。
|
|
48
|
+
- 三个技能都重写过:数据模型换成 v3、缺口规则 8 条改 12 条、导出脚本从失效的外部
|
|
49
|
+
`poc_form.py` 换成随包发布的 `export-form.mjs`(并用真实浏览器验证了自动保存、缺口实时更新、
|
|
50
|
+
焦点不被抢、草稿持久化)。
|
|
51
|
+
|
|
52
|
+
## POC 运营模块解决什么
|
|
53
|
+
|
|
54
|
+
POC 台账最容易烂在「感觉做成了」上:项目说结果达成,但没有证据;证据齐了,客户却从没书面认可;真正做成了,却没有下一步。这三件事写进同一个 `result` 字段就会被合并成一句「进展顺利」,于是没人发现「做成了但没转化」是最高价值的缺口。
|
|
55
|
+
|
|
56
|
+
模块把它们拆成四个独立维度分别记录、分别渲染,再叠上一套硬编码的缺口规则,把该补的东西按严重度排成一列。
|
|
57
|
+
|
|
58
|
+
## 功能
|
|
59
|
+
|
|
60
|
+
### 数据与刷新
|
|
61
|
+
|
|
62
|
+
- **侧栏入口**:`sidebar.panellist` 中的「工作看板」,点击把中央区域切换到看板。
|
|
63
|
+
- **空状态页**:缓存为空时明确告诉你「还没有数据,点【刷新】拉取」,并显示数据源与缓存位置。
|
|
64
|
+
- **手动刷新**:首次 `git clone`,之后 `git fetch` + `git reset --hard origin/main`;显示进度与「已刷新 HH:MM」。
|
|
65
|
+
- **刷新设置**:关闭(默认)/ 每 10 分钟 / 每 1 小时 / 自定义分钟数,存 `localStorage`,只在页面打开时生效。
|
|
66
|
+
- **刷新失败**:显示明确原因(未登录 / 无权限 / 网络不可达 / 超时 / 已有刷新在进行)与【重试】按钮,看板内容保留不丢。
|
|
67
|
+
|
|
68
|
+
### 组合面板
|
|
69
|
+
|
|
70
|
+
首屏先回答「钱和风险在哪」,再回答「这是哪个项目」。六张图,每张都是筛选器:
|
|
71
|
+
|
|
72
|
+
- **阶段分布**:G0→G4 的柱状分布,某阶段有高危缺口时柱子变红;点柱子筛该阶段。
|
|
73
|
+
- **体系 / 公司**:按金额排序的横向条,点某行按体系筛。
|
|
74
|
+
- **项目类型**:`poc_type` 构成的环形图,中心是项目总数。
|
|
75
|
+
- **金额集中度**:金额最大的 5 个项目及其占总额比例;单项目超过 1/3 时给出集中度警告。
|
|
76
|
+
- **四维覆盖**:四个环形仪表,显示各维度在全部项目里的覆盖率。
|
|
77
|
+
- **缺口规则命中**:哪几条规则在系统性地发生,而不是列一遍。
|
|
78
|
+
|
|
79
|
+
面板可一键收起——它是上下文,不该占满首屏。项目列表在 1440×900 下无需滚动即可见。
|
|
80
|
+
|
|
81
|
+
### 项目总览:一种数据,三种读法
|
|
82
|
+
|
|
83
|
+
| 视图 | 回答的问题 | 形态 |
|
|
84
|
+
|---|---|---|
|
|
85
|
+
| **卡片**(默认) | 这个项目缺什么 | 阶段迷你轨 + 金额 + 最新进展 + 四维标记 + 缺口徽标 |
|
|
86
|
+
| **看板** | 整体堆在哪 | 按阶段分列,列头带数量与金额 |
|
|
87
|
+
| **表格** | 数字给我看 | 规格七列,表头可排序、粘性、金额带条形 |
|
|
88
|
+
|
|
89
|
+
三种视图共用同一次筛选与排序,切换不会改变哪些项目可见。工具栏提供搜索(项目名 / 编号 / 负责人 / 公司)、可组合的筛选 chips(体系 / 阶段 / 状态 / 类型)、排序与方向,并实时显示命中数。
|
|
90
|
+
|
|
91
|
+
**键盘**:`↑/↓` 移动选中,`Enter` 打开,`Esc` 返回,`/` 聚焦搜索。
|
|
92
|
+
|
|
93
|
+
### 待处理清单
|
|
94
|
+
|
|
95
|
+
按**规则分组**而不是平铺:12 条规则 × 23 个项目是系统性问题,分组后一眼看出「大家都缺决策链」。每组显示规则编号、命中项目数与严重度色带。
|
|
96
|
+
|
|
97
|
+
### 四维与阶段
|
|
98
|
+
|
|
99
|
+
- **四维状态**:目标达成、证据、客户认可、下一步**永远四格分开**,每格独立显示有/无。
|
|
100
|
+
- **阶段轨道**:G0→G4 横向轨道;表格里是五点紧凑版,详情页是完整版。完成状态由 v3 各阶段自己的字段推出(G0 取 `gate0.complete`、G1 取 `plan.gate1.conclusion`、G2 取 `plan.gate2.ready`、G3 取最新进展的 `gate3_2`、G4 取 `outcome.achievement`)——v3 已没有 `gates.G0..G4.complete` 数组,按当前阶段位置推断会把从没签核过的阶段报成已完成。
|
|
101
|
+
- **详情页**分两栏:左栏是常驻的项目档案(客户公司/体系、金额、竖向阶段轨道、四维、缺口、人员、上下条导航),右栏是**阶段感知**的滚动阅读区——骨架按当前 Gate 重排,其余区块收进「其他区块」折叠,字段一个不少:
|
|
102
|
+
- **阶段上下文**:顶部声明当前 Gate 的读法与下一道门,并诚实标出本阶段是否已记录完成。
|
|
103
|
+
- **待补清单**:直接点名缺哪个字段(如 `decision_chain`、`amount_wan`),空态变成可执行的编辑指引。
|
|
104
|
+
- **基本信息**:客户名、体系、客户技术人、业务决策人、决策链、测后决策——缺失时明说,不留空。
|
|
105
|
+
- **进展流**(核心):每次进展是一张卡片,带认可度色调的节点、目标→实际、范围 chips、可点开的证据、客户同步与认可、G3-1/G3-2、由百分比解析出的完成度条、以及「下一步」区块(没有下一步时明确说出来)。
|
|
106
|
+
- **四维结果**:四张独立卡片,各带「自动推导 / 人工填」标签。
|
|
107
|
+
- **G0 计量**:五格完整度计量条,其中 `tech_owner` 取自身份区;两条叙述字段以原文散文块呈现。
|
|
108
|
+
- **计划**:指标表格、编号场景列表、带严重度点的风险列表。
|
|
109
|
+
- **结论**:三段散文 + 里程碑提示框(没有下一步里程碑时按缺口 R11 渲染成红色发现,而不是空字段)。
|
|
110
|
+
|
|
111
|
+
各阶段的骨架顺序:
|
|
112
|
+
|
|
113
|
+
| 阶段 | 先看什么 |
|
|
114
|
+
|---|---|
|
|
115
|
+
| G0 | 基本信息 → G0 工作台 → 计划 |
|
|
116
|
+
| G1 / G2 | 基本信息 → 计划 → 进展流 |
|
|
117
|
+
| G3 | 进展流 → 四维 → 基本信息 |
|
|
118
|
+
| G4 | 四维 → 结论 → 基本信息 |
|
|
119
|
+
| closed | 结论 → 四维 → 基本信息 |
|
|
120
|
+
| 未识别 | 历史全量顺序(不猜) |
|
|
121
|
+
|
|
122
|
+
### 增强视图
|
|
123
|
+
|
|
124
|
+
- **阻障栏**:把五类来源合成一个按项目分组的列表——12 条缺口规则、阶段停滞、未填金额、无进展记录、缺阶段起始日。R12 已经报出的停滞不会被第二个来源重复计数。每个来源一个可点 chip,计数随当前筛选变化。
|
|
125
|
+
- **风险看板**:按严重度分成泳道(高 → 中 → 低 → 未评级),上方一条严重度分布条,两者来自同一次分桶,所以图和列表不会互相矛盾。
|
|
126
|
+
- **未评级排在最后**:不是「不严重」,而是还没判断;排在最前会埋掉真正被评估为严重的风险。
|
|
127
|
+
- **全局时间线**:按月份分组,每组一个月份分隔条与月度分布,组内按日期从新到旧;无证据 / 无客户反馈的轮次显式标出。
|
|
128
|
+
|
|
129
|
+
### 导出收集表单
|
|
130
|
+
|
|
131
|
+
页头「导出表单」按当前筛选可见的项目生成一个**自包含 HTML**:双击即可填写,自动保存到本机,
|
|
132
|
+
实时校验缺口规则要求(指标 2–3 条、场景 3–5 个、风险 ≤3),填完下载真实 YAML,
|
|
133
|
+
一个项目一个文件。不选任何项目则生成空白新建表单。
|
|
134
|
+
|
|
135
|
+
生成的 YAML 是 v3 结构,能被本插件原样读回;表单只收集 v3 真实字段(G0 五必填 / 计划 / 进展追加),
|
|
136
|
+
不会像 v1 表单那样问已经删掉的字段。
|
|
137
|
+
|
|
138
|
+
原设计(P1 重写目标):
|
|
139
|
+
|
|
140
|
+
- 勾选一个或多个项目 → 生成**一个自包含 HTML 文件**并下载。表单没有 CDN、没有外部字体、没有服务器,双击即可在离线机器上填写。
|
|
141
|
+
- **自动保存**:`localStorage`,键由**项目集合**派生(不是生成时间),所以同一个项目集重新生成表单时能找到同一份草稿。
|
|
142
|
+
- **实时校验**:指标 2–3、场景 3–5、风险 ≤3、G0 四项必填,每次编辑即重算。
|
|
143
|
+
- **下载真实 YAML**:不是 JSON。生成的值会按 YAML 规则正确加引号/块标量,所以组员回传的文件可以直接拿去用。
|
|
144
|
+
- **批量导出**:多选项目打包进同一个表单;下载时**每个项目一个 `.yaml` 文件**(YAML 文件只能装一个项目的映射,拼接会产生重复键)。
|
|
145
|
+
|
|
146
|
+
## v3 数据模型
|
|
147
|
+
|
|
148
|
+
台账已从 v1 升级到 v3。v3 是**以进展流为中心**的模型:
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
① 身份 poc_id / name / org{system,company,department} / amount_wan /
|
|
152
|
+
poc_type / priority / owner / sales / tech_owner / exec_sponsor /
|
|
153
|
+
stage / status / stage_since
|
|
154
|
+
② gate0 值不值得做:why_customer / why_us / decision_chain /
|
|
155
|
+
post_poc_decision / competitor / review{conclusion,reviewer,reviewed_at} /
|
|
156
|
+
missing(自动算)/ complete(自动算)
|
|
157
|
+
③ plan 怎么赢:customer_pain / expected_recognition / criteria[] /
|
|
158
|
+
scenarios[] / our_edge / risks[] / gate1 / gate2{ready,prerequisites}
|
|
159
|
+
④ progress 进展流(追加式,永不覆盖)★ 核心
|
|
160
|
+
⑤ outcome 结论:achievement / customer_recognition / our_proof /
|
|
161
|
+
remaining_risks / conclusion{proved,recognized,next_business} /
|
|
162
|
+
business{milestone,owner,deadline,status} / overall
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### 四维从 `outcome` 读
|
|
166
|
+
|
|
167
|
+
| 维度 | 来源字段 | 性质 |
|
|
168
|
+
|---|---|---|
|
|
169
|
+
| 目标达成 | `outcome.achievement` | 自动推导(来自最后一条进展的 gate3_1 + completion) |
|
|
170
|
+
| 证据 | `outcome.our_proof`,或最后一条进展的 `evidence[]` | 人工填 / 进展携带 |
|
|
171
|
+
| 客户认可 | `outcome.customer_recognition` | 自动推导(来自最后一条进展的 customer.recognition) |
|
|
172
|
+
| 下一步 | `outcome.business.milestone` | 人工填 |
|
|
173
|
+
|
|
174
|
+
**四维永远四张独立卡片**,每张标注「自动推导」或「人工填」——因为 v3 里前两者由系统推导、后两者靠人填,混在一起看会分不清哪个结论可信。
|
|
175
|
+
|
|
176
|
+
### 进展流(核心)
|
|
177
|
+
|
|
178
|
+
每个项目的 `progress[]` 渲染成一条时间线,最新在上。一条进展包含:
|
|
179
|
+
|
|
180
|
+
- `type`(内部Review / 客户阶段同步 / Checkpoint)、`seq`、`completion`
|
|
181
|
+
- `goal`(这次要验证什么)、`items[]`(范围)、`actual`(实际做到什么)
|
|
182
|
+
- `evidence[]`(标题 + 链接 + 类型,作为可点开的凭据)
|
|
183
|
+
- `customer`(`synced_with` / `feedback` / `recognition`)
|
|
184
|
+
- `gate3_1`(可证明/待补证据)、`gate3_2`(已确认/待确认)
|
|
185
|
+
- `next`(`goal` / `owner` / `deadline`)
|
|
186
|
+
|
|
187
|
+
**今天 23 个项目的 `progress` 都是空的**,所以进展流显示空状态「还没有进展记录 / 第一次进展后,这里会显示完整时间线」。这是正常状态,进展要靠组员用表单填。
|
|
188
|
+
|
|
189
|
+
## 12 条缺口规则
|
|
190
|
+
|
|
191
|
+
规则硬编码在 `src/gap.ts`(纯函数,无时钟无文件系统,全部由 `tests/gap.spec.ts` 逐条锁定):
|
|
192
|
+
|
|
193
|
+
| # | 规则 | 判定 | 级别 |
|
|
194
|
+
|---|---|---|---|
|
|
195
|
+
| R1 | G0 五必填缺失 | `gate0.missing` 非空 | 🔴 high |
|
|
196
|
+
| R2 | 大金额未过 G0 | `amount_wan >= 300` 且结论非「通过」 | 🔴 high |
|
|
197
|
+
| R3 | G0 通过但计划空白 | 结论「通过」且 `plan.criteria` 空 | 🔴 high |
|
|
198
|
+
| R4 | 成功标准不聚焦 | criteria 数量不在 2–3(空则不算) | 🟡 medium |
|
|
199
|
+
| R5 | 场景不聚焦 | scenarios 不在 3–5(空则不算) | 🟡 medium |
|
|
200
|
+
| R6 | 风险超限 | `plan.risks` > 3 | 🟡 medium |
|
|
201
|
+
| R7 | G2 前置未就绪已开测 | 有 progress 且 `plan.gate2.ready != Ready` | 🔴 high |
|
|
202
|
+
| R8 | 进展无证据 | 最新进展有 `actual` 但 `evidence` 空 | 🔴 high |
|
|
203
|
+
| R9 | 有证据无客户认可 | 有 evidence 但 recognition 是「未认可/待确认」 | 🔴 high |
|
|
204
|
+
| R10 | G3-1 可证明但 G3-2 未确认 | `gate3_1=可证明` 且 `gate3_2!=已确认` | 🔴 high |
|
|
205
|
+
| R11 | 达成但无 Next Milestone | `achievement=达成` 且 `business.milestone` 空 | 🔴 high(排序最优先) |
|
|
206
|
+
| R12 | 阶段停滞 | `stage_since` 距今 > `stallDays`(默认 45 天) | 🟡 medium |
|
|
207
|
+
|
|
208
|
+
**R8–R10 只看最新一条进展**:只看最后一条,因为「历史某轮没证据」不该在补上之后继续报警。
|
|
209
|
+
|
|
210
|
+
**R4–R6 对空列表不触发**:空代表「还没规划」,那是 R3 的事;否则每个新项目第一天就会报三条聚焦问题。
|
|
211
|
+
|
|
212
|
+
**R11 排最优先**:价值做出来了却没转化路径,是这套台账里最贵的缺口。
|
|
213
|
+
|
|
214
|
+
## 数据与权限## 数据与权限
|
|
215
|
+
|
|
216
|
+
| 项目 | 说明 |
|
|
217
|
+
|---|---|
|
|
218
|
+
| 数据所有者 | Host。浏览器端只持有视图状态(当前页面、当前项目、刷新节奏)。 |
|
|
219
|
+
| 数据源 | GitHub 私有仓库 `skillre/workbranch` 的 `projects/*.yaml`(可配置)。 |
|
|
220
|
+
| 缓存 | `~/.dsh/cache/work-dashboard/repo`,**DSH 启动即清空**,用户点【刷新】才重新拉取。 |
|
|
221
|
+
| 网络 | 仅 Host 侧对 `github.com` 做 `git clone` / `git fetch`。浏览器 ↔ Host 只走本机 `/api` 通道。 |
|
|
222
|
+
| 凭据 | 复用本机已登录的 `gh` CLI。token 在调用时读取,**只通过子进程环境变量**传给 git,不写入 `.git/config`、不出现在进程参数、不进入前端。 |
|
|
223
|
+
| 文件系统 | 只写缓存根目录(并在其中建 `.lock` 与所有权标记 `.work-dashboard-cache`);只读缓存里的 `projects/*.yaml`。 |
|
|
224
|
+
| 写入 | **无**。本插件只读台账;导出表单产出的是本地文件,不回写仓库。 |
|
|
225
|
+
| 模型可见 | 否。本插件不注册任何模型工具。 |
|
|
226
|
+
|
|
227
|
+
### 缓存目录的两道保险
|
|
228
|
+
|
|
229
|
+
1. **启动即清空**——缓存只是远端副本,避免「本地看起来是新的」。代价是每次重启 DSH 要重新点一次【刷新】(clone 约 1.5 秒,慢网络会更久)。
|
|
230
|
+
2. **只清自己建的目录**——如果 `cacheRoot` 已存在、非空、且没有本插件的所有权标记,插件**拒绝清空**并报错,而不是删掉你的文件。空的已存在目录会被接管。
|
|
231
|
+
|
|
232
|
+
### 并发
|
|
233
|
+
|
|
234
|
+
同一缓存根目录下的刷新用 `.lock` 文件串行化:两个标签页同时点刷新、或两个 DSH 实例共享同一个 home,都不会并发 clone。超过 120 秒的锁被视为崩溃残留并回收。
|
|
235
|
+
|
|
236
|
+
## 配置
|
|
237
|
+
|
|
238
|
+
在 profile 的 `cordis.patch.yml` 中按行 id 覆盖(`config` 整行替换,未写出的键取默认值):
|
|
239
|
+
|
|
240
|
+
```yaml
|
|
241
|
+
- id: skillre-work-dashboard
|
|
242
|
+
name: '@skillre/dsh-plugin-work-dashboard'
|
|
243
|
+
config:
|
|
244
|
+
repository: skillre/workbranch
|
|
245
|
+
cacheRoot: ~/.dsh/cache/work-dashboard
|
|
246
|
+
defaultBranch: main
|
|
247
|
+
cloneTimeoutMs: 120000
|
|
248
|
+
fetchTimeoutMs: 60000
|
|
249
|
+
stallDays: 45
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
| 键 | 默认 | 含义 |
|
|
253
|
+
|---|---|---|
|
|
254
|
+
| `repository` | `skillre/workbranch` | 数据源,必须是 GitHub 上的 `owner/name` |
|
|
255
|
+
| `cacheRoot` | `~/.dsh/cache/work-dashboard` | 缓存根目录,启动时清空(`~` 会展开) |
|
|
256
|
+
| `defaultBranch` | `main` | 克隆跟踪的分支 |
|
|
257
|
+
| `cloneTimeoutMs` | `120000` | 单次 clone 上限 |
|
|
258
|
+
| `fetchTimeoutMs` | `60000` | 单次 fetch + reset 上限 |
|
|
259
|
+
| `stallDays` | `45` | 规则 R12 的「阶段停留多久算停滞」阈值 |
|
|
260
|
+
| `remoteUrl` | `''`(即 `https://github.com/<repository>.git`) | 克隆地址覆盖:GitHub Enterprise、镜像,或本地测试仓库 |
|
|
261
|
+
|
|
262
|
+
> **关于超时默认值**:规格书建议 `cloneTimeoutMs: 30000`。实测同一网络下正常 clone 约 1.5 秒,但网络拥塞时一次 clone 用了 **68 秒**——30 秒会让首次使用间歇性失败。因此默认值提到 120 秒;超时仍会给出明确原因和【重试】。
|
|
263
|
+
|
|
264
|
+
## 安装
|
|
265
|
+
|
|
266
|
+
**安装动作由你完成**:插件管理器里选来源、点确认。本插件不代装。
|
|
267
|
+
|
|
268
|
+
### 从插件市场安装
|
|
269
|
+
|
|
270
|
+
```
|
|
271
|
+
https://skillre.github.io/dsh-plugin-market/index.json
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
1. DSH Web → **Plugins** → **More**(Experimental plugins)→ 启用 **Custom plugin markets**;
|
|
275
|
+
2. 出现 **Discover** 标签页 → **Index sources** → **Add index source** → 粘贴上面的 URL;
|
|
276
|
+
3. 在 Discover 里找到 **工作看板**,确认来源后点 **Install**。
|
|
277
|
+
|
|
278
|
+
索引里的版本钉在具体提交(`git+https://github.com/skillre/dsh-plugin-work-dashboard#<commit>`),
|
|
279
|
+
仓库自包含:`lib/` 已提交、无 `scripts.prepare`,安装不会执行构建脚本。
|
|
280
|
+
|
|
281
|
+
### 更新机制(重要)
|
|
282
|
+
|
|
283
|
+
DSH `0.2.2` 线起,插件详情页有「版本 / Versions」区块,能检查并原地更新。**但它只覆盖从 npm registry
|
|
284
|
+
安装的第三方插件**——判定条件有四条,必须同时满足(见舰队 `docs/update-mechanism.md`):
|
|
285
|
+
|
|
286
|
+
| 条件 | 本插件现状 |
|
|
287
|
+
|---|---|
|
|
288
|
+
| 第三方 bundle(非官方自带) | ✅ |
|
|
289
|
+
| profile 依赖是**以自己包名**保存的 registry spec | ⚠️ 见下 |
|
|
290
|
+
| 已装 manifest 的 `version` 是合法 SemVer | ✅ `0.4.0` |
|
|
291
|
+
| 包内不含 `PROTECTED_PLUGINS` 管理行 | ✅ 只声明 `skillre-work-dashboard` 一行 |
|
|
292
|
+
|
|
293
|
+
因此:
|
|
294
|
+
|
|
295
|
+
- **从市场(Git 源)安装**:出现在 Installed 列表里,但**不会**出现「版本」区块。升级只能
|
|
296
|
+
**卸载 → 重新从市场安装**。这是 DSH 的判定结果,不是本插件的选择。
|
|
297
|
+
- **从 npm 安装**(`@skillre/dsh-plugin-work-dashboard`):才进入官方更新机制,可以在详情页
|
|
298
|
+
检查更新、看预发布版本、点「更新」原地升级。
|
|
299
|
+
|
|
300
|
+
本插件的 npm 发布由 `.github/workflows/release.yml` 经 npm Trusted Publishing / OIDC 完成
|
|
301
|
+
(见 `RELEASING.md`)。**当前 registry 上尚无发布版本**:本机 npm 凭据返回 401、仓库也未配置
|
|
302
|
+
`npm-publish` 环境与 Trusted Publisher,所以此刻只有 Git 渠道可用;
|
|
303
|
+
发布之后,切换到 npm 渠道才能拿到原地更新:
|
|
304
|
+
|
|
305
|
+
1. 在 Plugins 里移除 Git 安装的 bundle;
|
|
306
|
+
2. 在安装对话框输入 `@skillre/dsh-plugin-work-dashboard@0.4.0`(或更高);
|
|
307
|
+
3. 之后详情页才会出现「版本」区块。
|
|
308
|
+
|
|
309
|
+
### 用本地包
|
|
310
|
+
|
|
311
|
+
用构建出的 `.tgz` 绝对路径(见下方「构建与自测」),由你在插件管理器中选择安装来源。
|
|
312
|
+
本地包同样**不进**官方更新机制。
|
|
313
|
+
|
|
314
|
+
## 构建与自测
|
|
315
|
+
|
|
316
|
+
```sh
|
|
317
|
+
npm install
|
|
318
|
+
npm run check # typecheck + 172 个单测 + lib 漂移检查 + 打包检查
|
|
319
|
+
npm pack # 产出 skillre-dsh-plugin-work-dashboard-0.4.0.tgz
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
**仅使用自己拥有的、可丢弃的非 Desktop profile**做真实挂载验证:
|
|
323
|
+
|
|
324
|
+
```sh
|
|
325
|
+
node scripts/verify-isolated.mjs # 真实 clone/fetch/详情/鉴权/重启清空 + 风险/时间线,结束自清理
|
|
326
|
+
node scripts/ui-preview.mjs # 起一个有界 Web 实例并写入 .preview-url.txt
|
|
327
|
+
node scripts/ui-verify.mjs # 浏览器断言 + docs/evidence/ 截图
|
|
328
|
+
node scripts/verify-market-install.mjs # 线上索引 → 真实安装 → 动作可用(需已发布)
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
`ui-preview.mjs` 必须在退出前创建 `.preview-stop`,或让它超时;它会停进程、删掉自己创建的隔离根目录。`verify-isolated.mjs` 在 `finally` 里清理并校验根目录已消失。所有脚本都把 `cacheRoot` 指向隔离 profile 内的路径,**不会碰你真实的 `~/.dsh/cache`**。
|
|
332
|
+
|
|
333
|
+
## 卸载与回滚
|
|
334
|
+
|
|
335
|
+
见 [UNINSTALL.md](UNINSTALL.md)。数据全在 GitHub 仓库里,卸载插件不丢任何数据;`~/.dsh/cache/work-dashboard` 可随时手动删除,下次进入会自动重建。
|
|
336
|
+
|
|
337
|
+
## 兼容性
|
|
338
|
+
|
|
339
|
+
| DSH 版本 | 结果 | 验证日期 | 说明 |
|
|
340
|
+
|---|---|---|---|
|
|
341
|
+
| 0.2.2-rc.2 | 通过 | 2026-11-13 | 打包安装 + 有界启动 + 真实 clone + 31 项隔离集成(含三个技能确实进入技能目录)+ 15 项线上市场 npm 安装(见 `compatibility.json`) |
|
|
342
|
+
| 0.2.2-rc.1 | 通过 | 2026-11-06 | 同上行为 + 69 项浏览器断言;0.6.0 未改动客户端产物,该记录仍然有效 |
|
|
343
|
+
|
|
344
|
+
机器可读证据在 `compatibility.json`,截图与报告在 `docs/evidence/`。**未验证 Desktop Client(Electron)**:它的 profile 由应用管理,本 CLI 测试台无法驱动,Desktop 发布前需在那里重做一次视觉检查。
|
|
345
|
+
|
|
346
|
+
## 实现说明
|
|
347
|
+
|
|
348
|
+
- **图表零依赖**:客户端 bundle 只能把 `react` 外部化,所以每张图都是手写 SVG / flex 几何,配 `role="img"` + `aria-label` + 文本兜底。没有引入任何图表库。
|
|
349
|
+
- **样式按界面拆分**:`css/base`(框架)、`charts`、`overview`、`detail`、`insights`,在 `styles.ts` 里按固定顺序拼接,所以四个模块可以并行开发而不互相踩样式。
|
|
350
|
+
- **聚合在 Host 算**:`snapshot.analysis`(阶段/体系/类型/金额/四维/规则聚合)与 `detail.gate0.checklist`(五必填,含身份区的 `tech_owner`)都由 Host 计算并下发,客户端不重新推导——否则图会和它旁边的列表对不上。
|
|
351
|
+
|
|
352
|
+
## 已知限制
|
|
353
|
+
|
|
354
|
+
- **每次 DSH 重启缓存清空**,需要重新点【刷新】(clone 约 1.5 秒,慢网络更久)。这是既定行为。
|
|
355
|
+
- **只读**:不提供导入、编辑、提交 PR。缺口只能看,不能在看板上改。
|
|
356
|
+
- **R12 的日期来源**:v3 用 `stage_since` 算阶段停留时间;没有 `stage_since` 的项目不报 R12,而不是假定它停滞。
|
|
357
|
+
- **定时刷新只在页面打开时生效**,关掉页面就停——预期行为。
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
- 私有仓库要求本机 `gh` 已登录且账号有读权限;未登录时刷新会明确报「gh 未登录」。
|
|
361
|
+
- **只有一个模块**:模块切换条目前只坐着一个模块,后续模块会加在同一个 Host 行里。
|
|
362
|
+
|
|
363
|
+
## 安全与权限
|
|
364
|
+
|
|
365
|
+
- 唯一写入目标是 `cacheRoot`(以及其中的 `.lock`、所有权标记、clone 目录)。
|
|
366
|
+
- 唯一网络目标是通过 `git` 访问 `github.com`。
|
|
367
|
+
- 唯一外部命令是 `git` 与 `gh`(`gh auth token`),都在 Host 侧、都以超时和进程组终止兜底。
|
|
368
|
+
- 不读用户其他文件;不上报遥测;不注册模型工具。
|
|
369
|
+
|
|
370
|
+
## License
|
|
371
|
+
|
|
372
|
+
MIT
|
package/UNINSTALL.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Uninstall and rollback
|
|
2
|
+
|
|
3
|
+
The user removes this bundle in their DSH Desktop Client or Web UI **Plugins** manager. To roll back, the user removes the faulty version and chooses a verified known-good package/version in that manager, if supported. Neither an agent nor a developer uninstalls preexisting user bundles or installs the replacement for them.
|
|
4
|
+
|
|
5
|
+
Temporary development tests use a different rule: stop the test process; remove only the test-created bundle/dependency/selection/config or the confirmed owned isolated non-Desktop profile; verify the test state is absent. If an actual user profile was used with prior approval, preserve its baseline installations and data and report any residue that could not be restored.
|
|
6
|
+
|
|
7
|
+
If the interface cannot start, arrange user-authorized recovery through the applicable CLI/profile recovery procedure; do not assume Electron's `desktop` profile can be operated with CLI `--profile desktop`. Removing the package removes its Bundle layer. Document separately any user-owned files or external resources that an implemented plugin deliberately leaves behind.
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"package": "@skillre/dsh-plugin-work-dashboard",
|
|
4
|
+
"verified": [
|
|
5
|
+
{
|
|
6
|
+
"dsh": "0.2.2-rc.2",
|
|
7
|
+
"verifiedAt": "2026-11-13",
|
|
8
|
+
"result": "passed",
|
|
9
|
+
"checks": [
|
|
10
|
+
"dump-config",
|
|
11
|
+
"bounded-startup",
|
|
12
|
+
"packed-install",
|
|
13
|
+
"api-cold-cache-empty",
|
|
14
|
+
"api-refresh-clone",
|
|
15
|
+
"api-board-computed",
|
|
16
|
+
"api-detail",
|
|
17
|
+
"api-refresh-fetch",
|
|
18
|
+
"api-unknown-project",
|
|
19
|
+
"api-auth-fence",
|
|
20
|
+
"cache-absent-before-mount",
|
|
21
|
+
"cache-is-real-clone",
|
|
22
|
+
"cache-credential-not-persisted",
|
|
23
|
+
"cache-wiped-on-restart",
|
|
24
|
+
"api-refresh-after-restart",
|
|
25
|
+
"api-risk-board-sorted",
|
|
26
|
+
"api-global-timeline-sorted",
|
|
27
|
+
"api-timeline-reports-silent-projects",
|
|
28
|
+
"web-ui",
|
|
29
|
+
"web-ui-sidebar-entry",
|
|
30
|
+
"web-ui-panel-selection",
|
|
31
|
+
"web-ui-module-rail",
|
|
32
|
+
"web-ui-empty-state",
|
|
33
|
+
"web-ui-refresh-clone",
|
|
34
|
+
"web-ui-v3-stat-counters",
|
|
35
|
+
"web-ui-v3-table-columns",
|
|
36
|
+
"web-ui-amount-column",
|
|
37
|
+
"web-ui-latest-progress-column",
|
|
38
|
+
"web-ui-progress-stream",
|
|
39
|
+
"web-ui-stage-track",
|
|
40
|
+
"web-ui-four-dimension-cards",
|
|
41
|
+
"web-ui-pending-order",
|
|
42
|
+
"web-ui-detail-page",
|
|
43
|
+
"web-ui-refresh-settings",
|
|
44
|
+
"web-ui-localstorage-persistence",
|
|
45
|
+
"web-ui-failure-banner",
|
|
46
|
+
"web-ui-risk-board",
|
|
47
|
+
"web-ui-global-timeline",
|
|
48
|
+
"web-ui-light-theme",
|
|
49
|
+
"web-ui-dark-theme",
|
|
50
|
+
"web-ui-no-raw-placeholders",
|
|
51
|
+
"web-ui-no-console-errors",
|
|
52
|
+
"v3-parser",
|
|
53
|
+
"v3-twelve-gap-rules",
|
|
54
|
+
"v3-progress-timeline",
|
|
55
|
+
"automatic-jsx-runtime",
|
|
56
|
+
"live-market-index-entry",
|
|
57
|
+
"live-market-git-install",
|
|
58
|
+
"live-market-bounded-startup",
|
|
59
|
+
"live-market-api-list",
|
|
60
|
+
"live-market-api-detail",
|
|
61
|
+
"live-market-api-risks",
|
|
62
|
+
"live-market-api-timeline",
|
|
63
|
+
"api-portfolio-analysis",
|
|
64
|
+
"api-gate0-checklist",
|
|
65
|
+
"web-ui-portfolio-band",
|
|
66
|
+
"web-ui-band-six-figures",
|
|
67
|
+
"web-ui-band-stage-funnel",
|
|
68
|
+
"web-ui-band-org-breakdown",
|
|
69
|
+
"web-ui-band-type-donut",
|
|
70
|
+
"web-ui-band-dimension-meters",
|
|
71
|
+
"web-ui-band-collapse",
|
|
72
|
+
"web-ui-project-list-visible-without-scrolling",
|
|
73
|
+
"web-ui-card-view",
|
|
74
|
+
"web-ui-card-four-dimension-marks",
|
|
75
|
+
"web-ui-board-view",
|
|
76
|
+
"web-ui-table-view-sortable",
|
|
77
|
+
"web-ui-table-sort-reorders",
|
|
78
|
+
"web-ui-search-filter",
|
|
79
|
+
"web-ui-filter-chips",
|
|
80
|
+
"web-ui-filtered-empty-state",
|
|
81
|
+
"web-ui-keyboard-cursor",
|
|
82
|
+
"web-ui-keyboard-enter-opens",
|
|
83
|
+
"web-ui-keyboard-escape-returns",
|
|
84
|
+
"web-ui-detail-sticky-rail",
|
|
85
|
+
"web-ui-detail-dimension-origin",
|
|
86
|
+
"web-ui-detail-g0-meter",
|
|
87
|
+
"web-ui-detail-progress-cards",
|
|
88
|
+
"web-ui-detail-evidence-anchor",
|
|
89
|
+
"web-ui-detail-milestone-callout",
|
|
90
|
+
"web-ui-risk-severity-lanes",
|
|
91
|
+
"web-ui-timeline-month-groups",
|
|
92
|
+
"display-contract",
|
|
93
|
+
"display-card-description-budget",
|
|
94
|
+
"display-detail-single-image",
|
|
95
|
+
"display-preview-svg-valid",
|
|
96
|
+
"display-docs-shipped",
|
|
97
|
+
"packed-skills-present",
|
|
98
|
+
"bundled-skills-registered",
|
|
99
|
+
"skill-frontmatter-parsed",
|
|
100
|
+
"export-form-v3"
|
|
101
|
+
],
|
|
102
|
+
"notes": "Packed tarball 0.1.0 installed into an owned, disposable, non-Desktop web profile (DSH 0.2.2-rc.1). This release migrates the plugin to the v3 POC data model. The parser reads identity + gate0 + plan + progress[] + outcome; the four dimensions come from `outcome`; the progress stream is a new core view; the gap rule set grew from 8 to 12 (R1-R12); and the stat strip is now POC总数 / G0通过 / 进行中 / 金额合计. The v3 numbers were verified against the real ledger data first: 23 projects, 6050万 total, 1 G0 passed, 0 G0 complete, R1 on all 23, R2 on 7 — matching the update note's acceptance list exactly. dsh --profile <test> --dump-config composed the row; a bounded real startup served the Web app; the authenticated transport exercised the exact /api/skillre-work-dashboard/execute route (cold cache empty, manual refresh cloned the ledger, board computed v3 summaries and gaps, detail returned the progress stream, a second refresh used fetch + reset --hard, unknown project and unauthenticated request failed cleanly), and cleanup removed the owned profile with verified absence. The real DSH Web UI was then driven in headless Chromium: 43/43 assertions passed, including the seven-column v3 table, the amount column, the latest-progress column, the progress-stream section, four separate dimension cards, the twelve-rule pending list, and a new guard that no raw template placeholder reaches the DOM. Two real defects were caught during that verification and fixed: gap TITLES were rendered through t() instead of format() so parameterised titles leaked literal {amountWan}; and the detail identity line still carried the removed v1 {tier} key. The export form is deliberately hidden in this release: it still models v1 fields, and shipping it would hand colleagues YAML the v3 ledger cannot read. It is preserved at src/form.v1-deferred.ts for the P1 rewrite. The published 0.2.0 market entry was then verified end to end: the LIVE hosted index listed 工作看板 0.2.0, its own install spec (git+https://github.com/skillre/dsh-plugin-work-dashboard#42b7c9f2bf951cdd1715feda48b47bf81286bc0c) was installed into a fresh owned profile, --dump-config composed the row, a bounded startup served the app, and list/detail/risks/timeline all answered (detail correctly reported unknown-project on the cold cache). Cleanup removed the owned profile and verified it was gone.",
|
|
103
|
+
"evidence": [
|
|
104
|
+
"docs/evidence/isolated-mount-0.6.0.json",
|
|
105
|
+
"docs/evidence/market-install-0.6.0.json",
|
|
106
|
+
"docs/evidence/ui-verification.json",
|
|
107
|
+
"docs/evidence/work-dashboard-empty.png",
|
|
108
|
+
"docs/evidence/work-dashboard-cards.png",
|
|
109
|
+
"docs/evidence/work-dashboard-board.png",
|
|
110
|
+
"docs/evidence/work-dashboard-table.png",
|
|
111
|
+
"docs/evidence/work-dashboard-detail.png",
|
|
112
|
+
"docs/evidence/work-dashboard-risks.png",
|
|
113
|
+
"docs/evidence/work-dashboard-timeline.png",
|
|
114
|
+
"docs/evidence/work-dashboard-failure.png",
|
|
115
|
+
"docs/evidence/work-dashboard-dark.png",
|
|
116
|
+
"tests/store.spec.ts",
|
|
117
|
+
"tests/gap.spec.ts",
|
|
118
|
+
"tests/view.spec.tsx",
|
|
119
|
+
"tests/text.spec.ts",
|
|
120
|
+
"tests/transport.spec.ts",
|
|
121
|
+
"tests/plugin.spec.ts",
|
|
122
|
+
"tests/client-bundle.spec.ts",
|
|
123
|
+
"tests/preferences.spec.ts",
|
|
124
|
+
"tests/config.spec.ts",
|
|
125
|
+
"tests/risks.spec.ts",
|
|
126
|
+
"tests/timeline.spec.ts",
|
|
127
|
+
"docs/DETAIL.md",
|
|
128
|
+
"docs/DETAIL.zh.md",
|
|
129
|
+
"docs/preview.svg",
|
|
130
|
+
"docs/preview.zh.svg",
|
|
131
|
+
"docs/PREVIEW.md",
|
|
132
|
+
"scripts/preview.mjs",
|
|
133
|
+
"tests/skill.spec.ts",
|
|
134
|
+
"skills/poc-ledger/SKILL.md",
|
|
135
|
+
"skills/poc-export/SKILL.md",
|
|
136
|
+
"skills/poc-submit/SKILL.md",
|
|
137
|
+
"skills/poc-export/scripts/export-form.mjs"
|
|
138
|
+
],
|
|
139
|
+
"note": "Packed tarball 0.6.0 installed into an owned, disposable, non-Desktop web profile (DSH 0.2.2-rc.2). This release is a packaging and CI correction, not a feature change: the plugin behaviour verified in 0.5.0 is unchanged. scripts/preview.mjs and scripts/prepare-release.mjs now import the shared scripts/display-contract.mjs instead of each carrying a drifted local copy of the rules, and package.json#files gains the explicit \"!docs/PREVIEW.md\" exclusion. That closes a real leak: the published 0.5.0 tarball shipped docs/PREVIEW.md, the internal whiteboard registry holding Feishu document links and tokens, because the local reimplementation of npm file selection treated a directory entry in files as an allow-list rather than as contributing ignores. Coverage is now decided by a real npm pack probe, so the repository check, prepare-release and the fleet audit share one verdict and cannot disagree with npm. Two CI defects were also fixed, both of which were failing on main: the plugin.spec cache roots were built from TMPDIR, which runners set to /tmp and which is shallower than the three-segment floor the mount guard enforces (the guard is correct, the fixture was not), and tests/view.spec.tsx failed all 41 assertions on Node 26 because Node 26 defines its own globalThis.localStorage stub that shadows the jsdom Storage vitest would otherwise install. Both were reproduced and re-verified on real Node 26 (41/41 failing before the fix, 41/41 passing after). Published to the registry on 2026-11-13; the LIVE market entry now installs @skillre/dsh-plugin-work-dashboard@0.6.0 from npm into a fresh owned profile and 15 checks passed (composed row, bounded startup, list/detail/risks/timeline all answering), then the owned profile was removed and the removal verified. Verification for this release: npm run check passes (preview check, typecheck, 189 unit tests, lib-drift, pack check); 31 isolated checks passed against the packed tarball on a genuinely mounted DSH 0.2.2-rc.2, including that the three bundled skills reached the skill catalog at boot; cleanup removed the owned profile and its cache and the removal was verified. Desktop Client (Electron) visual verification was not performed for this release; the UI assertions recorded from 0.5.0 still describe the same shipped client bundle."
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"dsh": "0.2.2-rc.3",
|
|
143
|
+
"verifiedAt": "2026-11-17",
|
|
144
|
+
"result": "passed",
|
|
145
|
+
"checks": [
|
|
146
|
+
"dsh-version",
|
|
147
|
+
"local-remote-and-gh-stub",
|
|
148
|
+
"profile-template-created",
|
|
149
|
+
"profile-tarball-install",
|
|
150
|
+
"packed-dependency-and-selection",
|
|
151
|
+
"dump-config",
|
|
152
|
+
"packed-payload-present",
|
|
153
|
+
"packed-skills-present",
|
|
154
|
+
"cache-absent-before-mount",
|
|
155
|
+
"bounded-startup",
|
|
156
|
+
"bundled-skills-registered",
|
|
157
|
+
"api-cold-cache-empty",
|
|
158
|
+
"api-refresh-clone",
|
|
159
|
+
"api-board-computed",
|
|
160
|
+
"api-portfolio-analysis",
|
|
161
|
+
"api-detail",
|
|
162
|
+
"api-refresh-fetch",
|
|
163
|
+
"api-unknown-project",
|
|
164
|
+
"api-auth-fence",
|
|
165
|
+
"cache-is-real-clone",
|
|
166
|
+
"cache-credential-not-persisted",
|
|
167
|
+
"api-risk-board-sorted",
|
|
168
|
+
"api-global-timeline-sorted",
|
|
169
|
+
"api-timeline-reports-silent-projects",
|
|
170
|
+
"api-blockers-merged-from-five-sources",
|
|
171
|
+
"api-blockers-no-double-count",
|
|
172
|
+
"api-export-form-fill",
|
|
173
|
+
"api-export-form-blank",
|
|
174
|
+
"refresh-works-after-submit",
|
|
175
|
+
"cache-wiped-on-restart",
|
|
176
|
+
"api-refresh-after-restart",
|
|
177
|
+
"cleanup-verified"
|
|
178
|
+
],
|
|
179
|
+
"notes": "Isolated non-Desktop profile; packed tarball @skillre/dsh-plugin-work-dashboard@0.9.0 (sha256 58058de0aa4427a2...). Scope: Host mount, Connection route, cache lifecycle, risk board, global timeline, blocker aggregation, export-form generation, bundled skill registration, and owned-profile cleanup. NOT covered by this run: any Client UI check — no browser was driven, so the web-ui rows recorded under 0.2.2-rc.2 remain the only UI evidence and do not describe 0.9.0."
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"observations": {
|
|
183
|
+
"desktopClient": "pending",
|
|
184
|
+
"desktopClientNote": "The Web UI was verified directly. The Electron Desktop Client shares the same renderer but was not launched for this release; a Desktop-specific visual check remains outstanding.",
|
|
185
|
+
"chartsWithoutDependency": "Every figure is hand-built SVG or flex geometry because the client bundle may only externalise `react`. No charting dependency was added.",
|
|
186
|
+
"displayContract": "Adopted: locale meta.detail + one preview image per language + docs shipped in the package (evidence excluded).",
|
|
187
|
+
"updateMechanism": "Published to the npm registry on 2026-11-13 as @skillre/dsh-plugin-work-dashboard@0.6.0 (dist-tag latest). This is the first publish, and it changes the plugin's delivery story: the package is now installable from a registry spec under its own name, which is the only shape the plugin manager grants an in-place Versions section to. `npm run update:readiness -- work-dashboard` therefore reports OK, where every earlier version reported 'not published on the configured registry'. The market entry is npm-sourced for the same reason: the previous Git-pinned entry was never updatable, and the fleet builder dropped it as soon as the index was rebuilt.",
|
|
188
|
+
"npmChannel": "First publish completed manually on 2026-11-13 with `npm publish --access public`; npm cannot attach a Trusted Publisher to a package that did not exist, so this single step could not be automated. The published artifact was verified to match the locally packed and mounted tarball exactly (integrity sha512-dpA+I/3YCOHXWzOxaC+xqyKKsRciyowgFD8C4Q7dSp8xAPA/ESWl+VKIMVyYMSAVG2XxF/3Va0+a4kde/h7/hQ==, shasum a7525d28), and the published tarball was re-downloaded and confirmed to contain the 62 expected files with docs/PREVIEW.md absent. Still outstanding: configuring the GitHub Actions Trusted Publisher (`npm trust github ... --allow-publish`), which npm gates behind one interactive 2FA confirmation, so the OIDC workflow cannot publish subsequent versions until that is done."
|
|
189
|
+
},
|
|
190
|
+
"notes": [
|
|
191
|
+
"Verified against the packed tarball installed into an owned, disposable non-Desktop DSH profile; the profile and its cache were removed afterwards and the removal was verified.",
|
|
192
|
+
"The browser evidence was captured against the existing DSH Web app instance at 1440x900 with prefers-color-scheme pinned to light, then flipped to dark for the dark-theme assertion.",
|
|
193
|
+
"Desktop Client (Electron) visual verification was NOT performed for this release; the observations entry below is the standing limitation."
|
|
194
|
+
]
|
|
195
|
+
}
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# One Host row for this bundle. The Host half owns the disposable git cache,
|
|
2
|
+
# the YAML parse and the gap scan, and exposes them through one exact Connection
|
|
3
|
+
# route; the Client half of the same package registers the sidebar entry and the
|
|
4
|
+
# dashboard page.
|
|
5
|
+
#
|
|
6
|
+
# The dashboard is multi-module by design: POC Operations is the first module and
|
|
7
|
+
# lives in the same Host row, so adding a module later does not need a new row.
|
|
8
|
+
#
|
|
9
|
+
# Every config key is optional and schema-validated at mount time; the user's
|
|
10
|
+
# profile may override this row's configuration (see README).
|
|
11
|
+
- insert:
|
|
12
|
+
- id: skillre-work-dashboard
|
|
13
|
+
name: '@skillre/dsh-plugin-work-dashboard'
|
|
14
|
+
config:
|
|
15
|
+
# owner/name of the GitHub repository that holds projects/*.yaml.
|
|
16
|
+
repository: skillre/workbranch
|
|
17
|
+
# Wiped at mount, rebuilt on demand. Must not be a directory this plugin
|
|
18
|
+
# did not create; a pre-existing non-empty directory fails loudly.
|
|
19
|
+
cacheRoot: ~/.dsh/cache/work-dashboard
|
|
20
|
+
defaultBranch: main
|
|
21
|
+
cloneTimeoutMs: 120000
|
|
22
|
+
fetchTimeoutMs: 60000
|
|
23
|
+
# Days in one stage before gap rule R12 reports the project as stalled.
|
|
24
|
+
stallDays: 45
|