faf-cli
Version:
😽 TURBO-CAT: The Rapid Catalytic Converter • Project DNA ✨ for ANY AI • Fully Integrated with React, Next.js, Svelte, TypeScript, Vite & n8n • FREE FOREVER • 10,000+ developers • Championship Edition
127 lines • 3.21 kB
TypeScript
/**
* 🏆 Championship Core - The DNA Both Brothers Share
*
* This is the NORTH STAR - the immutable championship values that
* bind CLI and MCP together as brothers.
*
* MANDATE: Changes here MUST be synchronized across:
* - CLI: /Users/wolfejam/FAF/cli/src/utils/championship-core.ts
* - MCP: /Users/wolfejam/FAF/claude-faf-mcp/src/handlers/championship-tools.ts
*
* Why Separate Files, Not Shared Package?
* - CLI and MCP have different deployment models
* - CLI is standalone, MCP is embedded in Claude Desktop
* - Keeping them independent = zero cross-dependencies = championship speed
* - But the VALUES must stay identical = brotherhood strength
*
* This is bi-sync at the PHILOSOPHY level! 🌟
*/
export interface ChampionshipMedal {
emoji: string;
tier: string;
threshold: number;
}
export interface TierInfo {
current: string;
next: string | null;
nextTarget: number | null;
nextMedal: string | null;
}
/**
* 🏁 THE CHAMPIONSHIP MEDAL SYSTEM
*
* F1-Inspired 7-Tier Progression
* SET IN STONE - DO NOT MODIFY without syncing both brothers!
*/
export declare const CHAMPIONSHIP_MEDALS: readonly ChampionshipMedal[];
/**
* Get medal for a given score
* IDENTICAL logic in CLI and MCP
*/
export declare function getScoreMedal(score: number): {
medal: string;
status: string;
};
/**
* Get tier information with next target
* IDENTICAL logic in CLI and MCP
*/
export declare function getTierInfo(score: number): TierInfo;
/**
* 🎯 CHAMPIONSHIP PHILOSOPHY
*
* These are the values that make us brothers:
*/
export declare const CHAMPIONSHIP_DNA: Readonly<{
medals: readonly ChampionshipMedal[];
performance: {
cli: number;
mcp: number;
};
scoring: {
cli: {
rule: string;
engine: string;
max: number;
};
mcp: {
rule: string;
engine: string;
max: number;
};
};
typescript: {
strict: boolean;
safety: string;
};
values: {
speed: string;
honesty: string;
quality: string;
dependencies: string;
};
}>;
/**
* 🏎️ THE BROTHER PRINCIPLE
*
* CLI and MCP are brothers:
* - Same DNA (this file)
* - Different strengths (celebrated!)
* - United mission (AI context excellence)
*
* When you modify this file:
* 1. Test in CLI
* 2. Copy championship logic to MCP
* 3. Verify both still pass tests
* 4. Celebrate that bi-sync works at the PHILOSOPHY level! 🎉
*/
export declare const BROTHERHOOD_MANIFEST: Readonly<{
cli: {
role: string;
platform: string;
strength: string;
speed: string;
};
mcp: {
role: string;
platform: string;
strength: string;
speed: string;
};
shared: {
medals: string;
typescript: string;
philosophy: string;
mission: string;
};
}>;
/**
* Validate that this file is in sync across brothers
* Run this in tests!
*/
export declare function validateBrotherhood(): {
valid: boolean;
medals: boolean;
philosophy: boolean;
};
//# sourceMappingURL=championship-core.d.ts.map