Refresh X-Mech overview from current published Mech sites - #72
Merged
Merged
Conversation
This was referenced Sep 16, 2026
realmarcin
added a commit
that referenced
this pull request
Sep 16, 2026
…e heatmap up Rebuilt onto main after #71 and #72 landed, which replaced the assembler with a manifest-driven one, added a test suite and a CI check, and took the fleet to ten members. Two pieces of the original branch were superseded and are dropped: main already derives the graph's accessible title from the fleet count, and already gives NaturalProductMech its Browse button. A fifth stat tile carries merged pull requests summed across the ten Mech repositories, and every card gains a line of small print under its headline number with that Mech's reviewed records and merged PRs. Whether a Mech tracks review is read from its LinkML schema, not from the values its records happen to carry. Seven declare a status slot whose enum permits REVIEWED, so a zero there is a real zero. MediaIngredientMech and CultureMech have a mapping_status, but its enum runs UNMAPPED to AMBIGUOUS and never reaches REVIEWED, so it grades mapping rather than review; CommunityMech has no such slot. Those three print only their PR count, because "nobody has reviewed one" and "this Mech does not track review" are different claims. mech_stats.py takes fleet membership from the manifest snapshot, the same source assemble_page.py validates the cards against, so a Mech admitted to the fleet cannot end up with a card and no stat line. roots.ORDER is a narrower thing, the members the vocabulary scans have measured, and stays at nine. TaxonMech's record glob lives in mech_stats.py until the census reaches it. assemble() now refuses to build if the stats miss a member, and two tests cover that and the untracked-review case. The Shared vocabulary heatmap moves above the graph, from the template into the fragment, since the graph is what it explains. Its heading is raw HTML carrying the id kramdown would have generated, because markdown is not processed inside the fragment. Graph nodes are lit as spheres: one highlight gradient and one limb gradient, both in objectBoundingBox units so a single pair serves all ten, neither carrying a hue, both multiplying over whichever Mech colour is underneath. The weighting is a theme token because it has to change -- light-theme Mech colours are far darker, carrying their contrast against white, and a limb tuned for the dark theme turned them to mud. The overlays take no pointer events, so hovering still hits the node. The hub keeps its flat fill and reads as the centre. The stat strip steps 5 to 3 to 2 columns on explicit breakpoints; auto-fit picks four between roughly 700px and 1010px and strands the fifth tile alone. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BXHrBTSU8fU4Zg7HfaMKs9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The X-Mech overview contains outdated corpus totals, including TaxonMech’s original 100-record snapshot. Refresh all ten cards and graph details against the published Mech sites checked September 15, 2026, including MediaIngredientMech’s live catalog counts. Add links to current embedding, chemical, protein and strain browsers.
Clearly distinguish current published-browser totals from the earlier nine-Mech vocabulary census, which was not recomputed. Refresh the governance snapshot from published CLAW main and regenerate mechs.md from its source template.
Validation