redesign fully scaffolded and web login works

This commit is contained in:
2026-03-17 20:10:47 -04:00
parent b9cc397e05
commit f6bd22a8ef
143 changed files with 17317 additions and 693 deletions

View File

@@ -13,20 +13,25 @@ const StrategyAnalysisState = Annotation.Root({
// Analysis steps
codeReview: Annotation<string | null>({
value: (left, right) => right ?? left,
default: () => null,
}),
backtestResults: Annotation<Record<string, unknown> | null>({
value: (left, right) => right ?? left,
default: () => null,
}),
riskAssessment: Annotation<string | null>({
value: (left, right) => right ?? left,
default: () => null,
}),
humanApproved: Annotation<boolean>({
value: (left, right) => right ?? left,
default: () => false,
}),
// Final output
recommendation: Annotation<string | null>({
value: (left, right) => right ?? left,
default: () => null,
}),
});
@@ -98,7 +103,7 @@ Focus on: drawdown, win rate, Sharpe ratio, position sizing, and risk of ruin.`;
};
// Node: Human Approval (placeholder - would integrate with UI)
const humanApprovalNode = async (state: StrategyAnalysisStateType) => {
const humanApprovalNode = async (_state: StrategyAnalysisStateType) => {
logger.info('Strategy workflow: Awaiting human approval');
// In real implementation, this would pause and wait for user input