diff --git a/docs/index.md b/docs/index.md index e14d360..7e3699b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -195,28 +195,16 @@ One policy engine, multiple enforcement surfaces. Write your `cchk.toml` once every surface reads the same file. ```mermaid -graph TB - subgraph Policy["📄 cchk.toml"] - direction LR - Config[One policy file] - end - - subgraph Engine["⚙️ commit-check
(Python core)"] - direction LR - CLI[CLI & pre-commit] - API[Python API] - end - - subgraph Surfaces["🚀 Enforcement surfaces"] - Action[commit-check-action
GitHub Action] - MCP[commit-check-mcp
MCP Server] - end - - Config --> Engine - CLI --> Action - API --> MCP - Action --> CI[CI Pipeline] - MCP --> Agent[AI Coding Agent] +graph LR + Config["cchk.toml"] --> Engine["commit-check"] + + Engine --> Hook["CLI and pre-commit hook"] + Engine --> Action["commit-check-action"] + Engine --> MCP["commit-check-mcp"] + + Hook --> Dev["Your laptop"] + Action --> CI["CI pipeline"] + MCP --> Agent["AI coding agent"] ```