v2.147.6
What's Changed
Write-Time Quality Enforcement (t1368)
Added prompt-level write-time quality enforcement rules inspired by Plankton:
- Soft linter config protection: Fix code not rules — but allow documented config changes for legitimate project patterns (e.g.,
.shellcheckrcdisables for library architecture) - Per-edit linting: Run the relevant linter after each file edit rather than batching violations to commit time. Write-time feedback produces better code than post-hoc correction
- Quality pipeline update: AGENTS.md now references write-time enforcement as the first step in the quality pipeline
Upstream Tracking
OpenCode native hook support (PreToolUse/PostToolUse/Stop) is tracked at anomalyco/opencode#12472 with PR #11525 implementing all 12 Claude Code hooks. When merged, we can upgrade from prompt-level enforcement to automatic hook-based linting.
Full Changelog: v2.147.5...v2.147.6