Repository navigation
🔧 fix(arch-lint): exclude .claude and ui from architecture scan (ARCH-A1) - #167
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adjusts the go-arch-lint configuration to prevent local, agent-created working directories from polluting the architecture scan and breaking the task arch-lint / task lint developer workflow.
Changes:
- Add
.claudeto theexclude:list to avoid scanning agent worktree directories. - Add
uito theexclude:list to avoid scanning a locally present (but not tracked) UI directory.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+14
to
+15
| - .claude | ||
| - ui |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
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.



ARCH-A1 / RELSE-05 (P3) — local arch gate broken by agent-worktree pollution
Surfaced by the 2026-08-02 /project-audit (architecture + release lenses; recurring prior RELSE-01).
.go-arch-lint.yml'sexclude:omitted.claude, so whenever agent worktrees exist under.claude/worktrees/,task arch-lint/task lintemit thousands of "not attached to any component" notices and exit 1 — the local architecture gate is unusable. CI is unaffected (clean checkout).Fix
Add
.claudeanduito the exclude list.ui/has 0 tracked files (UI SPA removed; now untracked dist/node_modules) so nothing real is hidden;.claudeis agent worktrees.Verify
task arch-lintnow exits 0 (OK - No warnings found) on a checkout containing.claude/worktrees/(proven live). Independent reviewer: APPROVE, no findings — diff is exactly the two exclude entries,ui/hides no Go source.