Show what /graph actually produces - #38
Merged
Merged
Conversation
Both /graph documents described the HTML view in prose and left the reader to imagine it. assets/graph_example.png is a real run — /graph "access review" --html against the mock corpus — with the hub document selected, so the screenshot carries the part that matters: neighbours stay lit while the rest dims, and the panel lists all nine of that document's edges, each with the words that earned it and the score they carry. The terminal half goes into the COMMANDS.md entry as text rather than a second image: it is copyable, searchable and readable by a screen reader, which a picture of a terminal is not. The capture triggers the same code path a click runs, once the layout has settled — nothing about the rendering is staged. Tests: 1,148 -> 1,151. The image is an asset like any other and can go missing, so the suite checks it exists, really is a PNG, is referenced from both documents by a path that resolves from each one, and carries alt text. Co-Authored-By: Claude Opus 5 (1M context) <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.
Both
/graphdocuments described the HTML view in prose and left the reader to imagine it.assets/graph_example.pngis a real run —/graph "access review" --html access.htmlagainst the mock corpus — with the hub document selected, so the screenshot carries the part that matters: neighbours stay lit while everything else dims, and the panel lists all nine of that document's edges, each with the words that earned it and the score they carry.Added to:
/graphentry, under OutputThe terminal half goes in as text rather than a second image: a code block is copyable, searchable and readable by a screen reader, which a picture of a terminal is not.
On how it was captured: the screenshot triggers the same code path a click runs, once the layout has settled. Nothing about the rendering is staged — it's the file
--htmlwrote, opened at 1480px.Tests
1,148 → 1,151. A docs image is an asset like any other and can go missing, so the suite now checks it exists, really is a PNG (magic bytes), is referenced from both documents by a path that resolves relative to each document, and carries alt text longer than a placeholder.
🤖 Generated with Claude Code