redesign fully scaffolded and web login works
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user