refactor(sdm): Global pass with refined 'External Only' SDM tags. Pruned redundant internal references and fixed indentation logic in injector. Verified full project compilation.

This commit is contained in:
2026-05-09 14:32:44 -04:00
parent 696c08692e
commit 8c06c1767b
142 changed files with 2352 additions and 990 deletions
+13 -1
View File
@@ -49,6 +49,9 @@ class WorkflowSimulator:
self.user_agent = UserSimAgent(hook_client)
def setup_new_project(self, name: str, git_dir: str, project_path: str = None) -> None:
"""
[C: tests/test_workflow_sim.py:test_setup_new_project]
"""
print(f"Setting up new project: {name}")
if project_path:
self.client.click("btn_project_new_automated", user_data=project_path)
@@ -62,6 +65,9 @@ class WorkflowSimulator:
self.client.set_value("auto_add_history", True)
def create_discussion(self, name: str) -> None:
"""
[C: tests/test_workflow_sim.py:test_discussion_switching]
"""
print(f"Creating discussion: {name}")
self.client.set_value("disc_new_name_input", name)
self.client.click("btn_disc_create")
@@ -69,6 +75,9 @@ class WorkflowSimulator:
time.sleep(2)
def switch_discussion(self, name: str) -> None:
"""
[C: tests/test_workflow_sim.py:test_discussion_switching]
"""
print(f"Switching to discussion: {name}")
self.client.select_list_item("disc_listbox", name)
time.sleep(1)
@@ -81,6 +90,9 @@ class WorkflowSimulator:
time.sleep(1)
def truncate_history(self, pairs: int) -> None:
"""
[C: tests/test_workflow_sim.py:test_history_truncation]
"""
print(f"Truncating history to {pairs} pairs")
self.client.set_value("disc_truncate_pairs", pairs)
self.client.click("btn_disc_truncate")
@@ -185,4 +197,4 @@ class WorkflowSimulator:
print("\nTimeout waiting for AI")
active_disc = self.client.get_value("active_discussion")
print(f"[DEBUG] Active discussion in GUI at timeout: {active_disc}")
return None
return None