---
title: wrap errors with %w instead of %v
status: open
labels: [good-first-issue, refactor]
created: 2026-09-18
closed:
---
Every `fmt.Errorf` in the codebase formats the wrapped error with `%v`, so nothing is unwrappable and callers can't use `errors.Is`/`errors.As`. A mechanical pass to `%w` would make the error chains actually useful.
Files: `actions.go`, `config.go`, `main.go`, `task.go`, `tui.go`. Good place to start if you're new to the code.