@@ -6,7 +6,7 @@ summary: >-
66 solid-architecture skill (audit mode)
77 appends here; blockers are also filed as
88 plans.
9- audit-from : 7793b974e35ec7260ae986e9e0dd48cf5df30574
9+ audit-from : e701b94b5640dfb4f5d07d1fc38d49e0dba23e75
1010---
1111# Architecture audit log
1212
@@ -132,3 +132,64 @@ Tax: [build→rules DIP](../../plan/2606141910_arch-fix-build-rules-dip.md),
132132Lazy-parse series (plans 2606141901–2606141904).
133133Tax: [ new-pkg-docs] ( ../../plan/2606162213_arch-fix-new-pkg-docs.md ) ,
134134[ helper-tests] ( ../../plan/2606162214_arch-fix-missing-helper-tests.md ) .
135+
136+ ## Audit 2026-06-21 (range: 7793b97..e701b94)
137+
138+ Parity + Layer-0 parse-skip series; symlink
139+ containment; engine panic recovery; VS Code
140+ ` kinds ` and ` rule-doc ` commands; security
141+ hardening batch. 270 Go/TS sources outside
142+ fixtures.
143+
144+ No blockers. New rule / convention packages
145+ follow the OCP barrel pattern correctly; no
146+ rule-to-rule imports added; no DIP violations
147+ in the new ` internal/rules/listscan ` helper
148+ (it follows the established ` astutil ` /
149+ ` fencepos ` pattern).
150+
151+ ### tax (2026-06-21)
152+
153+ - ` internal/engine/runner.go ` (1 290 lines) —
154+ SRP violation. Seven concerns in one file:
155+ file dispatch, Layer-0 skip gate,
156+ config-resolution cache, source-mode lint
157+ path, front-matter parsing, config-target
158+ rules, and logging. Go arch doc
159+ §"Common violations to flag" names engine
160+ as a dumping-ground risk. Fixed this cycle:
161+ split into ` runner_layer0.go ` ,
162+ ` runner_cache.go ` , ` runner_log.go ` —
163+ [ plan/2606211907] [ 2606211907 ] .
164+
165+ - ` internal/lint/layer0.go ` (1 203 lines) —
166+ the full Layer-0 block scanner in one file:
167+ types, scanner state machine, HTML-block
168+ detection (types 1–7), fence handling, ATX
169+ heading, indented code, paragraph. Maintenance
170+ risk at this size. Fix: split along
171+ block-type sub-parsers —
172+ [ plan/2606211908] [ 2606211908 ] .
173+
174+ - ` internal/lsp/server.go ` (1 007 lines) —
175+ plan 203 was green but the file has crept
176+ back over 1 000 lines with the new ` kinds `
177+ and ` rule-doc ` capability wiring. Checklist
178+ names it explicitly. Fix: apply the same
179+ dispatch-group split plan 203 described —
180+ [ plan/2606211909] [ 2606211909 ] .
181+
182+ ### nice-to-have (2026-06-21)
183+
184+ - ` pkg/mdsmith/workspace.go ` trivial methods
185+ (` memFile.Close ` , ` memDir.Close ` ,
186+ ` memDirEntry.Name ` , ` memDirEntry.IsDir ` ,
187+ ` memFileInfo.Name ` , ` memFileInfo.Size ` ) lack
188+ the one-line "no test by design" exemption
189+ comment the audit policy requires. Tests doc
190+ §"Exemptions" — [ plan/2606211910] [ 2606211910 ] .
191+
192+ [ 2606211907 ] : ../../plan/2606211907_arch-fix-runner-srp-split.md
193+ [ 2606211908 ] : ../../plan/2606211908_arch-fix-layer0-split.md
194+ [ 2606211909 ] : ../../plan/2606211909_arch-fix-lsp-server-split.md
195+ [ 2606211910 ] : ../../plan/2606211910_arch-fix-workspace-exemptions.md
0 commit comments