Add phases for issue resolution: From Brainstorm and Form Execution Queue

- Implement Phase 3: From Brainstorm to convert brainstorm session output into executable issues and solutions.
- Implement Phase 4: Form Execution Queue to analyze bound solutions, resolve conflicts, and create an ordered execution queue.
- Introduce new data structures for Issue and Solution schemas.
- Enhance CLI commands for issue creation and queue management.
- Add error handling and quality checklist for queue formation.
This commit is contained in:
catlog22
2026-02-06 14:23:13 +08:00
parent 248daa1d00
commit 9b1655be9b
42 changed files with 2845 additions and 4644 deletions

View File

@@ -29,7 +29,7 @@ const initialState = {
maxLogs: MAX_LOGS,
// UI state
isMonitorExpanded: true,
isMonitorPanelOpen: false,
autoScrollLogs: true,
};
@@ -197,8 +197,8 @@ export const useExecutionStore = create<ExecutionStore>()(
// ========== UI State ==========
setMonitorExpanded: (expanded: boolean) => {
set({ isMonitorExpanded: expanded }, false, 'setMonitorExpanded');
setMonitorPanelOpen: (open: boolean) => {
set({ isMonitorPanelOpen: open }, false, 'setMonitorPanelOpen');
},
setAutoScrollLogs: (autoScroll: boolean) => {
@@ -213,7 +213,7 @@ export const useExecutionStore = create<ExecutionStore>()(
export const selectCurrentExecution = (state: ExecutionStore) => state.currentExecution;
export const selectNodeStates = (state: ExecutionStore) => state.nodeStates;
export const selectLogs = (state: ExecutionStore) => state.logs;
export const selectIsMonitorExpanded = (state: ExecutionStore) => state.isMonitorExpanded;
export const selectIsMonitorPanelOpen = (state: ExecutionStore) => state.isMonitorPanelOpen;
export const selectAutoScrollLogs = (state: ExecutionStore) => state.autoScrollLogs;
// Helper to check if execution is active