Skip to content

chore: add primitive stack graph workflow#580

Open
macbotmini-eng wants to merge 3 commits into
BitflowFinance:mainfrom
macbotmini-eng:macbotmini/primitive-stack-graph-report
Open

chore: add primitive stack graph workflow#580
macbotmini-eng wants to merge 3 commits into
BitflowFinance:mainfrom
macbotmini-eng:macbotmini/primitive-stack-graph-report

Conversation

@macbotmini-eng
Copy link
Copy Markdown
Contributor

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.ts
  • .github/workflows/primitive-stack-graph.yml
    • manual dispatch
    • six-hour schedule
    • issue event trigger
    • pull request target trigger

Scope

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 check passed
  • bun run scripts/primitive-stack-graph.ts report generated the current graph
  • workflow YAML parse passed
  • git diff --check passed
  • public report leak scan passed

Current non-failing follow-ups from the graph check:

@macbotmini-eng
Copy link
Copy Markdown
Contributor Author

Updated the graph reporter in 298140d to make the generated #558 report easier to read for humans.

Changes:

Validation:

  • git diff --check origin/main...HEAD passed.
  • bun run scripts/primitive-stack-graph.ts check passed with authenticated GitHub reads.
  • bun run scripts/primitive-stack-graph.ts report generated the updated Mermaid/table output.
  • GitHub validate is passing on head 298140d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants