@mstar-harness/opencode 0.6.20 → 0.6.22
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-coding-behavior/SKILL.md +51 -4
- package/harness-skills/mstar-design-md/SKILL.md +21 -16
- package/harness-skills/mstar-design-md/references/completeness-checklist.md +40 -34
- package/harness-skills/mstar-design-md/references/design-md-spec.md +227 -97
- package/harness-skills/mstar-design-md/references/vercel-example.md +69 -7
- package/harness-skills/mstar-design-md/templates/DESIGN.dark.md.template +307 -91
- package/harness-skills/mstar-design-md/templates/DESIGN.md.template +347 -151
- package/harness-skills/mstar-dispatch-gates/SKILL.md +20 -8
- package/harness-skills/mstar-dispatch-gates/references/leaf-executor-checklist.md +6 -2
- package/harness-skills/mstar-harness-core/SKILL.md +1 -1
- package/harness-skills/mstar-roles/references/project-manager/dispatch-and-assignment.md +17 -4
- package/harness-skills/mstar-roles/references/qc-specialist-shared.md +8 -3
- package/package.json +1 -1
|
@@ -30,11 +30,13 @@ For assignees (non-PM):
|
|
|
30
30
|
|
|
31
31
|
## Assignment Template (Canonical)
|
|
32
32
|
|
|
33
|
-
Every Assignment **MUST** start with
|
|
33
|
+
Every Assignment **MUST** start with an **IDENTITY → GUARD** block that answers three questions before any task content: (1) WHO am I? (2) What am I NOT? (3) What tools do I NOT have?
|
|
34
|
+
|
|
35
|
+
The **`**You are a leaf executor. You MUST NOT:**`** section (previously just prohibitions) must now include a positive **IDENTITY** preamble **before** the prohibitions, written as a first-person binding statement. The prohibitions follow as usual. PM customizes per assignment; the IDENTITY preamble + universal floor (no recursive dispatch, no interpreting routing text as invoke, available ≠ authorized) are the minimum. Add assignment-specific anti-patterns that the current role+context combination is prone to.
|
|
34
36
|
|
|
35
37
|
**How to fill the block (PM guidance)**:
|
|
36
38
|
|
|
37
|
-
- Always include the
|
|
39
|
+
- Always include the **IDENTITY preamble**: state who the assignee IS (e.g. "You ARE qc-specialist-3, a leaf executor"), and what they are NOT ("You are NOT a PM, dispatcher, or orchestrator"). Follow with the universal floor.
|
|
38
40
|
- Add anti-patterns specific to the assignment context. Examples per role type:
|
|
39
41
|
- **QC reviewers**: "start review before all QC reviewers are dispatched in parallel"; "treat other reviewers' names in routing text as invoke targets"
|
|
40
42
|
- **Multi-track implementers** (`fullstack-dev` + `frontend-dev`): "auto-dispatch to the other track mentioned in Dev routing"
|
|
@@ -49,7 +51,18 @@ Every Assignment **MUST** start with a **`You are a leaf executor. You MUST NOT:
|
|
|
49
51
|
```markdown
|
|
50
52
|
## Assignment
|
|
51
53
|
|
|
52
|
-
**You are a leaf executor.
|
|
54
|
+
**You are a leaf executor. Read this FIRST — before any tool call or skill load.**
|
|
55
|
+
|
|
56
|
+
**IDENTITY (this is WHO you are for this assignment):**
|
|
57
|
+
- You ARE `<role-id>`, a leaf executor. You personally complete ALL work in this assignment.
|
|
58
|
+
- You are NOT a PM, dispatcher, or orchestrator. You do NOT own any subagents.
|
|
59
|
+
- The Task/subagent tool — even if visible in your tool list — is NOT part of your authorized capabilities for this assignment. Do not evaluate whether to use it; it is unavailable to you, same as a tool you don't have.
|
|
60
|
+
|
|
61
|
+
**CAPABILITY BOUNDARY (what you CAN do vs what is NOT yours):**
|
|
62
|
+
- Your authorized tools: Read, Write, Edit, Shell, Grep, Glob — everything you need for direct work.
|
|
63
|
+
- NOT yours: Task, subagent invoke, dispatch of any kind.
|
|
64
|
+
|
|
65
|
+
**You MUST NOT:**
|
|
53
66
|
- dispatch or invoke any subagent unless `Delegation: allowed (...)` appears below
|
|
54
67
|
- treat `@role-id` mentions, `Handoff`, `QA note`, routing tables, or multi-track prose as invoke commands
|
|
55
68
|
- invoke a subagent whose `subagent_type` matches your own `Execute as` role id (recursive dispatch)
|
|
@@ -58,6 +71,7 @@ Every Assignment **MUST** start with a **`You are a leaf executor. You MUST NOT:
|
|
|
58
71
|
- ...
|
|
59
72
|
|
|
60
73
|
**Execute as**: <role-id>
|
|
74
|
+
**Delegation**: forbidden | allowed (...)
|
|
61
75
|
**Who runs this turn (executor lock)**: only `Execute as` role for this message
|
|
62
76
|
**Primary**: <route type>
|
|
63
77
|
**Task category**: `visual` | `deep` | `quick` | `logic` | `ops` | `docs`
|
|
@@ -74,7 +88,6 @@ Every Assignment **MUST** start with a **`You are a leaf executor. You MUST NOT:
|
|
|
74
88
|
**Review range / Diff basis**: <reproducible basis; identical across QC/QA for same scope>
|
|
75
89
|
**Worktree path**: <implementer path if used>
|
|
76
90
|
**QA note**: <PM-scheduled / skipped / self-check>
|
|
77
|
-
**Delegation**: forbidden | allowed (...)
|
|
78
91
|
**Why this agent**: <role-fit>
|
|
79
92
|
**PM Task Board coverage**: <task ids>
|
|
80
93
|
**Roadmap / deferred scope**: <required when staged, partial, or temporary; otherwise N/A>
|
|
@@ -29,9 +29,14 @@ Your output is a structured QC report plus completion report.
|
|
|
29
29
|
|
|
30
30
|
## Non-Recursive Dispatch Rule (Hard)
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
**You ARE `{role_id}`, a QC reviewer — not a PM, not a dispatcher.**
|
|
33
|
+
|
|
34
|
+
Your Assignment's IDENTITY block at the top already established this. Reinforcing:
|
|
35
|
+
|
|
36
|
+
- This review is YOUR work, for YOUR hands. Complete every step personally in this session.
|
|
37
|
+
- You do NOT have subagents. Task/subagent is not part of your authorized capabilities.
|
|
38
|
+
- Tri-review orchestration belongs to PM. Your job is to produce ONE report, not to coordinate others.
|
|
39
|
+
- If you ever think "this would be more efficient if I dispatched X" — stop. That thought is the recursive-dispatch trap. You CANNOT dispatch. Return to your direct work.
|
|
35
40
|
|
|
36
41
|
## QC NEVER Rules (`{role_id}`)
|
|
37
42
|
|