dsh-windows-readiness-proof
其他 活跃维护

dsh-windows-readiness-proof

dongsheng123132/dsh-windows-readiness-proof

内容寻址机制,为托管Windows主机上经过合规清理的对应观测生成可验证的就绪证明,支持快速校验观测数据完整性,无需依赖中心化存储,原生适配Windows托管部署环境。

2
Stars 标星
0
Forks 分支
2
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
29 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:dongsheng123132/dsh-windows-readiness-proof
git clone https://github.com/dongsheng123132/dsh-windows-readiness-proof.git
git clone git@github.com:dongsheng123132/dsh-windows-readiness-proof.git
README.md main

dsh-windows-readiness-proof

CI
MIT license
Node.js 22+
Awesome DSH Plugins

dsh-windows-readiness-proof evaluates a SHA-256-pinned, sanitized observation of a managed Windows host against explicit DeepSeek Harness readiness requirements.

It is an evidence verifier, not a collector or remediation tool. It never runs PowerShell, reads the registry, changes Group Policy, creates Defender exclusions, edits WDAC/AppLocker, installs software, restarts services, or probes the network.

What it proves

An explicit manifest fixes an opaque machine digest, snapshot revision, observation bytes, evaluation time, maximum evidence age, and requirements for:

  • Windows product type, architecture, build, and pending reboot;
  • Node, DSH, PowerShell edition/version, and language mode;
  • classified WDAC, AppLocker, Defender, execution policy, Credential Guard, and TLS 1.2 posture;
  • long paths, atomic rename, workspace/temp ACL class, and symlink policy;
  • non-interactive session, opaque identity class, writable profile, and recovery configuration;
  • free workspace/temp storage;
  • required connectivity identities represented only by endpoint SHA-256 plus status/TLS/proxy classes.

Missing, stale, future, malformed, secret-shaped, identity-bearing, path-escaping, symlinked, or policy-mismatched evidence fails closed. Reports expose only opaque identities, hashes, classifications, reason codes, and control status—not usernames, domains, endpoints, registry paths, command output, credentials, or raw observations.

Complementary boundary

Harness Doctor diagnoses local DSH/Codex/OpenClaw installation health. Windows desktop-control skills execute UI and PowerShell actions. This plugin does neither: it verifies a pre-collected enterprise readiness fact set under a reviewable policy and produces a deterministic artifact suitable for CI or audit.

CLI

dsh-windows-readiness-proof inspect --workspace . --manifest manifest.json
dsh-windows-readiness-proof verify --workspace . --manifest manifest.json --artifactDir artifacts

Exit 0 means verified; exit 2 means a readiness or evidence failure.

DSH / MCP tools

The DSH entry is a namespace plugin (name / inject / apply) with no default export. This is part of the shipped compatibility contract: the real Cordis Loader must retain the tools injection when a stock Web profile loads the bundle. The plugin smoke and structural check fail if a default export is reintroduced.

For a built DSH checkout and an isolated Web profile containing this bundle, run DSH_CHECKOUT=/path/to/dsh DSH_HOME=/path/to/isolated-home npm run smoke:web-loader. The smoke starts the real stock Web profile with a bounded, credential-free environment and requires an actual readiness URL.

  • dsh_windows_readiness_inspect
  • dsh_windows_readiness_verify
  • MCP aliases: windows_readiness_inspect, windows_readiness_verify
dsh plugin --profile windows-readiness add github:dongsheng123132/dsh-windows-readiness-proof#<commit>

See examples/README.md for a synthetic, non-collecting example. MIT licensed.