cd /news/ai-agents/the-web-hig-a-versioned-behavioral-c… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-125679] src=dev.to β†— pub= topic=ai-agents verified=true sentiment=↑ positive

The Web HIG: a versioned behavioral contract for humans, CI, and AI agents

A developer has released The Web HIG, an open, MIT-licensed behavioral standard for the modern web that provides versioned, citable rule IDs (such as HIG-MUT-001 and HIG-A11Y-003) for product behavior. The project targets the gap between design systems and AI-generated UI by letting teams pin a HIG version, map routes to archetypes, and supply agent rule files for tools like Cursor, Claude Code, and GitHub Copilot so agents cite specific rules instead of producing vibes-based UX. Adoption involves copying the versioned docs into a repository, adding a scope file, and running npm run validate when upgrading.

by read3 min views2 publishedSep 10, 2026

Your design system probably nails color, type, and button variants. WCAG covers accessibility conformance. Your framework docs cover routing and data fetching.

Then you ask an AI agent to β€œadd a delete project flow,” and you get a modal that optimistically removes the row, no focus trap, hex colors sprinkled in the CSS, and a toast that says β€œSuccess!” without telling anyone what succeeded.

That gap β€” portable, testable product behavior β€” is what The Web HIG is for.

The Web HIG is an open, MIT-licensed behavioral standard for the modern web:

HIG-A11Y-003, HIG-MUT-001, …) you can cite in PRs, audits, and agent prompts rules/manifest.yaml``rules/ | Features β€” IDs, modules, archetypes | | content β€” marketing, docs, blogcommerce β€” catalog, cart, checkoutapplication β€” dashboards, settings, toolsauth β€” login, signup, account recovery A landing page should not inherit the same mutation and streaming defaults as a logged-in app shell. Archetypes keep agents and humans from β€œHIG-maximalism” on simple routes.

Rules agents (and reviewers) can actually cite #

Quick Reference rules are imperative and short. A few that show up constantly in AI-generated UI: prefers-reduced-motion; cap decorative micro-motion. When you push back on a shortcut, citing

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  HTML, CSS, ARIA (platform)          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                   β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  WCAG 2.2 (accessibility target)     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                   β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Your design system (visual language)β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                   β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  The Web HIG (behavior & enforcement)β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                   β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Your product code                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

More background: RATIONALE.md.

A typical loop:

Developer β†’ pinned HIG β†’ AI agent β†’ code β†’ review β†’ CI

Pin HIG-QUICK.md (and optionally HIG-CORE.md) under something like docs/hig/. Add a scope file that maps routes to archetypes. Drop in one agent rule file:

| Tool | Template in repo |

| --- | --- |

| Cursor | examples/agent-rules/cursor-hig.mdc |

| Claude Code | examples/agent-rules/CLAUDE-hig.md |

| GitHub Copilot | examples/agent-rules/copilot-instructions-hig.md |

| Multi-agent | examples/agent-rules/AGENTS-hig.md |

Default agent prompt: β€œFollow The Web HIG Quick Reference.”

Human prompt with teeth:

Build a delete-project dialog for /app/projects. Archetype: application. Follow The Web HIG Quick Reference; cite rule IDs if you decline a pattern.

You should see citations like HIG-MUT-001, HIG-A11Y-008, and HIG-A11Y-004 instead of vibes-based UX.

Try it in one afternoon #

Pin β€” copy VERSION, HIG-QUICK.md, and optional HIG-CORE.md to docs/hig/ (profiles guide). Scope β€” adapt examples/hig-scope.example.md to docs/hig-scope.md. Agents β€” one file from examples/agent-rules/. Upgrade safely β€” vendor the repo and run npm run validate when you bump the pinned version. Walkthrough: quick-profile walkthrough. Team adoption: INTEGRATION.md. Minimal PR checklist once the HIG is pinned:- [ ] Archetype noted in the PR description

  • [ ] No raw hex in component CSS
  • [ ] Destructive actions use proportional confirmation, not optimistic delete
  • [ ] Visible focus on interactive controls ## What’s inside (v1.9.0 snapshot) 98 quick rules 16 topic modules (forms, mutations, performance, security UX, …) 4 page archetypes
  • Layers covering applicability, UX, IA, tokens, server-driven UI, a11y, perf, CI gates, and security UX Index: SPECIFICATION.md. Roadmap for machine-readable registries and linters: MACHINE_READABLE.md.

Open standard, your stack #

The Web HIG is deliberately adopt, don’t rewrite: pin the contract, wire your agents, optionally gate CI later. Framework notes live under framework/ (React, Next, Vue, Nuxt, Astro) without mandating any of them. If you are standardizing how your team β€” and your coding agents β€” handle states, destructive flows, and token discipline, star or pin the repo and tell us what you are building in ADOPTERS.md or a GitHub issue. Contributions welcome: CONTRIBUTING.md.

── more in #ai-agents 4 stories Β· sorted by recency
── more on @the web hig 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/the-web-hig-a-versio…] indexed:0 read:3min 2026-09-10 Β· β€”