Skip to content

GUI layout instruments, and the ceiling figures re-measured - #17

Merged
donislawdev merged 2 commits into
mainfrom
chore/gui-instruments-and-ceiling-figures
Sep 9, 2026
Merged

GUI layout instruments, and the ceiling figures re-measured#17
donislawdev merged 2 commits into
mainfrom
chore/gui-instruments-and-ceiling-figures

Conversation

@donislawdev

Copy link
Copy Markdown
Owner

Two commits, one about tests and one about prose beside numbers. No product code changes, no gate thresholds moved.

What is here

Layout instruments (12 files). A screen can now be laid out, measured and looked at without running the application: where every element landed, which layout facts are wrong under any taste, contrast measured against the background that was actually painted, spacing split into ours and the toolkit's, a sweep across five window sizes, and a contact sheet rendered from protocol events alone. They enter the test-cs gate, taking it from 431 to 449 assertions.

Ceiling figures. The ceilings in clippy.toml and gui/CodeMetricsConfig.txt are a ratchet: the number IS today's maximum, and both are unchanged here. What had gone stale is the prose beside them. The two functions behind cdp_session had swapped places, the cognitive-complexity tie was gone with four items now between the holder and the previously named runner-up, a fourth block had reached the nesting ceiling, and both CA1506 runners-up were higher than recorded.

Measured by asking each lint for every item at once - clippy through CLIPPY_CONF_DIR, the analyzers through -p:ChronoMetricsConfig - both mechanisms this repository already uses for its pinning gates, so nothing was swapped in place. Cross-checked by prediction: at a threshold of 165 exactly two functions fire, which is only true if one is at or below 165 and the other above it.

Verification

Full local gate run including the harness: 14/14 OK in 214 s.

Gate Result
test-rust 453 passed
test-cs 449 passed
harness x64 146 PASS / 0 FAIL
harness x86 146 PASS / 0 FAIL
clippy, clippy-pin clean, 6 real ceilings
metrics-pin 4 real ceilings
site 27 pages / 2 languages
deny, format-cs, build-debug, build-x64, build-x86, matrix OK

🤖 Generated with Claude Code

donislawdev and others added 2 commits September 10, 2026 00:28
Twelve files that let a screen be measured and looked at without running the
application: a layout probe with rules stating what is wrong under any taste,
a contrast report measured against the painted background rather than a
declared one, a spacing report split into ours and the toolkit's, a sweep
across five window sizes, and the contact sheet that renders every session
state from protocol events alone.

They enter the test-cs gate, which goes from 431 to 449 assertions.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The ceilings themselves are unchanged and still equal today's maxima, so no
gate moves. What had gone stale is the prose beside them, which this project
treats as a measurement rather than a note.

Measured by asking each lint for every item at once - clippy through
CLIPPY_CONF_DIR with the thresholds lowered, the analyzers through
-p:ChronoMetricsConfig with a copy of the config, both mechanisms the
repository already uses for its pinning gates, so nothing here was swapped in
place. Cross-checked by prediction rather than by trusting one run.

What moved: the two functions behind cdp_session swapped places, the
cognitive-complexity tie is gone and four items have appeared between the
holder and the previously named runner-up, a fourth block now reaches the
nesting ceiling, and both CA1506 runners-up are higher than recorded.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@donislawdev
donislawdev merged commit f72dea1 into main Sep 9, 2026
8 checks passed
@donislawdev
donislawdev deleted the chore/gui-instruments-and-ceiling-figures branch September 9, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant