Skip to content

🏗️ Architecture Diagram:Architecture diagram - incremental update (2026-03-21) #22112

Description

@github-actions

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:a0c0a81Drain HTTP response bodies on non-OK paths to enable TCP connection reuse (#22101)

Packages with Go file changes:

PackageChange Type
cmd/gh-awModified
cmd/gh-aw-wasmModified
pkg/cliModified
pkg/workflowModified
pkg/parserModified
pkg/consoleModified
pkg/constantsModified
pkg/typesModified
pkg/loggerModified
pkg/stringutilModified
pkg/fileutilModified
pkg/gitutilModified
pkg/sliceutilModified
pkg/repoutilModified
pkg/ttyModified
pkg/envutilModified
pkg/timeutilModified
pkg/mathutilModified
pkg/testutilModified
pkg/stylesModified

New dependencies detected: None
Structural shifts: None — layer assignments and inter-package dependency arrows are identical to the previous run.

Package Reference

PackageLayerDescription
pkg/cliCoreCLI command implementations and subcommands
pkg/workflowCoreWorkflow compilation engine and orchestration
pkg/parserCoreMarkdown frontmatter and YAML parsing
pkg/consoleCoreTerminal UI and styled output rendering
pkg/constantsSharedApplication-wide constants (versions, flags, URLs, engine names)
pkg/typesSharedShared type definitions across packages
pkg/fileutilUtilityFile path and operation utilities
pkg/gitutilUtilityGit repository utilities
pkg/loggerUtilityNamespace-based debug logging with zero overhead
pkg/stringutilUtilityString manipulation utilities
pkg/sliceutilUtilitySlice manipulation utilities
pkg/repoutilUtilityGitHub repository slug and URL utilities
pkg/ttyUtilityTTY detection utilities
pkg/envutilUtilityEnvironment variable reading and validation
pkg/timeutilUtilityTime utilities
pkg/mathutilUtilityBasic mathematical utility functions
pkg/testutilUtilityTesting helper utilities
pkg/stylesUtilityCentralized terminal style and color definitions

References:§23376108004

Generated by Architecture Diagram Generator ·

  • expires on Mar 28, 2026, 8:57 AM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions