@mstar-harness/opencode 0.4.0 → 0.5.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/harness-skills/mstar-plan-artifacts/SKILL.md +3 -2
- package/harness-skills/mstar-plan-artifacts/references/status-and-residuals.md +1 -1
- package/harness-skills/mstar-plan-artifacts/templates/README.md +8 -0
- package/harness-skills/mstar-plan-conventions/SKILL.md +3 -3
- package/harness-skills/mstar-plan-conventions/references/harness-bootstrap-and-agents-layering.md +2 -2
- package/harness-skills/pm/SKILL.md +1 -2
- package/package.json +1 -1
- package/harness-skills/mstar-plan-conventions/templates/README.md +0 -8
- /package/harness-skills/{mstar-plan-conventions → mstar-plan-artifacts}/templates/notes.empty.json +0 -0
- /package/harness-skills/{mstar-plan-conventions → mstar-plan-artifacts}/templates/status.empty.json +0 -0
|
@@ -15,8 +15,9 @@ description: Morning Star plan harness artifacts — `{PLAN_DIR}` main plans and
|
|
|
15
15
|
| knowledge / iterations / specs 边界与索引 | `references/knowledge-and-designs.md` |
|
|
16
16
|
| Done 行瘦身 Profile A/B | `references/done-compaction.md` |
|
|
17
17
|
| `status.json`、residual severity、生命周期、`jq` | `references/status-and-residuals.md` |
|
|
18
|
+
| 空仓库 `status.json` / `notes.json` 模板 | `templates/status.empty.json`、`templates/notes.empty.json`(见 `templates/README.md`) |
|
|
18
19
|
|
|
19
|
-
**Out of scope:** 分支与 QC/QA 检出对齐 → **`mstar-branch-worktree`**;QC 清单与 verdict → **`mstar-review-qc`**;`{HARNESS_DIR}`
|
|
20
|
+
**Out of scope:** 分支与 QC/QA 检出对齐 → **`mstar-branch-worktree`**;QC 清单与 verdict → **`mstar-review-qc`**;`{HARNESS_DIR}` 路径发现与目录初始化步骤 → **`mstar-plan-conventions`**。
|
|
20
21
|
|
|
21
22
|
## `status.json` 与 open residual(摘要)
|
|
22
23
|
|
|
@@ -27,4 +28,4 @@ description: Morning Star plan harness artifacts — `{PLAN_DIR}` main plans and
|
|
|
27
28
|
|
|
28
29
|
字段、severity 映射表、归档与 `jq` 示例 → **`references/status-and-residuals.md`**。
|
|
29
30
|
|
|
30
|
-
**Templates
|
|
31
|
+
**Templates(本 skill):** `templates/status.empty.json`、`templates/notes.empty.json` — 复制到 `{HARNESS_DIR}/`(说明见 `templates/README.md`)。
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
**空仓库可复制模板**:本 skill **`templates/status.empty.json`**;可选 **`templates/notes.empty.json`** → `{HARNESS_DIR}/notes.json`。说明见 **`templates/README.md`**。
|
|
55
55
|
|
|
56
56
|
**已关闭条目**在以上字段之外补充:`lifecycle`、`closed_at`、`closure_note`;可选 `closure_evidence`、`superseded_by`。语义见下「Residual findings 生命周期」。
|
|
57
57
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Plan harness file templates
|
|
2
|
+
|
|
3
|
+
Copy these into `{HARNESS_DIR}` when bootstrapping a project. Path symbols (`{HARNESS_DIR}`, `{PLAN_DIR}`, …) → **`mstar-plan-conventions`**. Field semantics and residual lifecycle → **`mstar-plan-artifacts/references/status-and-residuals.md`**.
|
|
4
|
+
|
|
5
|
+
| File | Copy to | Notes |
|
|
6
|
+
|------|---------|--------|
|
|
7
|
+
| `status.empty.json` | `{HARNESS_DIR}/status.json` | Root `residual_findings` only (see **`mstar-plan-artifacts` SKILL.md**). Replace `updated_at` with the real date. |
|
|
8
|
+
| `notes.empty.json` | `{HARNESS_DIR}/notes.json` | Optional program timeline. Replace `updated_at` when first edited. |
|
|
@@ -49,8 +49,8 @@ description: Morning Star (启明星) harness 计划目录约定 —— `{HARNES
|
|
|
49
49
|
|
|
50
50
|
PM 在需要持久化追踪时:
|
|
51
51
|
|
|
52
|
-
1. 建 `.agents/`、`plans/`、`status.json
|
|
53
|
-
2. 可选 `notes.json
|
|
52
|
+
1. 建 `.agents/`、`plans/`、`status.json`(空模板见 **`mstar-plan-artifacts/templates/status.empty.json`**)
|
|
53
|
+
2. 可选 `notes.json`(模板 **`mstar-plan-artifacts/templates/notes.empty.json`**)、`reports/README.md`、`knowledge/`、`iterations/`、`specs/`
|
|
54
54
|
3. Git:团队交付 **勿** ignore 整个 `{HARNESS_DIR}`(handoff 需 clone 可达)
|
|
55
55
|
|
|
56
56
|
步骤与 `.agents/AGENTS.md` 分层 → **`references/harness-bootstrap-and-agents-layering.md`**。
|
|
@@ -84,4 +84,4 @@ PM 在需要持久化追踪时:
|
|
|
84
84
|
- `references/harness-bootstrap-and-agents-layering.md` — 新仓 harness + AGENTS 分层
|
|
85
85
|
- `references/effort-estimation.md` — agent-oriented 工期(禁人天/FTE)
|
|
86
86
|
|
|
87
|
-
**Plan 工件细则**(主 plan、reports、`status.json`、residual、knowledge、Done
|
|
87
|
+
**Plan 工件细则**(主 plan、reports、`status.json`、residual、knowledge、Done 归档、**`templates/`**)→ skill **`mstar-plan-artifacts`**(`references/` 与 `templates/`)。
|
package/harness-skills/mstar-plan-conventions/references/harness-bootstrap-and-agents-layering.md
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
## Bootstrap 最小步骤
|
|
14
14
|
|
|
15
15
|
1. 创建 `{HARNESS_DIR}`(推荐 `.agents/`)与 `{PLAN_DIR}`(推荐 `.agents/plans/`)。
|
|
16
|
-
2. 初始化 `status.json
|
|
17
|
-
3. 初始化可选 `notes.json
|
|
16
|
+
2. 初始化 `status.json`:从 **`mstar-plan-artifacts/templates/status.empty.json`** 复制;residual canonical 见 **`mstar-plan-artifacts` SKILL.md**;字段与生命周期见 **`mstar-plan-artifacts/references/status-and-residuals.md`**。
|
|
17
|
+
3. 初始化可选 `notes.json`(**`mstar-plan-artifacts/templates/notes.empty.json`**)与 `plans/reports/README.md`。
|
|
18
18
|
4. 可选:创建 `{ITERATION_DIR}`(`iterations/` + `README.md`)与 `{KNOWLEDGE_DIR}`(`knowledge/` + `README.md`);内容边界见 `mstar-plan-conventions` SKILL.md 与 `references/knowledge-and-designs.md`。
|
|
19
19
|
5. 创建 `.agents/AGENTS.md`(harness 子树规则):符号表可复述 `{HARNESS_DIR}`、`{PLAN_DIR}`、`{ITERATION_DIR}`、`{KNOWLEDGE_DIR}`、`{SPECS_DIR}` 与 `docs/` 分工(参考 Nexus `.agents/AGENTS.md`)。
|
|
20
20
|
6. 校准根 `AGENTS.md`:只保留仓库级长期约束,显式引用 `.agents/AGENTS.md` 作为 harness SSOT。
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pm
|
|
3
|
-
description: Force the current session into pure Morning Star flow: load `mstar-harness-core`, execute as `mstar-roles` `project-manager` (`/pm`), and require reading `mstar-review-qc` before dispatching any QC tasks.
|
|
4
|
-
disable-model-invocation: true
|
|
3
|
+
description: "Force the current session into pure Morning Star flow: load `mstar-harness-core`, execute as `mstar-roles` `project-manager` (`/pm`), and require reading `mstar-review-qc` before dispatching any QC tasks."
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
# Project-Manager Force Entry (`/pm`)
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# Plan harness file templates
|
|
2
|
-
|
|
3
|
-
Copy these into `{HARNESS_DIR}` when bootstrapping a project (paths resolve per `mstar-plan-conventions`).
|
|
4
|
-
|
|
5
|
-
| File | Copy to | Notes |
|
|
6
|
-
|------|---------|--------|
|
|
7
|
-
| `status.empty.json` | `{HARNESS_DIR}/status.json` | Matches **SKILL.md** opening: root `residual_findings` only. Replace `updated_at` with the real date. |
|
|
8
|
-
| `notes.empty.json` | `{HARNESS_DIR}/notes.json` | Optional program timeline. Replace `updated_at` when first edited. |
|
/package/harness-skills/{mstar-plan-conventions → mstar-plan-artifacts}/templates/notes.empty.json
RENAMED
|
File without changes
|
/package/harness-skills/{mstar-plan-conventions → mstar-plan-artifacts}/templates/status.empty.json
RENAMED
|
File without changes
|