UNPKG

aiwg

Version:

Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo

61 lines 1.82 kB
/** * Scoring Configuration Loader * * Loads validation scoring weights and thresholds from the writing-quality addon. * Provides typed access to scoring parameters with documented defaults. * * @source @agentic/code/addons/writing-quality/validation/scoring-config.json */ export interface AuthenticityConfig { humanMarkerWeight: number; aiTellPenalty: number; baseScore: number; } export interface IssueScoringConfig { criticalPenalty: number; warningPenalty: number; aiPatternMultiplier: number; aiPatternNormalizer: number; } export interface MarkerWeightsConfig { strong: number; moderate: number; weak: number; } export interface VoiceDetectionConfig { mixedVoiceThreshold: number; defaultMixedConfidence: number; markerWeights: MarkerWeightsConfig; } export interface ThresholdsConfig { passScore: number; lowScoreWarning: number; highAIPatternWarning: number; } export interface ScoringConfig { authenticity: AuthenticityConfig; issueScoring: IssueScoringConfig; voiceDetection: VoiceDetectionConfig; thresholds: ThresholdsConfig; } /** * Load scoring configuration asynchronously * Searches known locations and merges with defaults */ export declare function loadScoringConfig(): Promise<ScoringConfig>; /** * Get scoring config synchronously * Returns cached config or defaults if not yet loaded */ export declare function getScoringConfig(): ScoringConfig; /** * Clear cached configuration * Useful for testing or when config file has changed */ export declare function clearScoringConfigCache(): void; /** * Get default scoring configuration * Useful for documentation or reset functionality */ export declare function getDefaultScoringConfig(): ScoringConfig; //# sourceMappingURL=scoring-config-loader.d.ts.map