hexum_check

Last updated 29 August 2026

When to call

Before claiming the turn is done.

Arguments

Pass the same files you care about, or workspace when the agent is reading from disk.

What comes back

healthy, drift_detected, or ARCHITECTURE_CONFIG_MISSING, plus violations.

Example

{
  "status": "drift_detected",
  "violations_count": 1,
  "violations": [{
    "rule": "no_ui_to_data",
    "file": "src/ui/App.tsx",
    "hint": "Call services instead."
  }]
}

What the agent does next

On drift, follow hint and check again. Do not ship a red check.

All five tools: Hexum MCP tools. Contract file: architecture.hexum.

FAQ

What is hexum_check?

Maps files to layers in architecture.hexum and reports forbidden imports. Example FAIL: ui → data, rule no_ui_to_data, hint: call services instead.

When should the agent call hexum_check?

Before claiming the turn is done.

Does Hexum replace Cursor or Claude Code?

No. Hexum is a hosted MCP server. You keep Cursor, Claude Code, Antigravity, Codex, or Grok. Hexum is not an IDE and not a model.

Is hexum_check an LLM?

No. hexum_check is deterministic. It maps files to layers in architecture.hexum and reports forbidden imports. It does not call a model.

Does Hexum store my repo?

No. Zero Data Retention is on Usage and Teams. MCP payloads are not stored. Hexum does not train on your code. Policy: /zdr.