@mstar-harness/opencode 0.7.9 → 1.0.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-commands/iteration-drive.md +1 -1
- package/harness-skills/mstar-coding-behavior/SKILL.md +1 -0
- package/harness-skills/mstar-dispatch-gates/SKILL.md +19 -8
- package/harness-skills/mstar-harness-core/SKILL.md +7 -5
- package/harness-skills/mstar-host/SKILL.md +1 -1
- package/harness-skills/mstar-host/references/codex.md +1 -1
- package/harness-skills/mstar-host/references/cursor.md +18 -8
- package/harness-skills/mstar-host/references/parallel-dispatch.md +24 -6
- package/harness-skills/mstar-iteration/SKILL.md +17 -33
- package/harness-skills/mstar-phase-gates/SKILL.md +11 -46
- package/harness-skills/mstar-plan-artifacts/SKILL.md +1 -0
- package/harness-skills/mstar-plan-artifacts/references/plan-files-and-reports.md +16 -4
- package/harness-skills/mstar-plan-artifacts/references/status-and-residuals.md +3 -0
- package/harness-skills/mstar-plan-artifacts/templates/plan.main.md +54 -0
- package/harness-skills/mstar-plan-conventions/SKILL.md +6 -3
- package/harness-skills/mstar-plan-conventions/references/artifact-storage-paths.md +2 -1
- package/harness-skills/mstar-plan-conventions/references/harness-bootstrap-and-agents-layering.md +1 -1
- package/harness-skills/mstar-review-qc/SKILL.md +5 -5
- package/harness-skills/mstar-review-qc/references/review-responsibility-boundaries.md +41 -0
- package/harness-skills/mstar-roles/SKILL.md +5 -1
- package/harness-skills/mstar-roles/references/project-manager/dispatch-and-assignment.md +5 -0
- package/harness-skills/mstar-roles/references/project-manager/qc-and-residuals.md +33 -24
- package/harness-skills/mstar-roles/references/project-manager/routing-and-dev-allocation.md +2 -1
- package/harness-skills/mstar-roles/references/project-manager.md +12 -9
- package/harness-skills/mstar-roles/references/qc-specialist-shared.md +5 -3
- package/harness-skills/mstar-sdd/SKILL.md +118 -0
- package/harness-skills/mstar-sdd/references/file-handoffs.md +73 -0
- package/harness-skills/mstar-sdd/references/implementer-prompt.md +53 -0
- package/harness-skills/mstar-sdd/references/task-reviewer-prompt.md +51 -0
- package/harness-skills/mstar-sdd/scripts/review-package +43 -0
- package/harness-skills/mstar-sdd/scripts/sdd-workspace +26 -0
- package/harness-skills/mstar-sdd/scripts/task-brief +40 -0
- package/harness-skills/pm/SKILL.md +5 -4
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Resolve and ensure {SDD_DIR} for Morning Star SDD artifacts.
|
|
3
|
+
# Usage: sdd-workspace PLAN_ID
|
|
4
|
+
# Prints absolute path to {HARNESS_DIR}/sdd/<plan-id>/ (or legacy .agents/sdd/).
|
|
5
|
+
set -euo pipefail
|
|
6
|
+
|
|
7
|
+
if [ $# -ne 1 ]; then
|
|
8
|
+
echo "usage: sdd-workspace PLAN_ID" >&2
|
|
9
|
+
exit 2
|
|
10
|
+
fi
|
|
11
|
+
|
|
12
|
+
plan_id=$1
|
|
13
|
+
root=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
14
|
+
|
|
15
|
+
if [ -d "$root/.mstar" ]; then
|
|
16
|
+
harness="$root/.mstar"
|
|
17
|
+
elif [ -d "$root/.agents" ]; then
|
|
18
|
+
harness="$root/.agents"
|
|
19
|
+
else
|
|
20
|
+
harness="$root/.mstar"
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
dir="$harness/sdd/$plan_id"
|
|
24
|
+
mkdir -p "$dir"
|
|
25
|
+
printf '*\n' > "$dir/.gitignore"
|
|
26
|
+
cd "$dir" && pwd
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Extract one task's full text from a plan into a file for the implementer.
|
|
3
|
+
# Usage: task-brief PLAN_FILE TASK_NUMBER [OUTFILE]
|
|
4
|
+
# Default OUTFILE: {SDD_DIR}/task-N-brief.md (SDD_DIR from env or second arg via sdd-workspace)
|
|
5
|
+
set -euo pipefail
|
|
6
|
+
|
|
7
|
+
if [ $# -lt 2 ] || [ $# -gt 3 ]; then
|
|
8
|
+
echo "usage: task-brief PLAN_FILE TASK_NUMBER [OUTFILE]" >&2
|
|
9
|
+
exit 2
|
|
10
|
+
fi
|
|
11
|
+
|
|
12
|
+
plan=$1
|
|
13
|
+
n=$2
|
|
14
|
+
[ -f "$plan" ] || { echo "no such plan file: $plan" >&2; exit 2; }
|
|
15
|
+
|
|
16
|
+
if [ $# -eq 3 ]; then
|
|
17
|
+
out=$3
|
|
18
|
+
else
|
|
19
|
+
if [ -z "${SDD_DIR:-}" ]; then
|
|
20
|
+
echo "task-brief: set SDD_DIR or pass OUTFILE (run sdd-workspace PLAN_ID first)" >&2
|
|
21
|
+
exit 2
|
|
22
|
+
fi
|
|
23
|
+
mkdir -p "$SDD_DIR"
|
|
24
|
+
out="$SDD_DIR/task-${n}-brief.md"
|
|
25
|
+
fi
|
|
26
|
+
|
|
27
|
+
awk -v n="$n" '
|
|
28
|
+
/^```/ { infence = !infence }
|
|
29
|
+
!infence && /^#+[ \t]+Task[ \t]+[0-9]+/ {
|
|
30
|
+
intask = ($0 ~ ("^#+[ \t]+Task[ \t]+" n "([^0-9]|$)"))
|
|
31
|
+
}
|
|
32
|
+
intask { print }
|
|
33
|
+
' "$plan" > "$out"
|
|
34
|
+
|
|
35
|
+
if [ ! -s "$out" ]; then
|
|
36
|
+
echo "task ${n} not found in ${plan} (no heading matching Task ${n})" >&2
|
|
37
|
+
exit 3
|
|
38
|
+
fi
|
|
39
|
+
|
|
40
|
+
echo "wrote ${out}: $(wc -l < "$out" | tr -d ' ') lines"
|
|
@@ -22,10 +22,11 @@ Detect host → Read `mstar-host` → `references/cursor.md` | `opencode.md` | `
|
|
|
22
22
|
2. `mstar-roles` → `references/project-manager.md`
|
|
23
23
|
3. Before first **implement** dispatch: `mstar-dispatch-gates` + host reference
|
|
24
24
|
4. Before **QC**: `mstar-review-qc`
|
|
25
|
-
5. **
|
|
26
|
-
6. **
|
|
25
|
+
5. **SDD implement** (`Execution mode: sdd`): `mstar-sdd` before first implement dispatch
|
|
26
|
+
6. **Iteration flow** (start / Execute / close): **`mstar-iteration`** — canonical SSOT for per-plan dispatch loop, integration branch, compound round. Do **not** re-describe the flow in this skill.
|
|
27
|
+
7. **On demand:** `mstar-phase-gates`, `mstar-plan-conventions`, `mstar-plan-artifacts`, `mstar-branch-worktree`, `mstar-skill-authoring` for skill work
|
|
27
28
|
|
|
28
|
-
Prepare/Execute gates, routing, Assignment templates, Task Board, QC tri
|
|
29
|
+
Prepare/Execute gates, routing, Assignment templates, Task Board, QC (SDD → tri; inline → single), residuals, compound → topic skills + PM references (not repeated here).
|
|
29
30
|
|
|
30
31
|
## Dispatch-first (`implement`)
|
|
31
32
|
|
|
@@ -35,7 +36,7 @@ Prepare/Execute gates, routing, Assignment templates, Task Board, QC tri-review,
|
|
|
35
36
|
| **1 Assignment ⇒ 1 invoke** when host supports Task/subagent (`mstar-dispatch-gates`) | Assignment markdown only, no matching invoke |
|
|
36
37
|
| Put merge/branch/handoff from **this thread** into Assignment | Skip subagent because context is "already here" |
|
|
37
38
|
|
|
38
|
-
- **NEVER** implement while staying PM — QC 3
|
|
39
|
+
- **NEVER** implement while staying PM — SDD ends with **plan QC tri** (N=3); **implement still delegates** dev + task reviewer subagents.
|
|
39
40
|
- **Delegate scope / PM whitelist:** `mstar-roles` → PM Execution Boundary.
|
|
40
41
|
|
|
41
42
|
**Exceptions:** user explicitly asks PM thread to implement; hotfix per `mstar-phase-gates`.
|