Summary
This is an incremental update — 1 new merge commit (a0c0a81) since the previous analysis. No structural changes were detected: the package topology, dependency arrows, and layer assignments are all unchanged. All 18 pkg/ packages were touched by the merge commit ("Drain HTTP response bodies on non-OK paths"), but no new packages were added and no inter-package dependency relationships changed.
Architecture Diagram
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
│ ENTRY POINTS │
│ ┌──────────────────────────────────────┐ ┌──────────────────────────────────────────┐ │
│ │ cmd/gh-aw │ │ cmd/gh-aw-wasm │ │
│ │ Main CLI binary & all commands │ │ WebAssembly target │ │
│ └──────────────────┬───────────────────┘ └──────────────────────────┬───────────────┘ │
├─────────────────────┼──────────────────────────────────────────────────┼──────────────────┤
│ ▼ CORE PACKAGES ▼ │
│ ┌────────────────────────────┐ ┌───────────────────────────────────────────┐ │
│ │ pkg/cli │ │ pkg/workflow │ │
│ │ Command implementations ├───────────▶│ Workflow compilation engine & │ │
│ │ and all CLI subcommands │ │ orchestration │ │
│ └──────────────┬─────────────┘ └──────────────────┬────────────────────────┘ │
│ │ │ │
│ └────────────────────┬─────────────────────────┘ │
│ ▼ │
│ ┌──────────────────────────────┐ │
│ │ pkg/parser │ │
│ │ Markdown frontmatter & │ │
│ │ YAML parsing │ │
│ └──────────────┬───────────────┘ │
│ │ │
│ ┌──────────────▼───────────────┐ │
│ │ pkg/console │ │
│ │ Terminal UI & styled output │ │
│ └──────────────────────────────┘ │
│ │
│ ↕ all core packages also depend on constants, types, and utilities ↕ │
├──────────────────────────────────────────────────────────────────────────────────────────────┤
│ SHARED DEFINITIONS │
│ ┌─────────────────────────────────────────┐ ┌──────────────────────────────────────────┐ │
│ │ pkg/constants │ │ pkg/types │ │
│ │ Versions, flags, URLs, engine names │ │ Shared type definitions across packages │ │
│ └─────────────────────────────────────────┘ └──────────────────────────────────────────┘ │
├──────────────────────────────────────────────────────────────────────────────────────────────┤
│ UTILITIES │
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌──────────┐ ┌──────────┐ ┌─────────┐ ┌─────────┐ │
│ │fileutil │ │ gitutil │ │ logger │ │stringutil│ │ sliceutil│ │repoutil │ │ tty │ │
│ └─────────┘ └─────────┘ └─────────┘ └──────────┘ └──────────┘ └─────────┘ └─────────┘ │
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
│ │ envutil │ │timeutil │ │mathutil │ │testutil │ │ styles │ │
│ └─────────┘ └─────────┘ └─────────┘ └─────────┘ └─────────┘ │
└──────────────────────────────────────────────────────────────────────────────────────────────┘
Change Log
Commit analyzed:a0c0a81 — Drain HTTP response bodies on non-OK paths to enable TCP connection reuse (#22101)
Packages with Go file changes:
| Package | Change Type |
|---|
cmd/gh-aw | Modified |
cmd/gh-aw-wasm | Modified |
pkg/cli | Modified |
pkg/workflow | Modified |
pkg/parser | Modified |
pkg/console | Modified |
pkg/constants | Modified |
pkg/types | Modified |
pkg/logger | Modified |
pkg/stringutil | Modified |
pkg/fileutil | Modified |
pkg/gitutil | Modified |
pkg/sliceutil | Modified |
pkg/repoutil | Modified |
pkg/tty | Modified |
pkg/envutil | Modified |
pkg/timeutil | Modified |
pkg/mathutil | Modified |
pkg/testutil | Modified |
pkg/styles | Modified |
New dependencies detected: None
Structural shifts: None — layer assignments and inter-package dependency arrows are identical to the previous run.
Package Reference
| Package | Layer | Description |
|---|
pkg/cli | Core | CLI command implementations and subcommands |
pkg/workflow | Core | Workflow compilation engine and orchestration |
pkg/parser | Core | Markdown frontmatter and YAML parsing |
pkg/console | Core | Terminal UI and styled output rendering |
pkg/constants | Shared | Application-wide constants (versions, flags, URLs, engine names) |
pkg/types | Shared | Shared type definitions across packages |
pkg/fileutil | Utility | File path and operation utilities |
pkg/gitutil | Utility | Git repository utilities |
pkg/logger | Utility | Namespace-based debug logging with zero overhead |
pkg/stringutil | Utility | String manipulation utilities |
pkg/sliceutil | Utility | Slice manipulation utilities |
pkg/repoutil | Utility | GitHub repository slug and URL utilities |
pkg/tty | Utility | TTY detection utilities |
pkg/envutil | Utility | Environment variable reading and validation |
pkg/timeutil | Utility | Time utilities |
pkg/mathutil | Utility | Basic mathematical utility functions |
pkg/testutil | Utility | Testing helper utilities |
pkg/styles | Utility | Centralized terminal style and color definitions |
References:§23376108004
Generated by Architecture Diagram Generator · ◷
Summary
This is an incremental update — 1 new merge commit (
a0c0a81) since the previous analysis. No structural changes were detected: the package topology, dependency arrows, and layer assignments are all unchanged. All 18pkg/packages were touched by the merge commit ("Drain HTTP response bodies on non-OK paths"), but no new packages were added and no inter-package dependency relationships changed.Architecture Diagram
Change Log
Commit analyzed:
a0c0a81— Drain HTTP response bodies on non-OK paths to enable TCP connection reuse (#22101)Packages with Go file changes:
cmd/gh-awcmd/gh-aw-wasmpkg/clipkg/workflowpkg/parserpkg/consolepkg/constantspkg/typespkg/loggerpkg/stringutilpkg/fileutilpkg/gitutilpkg/sliceutilpkg/repoutilpkg/ttypkg/envutilpkg/timeutilpkg/mathutilpkg/testutilpkg/stylesNew dependencies detected: None
Structural shifts: None — layer assignments and inter-package dependency arrows are identical to the previous run.
Package Reference
pkg/clipkg/workflowpkg/parserpkg/consolepkg/constantspkg/typespkg/fileutilpkg/gitutilpkg/loggerpkg/stringutilpkg/sliceutilpkg/repoutilpkg/ttypkg/envutilpkg/timeutilpkg/mathutilpkg/testutilpkg/stylesReferences:§23376108004