chittycan
Version:
Your completely autonomous network that grows with you - DNA ownership platform with encrypted vaults, PDX portability, and ChittyFoundation governance
71 lines • 1.89 kB
TypeScript
/**
* Stemcell Brief - Universal AI Context Initialization
*
* When any AI pops on at any juncture, this gives them the project context
* they need to work on any given piece.
*
* Like a stem cell, it can differentiate into whatever context is needed.
*/
export interface StemcellBrief {
project: {
name: string;
path: string;
type: string;
};
role: {
juncture: string;
purpose: string;
capabilities: string[];
upstream?: string;
downstream?: string;
};
context: {
branch: string;
status: string;
recentCommits: string[];
modifiedFiles: string[];
unstagedChanges: string[];
};
health: {
status: "healthy" | "degraded" | "failing" | "unknown";
checks: Array<{
name: string;
status: "pass" | "warn" | "fail";
message?: string;
}>;
blockers?: string[];
};
structure: {
directories: string[];
importantFiles: string[];
configFiles: string[];
};
instructions?: string;
dependencies?: {
runtime: Record<string, string>;
dev: Record<string, string>;
};
stats: {
totalFiles: number;
linesOfCode: number;
lastModified: string;
};
}
/**
* Generate a stemcell brief for the current project
*/
export declare function generateStemcellBrief(projectPath?: string, options?: {
includeInstructions?: boolean;
includeDependencies?: boolean;
includeStructure?: boolean;
maxCommits?: number;
juncture?: string;
purpose?: string;
upstream?: string;
downstream?: string;
}): Promise<StemcellBrief>;
/**
* Format stemcell brief as a string for AI consumption
*/
export declare function formatStemcellBrief(brief: StemcellBrief): string;
//# sourceMappingURL=stemcell.d.ts.map