Virgil
f19e3e383e
fix(log): inherit nested error codes
CI / auto-fix (push) Failing after 1s
CI / test (push) Failing after 3s
CI / auto-merge (push) Failing after 0s
2026-04-01 09:49:40 +00:00
Virgil
000bd46649
Align log helpers with RFC logging behavior
CI / auto-fix (push) Failing after 0s
CI / test (push) Failing after 2s
CI / auto-merge (push) Failing after 0s
2026-04-01 08:58:37 +00:00
Virgil
282b7242ec
fix(log): stop inheriting codes in wrapcode helpers
...
CI / test (push) Failing after 3s
CI / auto-fix (push) Failing after 1s
CI / auto-merge (push) Failing after 1s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 04:55:55 +00:00
Virgil
e2481552b5
fix(log): surface nested recovery metadata
...
CI / test (push) Failing after 2s
CI / auto-fix (push) Failing after 0s
CI / auto-merge (push) Failing after 0s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 04:41:48 +00:00
Virgil
f72c8daf3b
refactor(ax): align recovery helpers with AX docs
...
CI / test (push) Failing after 2s
CI / auto-fix (push) Failing after 0s
CI / auto-merge (push) Failing after 0s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 13:36:30 +00:00
Virgil
7205e913bb
feat: add agent-oriented recovery metadata to errors
CI / test (push) Failing after 2s
CI / auto-fix (push) Failing after 1s
CI / auto-merge (push) Failing after 1s
2026-03-30 06:33:30 +00:00
Virgil
6b6f025be7
refactor(ax): finish AX docs pass and test naming alignment
CI / test (push) Failing after 2s
CI / auto-fix (push) Failing after 0s
CI / auto-merge (push) Failing after 0s
2026-03-30 00:36:24 +00:00
Virgil
355af66a5c
fix(log): normalise levels, preserve nested error codes, and sanitise log messages
CI / auto-fix (push) Failing after 0s
CI / test (push) Failing after 3s
CI / auto-merge (push) Failing after 0s
2026-03-29 22:39:46 +00:00
Snider
c8178fcd7e
fix(dx): update CLAUDE.md and raise test coverage to 97.7%
...
- CLAUDE.md: add missing exported symbols (NewError, Message, AllOps,
FormatStackTrace, Security, Username) to architecture description
- Add tests for SetOutput, SetRedactKeys, odd keyval handling,
op/stack deduplication, RotationWriterFactory, default output,
Username, and all package-level proxy functions
- Add ErrCode tests for plain error and nil inputs
- Coverage: 86.1% → 97.7%
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 07:18:38 +00:00
Snider
1faaae8c90
fix(conventions): alias stdlib io as goio and fix test naming
...
- Alias stdlib `io` as `goio` in log.go to avoid collision with core/go-io
- Rename TestStackTrace_Mixed to TestStackTrace_Mixed_Good (convention)
- Remove dead code from test (abandoned errors.New approach)
- NewError correctly uses errors.New — it is an intentional stdlib wrapper
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 17:43:15 +00:00
Snider
700747aa0b
security: add key redaction and log injection prevention
...
Add SetRedactKeys() for masking sensitive values in log output.
Quote string values with %q to prevent log injection attacks.
Add AllOps iterator and improve error stack formatting.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 08:29:57 +00:00
Snider
54a36a779b
feat: standalone structured logging and error handling
...
Zero-dependency logging + error types extracted from core/go.
- E(), Wrap(), WrapCode() structured errors with Op/Msg/Code
- Structured logger with levels, security logging, key-value pairs
- RotationWriterFactory hook for io.Medium integration
- StackTrace(), Root(), FormatStackTrace() error introspection
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 09:30:57 +00:00