1.8 KiB
1.8 KiB
Progress
One entry per session, newest last, ≤ 15 lines: done, verified how, not done, later.
S001 — Workspace, store, settings and strings (2026-11-24)
Done: four crates; core has paths, model, store, settings, strings, logging, redact. No egui dependency yet: the first UI plan adds it to crates/app.
Verified: nice cargo test -j 2 green (34 tests; kill test run 5 times, 5 kills each), build without warnings, --version prints 0.1.0, a made-up tr! key fails the test.
- Store (
store::Store, share inArc):open,add_task/save_task/set_state/delete_task/task/tasks,save_parts(waits) /post_parts(journal, doesn't),parts,save_queue/queues/delete_queue, tags,save_host/host. Calls block briefly: usespawn_blockingfrom async. State and error change only throughset_state(model::State::moves). Migration number 1 (store/001.sql); add002.sqltoMIGRATIONS, never edit 001. - Secrets:
secretcolumns hold a keyring item name. The store refuses cookie/authorization headers anduser:password@links. A token inside a link's query is stored (it is the link) but never logged. - Settings:
Settings::load(path) -> (Settings, Option<Damage>),save,limits(). Speed-mode numbers and the own colour are placeholders. Bad single values fall back alone. - Strings: add the key to
crates/core/lang/en.json, usetr!("key", name = value); plurals are objects chosen byn; run-time keys usestrings::textand need their own test. User files:<config>/languages/<code>.json. - Logging:
logging::init(&paths.log(), level); every line is redacted. Nothing calls it,Paths::createorStore::openfrom the binary yet: whoever starts the engine does. ErrorKindis empty (S007): add variants anderror.<name>texts. Not done: statistics and quota tables (their plans add a migration).