Repository navigation
[architecture] Update architecture diagram - 2026-04-16 - #26591
Merged
Merged
Conversation
…(2026-04-16) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
pelikhan
marked this pull request as ready for review
April 16, 2026 13:44
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the architecture diagram documentation to reflect newly added packages and current dependency relationships.
Changes:
- Bumps the “Last updated” timestamp and source issue reference.
- Adds
pkg/actionpins(Core) andpkg/stats(Utility) to the diagram and package reference table. - Updates the core dependency visualization to show
pkg/workflow → pkg/actionpins.
Show a summary per file
| File | Description |
|---|---|
| scratchpad/architecture.md | Refreshes the ASCII architecture diagram and package reference table to include pkg/actionpins and pkg/stats, and updates the diagram metadata/date. |
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: 1
| | pkg/parser | Core | Markdown frontmatter and YAML parsing | | ||
| | pkg/console | Core | Terminal UI rendering and formatting | | ||
| | pkg/agentdrain | Core | Drain3 log template mining and anomaly detection | | ||
| | pkg/actionpins | Core | Action pin resolution — maps repo refs to pinned commit SHAs | |
There was a problem hiding this comment.
PR description states that pkg/actionpins is imported by pkg/cli, but a repo-wide search shows pkg/actionpins is only imported from pkg/workflow (no direct imports under pkg/cli). Either update the PR description to reflect this, or (if pkg/cli is intended to depend on pkg/actionpins directly) update the diagram/table to show that dependency explicitly.
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
scratchpad/architecture.mdto reflect two new packages added since the last diagram:pkg/actionpins(Core) — Action pin resolution, mapping GitHub Actions repo refs to pinned commit SHAs. Imported bypkg/workflowandpkg/cli.pkg/stats(Utility) — Numerical statistics utilities for metric collection. Imported bypkg/cli.Also updates the
pkg/workflow→pkg/actionpinsdependency arrow in the core section.Related to the daily architecture diagram workflow run §24501777868.
Note
🔒 Integrity filter blocked 3 items
The following items were blocked because they don't meet the GitHub integrity level.
create_issue.cjs: issue body bypasses@mentionneutralization — asymmetric sanitization relative to title path #26588list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".integrity: nonerestores unvalidated prior-run content to agent filesystem before any detection gate #26586list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: