/morning-star-harness:mstar-branch-worktreefrom morning-star-harness
Enforces branch authorization, worktree isolation, and cleanup for multi-role Git workflows. Controls L1/L2 writable-task isolation, QC/PM checkout alignment, and guarded cleanup after merge.
Ships in morning-star-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read mstar-harness-core first. Spec naming → mstar-conventions; L1/L2 isolation and cleanup → the sections below.
main。working_branch: <existing> | working_branch: create <new> from <base> | branch_policy: direct on <branch> — <reason>。references/parallel-writable-pre-dispatch.md(含 git worktree、绝对 worktree_path;N 次并行 invoke ≠ 已隔离)。单 plan 多轨时 L1 不替代 L2。working_branch HEAD; QC and acceptance use text-identical review_cwd, plan_id, review_range / diff_basis and branch fields.适用于 cwd 为 Git 托管的业务/应用仓库 且本轮会产生仓库内可合并 diff 的任务(代码、业务向测试与 fixture、影响构建或运行时的配置等)。不用于约束 ~/.config/opencode/ 全局配置目录(该目录对 agent 只读;落盘仅由用户执行)。
main、master;以项目约定为准)上直接实现功能改动,除非 Assignment 含显式例外。branch_policy: direct on <branch> — <reason>(典型:团队约定的热修直接打默认分支)。write_domain: control)仅当 Assignment 只写控制根的 gitignored 过程目标(plans、assignments、sdd、iterations、workflows、projects、reviews、store.db)时声明 write_domain: control(取值 control | work;缺省 = work),并用 control_write_paths: [<path>, …] 列出实际要写的目标(绝对路径,或相对 worktree_path 解析;结尾的 / 显式声明目录,适用 Git 目录规则如 !.mstar/notes/;不带 / 的条目同时按文件与目录两条规则核验,两种形状都必须被忽略——任一形状会被提交即拒绝(dispatch.control-write.target-committable)。例:.mstar/** 下 .mstar/plans/run.md 两种形状都被忽略因而通过;.mstar/** + !.mstar/notes/ + !.mstar/notes/** 下 .mstar/notes 的文件路径被忽略、目录内容却仍会提交,因此被拒)。这类单子可写 worktree_path = 控制根、working_branch = 控制检出当前检出的分支(默认 main 的仓库即 main;main 只是示例,不是字面指令),豁免默认保护分支门禁;三种分支写法仍全部有效(working_branch: <existing> | create <new> from <base> | branch_policy: direct on <branch> — <reason>),声明值须与控制检出实际检出的分支一致。
引擎核验(mstar dispatch validate;同一个控制域写入 validator 也被宿主 dispatch 门禁复用):worktree_path(按 Assignment 所在目录解析后 realpath)等于控制根、声明的分支(三种写法任一,含 branch_policy: direct on <branch> — <reason>)等于控制根当前检出分支,且逐个探测声明的目标——结尾带 / 的目标只按目录核验,其余目标须在文件与目录两种形状下都被 Git 忽略(任一形状会被提交即拒),全部目标还须位于控制根内。核验的是真实声明目标而非整个 harness:仓库只忽略 .mstar/plans/ 时,声明 plans/ 下的目标即通过;声明被跟踪的目标(如 .agents/specs/…)被拒。拒绝码:dispatch.control-write.control-root-unresolved(从本仓库的检出运行)、dispatch.control-write.worktree-not-control、dispatch.control-write.branch-mismatch、dispatch.control-write.target-committable(该目标会被提交 ⇒ 改用工作分支/PR)、dispatch.control-write.target-outside-control、dispatch.control-write.target-unverifiable。字段层另有 assignment.field.write-domain-unknown、assignment.field.control-write-missing-worktree、assignment.field.control-write-missing-branch、assignment.field.control-write-paths-missing(control 域必须写 worktree_path、working_branch 与 control_write_paths)。同一个控制域写入 validator 也在共享宿主 dispatch 门禁(composeDispatchGate,OpenCode v2 / dsh / omp 的 hard enforcement)内运行:控制域文本只在控制根可解析且 worktree、分支、逐目标全部通过时放行——宿主无法靠声明该字段绕过硬门禁;控制根不可核验(无控制根、git 探测失败)一律保持拒绝并附修复路径,绝不静默放行。
<base> 与叠分支(stacked branches)main 开新分支」。<base>,例如:create feature/foo-part2 from feature/foo。<base> 可取:main / master(或项目默认分支名)、任意已存在的 feature/* / fix/*、远程跟踪分支名、或 current(表示以执行者检出时的 HEAD 为祖先,用于「就在当前分支上再拉一枝」)。working_branch: feature/foo且无「create … from …」:表示沿用 / 切到该已存在分支上开发,不要求新建。<base>:实现侧应停下问 project-manager(或按项目 AGENTS.md 的默认 base);禁止擅自假设「一定是 main」。working_branch (existing or create <new> from <base>) and preserve explicit user branch/base instructions (direct-call exception → § 唯一分支决策者).main / master; unresolved Assignment mismatch returns to PM (direct path: to the caller).project-manager 可以决定分支策略:
create <new-branch> from <base> 新开分支,或branch_policy: direct on <branch> — <reason>。direct · writable 入口点名的 View 由调用方声明上述三式之一,缺了就问一次、绝不代填默认值,PM 分支策略不适用;lead 路径不变。共享契约 → mstar-roles/references/_shared/leaf-executor-core.md § Direct invocation。在派发实现任务前,PM 必须先检查当前分支;若已在非默认开发分支(如 feature/*、fix/*),必须先与用户确认。
未获得用户明确确认前,PM 不得切回 main/master 并新开分支。
面向用户沟通时,使用以下结构:
当前检测到在分支:`<current-branch>`。
请确认本次任务是:
1) 继续在 `<<current-branch>>` 上开发
2) 新开分支:`<new-branch>`,基于 `<base-branch>`
未确认前,我不会切回 `main`/`master` 或新开分支。
每个可写 Assignment 的 front matter 必须且只能包含以下之一:
working_branch: <existing-branch>working_branch: create <new-branch> from <base>branch_policy: direct on <branch> — <reason>若是新开分支但缺少 <base>,必须暂停并向用户澄清,不能猜测。
控制域写入(只写控制根 gitignored harness)另须声明 write_domain: control,见「控制域写入」。
在首次写仓库或 commit 之前:
worktree_path,先 cd 到该目录,并通过 git rev-parse --show-toplevel 校验当前检出根目录与该路径一致;不一致则停下并回报 PM,不得写入。分支校验必须在该目录内进行,避免在 primary checkout 上校验分支而误报冲突。main/master 再重开分支流程。-c 覆盖身份 → mstar-roles/references/_shared/leaf-executor-core.md「Git NEVER (repo writes)」。可写角色在 Completion Report 中必须明确当前工作分支,例如:
Working branch used: <branch-name>worktree_path,还须明确实际使用的绝对检出路径:Worktree path used: <absolute>。Two complementary worktree isolation layers coexist. Do not conflate them with SDD review layers (L1–L4 in mstar-review-qc/references/review-responsibility-boundaries.md).
| Layer | Scope | When | Mechanism |
|---|---|---|---|
| L1 | Cross-plan (iteration Phase 2) | Ready rows implement concurrently | Main-worktree control root (process SSOT) + delivery worktree (delivery_worktree_path) + distinct feature worktrees from ordinary row source metadata; atomic coordination |
| L2 | Within-plan | Same plan_id, same business repo, ≥2 concurrent writable implement tracks | references/parallel-writable-pre-dispatch.md — distinct absolute worktree_path per track |
Stacking rules
Worktree mode: waived exception exists. Any single-plan wave with multiple writable tracks still satisfies L2; source metadata, not a per-row lease, supplies row checkout facts.delivery.head_ref, or the registered branch.base before the first accepted layer) remains serial (store.db execution_integration_leases) even when L1 feature implementation runs in parallel.The delivery checkout is established at Phase 2 entry; the bounded Phase 1 uncommitted-document exception does not switch main. Source metadata and direct completion procedure → mstar-iteration/references/phase-2-worktree-lease.md; field semantics → mstar-artifacts. No per-plan claim/bind protocol.
| Checkout | Checked-out branch | Path recorded | Writable role |
|---|---|---|---|
| Control root = the primary checkout (main worktree) | the plan's front matter main_worktree_branch (never a lifecycle-owned branch; never switched) | not a recorded state field — derived from Git (readMainWorktree); the branch is recorded once as main_worktree_branch: <branch> in the plan front matter | Forbidden for product edits — process-SSOT holder + Git-control cwd only |
| Delivery worktree | None — detached at the recorded delivery line (delivery.head_ref, else delivery.base_sha, else the registered branch.base commit) | delivery_worktree_path (ACTIVE store-backed workflow view) — canonical repository root (not {HARNESS_DIR}) | Sole merge cwd for serial delivery merges (store execution_integration_leases) + tracked-result commits (per-plan compound and Phase 3 specs/ADR promotion); no product-source edits — merge-ready fixes use a feature worktree |
| Feature worktree (per plan) | Plan's Working branch | Row metadata.worktree_path (ACTIVE plan view) | Required cwd for product/source edits |
Feature-worktree dependency readiness: a feature worktree may resolve shared dependencies (installed node_modules, another package's built dist) from another checkout — a false-green risk recorded in docs/knowledge/tooling-decisions/worktree-dependency-dist-isolation.md; before accepting plan evidence run the task's own module-resolution check (dependency presence in that checkout plus the consuming package's build/import), and no generic launch refusal is imposed, since it would reject legitimate git/node-only commands — this is the recorded explicit waiver of the probe-enforcement demand (I-000253).
Default process artifacts are gitignored (mstar-conventions「Git 跟踪策略」); git worktree add does not copy them into a new checkout. A worktree's .mstar/ is not categorically non-writable — writability is decided per domain. This is the sole three-domain statement in the skill corpus; other skills point here instead of restating it.
Process SSOT (gitignored: store.db, projects/, authored plans/, sdd/, iterations/, archived/; retired status.json / workflow snapshots / legacy session JSON have no reader or writer and are never imported) lives at the control root = the primary checkout (main worktree) and is never writable from a worktree: address it only through absolute control-root paths, and never bootstrap a second process-SSOT copy under any worktree. Tracked results (Git-following: {KNOWLEDGE_DIR}, {SPECS_DIR}, {HARNESS_DIR}/AGENTS.md, CONCEPTS.md) are readable from any worktree and written where the target branch is checked out (per-plan compound and Phase 3 specs/ADR promotion → the delivery worktree), then committed on that branch. Product source (repository code) is writable in the feature worktree on working_branch only.
Control harness root = <main-repo-root>/{HARNESS_DIR}/ — resolved from Git (the main worktree), never from a recorded state field. Discover it instead of guessing: mstar path resolve reports controlRoot / controlHarnessDir / linkedWorktree (resolution order → mstar-conventions/references/path-resolution.md § Harness root). A linked checkout without .mstar/ is not an uninitialized harness.
Hard rules
delivery_worktree_path (ACTIVE store-backed workflow view) MUST differ from the main worktree (control root) and from row metadata.worktree_path — never merge from the main checkout, never product-edit the delivery checkout.main_worktree_branch (recorded before the lifecycle writes; never invented from the current branch at check time) and must not be owned by any non-terminal workflow (delivery, plan or track). Never create a branch or switch main to make a residency check pass; branch.base is a creation/merge anchor, never a residency fact.{HARNESS_DIR} path is not the SSOT — never treat it as the source of plans/status/SDD, and never bootstrap a second process-SSOT copy there.Worktree mode: waived because “feature worktree has no plans” under default gitignore. Correct response: keep feature worktrees; route harness I/O through control absolute paths. Missing shared safe coordination authority → Plan parallelism: serial only — that is a separate gate and does not waive worktree isolation.Naming conventions (PM / ops; examples only — paths MUST be canonical absolute)
readMainWorktree); never a PM-designated alternative checkout, never a recorded state field; PM passes the recorded main_worktree_branch unchanged in writable Assignments.delivery_worktree_path (ACTIVE store-backed workflow view); sole merge cwd for the iteration.../<repo>.worktrees/, outside the checkout, per active plan_id (e.g. ../<repo>.worktrees/<plan-id>-<slug>). The root is <parent-of-repo-root>/{repo-basename}.worktrees/, where repo root is the realpath of the Git top-level. From that repo root, create with mkdir -p ../<repo>.worktrees && git worktree add ../<repo>.worktrees/<plan-id>-<slug> -b <branch>. This keeps linked checkouts out of the repository scan/edit surface. In-repo .worktrees/ remains a legal explicit override; registered absolute source and cleanup paths are location-agnostic. Assignment worktree_path / working_branch must match row metadata.worktree_path / metadata.working_branch and actual checkout facts; missing/corrected source scope uses ordinary prepare, never a holder or claim.references/parallel-writable-pre-dispatch.md), each with its own PM-approved working_branch.Engine check:
mstar worktree checkowns the engine-enforced checkout facts — workflow entry (--workflow <id> --entry: branch metadata, main residency, recorded delivery checkout exists detached at the recorded delivery line and clean, merge-lease state), per-plan L1 (--workflow <id> --plan <plan-id>: main residency; main/control, source-metadata and delivery checkouts pairwise distinct; actual branch alignment; plus the workflow's merge-lease fact) and L2 (--l2 --tracks <json>: parallel writable tracks). These are factual isolation checks scoped to that engine-enforced subset, not per-row session/lease/seal admission, and not clearance of the full pre-dispatch checklist.--control-cleanchecks the control root's tracked-change gate: run it before a writable dispatch and before compound/close commits — it refuses withworktree.main.tracked-changeswhile the main worktree carries committable changes, refuses every other selector (--plan, the plan-id argument,--workflow,--l2,--tracks,--entry,--main-branch,--control) instead of silently skipping it, and only--harnesscombines (it names the harness asked about). A control root that resolves no{HARNESS_DIR}(.mstarcharness_dir→.mstar/→.agents/→.plans//plans/) has no control-root contract and skips. Workflow-wide delivery merge exclusion and serial real merge proof remain distinct requirements. Onfail, do not proceed — fix and re-run. Contract →mstar-use-cli/references/checks-and-lints.md§ Engine check callouts.
首要场景是开发阶段(L2;迭代多 plan 时另见上文 L1):多条可写流 并发 改 同一仓库 时,用 worktree 做 写入侧目录隔离。派发前清单 → references/parallel-writable-pre-dispatch.md。下列规则针对该类开发并发;QC / PM Acceptance 阶段的检出约定见下一小节。
当 project-manager 在同一调度轮次内并发启动多个 subagent(含宿主侧「并行 Task / 并行 subagent」),且 ≥2 个承接方可能对 **同一 Git 仓库的同一工作区(同一 cwd 检出目录)**产生写文件或 git commit 级改动时:
git worktree,并按本 skill 的目录、分支和 QC/PM Acceptance 对齐规则执行。working_branch / branch_policy;在某一 worktree 内 不得擅自 checkout 到未授权分支或私自新建分支。worktree_path / 命名规则,或「由承接方创建/使用隔离 worktree 并在 Completion Report 回报路径」),避免多代理默认共享同一目录导致互相覆盖、冲突或半写入状态。branch_policy 与 plan 集成分支 / topic 分支关系(见下节 「默认编排」),并完成 reference 清单中的 worktree 步骤。串行不豁免:并发流全部为只读、或各写入者针对不同 Git 仓库根时不存在共享写入面;但写入串行(同一时刻仅一个代理持有该仓工作区)不豁免隔离——只要本轮存在对同一仓库工作区的可写改动,每条写流都使用独立检出目录(主 checkout 可能被链接的技能/命令消费者读取,任何生命周期分支都不得落到主 worktree)。worktree 默认的唯一豁免通道:本轮显式 Worktree mode: waived 与 Phase 1 Review & Edit 链的未提交文档例外(mstar-iteration §1.6 / §6)。
当多个可写 subagent 并发修改 同一仓库 时,不得共用同一检出目录作为写入 cwd。PM 在分派前应规划 worktree/checkout 隔离,并在各承接方 Assignment 中写明 working_branch / branch_policy 及 检出路径约定(或要求回报实际 worktree 路径)。单分支决策权仍仅属 PM;worktree 只解决「目录与工作区隔离」,不替代分支授权。
同仓、同一 plan、多可写并行轨:挂齐各轨 worktree 之前 先确认 plan 集成分支与各轨 topic 分支及 merge 靶;QC 前归并到单一 working_branch HEAD。分步见下节 「默认编排」。
QC and PM Acceptance share one feature scope: before review, PM records the integrated review_cwd / worktree_path, working_branch, plan_id (or unambiguous scope label) and review_range / diff_basis. QC Assignments and the acceptance record keep these fields text-identical; acceptance is not a leaf Assignment.
Before QC dispatch and PM Acceptance, record implementation-aligned review_cwd / worktree_path, working_branch, plan_id and review_range / diff_basis. The scope is the integrated feature, never an arbitrary default cwd.
review_cwd / worktree_path:优先沿用开发 Completion Report 回报的业务仓实现检出路径(该 feature 的 worktree)当且仅当该路径检出分支 HEAD 已含本轮待审全部提交(含曾发生在其他并行 worktree、现已归并到该分支的变更)。否则必须改用集成完成后的 working_branch 与对应检出路径(或在该分支上另开只读审查 worktree)。开发未用 worktree → 写明单一业务仓根路径。working_branch:含全部待审提交的那条分支(常见 plan 集成分支)。plan_id:与 {SDD_DIR} <plan-id> 段、主 Plan Path、当前执行权威的 plan id 一致(ACTIVE:store 执行行);无 {PLAN_DIR} 流程时写 plan_id: N/A + 一行 Feature / scope label(不可歧义,足以与并行其它 feature 区分)。review_range / diff_basis:审查的 diff/提交范围(例如 merge-base: <target_branch-or-base-ref> + tip: HEAD;或 rev-range: <full-40>..<full-40>;或一句 equivalent to: git diff <merge-base>...HEAD,以团队可复现为准)。plan_id, review range, cwd and branch for the same scope. Inline/single-seat review keeps these same fields; only seat count differs.Engine check: run
mstar worktree qc-alignment <assignment-file>...(engineassertQcAlignment,singleReviewSnapshot)以断言上述 QC/PM Acceptance 对齐字段(tri + PM Acceptance 间plan_id与review_range/diff_basis逐字相同;派发前 single review snapshot)。Onfail, do not proceed — fix and re-run. Contract →mstar-use-cli/references/checks-and-lints.md§ Engine check callouts.
语义区分(必须理解):开发阶段可存在 多个 worktree_path(每条流一条检出目录);一轮正式 QC 三审 + 对齐 PM Acceptance 只对应 一套对齐字段(上文)。不要把「多个开发 worktree」误解成「QC 应轮流进多个目录各审一半」。
单一待审 Git 快照(派 QC 前置条件):若本 plan 下多条可写并行轨落在同一业务仓且成果分布在不同分支、或未合并进同一条分支 HEAD,则派发 QC 三审(及同范围 PM Acceptance)之前,必须先在 Git 完成归并(merge / rebase / 按团队集成方式),使全部待审提交出现在同一条 PM 指定的 working_branch HEAD 上;然后填 一个 review_cwd(可为该分支上新开的只读审查 worktree)+ 一个可复现的 review_range / diff_basis。禁止仅填并行轨 A 的开发用 worktree_path 作 review_cwd,却期望审查覆盖仍只存在于并行轨 B 分支或提交上的变更(该变更未进入轨 A 所检出分支 HEAD 时,Git 上不可复现,属 Assignment 错误)。
推荐默认编排(plan 集成分支先行)——同仓、同一 plan、≥2 条可写并行轨时降低 QC/PM Acceptance 误用单一开发目录风险。不是唯一合法 Git 拓扑;其它拓扑仍须满足上文对齐字段 + 本节强制条款(派发前 worktree 隔离 + 派 QC 前单一待审 HEAD + 一套对齐字段):
branch_policy,建立 plan 集成分支(Assignment 用 working_branch: create <plan-integration-branch> from <base> 或等价明确写法;<base> 必须 PM 明确记录,例如当前执行权威的 branch.base(iteration_base_branch;ACTIVE:store workflow 执行行)、现有 feature 分支、远程跟踪分支或团队既定主线,不得未授权假设)。分支名由 PM 指定(feature/<plan-id>-integrate、integrate/<plan-id> 仅为命名示例,非强制)。多 plan_id 同源一条 primary_spec(Spec 文档)时:该集成分支语义即 Spec 集成分支;各 Plan feature 线 merge 回此线,全部 Plans 完成后向显式 target_branch 走 PR(见 mstar-conventions SKILL.md「Spec 驱动的分支模型」)。git worktree + worktree_path;各轨 working_branch 一般为从集成分支出的 topic 分支(create <topic-i> from <plan-integration-branch>)或 PM 书面约定等价结构(例如从同一 <base> 出 topic、但书面指定合并时以集成分支为靶)。禁止承接方擅自把未授权功能提交直接堆在 main/master。working_branch 的分支 HEAD(通常即 plan 集成分支;PM 已重命名/快进为最终 feature/* 则以 Assignment 为准)。在此解决冲突;勿在 QC Assignment 仍指向「只含部分轨」旧 HEAD 时派三审。working_branch 与合并主线:working_branch 即上一步已含全部待审提交的那条分支(常见 plan 集成分支)。review_range / diff_basis 通常相对尚未合并 feature 的显式目标/base 参照(例如 merge-base: <target_branch-or-base-ref> + tip: HEAD),审的是 「feature 线 vs 目标线」 差异;默认不要求 QC 通过前已把该分支 merge 进目标分支(除非 branch_policy 或用户明确 trunk 式例外)。mstar-conventions)— 仍须逐轮满足强制条款:每轮 QC 对应一条快照、一套逐字相同的 plan_id + review_range / diff_basis。不应合并为一次审时:若两轨有意保持独立可合并单元(例如两条独立 PR),不得共用同一套 plan_id + review_range / diff_basis 假装「一轮三审覆盖全部」。应拆分 scope:分轮次审查、不同 Feature / scope label、不同 plan_id、或按 mstar-conventions 写明的显式增量三审例外,使每轮 QC 各对应一条分支快照与一套对齐字段。
同分支多目录例外:若所有并行轨始终在同一条已授权 working_branch 上协作(每流仅目录不同、提交已互相 pull/推送收敛),则任一该分支检出目录在更新到含全部提交 HEAD 后均可作 review_cwd;不得使用仍停留在旧提交的 worktree 路径。
mstar-review-qc/references/review-responsibility-boundaries.md.{SDD_DIR}/review/;上述约定保证 git diff、git log 与所读文件与待合并 feature 一致。PM 另行提交主 plan gate summary / 经 mstar plan issue-add 捕获确认 findings 到 store.db;project register 仅迁移历史。mstar-roles/references/project-manager/acceptance.md. Report-only work without path dependencies states its actual verification environment.派发前清单与常见反模式 → references/parallel-writable-pre-dispatch.md。
git fetch 记录远端精确 OID,发布用 --force-with-lease=<branch>:<observed-oid>;禁止裸 --force。mstar-roles/references/project-manager/pr-delivery.md「Push cadence」。Ownership, refusals, merge-evidence gates, --apply order, and the two legal timing lanes live in references/worktree-cleanup.md (sole contract body). Call sites: Phase-2 same-round → mstar-iteration mstar-iteration/references/phase-2-worktree-lease.md; Workflow Close Out → mstar-roles/references/project-manager/workflow-close.md「Cleanup handoff」. Dry-run command: mstar worktree cleanup --workflow <id> (engine planWorktreeCleanup).
The execution-row half is a separate lane, never part of this cleanup: after a valid terminal close, mstar workflow discard --workflow <id> --reason <text> deletes that lifecycle's execution rows once the promotion its kind requires is re-read from the store (mstar-artifacts/references/plan-workflow-lifecycle-contract.md §4h). Discard touches no worktree, branch or document, and this cleanup neither implies nor requires it; physical cleanup never deletes execution rows.
PM selects branches → isolated source tasks → all reviewed commits converge on one Working branch HEAD → aligned QC tri/PM Acceptance → explicit serial Git merge in the delivery checkout → direct complete verifies its actual base/result and QC/PM Acceptance. Standalone development instead verifies its registered source checkout; report-only follows its declared policy without fabricated Git. Main remains on its recorded branch. L1/L2 isolation precedes dispatch; transaction/CAS protects state.
派发与反递归红线 → mstar-dispatch-gates
SDD implement 波次(file handoff / reviewer)→ mstar-sdd
迭代 Phase 2 delivery worktree + lease 细则 → mstar-iteration §2(mstar-iteration/references/phase-2-worktree-lease.md):准备或校验 Phase 2 集成 worktree / lease 时打开
L1 refusal diagnostics (worktree.l1.* across CLI/dsh/omp; engine vs host seam) → references/l1-refusal-diagnostics.md:遇到 L1 拒绝码、或需比较 host 与 engine 行为时打开
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
29 skills in this plugin
/drtDirect work entry: one View completes one bounded unit and ends, with no PM, plan row, Done, QC tri-review or delivery chain. Use when the user wants a bounded request executed directly (audit, review, cleanup, governance pass, docs, harness text) without iteration or multi-plan orchestration./grill-meInterview the user relentlessly about a plan or design until shared understanding, resolving each decision branch. Use when a plan or design needs stress-testing, or the user says 'grill me'./mstar-artifactsPlan artifacts: main plans, durable review summaries, QC/PM Acceptance bundles, workflow state/config/progress/evidence, issue capture, residual severity. Read when authoring or mapping them.Other plugins' skills for the same job