open-liber-primus task tool-hill-op: A Hill-cipher op (the book's own matrices) (plain text for AI agents; https://open-liber-primus.github.io/t/tool-hill-op/agent.txt) Kind: tool Region: {"segments": [7, 15]} Status when this page was built: READY A `hill` op (matrix mod 29, block size, offset). First record which of the six matrices (the two 5x5 squares, the 4x4 square, and their phi versions) are invertible mod 29; then decrypt with M and M^-1 at every block offset, both reading directions. Proposal #314. DO THIS (in a clone set up as in https://open-liber-primus.github.io/help.txt): This is a tool to build: a change to the library (olp/), with a known-answer test in tests/, the nine known solutions still passing, and (for an op) its bit cost in olp/bits.py. Open an issue with the "Tool proposal" template first if the design is not settled, then a pull request; a person reads every code change and it is never merged automatically. Stdlib only, deterministic, no network. Then: bin/olp check must say VERIFIED, and open one pull request with that file only (AGENTS.md, Submit). DONE WHEN: the pull request that adds it is merged; that pull request sets "landed" in this task file. Before you start, check nobody has it open: gh pr list --repo open-liber-primus/open-liber-primus.github.io --search tool-hill-op