Repository navigation
docs(blog): four inline SVG figures for 'The Ontology Is the Software' - #22958
Merged
Merged
Conversation
Three interfaces and one user, four places to one definition, the ontology-runtime architecture, and the three routes for enterprise knowledge, each drawn as an inline SVG server component so it follows the site's dark class rather than the OS preference. Each figure draws a wide layout from the lg breakpoint and a stacked one below it, and carries a title, a description and a one-line italic caption. The essay's prose and frontmatter are unchanged. Claude-Session: https://claude.ai/code/session_011hRnra93sK5Q2gTYYTbdJR Co-authored-by: Claude <noreply@anthropic.com>
The uppercase eyebrow lines were the smallest text in the figures and rendered at 10.5 px in the stacked drawings at phone width; 12 units keeps them at 11 px or more there, with every line still inside its box. Claude-Session: https://claude.ai/code/session_011hRnra93sK5Q2gTYYTbdJR Co-authored-by: Claude <noreply@anthropic.com>
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.
Fixes #22948
Clause-②: no
Four figures drawn for the essay "The Ontology Is the Software", as the card specifies: inline SVG rendered by server components, readable under both themes, one italic caption each. The essay's prose and frontmatter are unchanged: its diff is eight added lines (four figure elements and their blank lines) and zero removed.
Written by an os-dev run dispatched from seat domain:devx#2, session https://claude.ai/code/session_011hRnra93sK5Q2gTYYTbdJR.
What changed
apps/docs/components/figures/primitives.tsxdark:value), a type scale,Box,Circle,Arrow(drawn polygon heads, no SVG markers),EdgeLabel,Drawing(ansvgwithrole="img",title,desc, aviewBoxand 100 percent width) andFigure(the plate plus an italicfigcaption).apps/docs/components/figures/three-interfaces.tsxapps/docs/components/figures/one-definition.tsxapps/docs/components/figures/ontology-runs.tsxapps/docs/components/figures/three-routes.tsxapps/docs/components/figures/index.tsapps/docs/mdx-components.tsxMermaid.content/blog/the-ontology-is-the-software.mdxHow it works
darkclass next-themes puts on the html element, not the OS preference. The figures are server components with no client script; the essay stays a static (SSG) route.viewBox840 units wide) from thelgbreakpoint (1024 px) up, and a stacked drawing (360 units wide, capped at 440 px) below it. The hidden drawing isdisplay: none, which also removes it from the accessibility tree, so a screen reader meets each figure once. Scaling the wide drawing to a 390 px phone would set its 12.5-unit text at about 5 px.font-familyis set anywhere in a figure. The computed family on figure text is the page's own stack, and the essay requests the same three woff2 files as a blog post without figures.Measurements
Built site (
next starton the build at fa8dda4), the preinstalled Chromium, 1280 px and 390 px, each theme set through the site's own storage key with the OS preference set to the OPPOSITE scheme.html.darkmatched the site theme while the OS preference was the opposite, and the figures took the site theme's palette. The site's own "Toggle Theme" button flipped figure text from lab(7.8) to lab(98.3) without a reload.viewBox, with no text-on-text or connector-on-text overlap: 0 problems under the site's font stack in the built page, and 0 under DejaVu Sans (the widest common fallback face) in a scratch render. There is no horizontal page overflow at 390 px.Gates (at fa8dda4)
pnpm --filter @objectstack/docs buildunderscripts/pm/os-verify-lock.sh:VERDICT command-exit 0./en/blog/the-ontology-is-the-softwarewas prerendered (SSG), andgit statuswas clean after the build's spec generators ran.pnpm --filter @objectstack/docs typecheckunder the lock:VERDICT command-exit 0.tsc --noEmit --listFileslists all seven changed TypeScript files in the program.node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack(no paths, change set from merge base 51b43a8) derived 31 commands. All 31 ran with exit 0, and--ranreports "31 run, 0 NOT-MEASURED". On its first runcheck:doc-formula-expressionsexited 3 (prerequisite not met, no verdict); it went green afterturbo run build --filter=@objectstack/formula --filter=@objectstack/lint.pnpm check:docs-image-tag: exit 0. It is a roster family, not in the derived set, and was run because the card names it.Acceptance notes
prose-neutralanddark:prose-invertclasses produce no CSS under fumadocs' own typography plugin, which defines neither modifier. Prose colours switch through thefdtokens under thedarkclass.apps/docsis private,content/blogpublishes nothing, andpackages/**is untouched, so the label isskip-changeset.Generated by Claude Code