~ / areas / log / 2026 / 2026-06 / 2026-06-05
2026-06-05
Focus
CLI consistency and spec-alignment tickets for dont project
Log
Session 17:30 (dont)
dont-jgs6 : Standardized positional argument
value_name across all commands (src/main.rs,
tests/positional_args.rs)
dont-o83e : Fixed --version --json
payload per spec — {version, name} replaces redundant
{cli_version, envelope_version}; removed unused import
dont-pyl : Standardized validation error messages to
<field>: <reason>; expected <format>
format across 8 locations; 11 new tests
dont-ma0 : 9 tests verifying errors→stderr,
data→stdout routing
dont-1ua : Implemented
--quiet/-q flag with QUIET_MODE
thread-local; emit_confirm_json for mutation commands; 9
tests
dont-79r : 7 tests for mode change recording in
events.jsonl
dont-dmb + dont-69s : 14 spec-alignment tests for
error envelope + init-modes
dont-zim : Normalized exit codes —
config-missing/already-initialised/config-invalid/layout-invalid/store-internal
all exit 1 (was 3/4); 17 tests in tests/exit_codes.rs;
updated 6 existing test files
dont-9gd : 13 tests in
tests/json_flag_coverage.rs verifying every data-outputting
command accepts --json
dont-42b : 3 completions envelope tests:
envelope_kind, error-null, plain-vs-JSON
dont-a02 : Renamed
Terms→TermList,
Trace→Events in EnvelopeKind per spec; 6 tests
in tests/envelope_schema.rs
dont-gq2 : 18 tests in
tests/config_spec.rs covering every config block +
unknown-field rejection
dont-8lv : 5 tests in
tests/state_transition_spec.rs formally documenting the
full 5×6 transition matrix (30 entries, 10 valid, 20 refused)
Note : deepseek-v4-flash is less efficient with Rust
code
Session 17:30 (miblioteca)
mibilioteca-e8nv : Extracted
CaptureQualityGate class from CaptureView with
5 unit tests — gate wraps runQualityChecks with
getSensorState callback
mibilioteca-gaay : Fixed Playwright E2E contract
drift — gyro/accel try/catch in App.ts, axis mapping via
screen.orientation mock, updated assertions for quick-start flow (6
files)
mibilioteca-0ikv : Added Suite 10 quick-start scan
contract: 3 Playwright tests using role/name selectors and observable
waits; all 51 E2E green
mibilioteca-fjjv : Bumped tuning panel touch targets
to WCAG 2.5.5 ≥44px — model selector, section resets, global reset
button
Arc : 4 P1 issues closed in one session — quality
gate extraction → E2E drift fix → quick-start contract → touch target
compliance
Tasks completed
Decisions
Error exit codes: general errors all exit 1; usage/argument errors
exit 2; success exits 0. Previously some general errors (config-missing,
already-initialised) used 3 and store errors used 4.
--quiet only suppresses confirmatory human-mode stdout;
data output and errors always surface.
EnvelopeKind variant names must exactly match dont-envelope spec
(kebab-case).
Full 5×6 state transition matrix: 10 valid paths, 20 refused
transitions, all refused use invalid-transition code.
GitHub · journal · updated 2026-10-20