intent-verify
intent-verify deterministically checks whether a repository still lexically covers the acceptance items in a Markdown spec before human review.
intent-verify is developed by Hermes Labs.
Hermes Labs is an agentic infrastructure company building the reliability layer for autonomous systems.

Give it an INTENT.md, SPEC.md, requirements list, or handoff document, and it reports whether the selected repository evidence visibly uses the same terms.
Use check for a repository-wide signal, or map when you need each
acceptance item tied to explicit source and test roots. A gap can stop a claim
that scope is covered. A covered result sends work to review; it never
authorizes acceptance, merge, release, or publication.
INTENT.md is an input-file example, not an integration point. Claude Code's
project-instruction documentation describes CLAUDE.md and AGENTS.md; this
tool does not load either automatically and only reads the file passed to
--spec. See Anthropic's project memory documentation
for how Claude Code handles those instruction files.
How it works
intent-verify is intentionally simple and fully deterministic — no model, no network:
- Parse acceptance items from the spec (inline
Accepts:/Requirements:/Scope: lines and bullet/numbered lists under matching headings).
- Tokenize each item, dropping common stop words.
- For each item, compute the fraction of its tokens that appear as substrings in the selected evidence files (the spec file itself is excluded).
- Score each item against two thresholds and roll up to a single verdict.
Coverage is a lexical token-overlap signal, not a semantic judgment.
Orchestration coverage map
Name implementation evidence explicitly. This prevents a matching README
elsewhere in the repository from satisfying the map:
intent-verify map \
--spec INTENT.md \
--repo . \
--evidence-path src \
--evidence-path tests
The command emits only JSON using the versioned
intent-verify.coverage-map.v1 contract. Each item includes the files that
contributed matching terms. The top-level acceptance_authority is always
false; decision is review for covered scope and inspect for partial or
gap results.
| Map verdict | Exit | Orchestration meaning |
|---|
covered | 0 | Continue to tests and review; do not accept automatically. |
partial | 1 | Inspect the weak items before claiming scope coverage. |
gap | 2 | Stop the scope-covered claim and inspect missing evidence. |
GitHub Action
The root composite Action applies the same contract. A workflow can use the
versioned v0.2.1 tag:
- name: Map intent to changed implementation surfaces
uses: hermes-labs-ai/[email protected]
with:
spec: INTENT.md
repo: .
evidence-paths: |
src
tests
summary: true # optional; defaults to false
Resolve the tag to its commit SHA when your supply-chain policy requires a
full commit pin.
Upload the path returned by the Action's receipt output when the JSON should
remain as a build artifact.
Set summary: true to add a bounded, escaped advisory coverage table to the
GitHub Actions job summary. It includes the caller's spec path and acceptance
item labels, so leave it off when those labels are sensitive. The summary does
not grant acceptance authority: it reports lexical evidence only; review,
tests, and human judgment still decide correctness and merge readiness. The
summary-written output reports whether the requested summary was rendered.
The repository retains .zenodo.json as passive metadata. Its listed DOI is a
reference to the associated paper, not a software identity; Zenodo archiving is
not a release prerequisite or a promised release side effect.
Agent plugin (Claude Code, Codex CLI, Gemini CLI)
The repository root is one portable Agent Plugin (plugin.json, Agent Plugins
1.0.0) with a single skill, skills/intent-verify/SKILL.md. Each host installs
that same skill with its own native command; none of them gets a separate copy.