cli/pkg
Snider 261328a291 feat(log): add error creation and log-and-return helpers
Implements issues #129 and #132:

- Add Err struct with Op, Msg, Err, Code fields for structured errors
- Add E(), Wrap(), WrapCode(), NewCode() for error creation
- Add Is(), As(), NewError(), Join() as stdlib wrappers
- Add Op(), ErrCode(), Message(), Root() for introspection
- Add LogError(), LogWarn(), Must() for combined log-and-return

Closes #129
Closes #132

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 01:11:46 +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 feat(pkg): add standalone log and errors packages 2026-01-30 22:02:40 +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 feat(log): add error creation and log-and-return helpers 2026-02-02 01:11:46 +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