Repository navigation
Release 0.5.4: check the rules by litany and send agents to the docs - #5
Merged
zaiev merged 3 commits intoDec 3, 2026
Merged
Conversation
make lint checked formatting, odoc and the release build, so the rules a compiler does not hold were held by reading. litany now runs there on Hypha's lint set, with the gold copy held whole in the litany file, and the code meets it: Int's max for the polymorphic one, the type named at each ignore in the tests, each description message matched by its own case where a wildcard stood, and a backtrace kept where a connection being opened closes its socket before raising again. The driver reads the system's clock once, to verify a certificate against sslrootcert, since connect is given a monotonic clock alone and taking a wall clock would change its signature. That one use is allowed with its reason beside it, and AGENTS.md names the place. An agent using postgres-eio reaches its signatures in the switch's lib/, by go-to-definition, a hover or a read, and never opens its doc/, where the catalogue and the pages are installed. So every interface names its page, where a page is about it, or its package's catalogue, by its path through opam var, and the README's With an agent says the same, in a line for a project's AGENTS.md that works for any package.
Two of its rules restated OCAML.md: the litany file held whole, and a driver's failures as values with cancellation passed through. What is the driver's own stays: which failures close the connection, and how a callback's exception and Fail travel.
zaiev
deleted the
check-the-rules-by-litany-and-send-agents-to-the-docs
branch
December 3, 2026 17:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
make lint checked formatting, odoc and the release build, so the rules a compiler does not hold were held by reading; litany now runs there on Hypha's lint set, with the gold copy held whole in the litany file. And an agent using postgres-eio reaches its signatures in the switch's lib/, never its doc/, where the catalogue and pages are installed, so every interface now points it there.
Changes
llms.txt, by its path throughopam var; the README's With an agent says the same for any package.make lintrunslitany check, and CI installs it; the one read of the system clock, to verify a certificate againstsslrootcert, is allowed with its reason and named in AGENTS.md.Verified
make lint: 37 rules, 50 units, 0 findings.make testagainst the Podman Postgres: 364 tests pass.make docsbuilds the site and leavesagents/unchanged.