Skip to content

Release 0.5.4: check the rules by litany and send agents to the docs - #5

Merged
zaiev merged 3 commits into
mainfrom
check-the-rules-by-litany-and-send-agents-to-the-docs
Dec 3, 2026
Merged

zaiev merged 3 commits into
mainfrom
check-the-rules-by-litany-and-send-agents-to-the-docs

Conversation

@zaiev

@zaiev zaiev commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

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

  • A connection that fails while it is being opened keeps the backtrace of the exception its socket is closed on.
  • Every interface's opening comment names its page, or the package's llms.txt, by its path through opam var; the README's With an agent says the same for any package.
  • make lint runs litany check, and CI installs it; the one read of the system clock, to verify a certificate against sslrootcert, is allowed with its reason and named in AGENTS.md.

Verified

  • make lint: 37 rules, 50 units, 0 findings.
  • make test against the Podman Postgres: 364 tests pass.
  • make docs builds the site and leaves agents/ unchanged.

zaiev added 2 commits December 3, 2026 16:11
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.
@zaiev zaiev changed the title Check the rules by litany and send agents to the docs Release 0.5.4: check the rules by litany and send agents to the docs Dec 3, 2026
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
zaiev merged commit 90a53eb into main Dec 3, 2026
4 checks passed
@zaiev
zaiev deleted the check-the-rules-by-litany-and-send-agents-to-the-docs branch December 3, 2026 17:09
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