What is architecture.hexum?

Last updated 3 September 2026

architecture.hexum
skill full

layer ui
  match src/ui/**
  match src/pages/**

layer services
  match src/services/**

layer data
  match src/data/**

rule no_ui_to_data
  from ui
  cannot use data
  severity high
  message UI must not import data access directly.
  hint Call services instead.

Full field table: architecture.hexum in the docs. Check: hexum_check architecture linter for AI coding agents.

FAQ

What is architecture.hexum?

A file in the repo. Layers group files. Rules say a layer cannot use another. hexum_check reads it. Also accepted: hexum.hexum, .hexum, or the first *.hexum in the root. Guide: /architecture-hexum.

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.

What is Hexum?

Hexum is the control plane for coding agents. One hexum_live_ key authorizes hosted MCP on hexum.dev and on efficient, arch, review, control, and loop subdomains. hexum_shrink sends this turn instead of the repository. hexum_check fails a forbidden import without calling a model. On MBPP, context dropped about 85% with the same tests passing.