claude-flow-novice
Version:
Claude Flow Novice - Advanced orchestration platform for multi-agent AI workflows with CFN Loop architecture Includes CodeSearch (hybrid SQLite + pgvector), mem0/memgraph specialists, and all CFN skills.
43 lines (42 loc) • 1.18 kB
JavaScript
/**
* CFN Loop Mode Type Definitions
*
* Defines interfaces for MVP, Enterprise, and Standard CFN Loop modes.
* Each mode has different thresholds, iteration limits, and team structures.
*
* @module cfn-loop/modes/types
*/ /**
* CFN Loop mode types
*/ /**
* Type guard to check if mode is MVP
*/ export function isMVPMode(mode) {
return mode.name === 'mvp';
}
/**
* Type guard to check if mode is Enterprise
*/ export function isEnterpriseMode(mode) {
return mode.name === 'enterprise';
}
/**
* Type guard to check if mode is Standard
*/ export function isStandardMode(mode) {
return mode.name === 'standard';
}
/**
* Type guard to check if mode has planning consensus (Loop 0.5)
*/ export function hasPlanningConsensus(mode) {
return mode.planningConsensus?.enabled === true;
}
/**
* Type guard to check if mode has product owner team
*/ export function hasProductOwnerTeam(mode) {
return mode.productOwnerStructure === 'team' && !!mode.productOwnerTeam;
}
export default {
isMVPMode,
isEnterpriseMode,
isStandardMode,
hasPlanningConsensus,
hasProductOwnerTeam
};
//# sourceMappingURL=types.js.map