Coding agents must read the same installed tokens and complete usage rules as people.
Package entrypoint and rule discovery
@beehexa/design-rules/agent resolves to the installed package’s dist/AGENTS.md.
The package includes complete source documents plus a typed catalog with stable IDs, source paths,
locale, titles, raw/body content and explicit active/planned status.
import { listRules, readRule, searchRules } from '@beehexa/design-rules';
const matching = searchRules('typography');
for (const rule of matching) console.log(rule.id, rule.status, rule.title);
// Read a complete document selected by its stable catalog ID.
const document = matching[0] && readRule(matching[0].id);
Active means authored guidance is present, not a final release or compliance certification. A planned stub is not a defined rule. Read full usage/accessibility/state/layout documents for the actual task; a matching token value or a short search result is not sufficient.
Consumer hard rules
Keep these requirements in the consumer’s canonical AGENTS.md; CODEX.md and CLAUDE.md
reference that entrypoint rather than creating competing policies:
- Install local references to
@beehexa/design-tokensand@beehexa/design-rulesuntil managers explicitly authorize a release. Do not copy JSON/CSS/TS/rule bodies or generators. - No release, deployment or CI execution is required for local development. Publishing, release tags, deployment, release-CI dispatch and consumer version bumps require manager approval. Replace local references only with a real authorized published version.
- CI is single-repository and consumer dependencies must be actual published versions. Never add sibling checkouts/builds or local references to CI. Unreleased local work stays local.
- Before every UI change, read the installed agent entrypoint and complete matching package rules. Use semantic tokens, not nearest values. Missing reusable roles/rules must be authored in the producer package first.
- There are no exceptions for business colours, canvas geometry, charts, editors, SVG/Mermaid or exports. Package availability does not prove actual consumer adoption or accessibility.
Website browsing index
/llms.txt lists website pages for browsing. The installed package is the offline
rules contract; do not require website availability or another source checkout to read it.