dsh-doctor
asdf17128
Find what your DeepSeek Harness (dsh) patches silently broke — dead patches, config fields dropped by whole-config repla…
AmethystLuna/logicprobe
Claim verification for AI coding agents — 7 structural + 7 adversarial logic-primitive probes against design docs & refactoring plans | AI 编程助手声明核查插件:对设计文档与重构计划做逻辑原语验证(7 结构 + 7 对抗探针) for Claude Code, Codex, Cursor, Kimi, OpenCode, ZCode and DeepSeek Harness (dsh)
PROJECT TOPICS
PROJECT README
Design documents are not truth — code is. A claim-verification skill that checks every verifiable claim in design docs, architecture specs, and refactoring plans against the actual codebase — and escalates to executable-model verification for behavioral claims. v0.1.0.
Cross-platform — works with Claude Code, Codex CLI, Cursor, Kimi CLI, OpenCode, and ZCode. Built on the Agent Skills open standard.
| Phase | What |
|---|---|
| Phase 1-2 | Enumerate every verifiable claim (API names, file paths, enum values, counts, mechanism feasibility) → verify each against the codebase with evidence |
| Phase 2a | 7 structural checks on extracted state-machine models: reachability, deadlock, liveness, determinism, event/guard completeness, invariant validity |
| Phase 2b | 7 adversarial probes: unexpected events, race interleaving, order permutation, pair symmetry (lock/unlock), boundary blast, resource injection, minimal counter-example |
| Refactoring | Before/after model comparison — behavioral preservation, invariant continuity, deadlock regression, complexity claims |
| Output | Structured findings with exact file:line evidence, severity classification, correction direction — never inline fixes |
The model is always shown as a transition table and confirmed with the user before running — extraction errors are the dominant failure mode.
Add the marketplace to ~/.claude/settings.json:
{
"extraKnownMarketplaces": {
"logicprobe": {
"source": { "source": "github", "repo": "AmethystLuna/logicprobe" }
}
}
}
Then install from CLI:
claude plugin install logicprobe@logicprobe
git clone https://github.com/AmethystLuna/logicprobe.git ~/.claude/plugins/dev/logicprobe
Then enable in ~/.claude/settings.json:
{
"enabledPlugins": {
"logicprobe@dev": true
}
}
Native dsh support ships as a cordis plugin bundle at the repository root (the root package.json declares dsh.bundle):
skill-filesystem provider (Agent Skills open standard) — zero code.SessionStart hook. It also registers a model-visible catalog entry (cordis_inspect).Install: see .dsh/INSTALL.md (four options, from plain skill copy to dsh plugin add).
The plugin auto-injects a capability notification at session start. The skill activates when its Use when description matches your task:
The skill auto-classifies depth (LIGHTWEIGHT / STANDARD / ESCALATED) from plan features in Phase 0, and appends a ## Plan Verification summary block as the audit trail.
Python is optional: when available, the reusable harness at references/verification-harness.py runs the checks; when not (air-gapped machines), the guide at references/logic-verification-guide.md provides a manual verification mode.
This plugin also supports OpenAI Codex CLI. Skills follow the Agent Skills standard and work identically across both platforms.
# Add as a marketplace
codex plugin marketplace add AmethystLuna/logicprobe
# Install
codex plugin install logicprobe
Or manually:
git clone https://github.com/AmethystLuna/logicprobe.git ~/.codex/plugins/logicprobe
Skills are invoked with $logicprobe or auto-selected by Codex based on task context.
Cursor 2.5+ has built-in plugin support.
# Clone to Cursor plugins directory
git clone https://github.com/AmethystLuna/logicprobe.git ~/.cursor/plugins/logicprobe
Or install from the Cursor plugin marketplace UI: /add-plugin AmethystLuna/logicprobe
Kimi CLI discovers skills from .claude/skills/ paths automatically. The .kimi-plugin/plugin.json manifest registers the plugin for Kimi's plugin manager.
# Via Kimi plugin manager
/plugins install https://github.com/AmethystLuna/logicprobe.git
# Or clone manually
git clone https://github.com/AmethystLuna/logicprobe.git ~/.kimi/plugins/logicprobe
Skills are invoked with /skill:logicprobe.
Skills are auto-discovered from .claude/skills/ and .codex/skills/ paths. Add to your opencode.json:
{
"plugin": ["logicprobe@git+https://github.com/AmethystLuna/logicprobe.git"]
}
Or install via skop which consumes the Claude marketplace manifest. See .opencode/INSTALL.md for detailed instructions.
ZCode 3.0+ follows the Agent Skills standard. No plugin marketplace — manually copy skills to .zcode/skills/:
git clone https://github.com/AmethystLuna/logicprobe.git
cp -r logicprobe/skills/* .zcode/skills/
Skills are invoked with $logicprobe. See .zcode/INSTALL.md for details.
| Plugin | Description |
|---|---|
| embedded-workbench | Embedded C/C++ toolbox whose Plan Verification Gate uses this skill. This plugin was split out of embedded-workbench v0.6.0. |
The claim-verification methodology (logic primitives, adversarial probing, refactoring before/after comparison) and the trigger test framework (tests/skill-triggering/) follow the conventions of Superpowers by Jesse Vincent (MIT License), as adapted in the embedded-workbench plugin.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。