-
Notifications
You must be signed in to change notification settings - Fork 374
[architecture] Update architecture diagram - 2026-04-22 #27792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,70 +1,82 @@ | ||||||
| # Architecture Diagram | ||||||
|
|
||||||
| > Last updated: 2026-04-21 · [Run §24714109908](https://github.com/github/gh-aw/actions/runs/24714109908) | ||||||
| > Last updated: 2026-04-22 · Source: [Issue #27791](https://github.com/github/gh-aw/issues) | ||||||
|
||||||
|
|
||||||
| ## Overview | ||||||
|
|
||||||
| This diagram shows the package structure and dependencies of the `gh-aw` codebase. | ||||||
|
|
||||||
| ``` | ||||||
| ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐ | ||||||
| │ ENTRY POINTS │ | ||||||
| │ ┌──────────────────────────┐ ┌─────────────────────────────┐ │ | ||||||
| │ │ cmd/gh-aw │ │ cmd/gh-aw-wasm │ │ | ||||||
| │ │ (main CLI binary) │ │ (WebAssembly target) │ │ | ||||||
| │ └───┬──────────────────────┘ └──────────┬──────────────────┘ │ | ||||||
| ├──────────────────────────────────────────────────────────────────────────────────────────────────┤ | ||||||
| │ ▼ CORE PACKAGES ▼ │ | ||||||
| │ ┌──────────────────┐ ┌───────────────────────┐ ┌──────────────────────────────┐ │ | ||||||
| │ │ pkg/cli │──▶│ pkg/workflow │──▶│ pkg/parser │ │ | ||||||
| │ │ CLI commands & │ │ workflow compilation │ │ markdown/YAML frontmatter │ │ | ||||||
| │ │ dispatch layer │ │ & Actions generation │ │ parsing & validation │ │ | ||||||
| │ └──────┬───────────┘ └──────┬─────────────────┘ └──────────────────────────────┘ │ | ||||||
| │ └─────────────┐ ┌─────┘ │ | ||||||
| │ ▼ ▼ │ | ||||||
| │ ┌─────────────────┐ ┌──────────────────────┐ ┌──────────────────────┐ ┌─────────────────┐ │ | ||||||
| │ │ pkg/console │ │ pkg/agentdrain │ │ pkg/actionpins │ │ pkg/constants │ │ | ||||||
| │ │ terminal UI & │ │ Drain log anomaly │ │ action pin │ │ constants & │ │ | ||||||
| │ │ formatted output│ │ detection │ │ resolution │ │ type aliases │ │ | ||||||
| │ └─────────────────┘ └──────────────────────┘ └──────────────────────┘ └─────────────────┘ │ | ||||||
| │ also shared: pkg/stats · pkg/types · pkg/semverutil │ | ||||||
| ├──────────────────────────────────────────────────────────────────────────────────────────────────┤ | ||||||
| │ UTILITY PACKAGES │ | ||||||
| │ ┌────────┐ ┌────────┐ ┌─────┐ ┌──────────┐ ┌─────────┐ ┌──────────┐ ┌──────────┐ │ | ||||||
| │ │ logger │ │ styles │ │ tty │ │ fileutil │ │ gitutil │ │ repoutil │ │ sliceutil│ │ | ||||||
| │ └────────┘ └────────┘ └─────┘ └──────────┘ └─────────┘ └──────────┘ └──────────┘ │ | ||||||
| │ ┌──────────┐ ┌─────────┐ ┌───────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ | ||||||
| │ │ typeutil │ │ envutil │ │ semverutil│ │stringutil│ │ timeutil │ │ testutil*│ │ | ||||||
| │ └──────────┘ └─────────┘ └───────────┘ └──────────┘ └──────────┘ └──────────┘ │ | ||||||
| │ (* test-only: pkg/testutil) │ | ||||||
| └──────────────────────────────────────────────────────────────────────────────────────────────────┘ | ||||||
| ┌──────────────────────────────────────────────────────────────────────────────────────────────┐ | ||||||
| │ ENTRY POINTS │ | ||||||
| │ ┌──────────────────────────────┐ ┌──────────────────────────────┐ │ | ||||||
| │ │ cmd/gh-aw │ │ cmd/gh-aw-wasm │ │ | ||||||
| │ │ Main CLI binary │ │ WebAssembly / JS target │ │ | ||||||
| │ └──────────────────────┬───────┘ └────────┬─────────────────────┘ │ | ||||||
| │ (cli,workflow,parser,│console,constants) (parser, │workflow) │ | ||||||
|
||||||
| │ (cli,workflow,parser,│console,constants) (parser, │workflow) │ | |
| │ (cli,workflow,parser,console,constants) (parser,workflow) │ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Issue link text indicates a specific issue (#27791), but the URL points to the generic issues list (
.../issues) instead of the issue itself. Update the link target to include the issue number (or adjust the link text if the intent is to link to the list).