AmethystLuna/logicprobe1

@amethystluna/logicprobe

设计文档与计划声明验证工具,支持代码库事实校验、逻辑基元验证及重构前后的模型对比检测。

AI 分析

核心用途是验证设计文档、重构计划和行为声明的逻辑一致性。适合需要对复杂代码变更、死锁或时序问题进行对抗性审查的开发团队。

包名
@amethystluna/logicprobe
版本
0.2.1
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AmethystLuna/logicprobe

Usage

The plugin auto-injects a capability notification into the first model step. The skill activates when its Use when description matches your task:

  • Design doc / plan review — "Review this design document" → claim enumeration and codebase verification
  • Behavioral questions — "could this state machine deadlock", "is this retry limit safe", "check this timing for bugs" → the skill is proactively suggested (not auto-loaded) as an optional verification pass
  • Refactoring plans — the pipeline compares before/after models to flag undocumented behavioral changes

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.

Configuration

In DeepSeek Harness, the bundle accepts a small configuration object:

KeyTypeDefaultDescription
enabledbooleantrueSet to false to disable the session-start gate injection.
gateContentstringbuilt-in gate textOverride the text injected into the first model step.

To change it, override the row by id in your profile's cordis.patch.yml:

- insert:
    - id: logicprobe
      name: '@amethystluna/logicprobe'
      config:
        enabled: true
        gateContent: |
          ...