[architecture] Update architecture diagram - 2026-04-03#24264
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the gh-aw architecture documentation to reflect newly added internal tooling entry points and a refreshed diagram layout.
Changes:
- Adds an
internal/tools/tier (actions-build, generate-action-metadata) to the Entry Points layer in the diagram. - Refreshes diagram formatting/layout for readability.
- Extends the Package Reference table with the two internal tools.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # Architecture Diagram | ||
|
|
||
| > Last updated: 2026-03-31 · Source: [Run §23789178746](https://github.com/github/gh-aw/actions/runs/23789178746) | ||
| > Last updated: 2026-04-03 · Source: [Issue #aw_arch01](https://github.com/github/gh-aw/issues) |
There was a problem hiding this comment.
The "Source" link text and URL look incorrect: it references "Issue #aw_arch01" but links to the generic issues list (…/gh-aw/issues) rather than a specific issue or the workflow run that generated the diagram (as described in the PR). Please update this to the correct source (e.g., link directly to the generating run or a real issue URL).
| │ ┌────────────────────────────┐ ┌────────────────────────┐ ┌────────────────────────────────┐ │ | ||
| │ │ cmd/gh-aw │ │ cmd/gh-aw-wasm │ │ internal/tools/ (×2) │ │ | ||
| │ │ GitHub CLI extension bin │ │ WebAssembly target │ │ actions-build, gen-metadata │ │ | ||
| │ └────────────┬───────────────┘ └────────────┬───────────┘ └──────────────┬─────────────────┘ │ |
There was a problem hiding this comment.
In the diagram, the internal tool is abbreviated as "gen-metadata", but elsewhere (and in the package reference table) it's named "generate-action-metadata". Consider using the full tool name here (or a consistently used abbreviation) to avoid confusion when cross-referencing packages.
| │ ┌────────────────────────────┐ ┌────────────────────────┐ ┌────────────────────────────────┐ │ | |
| │ │ cmd/gh-aw │ │ cmd/gh-aw-wasm │ │ internal/tools/ (×2) │ │ | |
| │ │ GitHub CLI extension bin │ │ WebAssembly target │ │ actions-build, gen-metadata │ │ | |
| │ └────────────┬───────────────┘ └────────────┬───────────┘ └──────────────┬─────────────────┘ │ | |
| │ ┌────────────────────────────┐ ┌────────────────────────┐ ┌──────────────────────────────────────────────┐ │ | |
| │ │ cmd/gh-aw │ │ cmd/gh-aw-wasm │ │ internal/tools/ (×2) │ │ | |
| │ │ GitHub CLI extension bin │ │ WebAssembly target │ │ actions-build, generate-action-metadata │ │ | |
| │ └────────────┬───────────────┘ └────────────┬───────────┘ └─────────────────────┬────────────────────────┘ │ |
Updates
scratchpad/architecture.mdwith the incremental architecture diagram reflecting changes sincef5a2c2a.What changed
internal/tools/tier to the Entry Points layer:internal/tools/actions-build— build/validate custom GitHub Actionsinternal/tools/generate-action-metadata— generateaction.ymland README.md for JS modulespkg/cli, extending its role beyond the main CLI binaryinternal/toolsrows to the Package Reference tableSource
Generated by the architecture diagram workflow run §23940712069.