- Snapshot: VACUUM INTO for consistent db copy, excludes live db
files and backups/, injects db snapshot, custom exclude patterns,
streaming output via io.Writer
- Restore: extract tar.zst with path traversal protection
- zstd via github.com/klauspost/compress/zstd
- 5 tests: full roundtrip with db integrity verification,
without db, exclude patterns, dest dir creation
- Update PROGRESS.md: all 9 packages complete, 87 total tests
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Base type with standard sections (Server, Database, MCIAS, Log)
- Duration wrapper type for TOML string→time.Duration decoding
- Generic Load[T] with TOML parse, reflection-based env overrides,
defaults, required field validation, optional Validator interface
- Env overrides: PREFIX_SECTION_FIELD for string, duration, bool,
[]string (comma-separated)
- WebConfig exported for services with web UIs (not embedded in Base)
- 16 tests covering full/minimal configs, defaults, env overrides,
validation, error cases
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>