Skip to content

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

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

zaiev merged 1 commit 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. An agent using wiretype 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. The version is named here, beside the change, so the release costs no CI run of its own.

Changes

  • What [@@deriving wiretype] writes for a type that holds itself names the type of the description it forces, so a project that runs litany's untyped-ignore has no finding at each such type.
  • 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; AGENTS.md names the Ppxlib open and the src/gen/ per-path, the litany file's only additions.
  • CHANGES.md names 0.7.2.

Verified

  • make lint: 37 rules, 70 units, 0 findings.
  • make test: 165 Zod rows pass, and every OCaml suite.
  • make docs builds the site and leaves agents/ unchanged.

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. What the deriver writes for a type that holds itself
names the type of the description it forces, so a project that runs
litany's untyped-ignore has no finding there either. The deriver's open
of Ppxlib is allowed with its reason, and the generators under src/gen/,
build-time programs, are the one per-path.

An agent using wiretype 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.
@zaiev
zaiev merged commit b0d2e1a 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 18:20
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