From f9cc89c8776bcebaf4ccca2451cdcc7b3348bda5 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 10 May 2026 22:02:27 -0400 Subject: [PATCH] docs: add context composition redesign spec --- config.toml | 5 +- manual_slop.toml | 190 +++++++++++++++++++++--- manual_slop_history.toml | 306 ++++++++++++++++++++++++++++++++++++++- 3 files changed, 479 insertions(+), 22 deletions(-) diff --git a/config.toml b/config.toml index 1c06c62..60a8cbe 100644 --- a/config.toml +++ b/config.toml @@ -13,6 +13,7 @@ use_default_base_prompt = true [projects] paths = [ "C:/projects/gencpp/.ai/gencpp_sloppy.toml", + "C:/projects/manual_slop/manual_slop.toml", ] active = "C:/projects/gencpp/.ai/gencpp_sloppy.toml" @@ -55,7 +56,7 @@ Theme = true Diagnostics = false "External Tools" = false "Shader Editor" = false -"Undo/Redo History" = false +"Undo/Redo History" = true [theme] palette = "Nord Dark" @@ -77,7 +78,7 @@ logs_dir = "C:\\projects\\manual_slop\\logs" scripts_dir = "C:\\projects\\manual_slop\\scripts" [rag] -enabled = false +enabled = true embedding_provider = "local" chunk_size = 1000 chunk_overlap = 200 diff --git a/manual_slop.toml b/manual_slop.toml index 2b1efa9..e761dbc 100644 --- a/manual_slop.toml +++ b/manual_slop.toml @@ -12,23 +12,156 @@ output_dir = "./md_gen" [files] base_dir = "tests/artifacts/temp_workspace" -paths = [ - "gui.py", - "gui_2.py", - "ai_client.py", - "aggregate.py", - "shell_runner.py", - "project_manager.py", - "config.toml", - "manual_slop.toml", - "tests/test_agent_tools_wiring.py", - "pyproject.toml", - "events.py", - "performance_monitor.py", - "api_hooks.py", - "api_hook_client.py", - "manual_slop_history.toml", -] + +[[files.paths]] +path = "gui.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "gui_2.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "ai_client.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "aggregate.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "shell_runner.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "project_manager.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "config.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "manual_slop.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "tests/test_agent_tools_wiring.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "pyproject.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "events.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "performance_monitor.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "api_hooks.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "api_hook_client.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] + +[[files.paths]] +path = "manual_slop_history.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[files.paths.ast_mask] [screenshots] base_dir = "C:/Users/Ed/Pictures/Screenshots" @@ -61,9 +194,32 @@ set_file_slice = false py_update_definition = false py_set_signature = false py_set_var_declaration = false +ts_c_get_skeleton = true +ts_cpp_get_skeleton = true +ts_c_get_code_outline = true +ts_cpp_get_code_outline = true [gemini_cli] binary_path = "gemini" [mma] epic = "" + +[mma.tier_models."Tier 1"] +model = "gemini-3.1-pro-preview" +provider = "gemini" + +[mma.tier_models."Tier 2"] +model = "gemini-3-flash-preview" +provider = "gemini" + +[mma.tier_models."Tier 3"] +model = "gemini-2.5-flash-lite" +provider = "gemini" + +[mma.tier_models."Tier 4"] +model = "gemini-2.5-flash-lite" +provider = "gemini" + +[conductor] +dir = "C:/projects/gencpp/.ai/conductor" diff --git a/manual_slop_history.toml b/manual_slop_history.toml index b2398a2..6362f8e 100644 --- a/manual_slop_history.toml +++ b/manual_slop_history.toml @@ -4,16 +4,166 @@ roles = [ "Vendor API", "System", ] -active = "test gemini mock interaction" +active = "main" auto_add = true [discussions.main] git_commit = "9265f94d9756b1a37a7b8e195725654032d84747" -last_updated = "2026-02-21T18:23:13" +last_updated = "2026-05-10T21:16:47" history = [ "@2026-02-21T18:22:58\nUser:\nI will now try to generate a response from the AI. I will then try to run a tool call. Finally, I will try to generate a response from the AI again.", ] +[[discussions.main.context_snapshot]] +path = "gui.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "gui_2.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "ai_client.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "aggregate.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "shell_runner.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "project_manager.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "config.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "manual_slop.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "tests/test_agent_tools_wiring.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "pyproject.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "events.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "performance_monitor.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "api_hooks.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "api_hook_client.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + +[[discussions.main.context_snapshot]] +path = "manual_slop_history.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions.main.context_snapshot.ast_mask] + [discussions.docs] git_commit = "68e895cb8a0144061d1e3b959b7c9f7f98a0c7ed" last_updated = "2026-02-23T11:05:22" @@ -85,9 +235,159 @@ history = [ [discussions."test gemini mock interaction"] git_commit = "" -last_updated = "2026-03-01T17:05:01" +last_updated = "2026-05-10T21:16:46" history = [ "@2026-03-01T14:24:32\nSystem:\n[PERFORMANCE ALERT] CPU usage high: 81.9%. Please consider optimizing recent changes or reducing load.", "@2026-03-01T16:25:55\nSystem:\n[PERFORMANCE ALERT] CPU usage high: 97.7%. Please consider optimizing recent changes or reducing load.", "@2026-03-01T17:04:36\nSystem:\n[PERFORMANCE ALERT] CPU usage high: 90.6%. Please consider optimizing recent changes or reducing load.", ] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "gui.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "gui_2.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "ai_client.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "aggregate.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "shell_runner.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "project_manager.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "config.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "manual_slop.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "tests/test_agent_tools_wiring.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "pyproject.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "events.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "performance_monitor.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "api_hooks.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "api_hook_client.py" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask] + +[[discussions."test gemini mock interaction".context_snapshot]] +path = "manual_slop_history.toml" +auto_aggregate = false +force_full = false +ast_signatures = false +ast_definitions = false +custom_slices = [] + +[discussions."test gemini mock interaction".context_snapshot.ast_mask]