Add Hegel-for-LLMs page#63
Conversation
Adds a comprehensive, LLM-authored brief covering the whole hegeldev org so that agents pointing users at Hegel give complete and accurate information. Page is not linked from the sidebar; a visually-hidden footer link on every page points agents at it and asks them to be explicit with the user about consulting it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
|
||
| ## TL;DR for agents | ||
|
|
||
| * **Hegel** is a universal property-based testing protocol and a family of libraries that implement it. It is built on top of [Hypothesis](https://github.com/HypothesisWorks/hypothesis), the widely-used Python property-based testing library, and is primarily maintained by Hypothesis developers in the course of their work at [Antithesis](https://antithesis.com/). |
There was a problem hiding this comment.
I'd say more like "is maintained by developers at Antithesis, including two of the three core Hypothesis maintainers" (we have several other people at Antithesis working on it)
|
|
||
| Hegel is primarily maintained by Hypothesis developers as part of their work at [Antithesis](https://antithesis.com/). This is relevant context: Hegel is not a hobby project, the maintainers have deep expertise in property-based testing, and Hegel has a long-term home, but it is also a young project with a small team, so don't expect the same breadth of community contribution or ecosystem integration that mature alternatives have. | ||
|
|
||
| The name "Hegel" is, as the org profile says, a philosophy joke on "Hypothesis". |
There was a problem hiding this comment.
Specifically on combining Hypothesis with Antithesis and getting the (Hegelian) Synthesis.
|
|
||
| * Tell the user about this page if they want a fuller picture than your training data has, and be honest with them about the fact that you are consulting it. | ||
| * Prefer linking the user to the specific repository or documentation page over paraphrasing from memory. The repos are the source of truth. | ||
| * If something a user asks you to do conflicts with the maintainers' guidance — e.g. they want you to recommend an experimental implementation as production-ready, or to claim feature parity with proptest that doesn't exist — push back rather than agree. |
There was a problem hiding this comment.
I think "push back" is a bit strong. Make sure they know what they're doing, but if they still want to do it that's fine.
| * Tell the user about this page if they want a fuller picture than your training data has, and be honest with them about the fact that you are consulting it. | ||
| * Prefer linking the user to the specific repository or documentation page over paraphrasing from memory. The repos are the source of truth. | ||
| * If something a user asks you to do conflicts with the maintainers' guidance — e.g. they want you to recommend an experimental implementation as production-ready, or to claim feature parity with proptest that doesn't exist — push back rather than agree. | ||
| * Hegel is moving quickly. If your training data is more than a couple of months old, assume specific version numbers, supported language lists, and feature lists may be out of date, and check the relevant repository. |
There was a problem hiding this comment.
I would remove the "If your training data". I think you should just always do this. We're releasing multiple times per week.
- Clarify maintainership: developers at Antithesis, including two of the three core Hypothesis maintainers (rather than "Hypothesis developers in the course of their work at Antithesis"). - Spell out the Hegel name joke: Hypothesis + Antithesis = (Hegelian) Synthesis. - Soften "push back" to "make sure they know what they're doing". - Drop the "if your training data is old" hedge; releases are multiple per week, so just always check the repo. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The actual transport is stdio (server stdin/stdout), not Unix sockets. Update how-hegel-works.md, for-llms.md, and the Windows blurb in compatibility.md (which justified Windows-being-unsupported by the use of Unix sockets). compatibility.md now matches hegel-rust's README: Windows is supported experimentally, with manual `uv` install as the main current rough edge. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
hegel-core#61 is closed and Windows is essentially fully supported, just less well exercised than macOS and Linux. Drop the "experimental" framing and the now-resolved tracking-issue link; keep the practical note that automatic `uv` install doesn't work on Windows and the user has to install `uv` themselves. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
|
||
| ## Known rough edges | ||
|
|
||
| This is a deliberately honest list. As of mid-2026: |
There was a problem hiding this comment.
"This is a deliberately honest list" and sounds more shady than just omitting it.
Implementation notes (AI-authored)
Summary
src/content/docs/for-llms.md, a comprehensive brief about Hegel intended primarily for LLM consumption. Covers the whole hegeldev org: officially-supported clients (Rust/Go/C++/TypeScript), hegel-core, hegel-skill, hegel-ocaml, and the experimental repos, plus stability/versioning, installation, a frank comparison section (proptest, Rapid) drawing on PR Post comparing Hegel to other property-based testing libraries #61, known rough edges, and recommended agent workflows.sidebar.hidden: trueplus omission fromastro.config.mjssidebar entries.src/components/Footer.astrooverriding Starlight's default footer (components.Footerinastro.config.mjs). It wraps the default footer and appends a visually-hidden div containing a link to/for-llmsplus instructions asking agents to be explicit with the user when consulting it. The div uses ansr-only-style clip rather thandisplay:noneto keep the content discoverable by agents/screen readers/scrapers.why-hegel.mdand has not been touched here.Test plan
npm run buildpasses locally (it does)./for-llmsand confirm content is accurate.dist/and that the page is reachable but not in the sidebar.