Private
Public Access
0
0
Commit Graph

2400 Commits

Author SHA1 Message Date
ed f03b24eaca conductor(refactor): update OOP tracker with Phase 4 progress and 2026-06-02 log 2026-06-02 23:53:05 -04:00
ed f210d228ec conductor(style): add See Also section linking to per-file pattern demonstrations 2026-06-02 23:51:20 -04:00
ed 7f8a9c4496 conductor(tracks): mark command_palette done, add documentation_refresh track entry 2026-06-02 23:50:34 -04:00
ed fe62b87dd7 conductor(index): point active track to command_palette; mark doc refresh complete 2026-06-02 23:49:50 -04:00
ed da03350ffc conductor(tech-stack): update tool count 26->45, add api_hooks + command_palette, link 8 new per-file guides 2026-06-02 23:49:06 -04:00
ed 8b02b8a238 conductor(product): add 7 per-source-file + 1 testing guide to architecture reference 2026-06-02 23:47:34 -04:00
ed a615bbdaa0 conductor(workflow): add 8 new per-file guide references to docs fallback 2026-06-02 23:46:38 -04:00
ed 87d5870076 docs(readme): add 8 new guide entries to Guides table 2026-06-02 23:40:16 -04:00
ed 7ade88d577 docs(models): add guide_models.md 2026-06-02 23:38:52 -04:00
ed 9ea7989f90 docs(mma): add guide_multi_agent_conductor.md 2026-06-02 23:37:10 -04:00
ed 6415e84994 docs(app-controller): add guide_app_controller.md 2026-06-02 23:35:29 -04:00
ed a58a2fd887 docs(mcp-client): add guide_mcp_client.md 2026-06-02 23:33:17 -04:00
ed f7663ab2e8 docs(api-hooks): add guide_api_hooks.md 2026-06-02 23:27:13 -04:00
ed 0426239a13 docs(ai-client): add guide_ai_client.md 2026-06-02 23:25:28 -04:00
ed 779eb006ba docs(gui_2): add guide_gui_2.md
Comprehensive guide for the main GUI file (~260KB, 5400 lines):
- Architecture (UI delegation pattern: module-level render functions + App class)
- App class breakdown (init, key state, render entry point)
- The render_main_interface flow (calls ~15 hub renderers)
- Modal pattern via _render_window_if_open helper
- Keyboard shortcuts (Ctrl+Shift+P, Ctrl+Alt+R, Ctrl+L, Ctrl+Enter)
- Key patterns: hot reload, snapshots, window state, modal
- Public methods worth knowing table
- Performance considerations (60 FPS target, perf monitor)
- Testing approaches (pure, integration via live_gui, mock_app)
- Common operations: adding toggleable window, modal, hook API exposure
2026-06-02 23:23:35 -04:00
ed 9a39492617 docs(readme): update ASCII file tree visualizations to match current state
docs/Readme.md: was showing 5 guides (architecture, tools, mma, simulations, meta_boundary); now shows all 14 current guides plus MMA_Support/, reports/, superpowers/. Also expanded src/ tree from 22 modules to 53 modules, added simulation/ sim_* files, tests/ test infrastructure, scripts/ audit + docker scripts, and corrected entry-point paths (sloppy.py, manual_slop.toml).

Readme.md: 'Module by Domain' table was showing 22 src/ modules; now shows all 53 current modules. Updated MCP tool count from 26 to 45. Added all modules added since 2026-02 doc refresh: rag_engine, beads_client, hot_reloader, personas, presets, context_presets, tool_presets, tool_bias, command_palette, commands, workspace_manager, theme_2, theme_nerv, theme_nerv_fx, fuzzy_anchor, history, imgui_scopes, summary_cache, markdown_helper, patch_modal, diff_viewer, external_editor, orchestrator_pm, synthesis_formatter, thinking_parser.
2026-06-02 23:13:50 -04:00
ed 7825588200 docs(testing): add comprehensive guide_testing.md
Comprehensive guide covering the 251-test-file suite:
- Test file layout and naming conventions
- 7 conftest.py fixtures (isolate_workspace, reset_paths, reset_ai_client, vlogger, kill_process_tree, mock_app, app_instance, live_gui) with their mechanisms
- 5 test categories (unit, integration, mock app, headless, opt-in)
- Markers (integration, clean_install, docker) and how to filter by them
- Hook API for integration tests (ApiHookClient methods, predefined_callbacks pattern)
- Common test patterns (pure function, mock, live_gui, exception, parametrized)
- Test configuration in pyproject.toml
- Running tests (all, by file, by marker, with timeout, etc.)
- Adding new tests (pure, integration, opt-in)
- Debugging failed tests (common failure modes and fixes)
- The check_test_toml_paths.py audit script
- Test data flow diagram
2026-06-02 23:05:02 -04:00
ed a280706ce4 feat(palette): comprehensive command library (32 commands, up from 11)
Added commands focused on ergonomics and mouse-free operation:

View (window toggles, 12 new): toggle_text_viewer, toggle_diagnostics, toggle_usage_analytics, toggle_context_preview, toggle_tier1_strategy, toggle_tier2_tech_lead, toggle_tier3_workers, toggle_tier4_qa, toggle_external_tools, toggle_shader_editor, toggle_undo_redo_history, toggle_command_palette

Layout (3 new): show_all_panels, hide_all_panels, save_workspace_profile, show_workspace_manager

Theme (1 new): cycle_theme (Dark -> Light -> NERV cycle)

Tools (2 new): undo, redo

Project (1 new): save_all (flush to project + config + global config)

Help (1 new): show_command_palette_help (opens docs/Readme.md in Text Viewer)

Refactored: extracted _toggle_window and _toggle_attr helpers to reduce duplication and make commands safer (no-op if state is missing).

Reset session now also clears comms and tool logs (matches the menu item behavior).

Added 7 new unit tests for the expanded command library.
2026-06-02 22:54:52 -04:00
ed 86d093e101 docs(command-palette): rewrite guide to match actual implementation
- Updated to reflect 13 tests (6 unit + 7 live_gui) instead of hypothetical async test
- Removed Everything mode and async context preview sections (not yet implemented; marked as future work)
- Updated Commands Registry section to reference actual src/commands.py file
- Added Implementation section with file layout and Command/CommandRegistry/CommandModal reference
- Added Built-in Commands table reflecting the actual 11 commands shipped
- Added Adding Custom Commands section with decorator and explicit-Command patterns
- Added Keyboard Reference table
- Updated Testing section with accurate coverage and test pattern
- Moved unimplemented features (Everything mode, user-defined commands, plugin system) to Future Work
2026-06-02 22:46:48 -04:00
ed d7449ae417 feat(palette): add Up/Down arrow navigation and Enter key selection
- Process arrow keys BEFORE input_text so the input field does not consume them
- Up/Down arrow keys navigate the result list (clamped to bounds)
- Enter and KeypadEnter execute the currently selected command
- Refactored _close_palette and _execute helpers (action call is now wrapped in try/except via _execute)
- Added 3 new tests: close helper resets state, execute runs and catches exceptions, top_n is meaningful for navigation
2026-06-02 22:41:59 -04:00
ed 9cfd7b0d12 fix(palette): auto-focus input via set_next_window_focus + apply(theme) + try/except for actions
Added imgui.set_next_window_focus() on open so the palette window itself gets focus. The input field then gets focus on the next drawn widget. Wrapped action calls in try/except so a buggy command does not break the imgui.end_child/end pairing (was causing IM_ASSERT crash). Fixed theme_2 calls: apply_dark_theme and apply_light_theme do not exist; use theme_2.apply(palette_name). switch_to_dark_theme uses apply 10x Dark. switch_to_light_theme uses apply ImGui Light. switch_to_nerv_theme uses apply NERV instead of apply_nerv() from src.theme_nerv.
2026-06-02 22:33:05 -04:00
ed 592f816caf fix(palette): set keyboard focus correctly + support click-to-execute
- set_keyboard_focus_here() now called BEFORE input_text (was after, so focus went to wrong widget)
- Only call set_keyboard_focus_here ONCE per open (via _command_palette_focused flag) so focus isn't stolen on subsequent frames
- Added imgui.Cond_.always to window pos/size so it stays centered on re-render
- Click on a result now immediately executes the command (was: only on Enter key, which wasn't reaching the modal)
- Reset _command_palette_focused on close so next open gets focus again
2026-06-02 22:22:00 -04:00
ed 19c7a6e449 fix(palette): remove unsupported closable kwarg from imgui.begin 2026-06-02 22:08:49 -04:00
ed 78e4cd54d8 conductor(checkpoint): Command Palette (Phase 2) complete 2026-06-02 22:05:48 -04:00
ed 436f4cfdfc test(palette): add live_gui integration tests via toggle custom_callback 2026-06-02 22:03:33 -04:00
ed 211949d2c3 feat(gui): wire Command Palette into App class with Ctrl+Shift+P 2026-06-02 21:52:57 -04:00
ed 6a564a5e65 feat(palette): add render_palette_modal with fuzzy search and keyboard nav 2026-06-02 21:46:23 -04:00
ed 57d0329951 feat(palette): define 11 core commands in commands.py 2026-06-02 21:44:31 -04:00
ed 63b67be5b1 feat(palette): add fuzzy_match with subsequence matching and scoring 2026-06-02 21:42:01 -04:00
ed 18fb991ee6 feat(palette): add Command dataclass and CommandRegistry 2026-06-02 21:37:55 -04:00
ed cb91006cea conductor(checkpoint): Test consolidation & TOML sandboxing complete 2026-06-02 21:36:23 -04:00
ed 7646fc14a2 test(arch-boundary): migrate whitelist test to tmp_path; fix indentation 2026-06-02 21:34:56 -04:00
ed 1660114bc7 feat(tests): add check_test_toml_paths.py audit script 2026-06-02 21:27:47 -04:00
ed 0d6e31bf09 docs(plans): implementation plans for 4 tracks - command palette, test consolidation, clean install, docker web 2026-06-02 21:23:37 -04:00
ed b382279888 docs(spec): designs for 4 new tracks - command palette, test consolidation, clean install test, docker web frontend 2026-06-02 21:15:02 -04:00
ed a35a060a66 remove old pys laying out in the main dir 2026-06-02 21:01:44 -04:00
ed 87f668a6ac conductor(checkpoint): Sub-Track 3 (agent config refresh) complete 2026-06-02 20:54:07 -04:00
ed 291e838705 docs(gemini): refresh to reflect current providers (5), entry point (sloppy.py), and key modules 2026-06-02 20:48:56 -04:00
ed 6c5b6fb76d docs(claude): replace with deprecation stub; project migrated to Gemini CLI + OpenCode 2026-06-02 20:46:43 -04:00
ed 17dcb9fbf3 docs(agents): rewrite as thin pointer document; defer to skill files and conductor docs 2026-06-02 20:45:21 -04:00
ed ef4efab2c3 conductor(checkpoint): Sub-Track 2 (conductor docs refresh) complete 2026-06-02 20:42:08 -04:00
ed 715b66bb40 docs(conductor): add links to human-facing docs and active documentation refresh track 2026-06-02 20:39:04 -04:00
ed 4c0114f296 docs(workflow): update architecture fallback to 2026-06-02 doc refresh, 45-tool inventory, full guide index 2026-06-02 20:32:34 -04:00
ed 39fd87e82f docs(tech-stack): add MiniMax provider and Gemini Embedding 001 2026-06-02 20:30:41 -04:00
ed 404f226f89 docs(product): update Architecture Reference to 14 guides, add MiniMax and Command Palette to Key Features 2026-06-02 20:28:51 -04:00
ed 20225c82c1 conductor(checkpoint): Sub-Track 1 (docs layer refresh) complete 2026-06-02 20:19:33 -04:00
ed 3251cb57b7 docs(nerv-theme): fix symbol parity - apply_nerv_theme -> apply_nerv 2026-06-02 20:11:56 -04:00
ed f5c0d054fe docs(index): replace 7 new-guide placeholders with real summaries pointing to completed guides 2026-06-02 19:59:56 -04:00
ed 3b3c37a298 docs(command-palette): new guide covering fuzzy search, async context preview, Everything mode, and performance 2026-06-02 19:57:50 -04:00
ed 5379312bc7 docs(workspace-profiles): new guide covering profile schema, manager, scope inheritance, and auto-switch 2026-06-02 19:55:08 -04:00