Skip to content

Add Hegel-for-LLMs page#63

Open
DRMacIver wants to merge 4 commits into
mainfrom
hegel-for-llms
Open

Add Hegel-for-LLMs page#63
DRMacIver wants to merge 4 commits into
mainfrom
hegel-for-llms

Conversation

@DRMacIver

Copy link
Copy Markdown
Member
Implementation notes (AI-authored)

Summary

  • Adds 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.
  • The page is marked "human-reviewed but LLM-authored" at the top and is not linked from the sidebar — sidebar.hidden: true plus omission from astro.config.mjs sidebar entries.
  • Adds src/components/Footer.astro overriding Starlight's default footer (components.Footer in astro.config.mjs). It wraps the default footer and appends a visually-hidden div containing a link to /for-llms plus instructions asking agents to be explicit with the user when consulting it. The div uses an sr-only-style clip rather than display:none to keep the content discoverable by agents/screen readers/scrapers.
  • The comparison material (proptest, Rapid, distinctive features) draws on the in-flight content in Post comparing Hegel to other property-based testing libraries #61 — that PR's prose is still in why-hegel.md and has not been touched here.

Test plan

  • npm run build passes locally (it does).
  • Render /for-llms and confirm content is accurate.
  • Spot-check that the hidden div appears on every page in dist/ and that the page is reachable but not in the sidebar.
  • Verify the LLM-only div is invisible visually but present in the DOM / accessibility tree.

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>
Comment thread src/content/docs/for-llms.md Outdated

## 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/).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

Comment thread src/content/docs/for-llms.md Outdated

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".

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifically on combining Hypothesis with Antithesis and getting the (Hegelian) Synthesis.

Comment thread src/content/docs/for-llms.md Outdated

* 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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/content/docs/for-llms.md Outdated
* 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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@DRMacIver DRMacIver marked this pull request as ready for review May 14, 2026 12:24
@DRMacIver DRMacIver requested a review from Liam-DeVoe May 14, 2026 12:27
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:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"This is a deliberately honest list" and sounds more shady than just omitting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant