@gilbertgt/dsh-plan-orchestrator 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/LICENSE +9 -0
- package/README.md +32 -0
- package/compatibility.json +9 -0
- package/cordis.patch.yml +3 -0
- package/lib/client.js +1242 -0
- package/lib/github-Cy4Pm35G.js +577 -0
- package/lib/index.js +3776 -0
- package/lib/planner-route-B9z5GziX.js +101 -0
- package/lib/publication-D352itYY.js +137 -0
- package/lib/rpc-server-CGs2ndXP.js +131 -0
- package/package.json +144 -0
- package/profiles/reviewer.cordis.yml +5 -0
- package/profiles/worker.cordis.yml +5 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 gilbertgt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# DSH Plan Mode Orchestrator
|
|
2
|
+
|
|
3
|
+
`@gilbertgt/dsh-plan-orchestrator` augments DeepSeek Harness native Plan Mode. It does **not** replace `/plan`, `exit_plan_mode`, native Plan Review, settings, subagents, LSP, or token metering.
|
|
4
|
+
|
|
5
|
+
## Safety contract
|
|
6
|
+
|
|
7
|
+
- Plans are runtime-validated before native approval.
|
|
8
|
+
- Approval transitions into a host-owned deterministic orchestration run; the parent Planner is fenced from editing.
|
|
9
|
+
- Every mutating role is bounded by exact file ownership.
|
|
10
|
+
- Parallel workers use detached Git worktrees and separate DSH SDK runtimes.
|
|
11
|
+
- Validation evidence is host-produced and hashed; model self-reports are never treated as proof.
|
|
12
|
+
- Reviewer verdicts are strict and targeted fixes are bounded.
|
|
13
|
+
- Restart recovery is fail-closed and never runs destructive Git recovery.
|
|
14
|
+
- Ordinary Plan Mode never commits, pushes, or merges. External Issue Mode may publish a PR only after current validation + Reviewer PASS, and never auto-merges.
|
|
15
|
+
|
|
16
|
+
## Compatibility
|
|
17
|
+
|
|
18
|
+
Production baseline: DSH `0.1.5-rc.1`. `0.1.5-rc.2` remains a preview lane until the complete compatibility suite passes.
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```powershell
|
|
23
|
+
dsh.cmd plugin --profile web add @gilbertgt/dsh-plan-orchestrator
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Development:
|
|
27
|
+
|
|
28
|
+
```powershell
|
|
29
|
+
dsh.cmd plugin --profile plan-dev add C:\path\to\DSH-plan-mode
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Settings appear as a first-class **Plan Mode** section. Normal sessions keep the large Planner policy out of model context; the policy is injected only while native Plan Mode is active.
|
package/cordis.patch.yml
ADDED