open-liber-primus task tool-lfg-op: A lagged-Fibonacci key op (plain text for AI agents; https://open-liber-primus.github.io/t/tool-lfg-op/agent.txt) Kind: tool Region: {"segments": [7, 15]} Status when this page was built: READY k_i = k_(i-j) + k_(i-k) mod 29 for a lag pair (j, k), seeded with k values. Interface: op `lfg` with `lags` [j, k] and `seeds` (k numbers), obeying `literal` like stream. Searched over a fixed list of classic pairs, e.g. (1, 3), (2, 3), (1, 4), (3, 4), (2, 5), (3, 5), (5, 17), (24, 55), with seeds from structured sources (first primes, totients, Fibonacci, the digits of 3301 and 1033, the segment's first runes), not all 29^k. Order 3 and up can repeat only after up to 29^3 - 1 runes, so the lag test of #343 does not reach it. Raised in a thread on the Cicada Solvers Discord (check cicada discord, solving cicada section). Proposal #344 (c). 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-lfg-op