Skip to content

Conversation

@prosdev
Copy link
Collaborator

@prosdev prosdev commented Nov 25, 2025

Summary

Integrated the @lytics/kero structured logger across all packages and reorganized test files for better maintainability.

Changes

Logger Integration

  • ✅ Integrated @lytics/kero across all packages (cli, core, mcp-server, subagents)
  • ✅ Replaced console.log/winston with kero's structured logging
  • ✅ All packages now use consistent logging with proper context and formatting

Test Organization

  • ✅ Moved subagents tests to __tests__/ directories for consistency with mcp-server
  • ✅ Better separation between source and test files
  • ✅ Easier to navigate and maintain test suites

Test Fixes

  • ✅ Updated all test files to spy on process.stdout.write and process.stderr.write for kero output
  • ✅ Fixed pre-existing TypeScript errors in test files
  • ✅ Updated tsconfig to include test files and proper node types
  • ✅ All 954 tests passing across 49 test files

Testing

  • pnpm test - All 954 tests pass
  • pnpm build - Clean build
  • pnpm typecheck - No type errors
  • pnpm lint - All lint checks pass

Breaking Changes

None - internal refactoring only

- Integrate @lytics/kero logger across all packages (cli, core, mcp-server, subagents)
- Replace console.log/winston with kero's structured logging
- Move subagents tests to __tests__ directories for consistency
- Fix all test files to spy on process.stdout/stderr.write for kero output
- Fix pre-existing TypeScript errors in test files
- Update tsconfig to include test files and node types
- All 954 tests now passing across 49 test files
@prosdev prosdev merged commit 1610f86 into main Nov 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant