jevstrudel.git / tools / agreement

For agents, on top of README.md, which they read first.

Notes for agents

One definition of agreeing. report is agreementReport from website/src/jev/agree.mjs, which the page's results view (VoteResults.jsx) also shows; don't restate it here, or the tool, the results view and the page's "you agree N%" will count different things.

Scores come from the flake's source. The app runs ${self}/tools/agreement/agreement.mjs, which reads songs/ beside it; nix run .#agreement in a checkout sees the working tree's critic: blocks. criticArt reads only the top-level critic: block's art:, the way tools/critic writes it.

Tests run in nix flake check (nix/strudel.nix lists tools/agreement beside website/src/jev and worker).