fix(KB-637): test fixes and code cleanup
- Fix executor test worktree recovery assertions to use exact command matching - Fix routes.test.ts mission store mock and git worktree list mock - Fix SettingsModal temporal dead zone by moving activeSectionScope declaration - Remove incomplete project-context feature from CLI - Clean up AGENTS.md and README documentation
This commit is contained in:
@@ -79,6 +79,9 @@ export function SettingsModal({
|
||||
const [activeSection, setActiveSection] = useState<SectionId>(initialSection ?? SETTINGS_SECTIONS[0].id);
|
||||
const [prefixError, setPrefixError] = useState<string | null>(null);
|
||||
|
||||
/** Get the scope of the currently active section */
|
||||
const activeSectionScope = SETTINGS_SECTIONS.find((s) => s.id === activeSection)?.scope;
|
||||
|
||||
// Auth state (independent of the settings save flow)
|
||||
const [authProviders, setAuthProviders] = useState<AuthProvider[]>([]);
|
||||
const [authLoading, setAuthLoading] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user