Uh oh!
There was an error while loading. Please reload this page.
[architecture] Update architecture diagram - 2026-05-18 - #33006
Conversation
…errorutil Add three packages that were missing from the previous diagram: - cmd/linters: custom linter binary entry point - pkg/linters: namespace for custom Go analysis linters - pkg/errorutil: GitHub API error classification utilities Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Pull request overview
Updates the generated architecture diagram to reflect recently added/recognized packages and refreshes the “last updated” metadata.
Changes:
- Add
cmd/lintersas a third entry point in the diagram and package reference table. - Add
pkg/linters(namespace + subpackages) andpkg/errorutilto the diagram and package reference table. - Update the “Last updated” date and workflow run source link.
Show a summary per file
| File | Description |
|---|---|
scratchpad/architecture.md | Updates the architecture diagram and package reference table to include missing entry points/utilities and refreshes metadata. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
scratchpad/architecture.md:98
- In the package reference table,
pkg/errorutilis described as "GitHub API error classification helpers", but the package docs cover both GitHub API andghCLI errors. Consider reflecting both sources here for consistency withpkg/errorutil’s README and package comment.
| `pkg/errorutil` | Utility | GitHub API error classification helpers |
- Files reviewed: 1/1 changed files
- Comments generated: 2
| │ │ cmd/gh-aw │ │cmd/gh-aw-wasm │ │ cmd/linters│ │ | ||
| │ │ Main CLI binary │ │ WebAssembly build target │ │ Custom linter binary│ │ | ||
| │ └──────────┬────────────┘ └────────────┬───────────────┘ └────────────┬─────────────────┘ │ | ||
| │ │ cli,workflow, │ │ pkg/linters/* │ | ||
| │ │ parser,console,constants ││ │ |
| │ │ pkg/errorutil │ │ pkg/testutil (test builds only)│ │ | ||
| │ │ GitHub API error classification │ │ Test helper utilities│ │ |
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /grill-with-docs — this is a documentation update adding three previously-missing packages to the architecture diagram.
What was reviewed
Verified each new entry against the actual codebase:
- ✅
cmd/linters— exists atcmd/linters/ - ✅
pkg/linters— exists atpkg/linters/with all five subpackages (ctxbackground,excessivefuncparams,largefunc,osexitinlibrary,rawloginlib) correctly listed - ✅
pkg/errorutil— exists atpkg/errorutil/
Positive Highlights
- ✅ Diagram layout correctly places
cmd/lintersalongside the other entry points - ✅ Package reference table uses consistent terminology and column format
- ✅
pkg/linterssubpackages are named accurately - ✅
pkg/errorutilis correctly categorised as Utility (not Core)
Verdict
All additions are accurate and consistent with the existing domain vocabulary. No issues found.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · ● 3.7M
Adds three packages that were missing from the previous architecture diagram (2026-05-11):
cmd/linters— custom linter binary entry pointpkg/linters— namespace for custom Go analysis linters (ctxbackground, excessivefuncparams, largefunc, osexitinlibrary, rawloginlib)pkg/errorutil— GitHub API/gh CLI error classification utilitiesUpdates
scratchpad/architecture.mdwith the corrected diagram and package reference table.Source: §26026605299