mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-08-12 22:22:46 +00:00
Live-run findings from a real fact-checking task (ankylosing spondylitis genetics, 7 authoritative sources) against the new mode: - Verbatim check rejected a legitimate quote because web_extract returns markdown: the MedlinePlus sentence is "including _[ERAP1](https://...)_, _[IL1A](...)_" on the wire but plain prose to a reader. The agent was forced onto a weaker evidence fragment — the opposite of the point. Matching now canonicalizes inline links to their label and drops emphasis/code markers and backslash escapes on both sides, so quoting the sentence a reader sees works. Paraphrases are still rejected. - Escaped asterisks (HLA-B\*27) no longer have to be reproduced in the quote, so extractor artifacts stop leaking into rendered evidence. - New `render --replace-in <draft>`: rewrites a draft's Sources block in place, idempotently. Previously the only path was hand-slicing the file, which also tripped over the emitted heading being `## Sources` while the prose said "Sources:". - verify stats: report the provenance total that the percentage is actually computed from (cited + [unverified], counted once), and print the line as `info:` instead of `warn:` when nothing is wrong. The old line printed 17 cited / 2 unverified next to 72%, which does not reconcile — a sentence can be both. - SKILL.md documents the emitted heading, --replace-in, and exactly what counts as a prose sentence for --min-coverage. 7 new tests (47 total) using the real MedlinePlus/Frontiers markup; 6 sabotage runs, all red.
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Diagram Linting
CI runs ascii-guard to lint docs for ASCII box diagrams. Use Mermaid (````mermaid`) or plain lists/tables instead of ASCII boxes to avoid CI failures.