Step 26: Test cleanup.

Tightened lint config (added copyloopvar, durationcheck, makezero,
nilerr, bodyclose). Added 3 combo tests: encrypted+locked files,
dir-only+locked entries, lock/unlock toggle on encrypted entries.
Fixed stale API signatures in ARCHITECTURE.md. All tests already
used t.TempDir() and AddOptions{} consistently.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-24 12:45:29 -07:00
parent 490db0599c
commit 3cac9a3530
5 changed files with 211 additions and 7 deletions

View File

@@ -8,6 +8,11 @@ linters:
- unused
- errorlint
- staticcheck
- copyloopvar
- durationcheck
- makezero
- nilerr
- bodyclose
linters-settings:
errcheck: