@mstar-harness/dsh 3.1.2 → 3.1.3
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 +1 -1
- package/README.zh.md +1 -1
- package/dist/gates/status.d.ts +7 -1
- package/dist/gates/workflow-selection.d.ts +7 -0
- package/dist/index.js +217 -151
- package/harness-commands/iteration-drive.md +9 -90
- package/harness-commands/iteration-loop.md +22 -62
- package/harness-commands/iteration-start.md +20 -77
- package/harness-skills/mstar-audit/SKILL.md +2 -2
- package/harness-skills/mstar-compound-refresh/SKILL.md +1 -1
- package/harness-skills/mstar-dispatch-gates/SKILL.md +1 -1
- package/harness-skills/mstar-harness-core/SKILL.md +4 -3
- package/harness-skills/mstar-iteration/SKILL.md +16 -10
- package/harness-skills/mstar-iteration/references/command-shared-invariants.md +62 -0
- package/harness-skills/mstar-iteration/references/phase-2-worktree-lease.md +3 -3
- package/harness-skills/mstar-iteration/references/phase-4-5-pr-delivery.md +1 -1
- package/harness-skills/mstar-iteration/references/phase5-helper-discovery.md +1 -1
- package/harness-skills/mstar-phase-gates/SKILL.md +1 -1
- package/harness-skills/mstar-plan-artifacts/references/knowledge-and-designs.md +2 -2
- package/harness-skills/mstar-plan-artifacts/references/status-and-residuals.md +1 -1
- package/harness-skills/mstar-plan-conventions/SKILL.md +1 -1
- package/harness-skills/mstar-roles/references/_shared/leaf-executor-core.md +11 -1
- package/harness-skills/mstar-roles/references/architect.md +4 -7
- package/harness-skills/mstar-roles/references/code-reviewer.md +1 -4
- package/harness-skills/mstar-roles/references/frontend-dev.md +2 -4
- package/harness-skills/mstar-roles/references/fullstack-dev-shared.md +2 -4
- package/harness-skills/mstar-roles/references/ops-engineer.md +2 -6
- package/harness-skills/mstar-roles/references/product-manager.md +4 -7
- package/harness-skills/mstar-roles/references/prompt-engineer.md +2 -5
- package/harness-skills/mstar-roles/references/qa-engineer.md +2 -6
- package/harness-skills/mstar-roles/references/qc-specialist-shared.md +1 -4
- package/harness-skills/mstar-roles/references/writing-specialist.md +2 -5
- package/harness-skills/mstar-strategy/SKILL.md +5 -35
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
English | [中文](README.zh.md)
|
|
4
4
|
|
|
5
|
-

|
|
6
6
|
|
|
7
7
|
[Morning Star](https://github.com/btspoony/mstar-harness) as a first-class dsh (DeepSeek Harness) host — a cordis function plugin that mounts the mstar engine in-process, implements the engine `HostAdapter` (`host: 'dsh'`), guards `{HARNESS_DIR}/status.json` writes (validate + advisory; repair-escape under hard), blocks disallowed subagent dispatches when `Enforcement: hard` is on, lints `SKILL.md` writes under the mounted skill roots, mounts the mstar `skills/` mirror through the dsh skill-filesystem provider (single canonical mount), and appends a durable `mstar-engine-status` catalog row to every composed agent step. Boot with a dsh Loader app; everything acts through the seam's refusal/advisory channels, never by patching the tools.
|
|
8
8
|
|
package/README.zh.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | 中文
|
|
4
4
|
|
|
5
|
-

|
|
6
6
|
|
|
7
7
|
让 [Morning Star](https://github.com/btspoony/mstar-harness) 成为一等公民的 dsh(DeepSeek Harness)宿主——一个 cordis 函数插件,将 mstar engine 进程内挂载,实现 engine `HostAdapter`(`host: 'dsh'`),守护 `{HARNESS_DIR}/status.json` 写入(校验 + 咨询;hard 下按修复逃生放行),在 `Enforcement: hard` 开启时阻止被禁止的 subagent 派发,对挂载技能根下的 `SKILL.md` 写入执行技能撰写 lint,通过 dsh skill-filesystem 提供者挂载 mstar `skills/` 镜像(单一规范挂载),并向每个组合后的 agent 步骤追加一条持久化的 `mstar-engine-status` catalog 行。随 dsh Loader 应用启动;一切均通过 seam 的拒绝/咨询通道行使职责,从不改动工具本身。
|
|
8
8
|
|
package/dist/gates/status.d.ts
CHANGED
|
@@ -25,7 +25,13 @@ export interface StatusGateAdvisory {
|
|
|
25
25
|
target: string;
|
|
26
26
|
/** The gate verdict (warn-mode: `hardBlocked` false; hard repair escape: `hardBlocked` true). */
|
|
27
27
|
result: GateResult;
|
|
28
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Resolved enforcement flag: true whenever the gate ran under hard
|
|
30
|
+
* enforcement — for hard-mode repair escapes AND for degraded-hard
|
|
31
|
+
* advisories (f9: the catch emits `hard` reflecting ACTUAL enforcement,
|
|
32
|
+
* so a hard deployment can distinguish a dead control from a warn-only
|
|
33
|
+
* pass). False only for warn-mode advisories.
|
|
34
|
+
*/
|
|
29
35
|
hard: boolean;
|
|
30
36
|
/** True when hard mode allowed a write/edit to an ALREADY-invalid document (repair escape). */
|
|
31
37
|
repair?: boolean;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { WorkflowSelectionView } from '../types.ts';
|
|
2
2
|
/** The active-set resolver result: the first active lifecycle or a clear error. */
|
|
3
3
|
export type ActiveWorkflowSelection = WorkflowSelectionView;
|
|
4
|
+
/**
|
|
5
|
+
* Test-only observability hook (plan 20260822-gate-fixes Task 3 / f12):
|
|
6
|
+
* whether a snapshot path is still cached. Production code never calls
|
|
7
|
+
* this — the eviction contract (delete → key gone) is asserted by the
|
|
8
|
+
* workflow-selection spec.
|
|
9
|
+
*/
|
|
10
|
+
export declare function _terminalStatusCacheHas(snapshotPath: string): boolean;
|
|
4
11
|
/**
|
|
5
12
|
* Resolve the ACTIVE lifecycle set (root v2 `status.json` `workflows[]` —
|
|
6
13
|
* the list holds non-terminal lifecycles only, removal-at-terminal). This
|