jsharness 1.13.0 → 1.13.1

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.
@@ -33,21 +33,21 @@ outputs:
33
33
  - name: "UI 设计规范"
34
34
  format: "markdown"
35
35
  path: ".harness/doc/design/{需求名称}/ui-style-guide.md"
36
- required: false
36
+ required: true
37
37
  description: "前端项目必须"
38
38
  - name: "设计令牌"
39
39
  format: "markdown"
40
40
  path: ".harness/doc/design/{需求名称}/design-tokens.md"
41
- required: false
41
+ required: true
42
42
  description: "前端项目必须"
43
43
  - name: "组件封装规范"
44
44
  format: "markdown"
45
45
  path: ".harness/doc/design/{需求名称}/component-spec.md"
46
- required: false
46
+ required: true
47
47
  description: "前端项目必须"
48
48
  - name: "技术决策记录"
49
49
  format: "markdown (ADR)"
50
- required: false
50
+ required: true
51
51
 
52
52
  stage_mapping:
53
53
  - stage: "solution-design"
@@ -30,11 +30,18 @@ outputPath: .harness/doc/design/
30
30
  ### 1.2 目录结构
31
31
 
32
32
  ```
33
- /
34
- ├── PRD-xxx.md # 第一阶段:需求文档
35
- └── design.md # 第二阶段:设计文档
33
+ .harness/doc/
34
+ ├── prd/
35
+ └── requirements-{name}.md # 第一阶段:需求文档(由 prd-generator 生成)
36
+ └── design/
37
+ └── {name}/
38
+ ├── design.md # 第二阶段:设计文档
39
+ ├── data-model.md # 数据模型文档
40
+ └── api/ # 接口文档目录
36
41
  ```
37
42
 
43
+ > **注意**:PRD 文档由 `prd-generator` Skill 生成到 `.harness/doc/prd/` 目录,不属于 design 目录。设计阶段通过 `design-context-reader` Skill 读取 PRD 作为输入上下文。
44
+
38
45
  ### 1.3 进度跟踪
39
46
 
40
47
  - **任务开始时的第一步**: 必须使用 todo_list 工具列出任务清单,此操作必须在其它任何动作之前
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **维护者**: PM Agent
4
4
  > **更新频率**: 每次状态变更时立即更新
5
- > **最后更新**: 2026-05-20 22:13 (初始化)
5
+ > **最后更新**: 2026-06-15 17:40 (TASK-20260615-001 开发实现90%完成)
6
6
 
7
7
  ---
8
8
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  | 任务ID | 标题 | 当前阶段 | 负责Agent | 文档目录 | 上次更新 | 预计完成 |
12
12
  |--------|------|----------|-----------|----------|----------|----------|
13
- | *(暂无)* | - | - | - | - | - | - |
13
+ | TASK-20260615-001 | Token使用量管理与用户分析系统 | 开发实现(deliver) | developer | .harness/doc/design/token-usage-management/ | 2026-06-15 | 2026-06-22 |
14
14
 
15
15
  ## 📋 待开始任务
16
16
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  | 指标 | 值 | 目标 | 状态 |
40
40
  |------|-----|------|------|
41
- | 新增需求 | 0 | - | - |
41
+ | 新增需求 | 1 | - | - |
42
42
  | 完成交付 | 0 | ≥3 | - |
43
43
  | 平均交付周期(天) | - | ≤7 | - |
44
44
  | 打回率 | 0% | <15% | - |
@@ -48,7 +48,7 @@
48
48
  ### 各阶段当前负载
49
49
 
50
50
  ```
51
- 需求分析: [░░░░░] 0
51
+ 需求分析: [██░░░] 1
52
52
  方案设计: [░░░░░] 0 个
53
53
  闸门评估: [░░░░░] 0 个
54
54
  开发实现: [░░░░░] 0 个
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsharness",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "Harness Engineering - AI 编程行为工程化管控系统。将 rules/skills/commands/agents 四桶一键注入到 CodeBuddy、Cursor、Copilot、Claude Code 等 AI 工具中。",
5
5
  "main": "lib/index.mjs",
6
6
  "exports": {