baixinghao/intent-gate
Stop AI coding agents from guessing
An intent-alignment gate that stops AI coding agents from guessing: a PRD goes through an intent-confidence gate, gaps are resolved via a three-level funnel, and the output is technically annotated Mermaid contracts (state machines / sequence diagrams / decision tables) that must pass a mechanical lint gate with zero CRITICAL before coding is allowed. In DeepSeek Harness the MCP server registers 13 tools plus five skills (including the doc-analysis-playbook), and the question ledger lands in {workspace}/.harness/requests/.
Install
pipx install intent-gate-mcp && intent-gate install --target dshTwo steps per README (English, verified 2026-08-31): (1) pipx install intent-gate-mcp (PyPI intent-gate-mcp, Python >= 3.11; or uv tool install intent-gate-mcp); (2) intent-gate install --target dsh — the installer writes a dsh-mcp-client plugin instance into every profile's cordis.patch.yml (merge-only, idempotent) and copies the five skills into $DSH_HOME/skills/ for DSH skill hot-loading. (3) Restart the DSH session: tools appear as mcpintent-gate*. Uninstall: intent-gate uninstall --target dsh.
Compatibility
DSH 0.1.x (MCP tools via dsh-mcp-client, 13 tools handshake-tested per README; skills hot-load from $DSH_HOME/skills); also Claude Code (stable), Cursor/Codex (beta); Python >= 3.11; MIT.
Details
- Repo: baixinghao/intent-gate
- Category: Coding & Development
- Stars: 2
- Version: PyPI intent-gate-mcp (latest) + CLI installer
- Last push: 2026-09-19
- First seen: 2026-08-10
Recent updates
Intent-confidence gate before coding; 3-level gap funnel; annotated Mermaid contracts; zero-CRITICAL lint gate; DSH: dsh-mcp-client wiring + 5 skills; question ledger in .harness/requests.
FAQ
- How do I install it for DeepSeek Harness?
- pipx install intent-gate-mcp then intent-gate install --target dsh — the installer writes the dsh-mcp-client plugin row into every profile's cordis.patch.yml (merge-only, idempotent) and copies five skills into $DSH_HOME/skills/.
- Where do the agent questions land?
- The question ledger is written to {workspace}/.harness/requests/ so unresolved requirements are tracked per workspace.
- Is the install reversible?
- Yes — intent-gate uninstall --target dsh reverts exactly what the installer added (patch merge + skill copies).
Alternatives
arrow949/dsh-turn-approval · Starfie1d1272/dsh-builtin-toggles · Scorp1o117/dsh-soul-md