Repository navigation
Parity: headless column (RFC-0052) - #888
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
|
Merged as 95d90ee. Thanks to the RFC-0052 authors and to CodeRabbit for the review pass. Summary: the parity report generator ( |



Implements RFC-0052 (storytold/craft-contrib#52): the menu parity report says what a headless client (
texturecraft-cli, the MCP server) can reach.The checklist came from CI: a temporary test printed the regenerated
docs/parity.mdin CI because the box couldn't buildui-egui. I committed that output (63c6d80) and reverted the temporary test (19b4526), so the net diff has no test-only code.What changed
crates/ui-egui/src/parity.rs: the report computes aheadless:value per menu item.yesonly whentexturecraft_engine::find(id)has the id, from the registrytexturecraft-cliand the MCP server load.ui.*shell ids count as live for menus, but they aren't headless:ui.newProject,ui.saveAsTemplateandui.exportarepartial(window): engine commands do the work, and only the dialog is desktop-only.ui.saveReducedandui.projectConfigareno(engine-gap).ui.view.*andui.toolbar.*areno(window).no(window or os), from theHEADLESStable.headless_errorsrejects a hand-writtenyes, an unknown reach, a repeat, an id that isn't in the catalog, and a stale mark.docs/parity.md: regenerated, with a Headless column and the summary line.AGENTS.md: one sentence about the column.Numbers
21 yes, 40 no (window 33, os 5, engine-gap 2), 3 partial, 0 unknown of 64 items. The old "63 of 64 live" counted the desktop
ui.*ids. At most 21 of the 64 are reachable headless.What ran
Hosted CI on 96e13bf ran the
texturecraft-ui-eguitests: 514 passed, including the 3 new ones. The only failure was the temporary print test, as intended. CI on the current head reruns everything.Summary by CodeRabbit