Repository navigation
Description
Objective. Raise the measured coverage floors over four named gaps, then re-bless the floor values from the new measurement.
Why. The measured floors are 81.1% lines / 78.7% functions, rising-only from there, with a 99% target. A rising-only ratchet only rises if something raises it — the four items below are the named work that converts a coverage number into coverage the number is measuring. The gap is not random: it is concentrated in error paths, which is exactly where a raster editor hides bugs (a malformed PSD, a refused catalog command, a degenerate radius).
Current state. The floors are rising-only, so nothing here can be undone by landing more code — but each item must also land its own raised floor, or the ratchet records no progress.
Work
- 14.2 — catalog refusal branches.
mask(~319) andobject(~317) are the big ones; then path, text, bitmap, web. Each command's error rows are mechanical: wrong payload shape, missing target, out-of-range params. Write a table-driven helper (payload → expect refusal) and cover everyErrarm. Accept: each listed file ≥ 95%. - 14.3 —
compose/effects.rsedge parameters. Zero-size inputs, degenerate radii, boundary pixels. These are the cases that produce panics or garbage pixels in a raster pipeline, so the coverage is load-bearing for correctness, not for the number. - 14.4 —
io/psd.rsmalformed headers. Truncated chunks, bad version, impossible dimensions. Malformed-input handling is a correctness property of the decoder; an untested decoder is a decoder whose failure mode is unknown. - 14.5 — re-measure and re-bless. After each of the above lands, re-measure the workspace coverage and re-bless the floors from that measurement. The floors must never be set above the measured value, and the measurement that produced each new floor is recorded alongside it.
Acceptance
- Each item's floor is raised, and the raised floor is recorded with the measurement that produced it — in the session log (
docs/SESSIONS.md) and in the re-blessed floor configuration. - Each of the six listed catalog files (mask, object, path, text, bitmap, web) is at or above 95% line coverage.
-
crates/compose/effects.rsandcrates/io/psd.rshave the named edge/malformed cases covered by tests that assert behavior (not merely that a line executed). - The re-bless command (
cargo run -p xtask -- aegis-adjacent coverage tooling, or the project's coverage gate) is green with the new floors.
Verification. The project's own gate: cargo run -p xtask -- ci, plus the coverage job's own floor comparison — read from the job's status row in the authoritative store, not from a watcher's output.
Tracking: tasks #154, #155, #156, #184.
Next action (owner: coverage). Start with 14.2's table-driven helper — one helper serves all six files, and the refusal arms are the bulk of the missing lines. Land the helper plus the mask and object tables, then re-measure.
Activity
aliasfoxkde commentedon Nov 10, 2026
Status: IN PROGRESS
Landed:
crates/colorandcrates/geomnow carry#![deny(missing_docs)]onmain(see #29 for the measured count). The measured floors remain 81.1% lines / 78.7% functions against the 99% target.Still outstanding: 14.2 (catalog refusal branches across mask/object/path/text/bitmap/web), 14.3 (
compose/effects.rsedge parameters), 14.4 (io/psd.rsmalformed headers), and the 14.5 re-measure and re-bless.Next: land the table-driven refusal-branch helper, then re-measure and record the new floors with the measurement that produced them. Owner: crate owners for each file; re-bless by the xtask owner.
aliasfoxkde commentedon Nov 24, 2026
Resolved: coverage gates implemented in PR #186