Commit graph

10 commits

Author SHA1 Message Date
Virgil
282b7242ec fix(log): stop inheriting codes in wrapcode helpers
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Claude
a543af9cc6 refactor(ax): AX compliance pass — usage example comments on all exported functions
- Add usage example comments to Logger methods (SetLevel, Level, SetOutput, SetRedactKeys, Debug, Info, Warn, Error, Security)
- Add usage example comments to error introspection (Op, ErrCode, Root, AllOps, StackTrace, FormatStackTrace)
- Add usage example comments to package-level functions (Default, SetDefault)
- Banned imports (fmt, io, os, errors) are LEGITIMATE — this IS the logging/error abstraction layer

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 00:15:08 +00:00
Virgil
355af66a5c fix(log): normalise levels, preserve nested error codes, and sanitise log messages
Some checks failed
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
Virgil
3ed9ea71dc fix(log): harden logger defaults and default proxy safety 2026-03-29 22:35:38 +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