@mstar-harness/omp 3.6.0-alpha.4
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/README.md +63 -0
- package/agents/architect.md +35 -0
- package/agents/code-reviewer.md +90 -0
- package/agents/frontend-dev.md +33 -0
- package/agents/fullstack-dev-2.md +33 -0
- package/agents/fullstack-dev.md +33 -0
- package/agents/ops-engineer.md +33 -0
- package/agents/product-manager.md +35 -0
- package/agents/project-manager.md +32 -0
- package/agents/prompt-engineer.md +33 -0
- package/agents/qa-engineer.md +35 -0
- package/agents/qc-specialist-2.md +62 -0
- package/agents/qc-specialist-3.md +62 -0
- package/agents/qc-specialist.md +62 -0
- package/agents/writing-specialist.md +35 -0
- package/assets/icon.png +0 -0
- package/assets/logo-dark.png +0 -0
- package/assets/logo-dark.svg +6 -0
- package/assets/logo.png +0 -0
- package/assets/logo.svg +6 -0
- package/commands/amazing-pr-review.md +31 -0
- package/commands/codebase-audit.md +40 -0
- package/commands/iteration-drive.md +48 -0
- package/commands/iteration-loop.md +99 -0
- package/commands/iteration-start.md +122 -0
- package/dist/hooks/pre/mstar-gates.js +6579 -0
- package/dist/tools/mstar_dispatch_validate/index.js +6291 -0
- package/dist/tools/mstar_iteration_gate/index.js +6321 -0
- package/dist/tools/mstar_lease_verify/index.js +6343 -0
- package/dist/tools/mstar_path_resolve/index.js +6297 -0
- package/dist/tools/mstar_status_validate/index.js +6402 -0
- package/dist/tools/mstar_worktree_check/index.js +6343 -0
- package/harness-agents/architect.md +35 -0
- package/harness-agents/code-reviewer.md +90 -0
- package/harness-agents/frontend-dev.md +33 -0
- package/harness-agents/fullstack-dev-2.md +33 -0
- package/harness-agents/fullstack-dev.md +33 -0
- package/harness-agents/ops-engineer.md +33 -0
- package/harness-agents/product-manager.md +35 -0
- package/harness-agents/project-manager.md +32 -0
- package/harness-agents/prompt-engineer.md +33 -0
- package/harness-agents/qa-engineer.md +35 -0
- package/harness-agents/qc-specialist-2.md +62 -0
- package/harness-agents/qc-specialist-3.md +62 -0
- package/harness-agents/qc-specialist.md +62 -0
- package/harness-agents/writing-specialist.md +35 -0
- package/harness-commands/amazing-pr-review.md +31 -0
- package/harness-commands/codebase-audit.md +40 -0
- package/harness-commands/iteration-drive.md +48 -0
- package/harness-commands/iteration-loop.md +99 -0
- package/harness-commands/iteration-start.md +122 -0
- package/harness-skills/grill-me/SKILL.md +10 -0
- package/harness-skills/mstar-artifacts/SKILL.md +66 -0
- package/harness-skills/mstar-artifacts/references/knowledge-and-designs.md +110 -0
- package/harness-skills/mstar-artifacts/references/plan-files-and-reports.md +98 -0
- package/harness-skills/mstar-artifacts/references/plan-quality-bar.md +99 -0
- package/harness-skills/mstar-artifacts/references/status-and-residuals.md +472 -0
- package/harness-skills/mstar-artifacts/templates/README.md +7 -0
- package/harness-skills/mstar-artifacts/templates/plan.main.md +54 -0
- package/harness-skills/mstar-artifacts/templates/status.empty.json +5 -0
- package/harness-skills/mstar-audit/SKILL.md +151 -0
- package/harness-skills/mstar-audit/references/audit-playbook.md +175 -0
- package/harness-skills/mstar-audit/references/codebase-audit.md +103 -0
- package/harness-skills/mstar-audit/references/finding-format.md +69 -0
- package/harness-skills/mstar-audit/references/pr-review-seat-evidence.md +28 -0
- package/harness-skills/mstar-audit/references/pr-review.md +475 -0
- package/harness-skills/mstar-audit/references/security-review.md +219 -0
- package/harness-skills/mstar-branch-worktree/SKILL.md +236 -0
- package/harness-skills/mstar-branch-worktree/references/parallel-writable-pre-dispatch.md +68 -0
- package/harness-skills/mstar-coding-behavior/SKILL.md +167 -0
- package/harness-skills/mstar-compound/SKILL.md +109 -0
- package/harness-skills/mstar-compound/assets/resolution-template.md +94 -0
- package/harness-skills/mstar-compound/references/category-mapping.md +37 -0
- package/harness-skills/mstar-compound/references/compound-workflow.md +171 -0
- package/harness-skills/mstar-compound/references/concepts-vocabulary.md +44 -0
- package/harness-skills/mstar-compound/references/schema.yaml +122 -0
- package/harness-skills/mstar-compound-refresh/SKILL.md +154 -0
- package/harness-skills/mstar-compound-refresh/references/project-knowledge-bootstrap.md +164 -0
- package/harness-skills/mstar-conventions/SKILL.md +215 -0
- package/harness-skills/mstar-conventions/references/artifact-storage-paths.md +53 -0
- package/harness-skills/mstar-conventions/references/effort-estimation.md +38 -0
- package/harness-skills/mstar-conventions/references/harness-bootstrap-and-agents-layering.md +96 -0
- package/harness-skills/mstar-design-md/SKILL.md +142 -0
- package/harness-skills/mstar-design-md/references/completeness-checklist.md +181 -0
- package/harness-skills/mstar-design-md/references/design-md-spec.md +508 -0
- package/harness-skills/mstar-design-md/references/vercel-example.md +200 -0
- package/harness-skills/mstar-design-md/templates/DESIGN.dark.md.template +354 -0
- package/harness-skills/mstar-design-md/templates/DESIGN.md.template +474 -0
- package/harness-skills/mstar-dispatch-gates/SKILL.md +134 -0
- package/harness-skills/mstar-dispatch-gates/references/leaf-executor-checklist.md +23 -0
- package/harness-skills/mstar-engine-legacy/SKILL.md +53 -0
- package/harness-skills/mstar-engine-legacy/references/anti-recursion-checklists.md +58 -0
- package/harness-skills/mstar-engine-legacy/references/engine-check-boilerplate.md +26 -0
- package/harness-skills/mstar-engine-legacy/references/lease-protocol.md +92 -0
- package/harness-skills/mstar-engine-legacy/references/qc-seat-n-restatements.md +57 -0
- package/harness-skills/mstar-engine-legacy/references/status-field-history.md +186 -0
- package/harness-skills/mstar-harness-core/SKILL.md +196 -0
- package/harness-skills/mstar-host/SKILL.md +96 -0
- package/harness-skills/mstar-host/references/_shared/host-role-binding-core.md +51 -0
- package/harness-skills/mstar-host/references/_shared/plan-mode-bridge-core.md +91 -0
- package/harness-skills/mstar-host/references/codex.md +61 -0
- package/harness-skills/mstar-host/references/cursor-plan-mode-bridge.md +170 -0
- package/harness-skills/mstar-host/references/cursor.md +183 -0
- package/harness-skills/mstar-host/references/dsh.md +507 -0
- package/harness-skills/mstar-host/references/kimi-plan-mode-bridge.md +36 -0
- package/harness-skills/mstar-host/references/kimi.md +136 -0
- package/harness-skills/mstar-host/references/omp-plan-mode-bridge.md +32 -0
- package/harness-skills/mstar-host/references/omp.md +245 -0
- package/harness-skills/mstar-host/references/opencode.md +76 -0
- package/harness-skills/mstar-host/references/parallel-dispatch.md +68 -0
- package/harness-skills/mstar-host/references/zcode-plan-mode-bridge.md +36 -0
- package/harness-skills/mstar-host/references/zcode.md +129 -0
- package/harness-skills/mstar-iteration/SKILL.md +408 -0
- package/harness-skills/mstar-iteration/references/autonomous-direction-lock.md +90 -0
- package/harness-skills/mstar-iteration/references/command-shared-invariants.md +62 -0
- package/harness-skills/mstar-iteration/references/iteration-artifact-boundaries.md +103 -0
- package/harness-skills/mstar-iteration/references/iteration-compass-template.md +142 -0
- package/harness-skills/mstar-iteration/references/iteration-corpus-hygiene.md +45 -0
- package/harness-skills/mstar-iteration/references/iteration-workspace-readme-template.md +27 -0
- package/harness-skills/mstar-iteration/references/phase-2-worktree-lease.md +205 -0
- package/harness-skills/mstar-iteration/references/phase-3-iteration-close.md +105 -0
- package/harness-skills/mstar-iteration/references/phase-4-5-pr-delivery.md +85 -0
- package/harness-skills/mstar-iteration/references/phase5-helper-discovery.md +24 -0
- package/harness-skills/mstar-phase-gates/SKILL.md +118 -0
- package/harness-skills/mstar-project-governance/SKILL.md +119 -0
- package/harness-skills/mstar-review-qc/SKILL.md +76 -0
- package/harness-skills/mstar-review-qc/references/review-responsibility-boundaries.md +54 -0
- package/harness-skills/mstar-roles/SKILL.md +103 -0
- package/harness-skills/mstar-roles/references/_shared/leaf-executor-core.md +65 -0
- package/harness-skills/mstar-roles/references/architect.md +109 -0
- package/harness-skills/mstar-roles/references/code-reviewer.md +118 -0
- package/harness-skills/mstar-roles/references/frontend-dev.md +70 -0
- package/harness-skills/mstar-roles/references/fullstack-dev-shared.md +89 -0
- package/harness-skills/mstar-roles/references/ops-engineer.md +72 -0
- package/harness-skills/mstar-roles/references/product-manager.md +102 -0
- package/harness-skills/mstar-roles/references/project-manager/dispatch-and-assignment.md +200 -0
- package/harness-skills/mstar-roles/references/project-manager/plan-management.md +59 -0
- package/harness-skills/mstar-roles/references/project-manager/qa-trigger-matrix.md +56 -0
- package/harness-skills/mstar-roles/references/project-manager/qc-and-residuals.md +99 -0
- package/harness-skills/mstar-roles/references/project-manager/routing-and-dev-allocation.md +99 -0
- package/harness-skills/mstar-roles/references/project-manager.md +310 -0
- package/harness-skills/mstar-roles/references/prompt-engineer.md +65 -0
- package/harness-skills/mstar-roles/references/qa-engineer/acceptance-gate.md +62 -0
- package/harness-skills/mstar-roles/references/qa-engineer.md +71 -0
- package/harness-skills/mstar-roles/references/qc-specialist/deep-review-lenses.md +104 -0
- package/harness-skills/mstar-roles/references/qc-specialist/report-template.md +88 -0
- package/harness-skills/mstar-roles/references/qc-specialist/reviewer-checklist.md +44 -0
- package/harness-skills/mstar-roles/references/qc-specialist/reviewer-workflow.md +57 -0
- package/harness-skills/mstar-roles/references/qc-specialist-shared.md +120 -0
- package/harness-skills/mstar-roles/references/writing-specialist.md +88 -0
- package/harness-skills/mstar-sdd/SKILL.md +137 -0
- package/harness-skills/mstar-sdd/references/file-handoffs.md +85 -0
- package/harness-skills/mstar-sdd/references/implementer-continuation-prompt.md +44 -0
- package/harness-skills/mstar-sdd/references/implementer-prompt.md +56 -0
- package/harness-skills/mstar-sdd/references/sticky-implementer-session.md +103 -0
- package/harness-skills/mstar-sdd/references/task-reviewer-prompt.md +53 -0
- package/harness-skills/mstar-skill-authoring/SKILL.md +182 -0
- package/harness-skills/mstar-skill-authoring/references/regression-fixation.md +46 -0
- package/harness-skills/mstar-skill-authoring/references/skillsbench-authoring.md +154 -0
- package/harness-skills/mstar-strategy/SKILL.md +114 -0
- package/harness-skills/pm/SKILL.md +40 -0
- package/hooks/pre/mstar-gates.js +6579 -0
- package/package.json +45 -0
- package/plugin.json +49 -0
- package/skills/grill-me/SKILL.md +10 -0
- package/skills/mstar-artifacts/SKILL.md +66 -0
- package/skills/mstar-artifacts/references/knowledge-and-designs.md +110 -0
- package/skills/mstar-artifacts/references/plan-files-and-reports.md +98 -0
- package/skills/mstar-artifacts/references/plan-quality-bar.md +99 -0
- package/skills/mstar-artifacts/references/status-and-residuals.md +472 -0
- package/skills/mstar-artifacts/templates/README.md +7 -0
- package/skills/mstar-artifacts/templates/plan.main.md +54 -0
- package/skills/mstar-artifacts/templates/status.empty.json +5 -0
- package/skills/mstar-audit/SKILL.md +151 -0
- package/skills/mstar-audit/references/audit-playbook.md +175 -0
- package/skills/mstar-audit/references/codebase-audit.md +103 -0
- package/skills/mstar-audit/references/finding-format.md +69 -0
- package/skills/mstar-audit/references/pr-review-seat-evidence.md +28 -0
- package/skills/mstar-audit/references/pr-review.md +475 -0
- package/skills/mstar-audit/references/security-review.md +219 -0
- package/skills/mstar-branch-worktree/SKILL.md +236 -0
- package/skills/mstar-branch-worktree/references/parallel-writable-pre-dispatch.md +68 -0
- package/skills/mstar-coding-behavior/SKILL.md +167 -0
- package/skills/mstar-compound/SKILL.md +109 -0
- package/skills/mstar-compound/assets/resolution-template.md +94 -0
- package/skills/mstar-compound/references/category-mapping.md +37 -0
- package/skills/mstar-compound/references/compound-workflow.md +171 -0
- package/skills/mstar-compound/references/concepts-vocabulary.md +44 -0
- package/skills/mstar-compound/references/schema.yaml +122 -0
- package/skills/mstar-compound-refresh/SKILL.md +154 -0
- package/skills/mstar-compound-refresh/references/project-knowledge-bootstrap.md +164 -0
- package/skills/mstar-conventions/SKILL.md +215 -0
- package/skills/mstar-conventions/references/artifact-storage-paths.md +53 -0
- package/skills/mstar-conventions/references/effort-estimation.md +38 -0
- package/skills/mstar-conventions/references/harness-bootstrap-and-agents-layering.md +96 -0
- package/skills/mstar-design-md/SKILL.md +142 -0
- package/skills/mstar-design-md/references/completeness-checklist.md +181 -0
- package/skills/mstar-design-md/references/design-md-spec.md +508 -0
- package/skills/mstar-design-md/references/vercel-example.md +200 -0
- package/skills/mstar-design-md/templates/DESIGN.dark.md.template +354 -0
- package/skills/mstar-design-md/templates/DESIGN.md.template +474 -0
- package/skills/mstar-dispatch-gates/SKILL.md +134 -0
- package/skills/mstar-dispatch-gates/references/leaf-executor-checklist.md +23 -0
- package/skills/mstar-engine-legacy/SKILL.md +53 -0
- package/skills/mstar-engine-legacy/references/anti-recursion-checklists.md +58 -0
- package/skills/mstar-engine-legacy/references/engine-check-boilerplate.md +26 -0
- package/skills/mstar-engine-legacy/references/lease-protocol.md +92 -0
- package/skills/mstar-engine-legacy/references/qc-seat-n-restatements.md +57 -0
- package/skills/mstar-engine-legacy/references/status-field-history.md +186 -0
- package/skills/mstar-harness-core/SKILL.md +196 -0
- package/skills/mstar-host/SKILL.md +96 -0
- package/skills/mstar-host/references/_shared/host-role-binding-core.md +51 -0
- package/skills/mstar-host/references/_shared/plan-mode-bridge-core.md +91 -0
- package/skills/mstar-host/references/codex.md +61 -0
- package/skills/mstar-host/references/cursor-plan-mode-bridge.md +170 -0
- package/skills/mstar-host/references/cursor.md +183 -0
- package/skills/mstar-host/references/dsh.md +507 -0
- package/skills/mstar-host/references/kimi-plan-mode-bridge.md +36 -0
- package/skills/mstar-host/references/kimi.md +136 -0
- package/skills/mstar-host/references/omp-plan-mode-bridge.md +32 -0
- package/skills/mstar-host/references/omp.md +245 -0
- package/skills/mstar-host/references/opencode.md +76 -0
- package/skills/mstar-host/references/parallel-dispatch.md +68 -0
- package/skills/mstar-host/references/zcode-plan-mode-bridge.md +36 -0
- package/skills/mstar-host/references/zcode.md +129 -0
- package/skills/mstar-iteration/SKILL.md +408 -0
- package/skills/mstar-iteration/references/autonomous-direction-lock.md +90 -0
- package/skills/mstar-iteration/references/command-shared-invariants.md +62 -0
- package/skills/mstar-iteration/references/iteration-artifact-boundaries.md +103 -0
- package/skills/mstar-iteration/references/iteration-compass-template.md +142 -0
- package/skills/mstar-iteration/references/iteration-corpus-hygiene.md +45 -0
- package/skills/mstar-iteration/references/iteration-workspace-readme-template.md +27 -0
- package/skills/mstar-iteration/references/phase-2-worktree-lease.md +205 -0
- package/skills/mstar-iteration/references/phase-3-iteration-close.md +105 -0
- package/skills/mstar-iteration/references/phase-4-5-pr-delivery.md +85 -0
- package/skills/mstar-iteration/references/phase5-helper-discovery.md +24 -0
- package/skills/mstar-phase-gates/SKILL.md +118 -0
- package/skills/mstar-project-governance/SKILL.md +119 -0
- package/skills/mstar-review-qc/SKILL.md +76 -0
- package/skills/mstar-review-qc/references/review-responsibility-boundaries.md +54 -0
- package/skills/mstar-roles/SKILL.md +103 -0
- package/skills/mstar-roles/references/_shared/leaf-executor-core.md +65 -0
- package/skills/mstar-roles/references/architect.md +109 -0
- package/skills/mstar-roles/references/code-reviewer.md +118 -0
- package/skills/mstar-roles/references/frontend-dev.md +70 -0
- package/skills/mstar-roles/references/fullstack-dev-shared.md +89 -0
- package/skills/mstar-roles/references/ops-engineer.md +72 -0
- package/skills/mstar-roles/references/product-manager.md +102 -0
- package/skills/mstar-roles/references/project-manager/dispatch-and-assignment.md +200 -0
- package/skills/mstar-roles/references/project-manager/plan-management.md +59 -0
- package/skills/mstar-roles/references/project-manager/qa-trigger-matrix.md +56 -0
- package/skills/mstar-roles/references/project-manager/qc-and-residuals.md +99 -0
- package/skills/mstar-roles/references/project-manager/routing-and-dev-allocation.md +99 -0
- package/skills/mstar-roles/references/project-manager.md +310 -0
- package/skills/mstar-roles/references/prompt-engineer.md +65 -0
- package/skills/mstar-roles/references/qa-engineer/acceptance-gate.md +62 -0
- package/skills/mstar-roles/references/qa-engineer.md +71 -0
- package/skills/mstar-roles/references/qc-specialist/deep-review-lenses.md +104 -0
- package/skills/mstar-roles/references/qc-specialist/report-template.md +88 -0
- package/skills/mstar-roles/references/qc-specialist/reviewer-checklist.md +44 -0
- package/skills/mstar-roles/references/qc-specialist/reviewer-workflow.md +57 -0
- package/skills/mstar-roles/references/qc-specialist-shared.md +120 -0
- package/skills/mstar-roles/references/writing-specialist.md +88 -0
- package/skills/mstar-sdd/SKILL.md +137 -0
- package/skills/mstar-sdd/references/file-handoffs.md +85 -0
- package/skills/mstar-sdd/references/implementer-continuation-prompt.md +44 -0
- package/skills/mstar-sdd/references/implementer-prompt.md +56 -0
- package/skills/mstar-sdd/references/sticky-implementer-session.md +103 -0
- package/skills/mstar-sdd/references/task-reviewer-prompt.md +53 -0
- package/skills/mstar-skill-authoring/SKILL.md +182 -0
- package/skills/mstar-skill-authoring/references/regression-fixation.md +46 -0
- package/skills/mstar-skill-authoring/references/skillsbench-authoring.md +154 -0
- package/skills/mstar-strategy/SKILL.md +114 -0
- package/skills/pm/SKILL.md +40 -0
- package/tools/mstar_dispatch_validate.js +6291 -0
- package/tools/mstar_iteration_gate.js +6321 -0
- package/tools/mstar_lease_verify.js +6343 -0
- package/tools/mstar_path_resolve.js +6297 -0
- package/tools/mstar_status_validate.js +6402 -0
- package/tools/mstar_worktree_check.js +6343 -0
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# @mstar-harness/omp
|
|
2
|
+
|
|
3
|
+
Morning Star (启明星) harness plugin for [omp (Oh My Pi)](https://omp.sh).
|
|
4
|
+
|
|
5
|
+
Install this package with `omp plugin install` — it bundles the engine **inline** (zero runtime `@mstar-harness/engine` dependency), plus `mstar-*` skills, role agents, iteration commands, and the omp runtime gates (status/dispatch/lease validation), so multi-role workflows (PM routing, SDD implement, QC tri-review, iteration lifecycle) work the same way as in the OpenCode, Cursor, and Codex plugins.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
omp plugin install @mstar-harness/omp
|
|
11
|
+
# project scope:
|
|
12
|
+
omp plugin install @mstar-harness/omp --scope project
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Restart / new session to pick up skills, commands, and agents.
|
|
16
|
+
|
|
17
|
+
Or use the installer CLI:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx @mstar-harness/cli init --target omp
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Maintainers / local checkouts: `omp plugin link /path/to/mstar-harness/packages/omp` — the linked package tree needs a local build first (`bun install && bun run engine:build && bun run --cwd packages/omp build`; the linked tree resolves the engine via the workspace member, whose `dist/` is gitignored). Linking the repo root no longer provides the runtime gates — hooks/tools moved into this package.
|
|
24
|
+
|
|
25
|
+
## What you get
|
|
26
|
+
|
|
27
|
+
| Path in package | Contents |
|
|
28
|
+
|-----------------|----------|
|
|
29
|
+
| `hooks/pre/mstar-gates.js` | `tool_call` pre-hook — blocking enforcement gate for harness coordination-document writes and task dispatches |
|
|
30
|
+
| `tools/mstar_*.js` | Six model-callable validator tools (`mstar_status_validate`, `mstar_dispatch_validate`, `mstar_lease_verify`, `mstar_path_resolve`, `mstar_iteration_gate`, `mstar_worktree_check`) |
|
|
31
|
+
| `skills/` | `mstar-harness-core`, `mstar-iteration`, `mstar-sdd`, roles, phase/dispatch gates, … |
|
|
32
|
+
| `commands/` | `/iteration-start`, `/iteration-drive`, `/iteration-loop`, `/codebase-audit`, `/amazing-pr-review` |
|
|
33
|
+
| `agents/` | Role shells (`project-manager`, `fullstack-dev`, `qc-specialist`, …) |
|
|
34
|
+
|
|
35
|
+
The engine is **bundled inline** into every hook/tool bundle at build time — the installed package has no runtime `@mstar-harness/engine` resolution, so module link can never fail on a missing package.
|
|
36
|
+
|
|
37
|
+
## Quick start
|
|
38
|
+
|
|
39
|
+
1. Install the plugin (above).
|
|
40
|
+
2. In omp, enter PM with `/skill:pm`.
|
|
41
|
+
3. For a full iteration: run **`/iteration-start`** (Phase 1 grill-me → auto-continues Phase 2→5; add `pause` to stop after Phase 1), or one-shot **`/iteration-loop`** (autonomous Phase 1→5). Use **`/iteration-drive`** to resume an interrupted iteration.
|
|
42
|
+
|
|
43
|
+
Entry skill: **`mstar-harness-core`** (loaded before other `mstar-*` skills).
|
|
44
|
+
|
|
45
|
+
## Docs
|
|
46
|
+
|
|
47
|
+
- [Monorepo README](https://github.com/btspoony/mstar-harness#readme) — cross-host overview
|
|
48
|
+
- Host adapter: `mstar-host` → `references/omp.md` (`skill://mstar-host/references/omp.md`)
|
|
49
|
+
|
|
50
|
+
## Development (this monorepo)
|
|
51
|
+
|
|
52
|
+
From the repository root:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
bun install
|
|
56
|
+
bun run omp:build # bundle-assets + dist bundles + root discovery mirrors
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Plugin sources: `packages/omp/src/hooks/pre/mstar-gates.ts` + `packages/omp/src/tools/mstar_*/index.ts` (moved here from the repo root 2026-09-03).
|
|
60
|
+
|
|
61
|
+
## License
|
|
62
|
+
|
|
63
|
+
MIT — see [LICENSE](https://github.com/btspoony/mstar-harness/blob/main/LICENSE).
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: architect
|
|
3
|
+
description: |-
|
|
4
|
+
技术架构师 - 系统设计、技术决策与技术向文档编写(架构说明、ADR、接口契约等)。
|
|
5
|
+
Architect - system design, technical decisions, and technical documentation (architecture notes, ADRs, interface contracts).
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
bash:
|
|
13
|
+
"*": allow
|
|
14
|
+
task:
|
|
15
|
+
"*": deny
|
|
16
|
+
explore: allow
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Morning Star Role Binding
|
|
20
|
+
|
|
21
|
+
You are `architect`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
22
|
+
|
|
23
|
+
- Skill: `mstar-roles` skill
|
|
24
|
+
- Role reference: `references/architect.md` in the `mstar-roles` skill
|
|
25
|
+
- Role parameters: `role_id=architect`, `mode=subagent`
|
|
26
|
+
|
|
27
|
+
## Mandatory First Steps
|
|
28
|
+
|
|
29
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
30
|
+
|
|
31
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
32
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
33
|
+
3. `Read` → `references/architect.md` listed above
|
|
34
|
+
|
|
35
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-reviewer
|
|
3
|
+
description: |-
|
|
4
|
+
代码审查员 - SDD 任务级审查(L2)+ 代码库审计执行(audit)。只读席位:不实现、不修代码、不占 QC 席。
|
|
5
|
+
Code Reviewer - SDD per-task review (L2) + codebase audit execution (audit). Read-only seat: does not implement, fix, or occupy a QC seat.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{SDD_DIR}` review roots
|
|
13
|
+
# and `{PLAN_DIR}` audit plan roots (`.md`-only mirrors the qc-specialist minimal-permission style).
|
|
14
|
+
edit:
|
|
15
|
+
"*": deny
|
|
16
|
+
".mstar/sdd/*.md": allow
|
|
17
|
+
".mstar/sdd/**/*.md": allow
|
|
18
|
+
".agents/sdd/*.md": allow
|
|
19
|
+
".agents/sdd/**/*.md": allow
|
|
20
|
+
".worktrees/**/.mstar/sdd/*.md": allow
|
|
21
|
+
".worktrees/**/.mstar/sdd/**/*.md": allow
|
|
22
|
+
".worktrees/**/.agents/sdd/*.md": allow
|
|
23
|
+
".worktrees/**/.agents/sdd/**/*.md": allow
|
|
24
|
+
".mstar/plans/*.md": allow
|
|
25
|
+
".mstar/plans/**/*.md": allow
|
|
26
|
+
".agents/plans/*.md": allow
|
|
27
|
+
".agents/plans/**/*.md": allow
|
|
28
|
+
".worktrees/**/.mstar/plans/*.md": allow
|
|
29
|
+
".worktrees/**/.mstar/plans/**/*.md": allow
|
|
30
|
+
".worktrees/**/.agents/plans/*.md": allow
|
|
31
|
+
".worktrees/**/.agents/plans/**/*.md": allow
|
|
32
|
+
bash:
|
|
33
|
+
"*": deny
|
|
34
|
+
# Git inspection (read-only) — L2 diff review + audit recon; no test/build/lint CLIs
|
|
35
|
+
"git diff*": allow
|
|
36
|
+
"git log*": allow
|
|
37
|
+
"git show*": allow
|
|
38
|
+
"git blame*": allow
|
|
39
|
+
"git shortlog*": allow
|
|
40
|
+
"git stash list*": allow
|
|
41
|
+
"git branch --show-current*": allow
|
|
42
|
+
"git branch -a": allow
|
|
43
|
+
"git branch --list*": allow
|
|
44
|
+
"git branch -r": allow
|
|
45
|
+
"git status*": allow
|
|
46
|
+
"git rev-parse*": allow
|
|
47
|
+
# Lightweight read-only analysis
|
|
48
|
+
"wc*": allow
|
|
49
|
+
"rg*": allow
|
|
50
|
+
"cloc*": allow
|
|
51
|
+
"scc*": allow
|
|
52
|
+
"tokei*": allow
|
|
53
|
+
# Audit read-only checks (matches mstar-audit Hard Rule 2)
|
|
54
|
+
# Deny mutating variants before the exact read-only allows
|
|
55
|
+
"npm audit fix*": deny
|
|
56
|
+
"pnpm audit fix*": deny
|
|
57
|
+
"tsc --noEmit false*": deny
|
|
58
|
+
"tsc --noEmit=*": deny
|
|
59
|
+
"tsc --noEmit": allow
|
|
60
|
+
"tsc --noEmit --*": allow
|
|
61
|
+
"npm audit": allow
|
|
62
|
+
"npm audit --json": allow
|
|
63
|
+
"pnpm audit": allow
|
|
64
|
+
"pnpm audit --json": allow
|
|
65
|
+
# Audit-mode commands are intentionally always-on (host shells cannot mode-gate);
|
|
66
|
+
# Mode A NEVER rules (no test/build execution) still apply.
|
|
67
|
+
task:
|
|
68
|
+
"*": deny
|
|
69
|
+
# Audit mode only, with Assignment `Delegation: allowed (scout/explore only, read-only)`
|
|
70
|
+
explore: allow
|
|
71
|
+
scout: allow
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Morning Star Role Binding
|
|
75
|
+
|
|
76
|
+
You are `code-reviewer`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
77
|
+
|
|
78
|
+
- Skill: `mstar-roles` skill
|
|
79
|
+
- Role reference: `references/code-reviewer.md` in the `mstar-roles` skill
|
|
80
|
+
- Role parameters: `role_id=code-reviewer`, `mode=subagent`
|
|
81
|
+
|
|
82
|
+
## Mandatory First Steps
|
|
83
|
+
|
|
84
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
85
|
+
|
|
86
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
87
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
88
|
+
3. `Read` → `references/code-reviewer.md` listed above
|
|
89
|
+
|
|
90
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend-dev
|
|
3
|
+
description: |-
|
|
4
|
+
前端开发工程师 - 页面/组件/交互/a11y/前端性能。全栈功能里默认前端主责(与 `@fullstack-dev` 分轨);纯 UI 任务首选本角色。
|
|
5
|
+
Frontend Developer - pages/components/interactions/accessibility/frontend performance. This is the default frontend owner in fullstack work (split with `@fullstack-dev`) and the preferred role for pure UI tasks.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
task:
|
|
13
|
+
"*": deny
|
|
14
|
+
explore: allow
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Morning Star Role Binding
|
|
18
|
+
|
|
19
|
+
You are `frontend-dev`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
20
|
+
|
|
21
|
+
- Skill: `mstar-roles` skill
|
|
22
|
+
- Role reference: `references/frontend-dev.md` in the `mstar-roles` skill
|
|
23
|
+
- Role parameters: `role_id=frontend-dev`, `track=frontend_primary`
|
|
24
|
+
|
|
25
|
+
## Mandatory First Steps
|
|
26
|
+
|
|
27
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
28
|
+
|
|
29
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
30
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
31
|
+
3. `Read` → `references/frontend-dev.md` listed above
|
|
32
|
+
|
|
33
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fullstack-dev-2
|
|
3
|
+
description: |-
|
|
4
|
+
全栈开发工程师 - 与 `@fullstack-dev` 并行的第二实现轨(独立模块/API/页面岛)。PM 在 tasks 可并行或加速时指派;须写明模块边界与分支,勿当作闲置备用。
|
|
5
|
+
Fullstack Developer (Track 2) - the second implementation track parallel to `@fullstack-dev` (independent modules/APIs/page islands). PM should assign this role when tasks can run in parallel or when acceleration is needed, with explicit module boundaries and branch ownership.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
task:
|
|
13
|
+
"*": deny
|
|
14
|
+
explore: allow
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Morning Star Role Binding
|
|
18
|
+
|
|
19
|
+
You are `fullstack-dev-2`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
20
|
+
|
|
21
|
+
- Skill: `mstar-roles` skill
|
|
22
|
+
- Role reference: `references/fullstack-dev-shared.md` in the `mstar-roles` skill
|
|
23
|
+
- Role parameters: `role_id=fullstack-dev-2`, `track=parallel_secondary`, `backend_led=true`
|
|
24
|
+
|
|
25
|
+
## Mandatory First Steps
|
|
26
|
+
|
|
27
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
28
|
+
|
|
29
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
30
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
31
|
+
3. `Read` → `references/fullstack-dev-shared.md` listed above
|
|
32
|
+
|
|
33
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fullstack-dev
|
|
3
|
+
description: |-
|
|
4
|
+
全栈开发工程师 - 后端主导的全栈实现(API/业务/数据层)。UI 重或新页面多时由 PM 拆给 `@frontend-dev`;第二并行实现轨用 `@fullstack-dev-2`。Hotfix/单流小改可一人完成。
|
|
5
|
+
Fullstack Developer - backend-led fullstack implementation (API/business/data). PM should split UI-heavy or new-page work to `@frontend-dev`, and use `@fullstack-dev-2` for the second parallel track. One developer can handle hotfixes or small single-stream updates.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
task:
|
|
13
|
+
"*": deny
|
|
14
|
+
explore: allow
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Morning Star Role Binding
|
|
18
|
+
|
|
19
|
+
You are `fullstack-dev`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
20
|
+
|
|
21
|
+
- Skill: `mstar-roles` skill
|
|
22
|
+
- Role reference: `references/fullstack-dev-shared.md` in the `mstar-roles` skill
|
|
23
|
+
- Role parameters: `role_id=fullstack-dev`, `track=primary`, `backend_led=true`
|
|
24
|
+
|
|
25
|
+
## Mandatory First Steps
|
|
26
|
+
|
|
27
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
28
|
+
|
|
29
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
30
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
31
|
+
3. `Read` → `references/fullstack-dev-shared.md` listed above
|
|
32
|
+
|
|
33
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ops-engineer
|
|
3
|
+
description: |-
|
|
4
|
+
运维工程师 - 部署、监控和基础设施。
|
|
5
|
+
Ops Engineer - deployment, monitoring, and infrastructure operations, including CI/CD and observability.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
task:
|
|
13
|
+
"*": deny
|
|
14
|
+
explore: allow
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Morning Star Role Binding
|
|
18
|
+
|
|
19
|
+
You are `ops-engineer`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
20
|
+
|
|
21
|
+
- Skill: `mstar-roles` skill
|
|
22
|
+
- Role reference: `references/ops-engineer.md` in the `mstar-roles` skill
|
|
23
|
+
- Role parameters: `role_id=ops-engineer`, `mode=subagent`
|
|
24
|
+
|
|
25
|
+
## Mandatory First Steps
|
|
26
|
+
|
|
27
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
28
|
+
|
|
29
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
30
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
31
|
+
3. `Read` → `references/ops-engineer.md` listed above
|
|
32
|
+
|
|
33
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: product-manager
|
|
3
|
+
description: |-
|
|
4
|
+
产品经理 - 需求分析、产品规划、市场/用户研究与产品向文档编写。
|
|
5
|
+
Product Manager - requirements analysis, product planning, market/user research, and product-facing documentation.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
bash:
|
|
13
|
+
"*": allow
|
|
14
|
+
task:
|
|
15
|
+
"*": deny
|
|
16
|
+
explore: allow
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Morning Star Role Binding
|
|
20
|
+
|
|
21
|
+
You are `product-manager`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
22
|
+
|
|
23
|
+
- Skill: `mstar-roles` skill
|
|
24
|
+
- Role reference: `references/product-manager.md` in the `mstar-roles` skill
|
|
25
|
+
- Role parameters: `role_id=product-manager`, `mode=subagent`
|
|
26
|
+
|
|
27
|
+
## Mandatory First Steps
|
|
28
|
+
|
|
29
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
30
|
+
|
|
31
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
32
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
33
|
+
3. `Read` → `references/product-manager.md` listed above
|
|
34
|
+
|
|
35
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-manager
|
|
3
|
+
description: |-
|
|
4
|
+
项目经理 - 协调开发团队,管理项目进度。
|
|
5
|
+
Project Manager - coordinate the team, track progress, and orchestrate execution across roles.
|
|
6
|
+
mode: primary
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
task:
|
|
13
|
+
"*": allow
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Morning Star Role Binding
|
|
17
|
+
|
|
18
|
+
You are `project-manager`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
19
|
+
|
|
20
|
+
- Skill: `mstar-roles` skill
|
|
21
|
+
- Role reference: `references/project-manager.md` in the `mstar-roles` skill
|
|
22
|
+
- Role parameters: `role_id=project-manager`, `mode=primary`
|
|
23
|
+
|
|
24
|
+
## Mandatory First Steps
|
|
25
|
+
|
|
26
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
27
|
+
|
|
28
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
29
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
30
|
+
3. `Read` → `references/project-manager.md` listed above
|
|
31
|
+
|
|
32
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: prompt-engineer
|
|
3
|
+
description: |-
|
|
4
|
+
提示词工程师 - 设计与优化 Agent 提示词与技能。
|
|
5
|
+
Prompt Engineer - design and optimize prompts and skills for agents, including refactoring and debugging prompt systems.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
task:
|
|
13
|
+
"*": deny
|
|
14
|
+
explore: allow
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Morning Star Role Binding
|
|
18
|
+
|
|
19
|
+
You are `prompt-engineer`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
20
|
+
|
|
21
|
+
- Skill: `mstar-roles` skill
|
|
22
|
+
- Role reference: `references/prompt-engineer.md` in the `mstar-roles` skill
|
|
23
|
+
- Role parameters: `role_id=prompt-engineer`, `mode=subagent`
|
|
24
|
+
|
|
25
|
+
## Mandatory First Steps
|
|
26
|
+
|
|
27
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
28
|
+
|
|
29
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
30
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
31
|
+
3. `Read` → `references/prompt-engineer.md` listed above
|
|
32
|
+
|
|
33
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-engineer
|
|
3
|
+
description: |-
|
|
4
|
+
测试工程师 - L4 验收席(分级派发):DoD 映射、residual 验证、report-only 调查。
|
|
5
|
+
QA Engineer - tiered L4 acceptance (DoD mapping, residual verify, report-only); dispatched when PM sets QA gate mandatory.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
bash:
|
|
13
|
+
"*": allow
|
|
14
|
+
task:
|
|
15
|
+
"*": deny
|
|
16
|
+
explore: allow
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Morning Star Role Binding
|
|
20
|
+
|
|
21
|
+
You are `qa-engineer`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
22
|
+
|
|
23
|
+
- Skill: `mstar-roles` skill
|
|
24
|
+
- Role reference: `references/qa-engineer.md` in the `mstar-roles` skill
|
|
25
|
+
- Role parameters: `role_id=qa-engineer`, `mode=subagent`
|
|
26
|
+
|
|
27
|
+
## Mandatory First Steps
|
|
28
|
+
|
|
29
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
30
|
+
|
|
31
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
32
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
33
|
+
3. `Read` → `references/qa-engineer.md` listed above
|
|
34
|
+
|
|
35
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qc-specialist-2
|
|
3
|
+
description: |-
|
|
4
|
+
质量控制专家(Reviewer #2)- 代码审查(diff / 逻辑 / 安全正确性)。非测试执行席。
|
|
5
|
+
Quality Control Specialist (Reviewer #2) - code review (diff, logic, security/correctness). Not a test runner.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{SDD_DIR}/review/` bundle roots.
|
|
13
|
+
edit:
|
|
14
|
+
"*": deny
|
|
15
|
+
".mstar/sdd/*.md": allow
|
|
16
|
+
".mstar/sdd/**/*.md": allow
|
|
17
|
+
".agents/sdd/*.md": allow
|
|
18
|
+
".agents/sdd/**/*.md": allow
|
|
19
|
+
".worktrees/**/.mstar/sdd/*.md": allow
|
|
20
|
+
".worktrees/**/.mstar/sdd/**/*.md": allow
|
|
21
|
+
".worktrees/**/.agents/sdd/*.md": allow
|
|
22
|
+
".worktrees/**/.agents/sdd/**/*.md": allow
|
|
23
|
+
bash:
|
|
24
|
+
"*": deny
|
|
25
|
+
# Git inspection (read-only) — L3 is diff review; no test/build/lint CLIs (peer QC share worktree)
|
|
26
|
+
"git diff*": allow
|
|
27
|
+
"git log*": allow
|
|
28
|
+
"git show*": allow
|
|
29
|
+
"git blame*": allow
|
|
30
|
+
"git shortlog*": allow
|
|
31
|
+
"git stash list*": allow
|
|
32
|
+
"git branch*": allow
|
|
33
|
+
"git status*": allow
|
|
34
|
+
"git rev-parse*": allow
|
|
35
|
+
# Lightweight read-only analysis
|
|
36
|
+
"wc*": allow
|
|
37
|
+
"rg*": allow
|
|
38
|
+
"cloc*": allow
|
|
39
|
+
"scc*": allow
|
|
40
|
+
"tokei*": allow
|
|
41
|
+
task:
|
|
42
|
+
"*": deny
|
|
43
|
+
explore: allow
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Morning Star Role Binding
|
|
47
|
+
|
|
48
|
+
You are `qc-specialist-2`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
49
|
+
|
|
50
|
+
- Skill: `mstar-roles` skill
|
|
51
|
+
- Role reference: `references/qc-specialist-shared.md` in the `mstar-roles` skill
|
|
52
|
+
- Role parameters: `role_id=qc-specialist-2`, `reviewer_index=2`, `focus=security_correctness`, `report_suffix=qc2`
|
|
53
|
+
|
|
54
|
+
## Mandatory First Steps
|
|
55
|
+
|
|
56
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
57
|
+
|
|
58
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
59
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
60
|
+
3. `Read` → `references/qc-specialist-shared.md` listed above
|
|
61
|
+
|
|
62
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qc-specialist-3
|
|
3
|
+
description: |-
|
|
4
|
+
质量控制专家(Reviewer #3)- 代码审查(diff / 逻辑 / 性能可靠性)。非测试执行席。
|
|
5
|
+
Quality Control Specialist (Reviewer #3) - code review (diff, logic, performance/reliability). Not a test runner.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{SDD_DIR}/review/` bundle roots.
|
|
13
|
+
edit:
|
|
14
|
+
"*": deny
|
|
15
|
+
".mstar/sdd/*.md": allow
|
|
16
|
+
".mstar/sdd/**/*.md": allow
|
|
17
|
+
".agents/sdd/*.md": allow
|
|
18
|
+
".agents/sdd/**/*.md": allow
|
|
19
|
+
".worktrees/**/.mstar/sdd/*.md": allow
|
|
20
|
+
".worktrees/**/.mstar/sdd/**/*.md": allow
|
|
21
|
+
".worktrees/**/.agents/sdd/*.md": allow
|
|
22
|
+
".worktrees/**/.agents/sdd/**/*.md": allow
|
|
23
|
+
bash:
|
|
24
|
+
"*": deny
|
|
25
|
+
# Git inspection (read-only) — L3 is diff review; no test/build/lint CLIs (peer QC share worktree)
|
|
26
|
+
"git diff*": allow
|
|
27
|
+
"git log*": allow
|
|
28
|
+
"git show*": allow
|
|
29
|
+
"git blame*": allow
|
|
30
|
+
"git shortlog*": allow
|
|
31
|
+
"git stash list*": allow
|
|
32
|
+
"git branch*": allow
|
|
33
|
+
"git status*": allow
|
|
34
|
+
"git rev-parse*": allow
|
|
35
|
+
# Lightweight read-only analysis
|
|
36
|
+
"wc*": allow
|
|
37
|
+
"rg*": allow
|
|
38
|
+
"cloc*": allow
|
|
39
|
+
"scc*": allow
|
|
40
|
+
"tokei*": allow
|
|
41
|
+
task:
|
|
42
|
+
"*": deny
|
|
43
|
+
explore: allow
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Morning Star Role Binding
|
|
47
|
+
|
|
48
|
+
You are `qc-specialist-3`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
49
|
+
|
|
50
|
+
- Skill: `mstar-roles` skill
|
|
51
|
+
- Role reference: `references/qc-specialist-shared.md` in the `mstar-roles` skill
|
|
52
|
+
- Role parameters: `role_id=qc-specialist-3`, `reviewer_index=3`, `focus=performance_reliability`, `report_suffix=qc3`
|
|
53
|
+
|
|
54
|
+
## Mandatory First Steps
|
|
55
|
+
|
|
56
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
57
|
+
|
|
58
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
59
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
60
|
+
3. `Read` → `references/qc-specialist-shared.md` listed above
|
|
61
|
+
|
|
62
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qc-specialist
|
|
3
|
+
description: |-
|
|
4
|
+
质量控制专家(Reviewer #1)- 代码审查(diff / 逻辑 / 架构可维护性)。非测试执行席。
|
|
5
|
+
Quality Control Specialist (Reviewer #1) - code review (diff, logic, maintainability). Not a test runner.
|
|
6
|
+
mode: subagent
|
|
7
|
+
tools:
|
|
8
|
+
write: true
|
|
9
|
+
edit: true
|
|
10
|
+
bash: true
|
|
11
|
+
permission:
|
|
12
|
+
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{SDD_DIR}/review/` bundle roots.
|
|
13
|
+
edit:
|
|
14
|
+
"*": deny
|
|
15
|
+
".mstar/sdd/*.md": allow
|
|
16
|
+
".mstar/sdd/**/*.md": allow
|
|
17
|
+
".agents/sdd/*.md": allow
|
|
18
|
+
".agents/sdd/**/*.md": allow
|
|
19
|
+
".worktrees/**/.mstar/sdd/*.md": allow
|
|
20
|
+
".worktrees/**/.mstar/sdd/**/*.md": allow
|
|
21
|
+
".worktrees/**/.agents/sdd/*.md": allow
|
|
22
|
+
".worktrees/**/.agents/sdd/**/*.md": allow
|
|
23
|
+
bash:
|
|
24
|
+
"*": deny
|
|
25
|
+
# Git inspection (read-only) — L3 is diff review; no test/build/lint CLIs (peer QC share worktree)
|
|
26
|
+
"git diff*": allow
|
|
27
|
+
"git log*": allow
|
|
28
|
+
"git show*": allow
|
|
29
|
+
"git blame*": allow
|
|
30
|
+
"git shortlog*": allow
|
|
31
|
+
"git stash list*": allow
|
|
32
|
+
"git branch*": allow
|
|
33
|
+
"git status*": allow
|
|
34
|
+
"git rev-parse*": allow
|
|
35
|
+
# Lightweight read-only analysis
|
|
36
|
+
"wc*": allow
|
|
37
|
+
"rg*": allow
|
|
38
|
+
"cloc*": allow
|
|
39
|
+
"scc*": allow
|
|
40
|
+
"tokei*": allow
|
|
41
|
+
task:
|
|
42
|
+
"*": deny
|
|
43
|
+
explore: allow
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Morning Star Role Binding
|
|
47
|
+
|
|
48
|
+
You are `qc-specialist`. The complete role prompt is provided by the `mstar-roles` skill.
|
|
49
|
+
|
|
50
|
+
- Skill: `mstar-roles` skill
|
|
51
|
+
- Role reference: `references/qc-specialist-shared.md` in the `mstar-roles` skill
|
|
52
|
+
- Role parameters: `role_id=qc-specialist`, `reviewer_index=1`, `focus=architecture_maintainability`, `report_suffix=qc1`
|
|
53
|
+
|
|
54
|
+
## Mandatory First Steps
|
|
55
|
+
|
|
56
|
+
This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
|
|
57
|
+
|
|
58
|
+
1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
|
|
59
|
+
2. `skill` → `mstar-roles` (role mapping & parameter table)
|
|
60
|
+
3. `Read` → `references/qc-specialist-shared.md` listed above
|
|
61
|
+
|
|
62
|
+
System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.
|