@mstar-harness/opencode 1.2.1 → 1.3.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
@@ -4,6 +4,13 @@ All notable changes to the `@mstar-harness/opencode` package are documented in t
4
4
 
5
5
  The monorepo root [CHANGELOG.md](../../CHANGELOG.md) summarizes cross-surface releases.
6
6
 
7
+ ## 1.3.0
8
+
9
+ - Bundled commands: retire `/mstar-bootstrap`; bootstrap procedure → `mstar-compound-refresh/references/project-knowledge-bootstrap.md`.
10
+ - Bundled skills: `mstar-compound-refresh` and `mstar-harness-core` short pointers for project knowledge bootstrap.
11
+
12
+ See root [CHANGELOG.md](../../CHANGELOG.md) **1.3.0**.
13
+
7
14
  ## 1.2.1
8
15
 
9
16
  - Bundled commands: `/iteration-start` Cursor Plan mode path — blank Phase 1 CreatePlan scaffold, staged grill-me plan updates, Build-gated Review chain.
package/README.md CHANGED
@@ -28,7 +28,7 @@ npx @mstar-harness/cli init --target opencode
28
28
  |-----------------|----------|
29
29
  | `harness-skills/` | `mstar-harness-core`, `mstar-iteration`, `mstar-sdd`, roles, phase/dispatch gates, … |
30
30
  | `harness-agents/` | Role shells (`project-manager`, `fullstack-dev`, `qc-specialist`, …) |
31
- | `harness-commands/` | `/iteration-start`, `/iteration-drive`, `/iteration-loop`, `/mstar-bootstrap` |
31
+ | `harness-commands/` | `/iteration-start`, `/iteration-drive`, `/iteration-loop` |
32
32
 
33
33
  The plugin resolves **only paths inside this package** — not `process.cwd()/skills`, so your app repo root does not affect harness loading.
34
34
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: mstar-compound-refresh
3
- description: Morning Star 知识维护 —— 审查 `{KNOWLEDGE_DIR}` 中文档是否仍准确、去重叠合并、清理过期知识。触发:`mstar-compound` 发现可合并文档、定期维护、或显式调用。产出:更新/合并/删除/标记为 stale 的文档 + 维护报告。
3
+ description: Morning Star 知识维护与项目知识 bootstrap —— 审查 `{KNOWLEDGE_DIR}` 文档是否仍准确、去重叠合并、清理过期知识;或从代码库提炼 STRATEGY.md、CONCEPTS.md、基线 knowledge 脚手架(无/残旧/空白 knowledge)。触发:`mstar-compound` 发现可合并文档、定期维护、项目缺 STRATEGY.md/CONCEPTS.md/{KNOWLEDGE_DIR}、stale knowledge scaffolding、显式 bootstrap 请求、或显式 refresh。产出:更新/合并/删除知识文档 + 维护报告;或 bootstrap 产物(STRATEGY.md、CONCEPTS.md、基线 knowledge)。
4
4
  ---
5
5
 
6
6
  # mstar-compound-refresh(知识维护)
@@ -25,6 +25,16 @@ Knowledge documents in `{KNOWLEDGE_DIR}` age. Code changes, conventions evolve,
25
25
  | Scheduled maintenance | "It's been a quarter, let's audit knowledge" |
26
26
  | Domain refactored | After a major module rewrite |
27
27
  | Explicit user request | `/pm compound-refresh performance-issues` |
28
+ | **Project knowledge bootstrap** | No/stale/partial `STRATEGY.md`, `CONCEPTS.md`, or `{KNOWLEDGE_DIR}` — see below |
29
+
30
+ ## Bootstrap vs refresh
31
+
32
+ | Mode | When | Procedure |
33
+ |------|------|-----------|
34
+ | **Refresh** | `{KNOWLEDGE_DIR}` exists; audit accuracy, merge overlaps, delete stale docs | This skill § Process (Phases 1–6) |
35
+ | **Bootstrap** | No knowledge scaffolding, or artifacts are absent/stale enough to warrant full distillation from codebase | **`references/project-knowledge-bootstrap.md`** (7-phase: survey → STRATEGY.md → CONCEPTS.md → baseline knowledge → indexing → harness init → commit) |
36
+
37
+ Read the bootstrap reference on demand; do not paste its body into this SKILL.md.
28
38
 
29
39
  ## Maintenance outcomes
30
40
 
@@ -1,23 +1,17 @@
1
- ---
2
- name: mstar-bootstrap
3
- description: Bootstrap or refresh a project's knowledge scaffolding — distill STRATEGY.md, CONCEPTS.md, and baseline knowledge docs from the existing codebase and any docs. Use when a project has no knowledge infrastructure, stale/partial docs, or needs a fresh distillation.
4
- agent: project-manager
5
- ---
6
-
7
1
  # Bootstrap Project Knowledge
8
2
 
9
3
  Distill a coherent knowledge baseline from the current project — useful when the project has no `STRATEGY.md` / `CONCEPTS.md` / `{KNOWLEDGE_DIR}`, has partial or outdated ones, or has accumulated documentation debt.
10
4
 
11
5
  **Goal**: produce a minimal, accurate, opinionated knowledge foundation that future iteration-start and plan-work can ground in.
12
6
 
13
- ## Boot
7
+ ## Load order (bootstrap)
14
8
 
15
9
  1. `mstar-harness-core`
16
- 2. `mstar-roles` `references/project-manager.md`
10
+ 2. `mstar-compound-refresh` (this skill)
17
11
  3. `mstar-plan-conventions`(路径符号)
18
12
  4. `mstar-strategy` → **§ STRATEGY.md structure** + **§ Creating STRATEGY.md**
19
13
  5. `mstar-compound` → **references/concepts-vocabulary.md**(CONCEPTS.md 规则)
20
- 6. `mstar-compound-refresh` **§ Core rules**(知识维护基线)
14
+ 6. This reference **§ Core rules** in `mstar-compound-refresh/SKILL.md`(知识维护基线)
21
15
 
22
16
  ## Phase 1: Survey — understand what exists
23
17
 
@@ -97,7 +97,7 @@ PM 在 Assignment 写 **`Task category`**(主类 + 可选 `secondary`):
97
97
  | `mstar-review-qc` | PM:QC tri 编排、residual 留档、四层边界;leaf 执行 → `mstar-roles/references/qc-specialist/` |
98
98
  | `mstar-coding-behavior` | Think / Simplicity / Surgical / Debugging / Review Feedback / Goal-Driven / Communication |
99
99
  | `mstar-compound` | 知识结晶 —— 已解决问题→结构化知识文档,双轨(Bug/Knowledge),「是否值得结晶」自检清单,重叠检测,可发现性检查,CONCEPTS.md 协同 |
100
- | `mstar-compound-refresh` | 知识维护 —— 审查/更新/合并/删除 `{KNOWLEDGE_DIR}` 文档 |
100
+ | `mstar-compound-refresh` | 知识维护 —— 审查/更新/合并/删除 `{KNOWLEDGE_DIR}` 文档;**项目知识 bootstrap**(无/残旧 STRATEGY.md、CONCEPTS.md、`{KNOWLEDGE_DIR}`)→ `references/project-knowledge-bootstrap.md` |
101
101
  | `mstar-strategy` | `STRATEGY.md` 全局战略方向 —— 产品愿景、技术方向、决策原则 |
102
102
  | `mstar-skill-authoring` | mstar-native skill authoring: trigger contracts, progressive disclosure, pressure scenarios, behavior-change evidence |
103
103
  | `mstar-roles` | 角色正文 hub |
@@ -11,7 +11,7 @@ Parallel PM dispatch: read **`parallel-dispatch.md`** only when Codex exposes an
11
11
  - Plugin source: `.codex-plugin/plugin.json`.
12
12
  - Runtime skills: repo `skills/` mounted by the Codex plugin (`"skills": "./skills/"`).
13
13
  - Custom agent source: repo `codex/agents/*.toml`; CLI/manual install links these into `~/.codex/agents/` or project `.codex/agents/`.
14
- - **`/pm`** or **`pm` skill**: force PM entry → `mstar-roles` → `project-manager.md` (Codex primary; Cursor/OpenCode for general per-plan work). **`commands/`** when running iteration Phase 1–5.
14
+ - **`/pm`** or **`pm` skill**: force PM entry → `mstar-roles` → `project-manager.md` (Codex primary; Cursor/OpenCode for general per-plan work). **`commands/`** when running iteration Phase 1–5; project CLI install (`mstar-harness init --target codex --scope project`) materializes `iteration-start`, `iteration-drive`, and `iteration-loop` as `.agents/skills/<name>/SKILL.md` symlinks.
15
15
  - Role files under root `agents/` are for hosts that load OpenCode/Cursor-style agent shells; Codex uses `codex/agents/*.toml` and still loads `mstar-roles` references directly.
16
16
  - Tool and plugin availability can be lazy-loaded or session-dependent. Use the tools actually present in the current session; do not infer capability from documentation alone.
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mstar-harness/opencode",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "description": "Morning Star harness OpenCode plugin (skills bootstrap and agent loading).",
5
5
  "license": "MIT",
6
6
  "repository": {