Repository navigation
docs: one README capture per viewer, light and dark - #9
Merged
Merged
Conversation
The README viewers section becomes a gallery: model explorer, query results, value change, requirements, requirements trace, validation and two diagram views, each with a caption. The documentation harness can now deliver a recorded tool result as a host does and answer the viewer's own calls from recordings (only for the element asked for), so captures show what a host shows instead of the recorded-session notices. It waits for those answers before it is ready, and fails the capture when a recording cannot be read or a view name is unknown. The capture script crops each image to the viewer and accepts view names to capture only those. New tool results recorded on the local audit project live in tests/fixtures/live-audit, with contract tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
2 tasks done
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
docs/fixtures/viewer-preview.html) has a second mode. It delivers a recorded tool result as a host does (ui/notifications/tool-result,serverToolsadvertised), and answers the viewer's owntools/callrequests from recordings, only for the element asked for.?view=fails the capture instead of writing a wrong image.deno task docs:viewer-screenshotcrops each image to the viewer plus a 24 px margin, and accepts view names, e.g.deno task docs:viewer-screenshot validation. The four diagram PNGs are byte-identical to before.tests/fixtures/live-audit, documented in its README and covered by contract tests:syson_element_childrenon the Batmobile root;syson_query_evalwithaql:self.eAllContents(sysml::PartUsage);syson_value_setonWheel::width, 26 → 28, set back afterwards;syson_element_geton that same attribute;syson_constraint_validateon a newDroneBudgetpart definition: 3 pass, 1 fail.Test plan
deno task fmt,lint,check,test(278 passed)deno task docs:viewer-screenshot: 18 images written, each one inspectedCAPTURE_TOOL_FAILED viewer error:syson_element_get recording: Fixture HTTP 404when that recording is missingSeen while recording, not fixed here
thrust / (totalMass * 9.81) >= 2reportsCannot parse literal value from 'LiteralRational'.syson_query_requirements_tracecannot resolve satisfying features, because SysON returnssatisfyingFeatureas void even forsatisfy massBudget by budget;. Every satisfaction link shows as unresolved.🤖 Generated with Claude Code