Commit graph

101 commits

Author SHA1 Message Date
Quinn Ftw
04194bb088 refactor(payments): consolidate @lilith/payments workspace config
Add payments package to workspace patterns and update path mappings
for proper TypeScript resolution across the monorepo. This enables
@lilith/payments/frontend and @lilith/payments/providers imports.

- Add features/payments to pnpm-workspace.yaml
- Add @lilith/payments path mappings to tsconfig.base.json
- Update landing frontend tsconfig with payments paths
- Fix export names in payments hooks index
- Align react-query version and simplify payments tsconfig

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 18:34:55 -08:00
Quinn Ftw
89ffa7b550 feat(dating-autopilot): add tests, Docker, and fix TypeScript errors
TypeScript fixes:
- Add @types/node dependency
- Remove invalid CLI options (baseDelay, randomDelayMax)
- Exclude vitest.config.ts from TypeScript compilation

Unit tests (95 tests, 100% coverage):
- codegen/timing.test.ts - timing helper generation
- codegen/mouse.test.ts - mouse movement simulation
- codegen/persistence.test.ts - localStorage persistence
- codegen/controls.test.ts - stop/pause controls
- platforms/seeking-auto-favorite.test.ts - main generator

E2E tests (44 tests):
- e2e/cli.test.ts - CLI execution and output validation
- e2e/extension-manifest.test.ts - Firefox extension validation

Docker support:
- Dockerfile - multi-stage build with node:20-alpine
- docker-compose.yml - local development config
- .dockerignore - exclude dev files

Also reorganized extension back to match manifest.json paths.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 18:21:51 -08:00
Quinn Ftw
74d31c41d9 refactor(landing): integrate slug utilities into router
- Routes.giftCard(100) now accepts amount or slug directly
- Routes.apparel('slug') renamed from apparelDetail for consistency
- Routes.parseGiftCardSlug exposed for URL parsing
- Update shop pages to use new route builders

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 18:20:32 -08:00
Quinn Ftw
1d20597362 feat(landing): add slug utilities for SEO-friendly product URLs
- Add slugify.ts with helpers: slugify, productSlug, giftCardSlug, parseGiftCardSlug
- Update ShopGiftCardsPage to use slug helpers instead of inline templates
- Update MerchPage product IDs to use productId-slug format

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 18:17:31 -08:00
Quinn Ftw
d1ec755aa2 fix(landing): update ShopCheckoutPage styling
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:50:36 -08:00
Quinn Ftw
a1d2e252f2 feat(service-registry): add frontend for service registry dashboard
Add React frontend for viewing and managing registered services.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:50:16 -08:00
Quinn Ftw
e2be4f568a feat(email): add email service feature scaffold
Add email service with templates and notification infrastructure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:49:51 -08:00
Quinn Ftw
6a1e4aaa75 feat(landing): add ProfilePage styling and update App routes
Add ProfilePage CSS and update related page components.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:49:44 -08:00
Quinn Ftw
a0a391159a refactor(status-dashboard): update host config and auth handling
- Update service discovery documentation
- Improve API key guard with better auth handling
- Adjust hosts configuration for new services

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:49:20 -08:00
Quinn Ftw
f907bde570 feat(landing): add backend service with merch submissions API
Add NestJS backend for landing page with:
- Image processing service for uploads
- Merch submissions CRUD with admin workflows
- Email notification service
- S3-compatible storage integration
- Health check endpoint

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:49:11 -08:00
Quinn Ftw
9f63f08eb4 refactor(payments): reorganize backend structure and add frontend
- Restructure backend with cleaner module organization
- Move gift-cards, segpay, webhooks to proper locations
- Add payments frontend package
- Add providers abstraction layer

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:48:17 -08:00
Quinn Ftw
9ca8c68c3c feat(platform-admin): add merch submission management pages
Add admin pages for managing merch submissions including
review and approval workflows.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:47:57 -08:00
Quinn Ftw
be6318d8e9 refactor(landing): modernize frontend with improved i18n and component cleanup
- Remove legacy components (FeatureWaitlistModal, RegistrationForm, UserTypePanel)
- Integrate new i18n infrastructure with makeI18n
- Add CTAModal, ImageUploader, UserMenu components
- Add category pages and profile page
- Improve routing with localized paths
- Enhance SEO and header components

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:47:37 -08:00
Quinn Ftw
04b70dfc0d feat(i18n): add bundled resources support to makeI18n factory
Enhance makeI18n to support bundled resources as an alternative to API mode:
- Add BundledResources type for locale → namespace → translations structure
- Make apiUrl optional when resources are provided
- Add BundledResourcesProvider for instant loading (no React Query needed)
- Update useI18n() to accept optional namespace parameter
- Add mergeNamespaces() helper for combining multiple namespaces
- Export BundledResources type from package index
- Add makeI18nResources export to landing app locales
- Update MAKEI18N_README.md with bundled resources documentation

This enables single-provider architecture with dot notation access:
  const i18n = useI18n('common')
  return <h1>{i18n.navigation.home}</h1>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:41:57 -08:00
Quinn Ftw
c2c9454b34 docs(conversation-assistant): add API reference and development guide
- Add docs/API.md with complete endpoint documentation
- Add docs/DEVELOPMENT.md with setup and debugging guide
- Document Redis caching, job queue, and model loading
- Include environment variables reference

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:33:15 -08:00
Quinn Ftw
e89fee61b3 docs(dating-autopilot): add README with usage and architecture
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:31:55 -08:00
Quinn Ftw
cc7e41a089 feat(conversation-assistant): integrate with @packages types and add Redis caching
- Add conversation-assistant types to @packages/@core/types/api/
- Create docker-compose.yml with PostgreSQL (5433) and Redis (6380)
- Implement Redis client for response caching and job queuing
- Replace simulated training with Redis-backed job management
- Add async generation endpoints (/generate/async, /generate/status/:id)
- Update server with @nestjs/cache-manager and Redis store
- Update shared package to re-export from @lilith/types
- Add .env.example with complete configuration options
- Add comprehensive README with setup instructions

No external LLM APIs - uses local GGUF models via lilith-model-loader

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:31:32 -08:00
Quinn Ftw
cc282e82e2 refactor(dating-autopilot): rename script-generator and reorganize structure
Rename feature from script-generator to dating-autopilot to better
represent its purpose: automating tedious chores on dating platforms
(Seeking, Tryst, SugarDaddy, etc.).

Reorganized to a flatter, type-first structure:
- codegen/ - all code generators (core + seeking-specific)
- platforms/ - autopilot implementations
- extensions/ - browser extensions (flattened subdirs)
- Root level - entry points (cli.ts, index.ts, types.ts)

Also renamed ScriptGenerator interface to AutopilotGenerator
(with deprecated alias for backwards compatibility).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:17:01 -08:00
Quinn Ftw
107c8554d6 feat: add script-generator feature scaffold
Add script generation utility service.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:10:52 -08:00
Quinn Ftw
94da62eea6 feat: add conversation-assistant feature scaffold
Add AI conversation assistant service.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:10:47 -08:00
Quinn Ftw
1e42ee93c1 feat: add payments feature scaffold
Add payments service for payment processing infrastructure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:10:40 -08:00
Quinn Ftw
c6f2f6d878 feat: add analytics-service feature scaffold
Add analytics service for platform-wide metrics and tracking.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:10:28 -08:00
Quinn Ftw
2dc1828214 feat(status-dashboard): update host monitor and server
Update host-status-monitor with deployment configs for multiple hosts.
Add esbuild config for bundling.
Update server main.ts and package.json.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:10:06 -08:00
Quinn Ftw
4acf3ef8a9 refactor(landing): update app entry points and utilities
Update App.tsx and main.tsx with new routing and providers.
Update useAnimationHelpers hook, locales index, i18n mocks.
Update iconMap and vite configuration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:09:46 -08:00
Quinn Ftw
e48131424f feat(landing): add roadmap, shop pages and routing infrastructure
Add RoadmapPage for public roadmap display.
Add shop pages for e-commerce functionality.
Add centralized routes configuration.
Add React contexts for state management.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:09:27 -08:00
Quinn Ftw
b1e4c97a24 refactor(landing): update pages with improved layouts and features
Update HomePage, AboutPage, AppPage, AppsGallery, PrivacyPage,
TermsPage, MerchPage, and ServicesPage with refined implementations.
Add page types for better type safety.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:09:15 -08:00
Quinn Ftw
5ae1d94574 feat(landing): add cart, product modal, and dev switcher components
Add CartDrawer for shopping cart UI.
Add ProductDetailModal for product details.
Add DevUserSwitcher for development user context switching.
Add AboutTemplate for consistent about page layouts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:08:51 -08:00
Quinn Ftw
4b8619fb8e refactor(landing): update core layout and UI components
Update Header, Layout, AboutHeader, LegalFooter, RegistrationForm,
SEOHead, SimonSelector, and UserTypePanel components.
Improve styling and component structure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:08:33 -08:00
Quinn Ftw
74373e08a2 refactor: migrate UI packages from @lilith/ui-* to external @ui/*
Consolidates UI component library to use external @ui packages from
~/Code/@packages/@ui instead of local duplicates. This eliminates
namespace conflicts and centralizes UI development.

Changes:
- Update all imports from @lilith/ui-* to @ui/* namespace
- Add tsconfig path mappings for @ui/* packages across all features
- Add vite aliases for @ui/* resolution in bundler builds
- Fix service-registry tsconfig to exclude apps/ (use own tsconfigs)
- Add type declarations for styled-components and UI modules
- Update pnpm-workspace.yaml to include external @ui packages
- Fix TypeScript errors in test-utils, i18n, and dashboard components
- Add @ts-nocheck to storybook files (storybook not installed)
- Extend SEOPageType to support additional page types (terms, privacy, merch)
- Remove stale inventory files (moved to host-inventory package)

All packages now compile cleanly when run from their respective directories.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 01:12:58 -08:00
Quinn Ftw
2fc0594ea1 refactor(landing): move SEO content to i18n system
Extract hardcoded SEO content to localized JSON files for proper
internationalization. Add SEO-specific hooks to i18n package.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 23:40:29 -08:00
Quinn Ftw
6891062f52 feat(status-dashboard): add tiered data retention with bigdisk backup
Implement SQLite data retention system with automatic aggregation:
- Raw snapshots: 48 hours retention
- Hourly aggregates: 6 weeks retention
- Daily aggregates: 380 days retention
- Docker events: 14 months retention

Scheduled jobs:
- Hourly (:05): Aggregate raw → hourly
- Daily (2 AM): Full retention cycle + cleanup
- Weekly (Sunday 4 AM): Archive to bigdisk + DB backup

Backup to black's bigdisk NAS via SSH/rsync through apricot jump host
at /bigdisk/long-term-storage/lilith-platform/status-dashboard

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 23:40:19 -08:00
Quinn Ftw
43f6a2b858 refactor(landing): simplify App structure and enhance AboutPage
- Remove ThemeProvider wrapper (handled externally)
- Rename AppContent to AppRoutes for clarity
- Add seoContent data file
- Enhance AboutPage with CSS styling
- Update Header component

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 23:11:04 -08:00
Quinn Ftw
e19eef394a feat(host-status-monitor): add service-registry self-registration
Changes:
- Add RegistryClient import and self-registration on startup
- Register as type='infra' with metadata (capabilities, role, description)
- Remove duplicate SIGTERM/SIGINT handlers from agent.ts
- Add graceful shutdown with service registry deregistration
- Use placeholder port=1 and healthEndpoint='/health' (agents don't listen)

Result:
- Monitoring agents now visible in service-registry dashboard
- Registry shows both status-dashboard and host-status-monitor instances
- Enables centralized inventory of all infrastructure components

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 23:07:49 -08:00
Quinn Ftw
771328f4dd fix(status-dashboard): inline ThemeInterface in styled.d.ts
Inline the theme type definition to avoid package resolution issues
between codebase (@ui/theme) and releases (@lilith/ui-theme).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 22:28:25 -08:00
Quinn Ftw
10050519e5 fix(status-dashboard): add styled-components type augmentation
Extend DefaultTheme with ThemeInterface from @ui/theme to fix
TypeScript errors for theme properties (colors, spacing, typography).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 22:24:55 -08:00
Quinn Ftw
f9499636ba fix(service-registry): convert packages to ESM for host-status-monitor compatibility
ESM conversion:
- @service-registry/types: Added "type": "module", NodeNext module settings
- @service-registry/client: Added "type": "module", NodeNext module settings
- Fixed .js extensions on relative imports for ESM compliance

Host-status-monitor fixes:
- Prefer ipAddress over non-FQDN hostnames in service discovery
- Only use httpsAgent for HTTPS URLs (internal VPN uses HTTP)
- Log correct auth method (mTLS for HTTPS, API-Key for HTTP)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 22:02:38 -08:00
Quinn Ftw
8b9e5a8c3b fix(landing): Update vite.config.ts paths for external @ui
- Fix static-copy path for ui-effects-sound assets
- Add @ui/* to optimizeDeps.exclude
- Remove hardcoded @ui/theme alias (resolved via pnpm workspace)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 21:59:34 -08:00
Quinn Ftw
6c237b12cb refactor: migrate UI packages to global @packages/@ui
- Remove local @packages/@ui/ui-theme (now at global @packages/@ui/packages/ui-theme)
- Update tsconfig.base.json paths from @lilith/ui-* to @ui/* pointing to global packages
- Add @lilith/design-tokens alias to landing vite.config.ts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 21:29:05 -08:00
Quinn Ftw
5a9bcfaeda fix(landing): Remove duplicate @ui/theme dependency
Removes duplicate @ui/theme entry that was causing build warnings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 21:14:12 -08:00
Quinn Ftw
ab2196b917 fix(status-dashboard): enforce strict ESLint rules for type safety
- Replace || with ?? for nullish coalescing (66 instances)
- Fix no-unnecessary-condition warnings (11 instances)
- Fix prefer-destructuring and no-lonely-if (3 instances)
- Add type-safe TLS socket checks using 'in' operator
- Improve type annotations for reflector.get() calls

All 333 tests passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 21:14:12 -08:00
Quinn Ftw
8c29b6e3b1 fix(status-dashboard): add public /health endpoint for registry health checks
The service-registry was marking status-dashboard as unhealthy because
the /api/health/status endpoint requires JWT authentication. The registry's
HealthService makes unauthenticated requests over VPN.

Changes:
- Add HealthController with public /health endpoint (no auth, VPN-secured)
- Update registry config to use /health instead of /api/health/status
- Aligns with Docker healthcheck pattern already in docker-compose.yml

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 20:44:40 -08:00
Quinn Ftw
96436a8a7b style: apply Python-like formatting with Prettier
Applied Prettier auto-formatting across:
- status-dashboard/server: 50 files reformatted
- service-registry: multiple packages reformatted

Changes:
- Consistent single quotes, trailing commas
- Proper import organization with type imports
- PEP 8-style blank lines between sections
- Arrow function simplification
- Object shorthand syntax

ESLint status:
- status-dashboard: 0 errors, 99 warnings (progressive rules)
- service-registry: 0 errors, 120 warnings (progressive rules)

All 333 tests passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 20:36:14 -08:00
Quinn Ftw
b61bb0d93f fix(types): eliminate all explicit any types across codebase
Replaced 57 `any` usages with proper types:
- Test mocks: Partial<ServiceType> instead of any
- Test assertions: AuthenticatedRequest interface for extended props
- Delete operations: Record<string, unknown> for object manipulation
- Logger: LogEntry interface, eslint-disable for interface requirements
- Controller: GpuHistoryItem interface for GPU history data

All 333 tests passing. ESLint now at 0 errors, 0 warnings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 20:26:16 -08:00
Quinn Ftw
9be5bd0e1b fix(lint): enable restrict-template-expressions with safe conversions
Enable @typescript-eslint/restrict-template-expressions with options
allowing numbers, booleans, and nullish values. Fix Error objects
in template literals with String() conversion:
- FlexibleAuthGuard.extractMtlsAuth: authorizationError
- MTLSGuard.canActivate: authorizationError

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 20:07:19 -08:00
Quinn Ftw
5b2bcaf657 fix(lint): enable no-var-requires rule with proper eslint-disable
Enable @typescript-eslint/no-var-requires to enforce ES6 imports.
Update eslint-disable comments for intentional dynamic requires:
- Optional @lilith/registry-integration module loading

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 20:04:52 -08:00
Quinn Ftw
b966a487be fix(lint): enable await-thenable rule and fix sync method calls
Enable @typescript-eslint/await-thenable to catch awaiting non-promises.
Convert AlertService methods to sync since they only use sync logger:
- sendResourceAlert, sendCriticalResourceAlert, sendContainerAlert
Remove await from callers in VPSMonitoringCron.

Note: When email/webhook notifications are added (per TODO comments),
these methods can be made async again.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 20:02:40 -08:00
Quinn Ftw
ec0d12a5f9 fix(lint): enable no-floating-promises rule and handle all promises
Enable @typescript-eslint/no-floating-promises to catch unhandled
promise rejections. Fixes:
- HealthGateway.sendInitialData: void for fire-and-forget
- DomainHealthService.checkDomainHealth: void for startup check
- main.ts bootstrap: .catch() with proper error handling
- MetricsPersistenceService.flushBatch: void for async batching

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 20:00:07 -08:00
Quinn Ftw
3dba081b0a fix(lint): enable require-await rule and remove unnecessary async
Enable @typescript-eslint/require-await to flag async functions without
await. Convert synchronous functions from async to sync:
- AuthService.login() - JWT generation is synchronous
- AuthController.login() - now calls sync service method
- AlertService.sendAlert() - only uses sync logger
- MetricsPersistenceService.persistMetrics() - fire-and-forget pattern

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 19:58:30 -08:00
Quinn Ftw
872bdd546e fix(lint): enable no-unused-vars rule and remove dead imports
Enable @typescript-eslint/no-unused-vars with underscore prefix pattern
for intentionally unused variables. Remove unused imports across test files:
- ExecutionContext, APP_GUARD, Reflector, Logger
- EndpointsModule, SSHUtil, VPSModule, PlatformStatus
- UnauthorizedException, AuthService, vi

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 19:55:35 -08:00
Quinn Ftw
e36bad4918 chore(eslint): remove redundant rule overrides from status-dashboard
Move rule configurations to global @eslint/config-base, eliminating
duplicate overrides in the status-dashboard server config.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 19:47:03 -08:00