chore: add primitive stack graph workflow#580
Open
macbotmini-eng wants to merge 3 commits into
Open
Conversation
Contributor
Author
|
Updated the graph reporter in Changes:
Validation:
|
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
Adds a GitHub-native primitive stack graph reporter for #558.
This keeps the #471 and #473 dependency picture current without requiring a database, server, or external runtime. GitHub Actions runs the reporter, reads live issue/PR state, and upserts one managed report comment on #558.
What this adds
scripts/primitive-stack-graph.tsreport: prints the current Markdown/Mermaid graphcheck: checks graph drift and exits nonzero only for critical driftsync: creates or edits the managed ✍️ Primitive evaluation: #471 and #473 build path #558 graph comment marked with<!-- primitive-stack-graph-report -->.github/workflows/primitive-stack-graph.ymlScope
This does not edit the #558 issue body. The #558 body remains the protected starting snapshot. Current state is maintained through a managed comment.
This is repo automation, not a BFF skill and not a DeFi primitive.
Current graph coverage
The reporter tracks:
Validation
bun run scripts/primitive-stack-graph.ts checkpassedbun run scripts/primitive-stack-graph.ts reportgenerated the current graphgit diff --checkpassedCurrent non-failing follow-ups from the graph check: