Prepared 2026-11-17. The tag v2.0.0 is pushed by the owner, after v1.2.0; the release workflow then
builds, signs and publishes the archives (release signing).
Proposed tag message:
Lesscode 2.0.0: model calls move to a second binary,
lesscode-model(endpoint file, waits,check,measure);regenerate runneeds it and loses two flags
- A second binary,
lesscode-model. It makes every model call. It reads one endpoint file (API style, base URL, model, key, an optional reasoning level), sends the request, and waits when the endpoint refuses for a rate limit: 10 seconds first, then at least twice the wait before, up to 10 minutes in all. While it waits, and while an answer takes longer than earlier ones did, it says so on the terminal. It speaks OpenAI-compatible endpoints and Anthropic's Messages API. Guide: model-endpoint.md. lesscode-model checkmakes one small call and says whether the endpoint is usable, and if not, what the endpoint answered.lesscode-model measureruns a task set several times and reports how often the first reply passed, how often a reply passed within two repairs, and calls and output tokens per accepted answer. It ends with one of three verdicts.--quickruns 5 trials.- Each platform has two archives,
lesscode-core-<target>andlesscode-model-<target>, each with its own license inventory. The install scripts fetch the second one whenLESSCODE_WITH_MODEL=1is set. - One endpoint file can serve several models:
LESSCODE_MODEL_NAMEandLESSCODE_MODEL_REASONING_EFFORTin the environment stand before the file.
- The pre-push hook printed "Pre-push verification passed." before the step guard had run, so a refusal by the guard followed that line. It is printed once, after every check has agreed.
- A failed model call says what the endpoint answered, once.
This is a major version because two things break an existing regenerate run. If you do not use
regenerate run, nothing changes for you: no other command of lesscode-core calls a model.
regenerate runneedslesscode-model.lesscode-coreno longer holds an HTTP client. Putlesscode-modelbesidelesscode-coreor on the search path, or name it inLESSCODE_MODEL_BIN. Without it the command ends with exit code 3 and says where it looked.regenerate runrefuses--effortand--thinking-display. The reasoning level comes from the endpoint file.--temperatureis sent only when you give it.- A new receipt's turn says
"mode": "seam-1"and lists undersentonly the settings that were sent.elapsed_sis nowseconds;model_sent,model_returned,seedandseed_noteare gone. Earlier receipts keep their form and still verify. - The stop word of an answered turn is
completefor every endpoint, where it used to be the endpoint's own word (end_turn,stop). - Everything else is as in 1.2.0.
regenerate run completed one turn on each of six cases through the two Windows binaries of a release
dry run (R113): GLM 5.3 and
Mistral Large on Mistral's API, gpt-6.1-sol on OpenAI's, claude-opus-5-5 on Anthropic's, and the
first two again through a local endpoint. That is one turn per case; it measures no model.
Not tried: the binaries of the other four targets were built and packed, not run. The publish stage has not run with ten archives. The install scripts' path for the second binary passed a syntax check only, because no release carried that archive yet. The last four changes before this release (the two removed flags, the reason said once, and two rules of the repair loop) are covered by scripted tests, with no live call.
measure tells you how often a model's replies passed the checks of a task set. It does not tell you
that an accepted reply is correct beyond those checks, and five trials are a first look, not a
measurement.
- Tag
v1.2.0first, atdb175e5(pipeline run 43087717445 was green there), and let it publish. - Tag a commit of main for which CI is green on all five platforms.
- Set
date-releasedinCITATION.cffto the day of the tag if it is not 2026-11-17. git tag -a v2.0.0 -m "<the tag message above>"andgit push origin v2.0.0.- Approve the
releaseenvironment when the workflow asks. - After publication: check signatures, checksums and the attestation for all ten archives, and that
Zenodo archived it. Then run
install.shandinstall.ps1once withLESSCODE_WITH_MODEL=1.