Skip to content

[architecture] Update architecture diagram - 2026-04-24#28227

Merged
pelikhan merged 1 commit intomainfrom
architecture-diagram-2026-04-24-59babcb49413a9d1
Apr 24, 2026
Merged

[architecture] Update architecture diagram - 2026-04-24#28227
pelikhan merged 1 commit intomainfrom
architecture-diagram-2026-04-24-59babcb49413a9d1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Updates scratchpad/architecture.md with a full-rebuild ASCII architecture diagram showing all 22 packages across cmd/ and pkg/.

What changed

  • Full rebuild: No prior cache existed, so all packages were analyzed from scratch
  • Added 3-layer diagram (Entry Points → Core Packages → Utilities) with real dependency arrows
  • Added complete Package Reference table (22 packages)

Diagram highlights

  • cmd/gh-aw and cmd/gh-aw-wasm at the top
  • Core layer: cli, workflow, parser, console, actionpins, agentdrain
  • 16 utility packages at the bottom layer

Generated by Architecture Diagram Generator · ● 693.6K ·

  • expires on May 1, 2026, 9:22 AM UTC

Full rebuild from scratch — 22 packages analyzed across cmd/ and pkg/.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added architecture diagram documentation Improvements or additions to documentation labels Apr 24, 2026
@pelikhan pelikhan marked this pull request as ready for review April 24, 2026 13:42
Copilot AI review requested due to automatic review settings April 24, 2026 13:42
@pelikhan
Copy link
Copy Markdown
Collaborator

/q run weekly on Mondays

@pelikhan pelikhan merged commit b7810e6 into main Apr 24, 2026
13 checks passed
@pelikhan pelikhan deleted the architecture-diagram-2026-04-24-59babcb49413a9d1 branch April 24, 2026 13:42
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Apr 24, 2026

🎩 Mission equipment ready! Q has optimized your workflow. Use wisely, 007! 🔫

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository architecture documentation by rebuilding the ASCII architecture diagram and package reference to reflect current cmd/ and pkg/ structure/dependencies.

Changes:

  • Added a rebuilt 3-layer ASCII architecture diagram (Entry Points → Core Packages → Utility Packages) with dependency arrows.
  • Added/updated a Package Reference table enumerating packages and their roles.
  • Updated “Last updated” metadata and added a “Source” link for traceability.
Show a summary per file
File Description
scratchpad/architecture.md Replaces/extends the architecture documentation with a newly generated diagram and package reference (currently duplicated with the previous version).

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 4

@@ -1,5 +1,84 @@
# Architecture Diagram

> Last updated: 2026-04-24 · Source: [🏗️ Architecture Diagram: gh-aw Repository Architecture Diagram (2026-04-24)](https://github.com/github/gh-aw/issues)
Comment on lines +57 to +73
| Package | Layer | Description |
|---------|-------|-------------|
| `cli` | Core | Command implementations (compile, run, mcp, logs, audit) |
| `workflow` | Core | Workflow compilation engine (markdown → GitHub Actions YAML) |
| `parser` | Core | Markdown/YAML frontmatter parsing and content extraction |
| `console` | Core | Terminal UI rendering and formatting utilities |
| `actionpins` | Core | Action pin resolution and semver-aware pinning |
| `agentdrain` | Core | Agent output stream drain and handling |
| `logger` | Utility | Namespace-based debug logging with zero overhead |
| `styles` | Utility | Centralized terminal style and color definitions |
| `tty` | Utility | TTY (terminal) detection utilities |
| `fileutil` | Utility | File path and file operation utilities |
| `gitutil` | Utility | Git repository utilities |
| `types` | Utility | Shared type definitions used across packages |
| `constants` | Utility | Shared constants and semantic type aliases |
| `stringutil` | Utility | String manipulation utilities (including ANSI stripping) |
| `sliceutil` | Utility | Generic slice utilities |
Comment on lines +80 to 84
| `testutil` | Utility | Test helper utilities |

> Last updated: 2026-04-23 · Source: Issue #28016 (Architecture Diagram)

## Overview
│ ENTRY POINTS │
│ ┌──────────────────────────┐ ┌───────────────────────────────┐ │
│ │ cmd/gh-aw │ │ cmd/gh-aw-wasm │ │
│ │ main CLI binary │ │ WebAssembly compilation target│ │
@github-actions github-actions Bot mentioned this pull request Apr 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

Issue created: #28284

🎩 Equipped by Q

@github-actions
Copy link
Copy Markdown
Contributor Author


Note

The pull request was not created — a fallback review issue was created instead due to protected file changes: #28284

🎩 Mission accepted, 007! I've created a PR to add a weekly Monday schedule to the Q workflow.

The Q workflow will now run automatically every Monday at 9am UTC (cron: "0 9 * * 1"), in addition to being triggered manually via /q.

🎩 Equipped by Q

🎩 Equipped by Q · ● 2.3M ·

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

Labels

architecture diagram documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants