cli/pkg
Snider 73b8873aae chore(errors): create deprecation alias pointing to pkg/log
Makes pkg/errors a thin compatibility layer that re-exports from pkg/log.
All error handling functions now have canonical implementations in pkg/log.

Migration guide in package documentation:
- errors.Error -> log.Err
- errors.E -> log.E
- errors.Code -> log.NewCode
- errors.New -> log.NewError

Fixes behavior consistency:
- E(op, msg, nil) now creates an error (for errors without cause)
- Wrap(nil, op, msg) returns nil (for conditional wrapping)
- WrapCode returns nil only when both err is nil AND code is empty

Closes #128

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 01:17:22 +00:00
..
agentic fix(agentic): use context.TODO instead of nil Context (#94) 2026-02-01 15:58:26 +00:00
build feat(mcp): add workspace root validation to prevent path traversal (#100) 2026-02-01 21:59:34 +00:00
cache refactor: flatten CLI to root, simplify pkg/mcp for CLI-only use 2026-01-29 18:13:51 +00:00
cli feat(cli): add NO_COLOR environment variable support (#98) 2026-02-01 16:40:03 +00:00
container feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
devops feat(help): add markdown parsing and section extraction (#174) 2026-02-02 00:07:32 +00:00
errors chore(errors): create deprecation alias pointing to pkg/log 2026-02-02 01:17:22 +00:00
framework fix(core): add thread-safety to global Core instance (#95) 2026-02-01 16:03:44 +00:00
git feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
help feat(help): add markdown parsing and section extraction (#174) 2026-02-02 00:07:32 +00:00
i18n feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
io feat(io): Migrate filesystem access to pkg/io Medium abstraction (#172) 2026-02-01 22:50:55 +00:00
log chore(errors): create deprecation alias pointing to pkg/log 2026-02-02 01:17:22 +00:00
mcp feat(mcp): add workspace root validation to prevent path traversal (#100) 2026-02-01 21:59:34 +00:00
process docs(process): add docstrings to Logger interface methods (#97) 2026-02-01 16:12:01 +00:00
release feat(mcp): add workspace root validation to prevent path traversal (#100) 2026-02-01 21:59:34 +00:00
repos feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00