Domain Reference
These are the largest functional communities auto-detected from the Layerr codebase using graph analysis. Each community is a cluster of tightly coupled symbols (functions, classes, types) that work together on a single concern.
Secrets (96 symbols, cohesion 0.87)
Section titled “Secrets (96 symbols, cohesion 0.87)”Credential management, key rotation, provider authentication, and secret storage.
Key files:
security/rotation/engine.ts,CredentialRotationEngine,getRotationEngine,initRotationEnginesecurity/rotation/engine.ts, secret lifecycle management
Hooks (78 symbols, cohesion 0.98)
Section titled “Hooks (78 symbols, cohesion 0.98)”React hooks for data fetching, UI state, and feature integration.
Key files:
src/features/intelligence/hooks.ts,useCalibration,useReplayTraceList,useReplayTrace- Various feature-specific hooks across the UI layer
Intelligence (70 symbols, cohesion 0.71)
Section titled “Intelligence (70 symbols, cohesion 0.71)”Adaptive learning, calibration, workspace health analysis, and strategy evaluation.
Key files:
src/features/intelligence/hooks.ts, calibration and snapshot hooksrepo/intelligence/scanner.ts, codebase scanningrepo/intelligence/profiler.ts, workload profilingsrc/features/workspaces/health/WorkspaceHealthView.tsx, health dashboard
Economics (35 symbols, cohesion 0.83)
Section titled “Economics (35 symbols, cohesion 0.83)”Cost tracking, savings computation, budget protection, and provider pricing.
Key files:
src/features/providers/economics/ProviderEconomicsOverlay.tsx, provider cost UIsrc/replay/ReplayEconomicOverlay.tsx, per-trace cost breakdown
Motion (32 symbols, cohesion 0.90)
Section titled “Motion (32 symbols, cohesion 0.90)”Animation preferences, UI motion, and reduced-motion support.
Licensing (29 symbols, cohesion 0.80)
Section titled “Licensing (29 symbols, cohesion 0.80)”License activation, validation, snapshot management, and event tracking.
RateLimit (29 symbols, cohesion 0.84)
Section titled “RateLimit (29 symbols, cohesion 0.84)”Per-provider rate limiting, quota management, and request throttling.
Providers (24 symbols, cohesion 0.81)
Section titled “Providers (24 symbols, cohesion 0.81)”Provider registration, resolution, health checks, and capability matching.
Key files:
providers/resolution.ts, URL resolution and credential injectioncapabilities/registry.ts, capability registration and seeding
Insights (21 symbols, cohesion 0.94)
Section titled “Insights (21 symbols, cohesion 0.94)”Analytics dashboards, intelligence summaries, and trend visualization.
Reliability (21 symbols, cohesion 0.91)
Section titled “Reliability (21 symbols, cohesion 0.91)”Fallback chains, retry logic, circuit breakers, and error recovery.
Key files:
orchestration/fallback.ts,buildFallbackChain,resolvePrimaryProvider
Telemetry (21 symbols, cohesion 0.91)
Section titled “Telemetry (21 symbols, cohesion 0.91)”Metrics collection, trace emission, and observability hooks.
Scoring (19 symbols, cohesion 0.77)
Section titled “Scoring (19 symbols, cohesion 0.77)”Quality scoring, grading, and confidence calculation.
Key files:
evaluation/quality/engine.ts,QualityScoringEngine.scoreTrace
Coding (19 symbols, cohesion 0.98)
Section titled “Coding (19 symbols, cohesion 0.98)”Code-specific evaluation, syntax validation, and coding benchmarks.
Key files:
evaluation/coding/validators.ts, code quality validators
Sessions (18 symbols, cohesion 0.87)
Section titled “Sessions (18 symbols, cohesion 0.87)”Session management, state persistence, and user context.
Explainability (17 symbols, cohesion 0.90)
Section titled “Explainability (17 symbols, cohesion 0.90)”Decision explanation, rationale building, and structured output.
Key files:
explainability/explainer.ts,buildScoringExplanation,buildOrchestrationExplanation
Rotation (17 symbols, cohesion 0.81)
Section titled “Rotation (17 symbols, cohesion 0.81)”Scheduled secret rotation and credential lifecycle.
Key files:
security/rotation/engine.ts, rotation engine
Storage (17 symbols, cohesion 0.98)
Section titled “Storage (17 symbols, cohesion 0.98)”Persistence layer for traces, replay data, and replay analysis.
Key files:
storage/replay.ts,listRecentTraces,analyzeRecentTraces
Workload (17 symbols, cohesion 0.89)
Section titled “Workload (17 symbols, cohesion 0.89)”Workload analysis, classification, and complexity estimation.
Key files:
repo/intelligence/scanner.ts, codebase scanningrepo/intelligence/profiler.ts, profiling engine