Repository navigation
Capalith 0.2.2
Pre-releaseCapalith 0.2.2 (pre-release). A search no longer calls a skill a possible match because of a common word like "a", the "weak" line says what it found, a settings error names its key, and there is a new local usage log, off by default.
What changes for you first
The status word on the first line of a search answer is more honest about common words. On our 61 labelled development queries (one 174-skill catalog), 8 first results that said possible now say weak; all 8 were wrong first answers. None of the 29 right first answers changed, and no result or order changed: only the status word. A word in a skill's name always counts; a word in its description counts unless it is on the common-word list (answer.hide_words, shipped with a default; an empty list brings back the 0.2.1 rule). Treat possible and weak as candidates to check, as before. Limits: development queries, English words, the free search; the AI ranking is unchanged and was not rerun.
What is new since 0.2.1
- A local usage log, off by default. With
usage.enabled = truein your own settings file, each search adds one line to an owner-only folder on your machine: time (UTC), tool, ranking path and reason, number of results, status word, duration, error code, and a random id of the install. It never records the query, a skill's text, a path, a user name or a host name (skill names only if you setusage.skill_names). Nothing is sent anywhere.capalith usageprints one line per day. Logging never waits: a line that cannot be written is dropped and counted (config_showshowsusage.write_failures). Cost, measured on one busy machine (174 skills, 1,200 searches, pinned to six cores): the logging call took a median of 0.18 ms and a 95th percentile of 0.21 ms against a search median of 65 ms. Rare single calls took 13 to 234 ms (about 1 in 1,000); we did not find the cause. - The
weakline matches its tag. It said no word of yours was in the name or description while the tag named a word found in the skill's body. It now says the words are only in the body or file names, or that the only words shared are common ones. The sentences are settings (answer.signals). - A rejected settings key is named. A server started with
--sourceor--giton a settings file with a key it does not know now sayssettings_error: unknown key <name>and exits, instead ofcatalog_setup_failedwith the cause hidden. A server with automatic source discovery still starts and reports the error on each call.
Before you upgrade
- Turn the usage log on only after every Capalith server that reads that settings file runs 0.2.2, and turn it off (remove the
[usage]table) before you go back to 0.2.1. A 0.2.1 server rejects the table: in our scratch test every call of an already running 0.2.1 server failed withsettings_error: unknown key usagefrom its next call on (10 of 10 calls on two servers), a new 0.2.1 server started with--sourceexited at start, and one with automatic discovery started but failed every call. Removing the table fixed all of them with no restart. - The catalog is unchanged. On a scratch copy, 0.2.2 opened a 0.2.1 catalog in place with no rebuild; all 61 development queries returned identical ranked lists on 0.2.1 and 0.2.2, and a running 0.2.1 server kept answering after the upgrade. Limit: one catalog, one machine.
Not supported yet
Linux on x86_64 with Python 3.11 is what we support and test. macOS and native Windows are not supported. On Windows through WSL2 the test suite passes in CI, but a real Windows host is untested and unsupported.
Install and verification
Assets: capalith-0.2.2-py3-none-any.whl, the source archive, SHA256SUMS and verification.json; the README's install steps use the wheel. All 265 source tests passed on the release candidate. The wheel and source archive were built from the reviewed commit, and every package file in the wheel matches it.
This remains an alpha pre-release.