5 Commits

8 changed files with 19 additions and 14 deletions
@@ -35,3 +35,6 @@ Consolidate the simulation into end-user artifacts and CI tests.
- [x] Task: Create `tests/test_live_workflow.py` for automated regression testing. 8bd280e - [x] Task: Create `tests/test_live_workflow.py` for automated regression testing. 8bd280e
- [x] Task: Perform a full visual walkthrough and verify 'human-readable' pace. 8e63b31 - [x] Task: Perform a full visual walkthrough and verify 'human-readable' pace. 8e63b31
- [x] Task: Conductor - User Manual Verification 'Phase 4: Final Integration & Regression' (Protocol in workflow.md) 8e63b31 - [x] Task: Conductor - User Manual Verification 'Phase 4: Final Integration & Regression' (Protocol in workflow.md) 8e63b31
## Phase: Review Fixes
- [x] Task: Apply review suggestions 064d7ba
-5
View File
@@ -7,11 +7,6 @@ This file tracks all major tracks for the project. Each track has its own detail
- [x] **Track: Implement context visualization and memory management improvements** - [x] **Track: Implement context visualization and memory management improvements**
*Link: [./tracks/context_management_20260223/](./tracks/context_management_20260223/)* *Link: [./tracks/context_management_20260223/](./tracks/context_management_20260223/)*
---
- [x] **Track: Make a human-like test ux interaction where the AI creates a small python project, engages in a 5-turn discussion, and verifies history/session management features via API hooks.**
*Link: [./tracks/live_ux_test_20260223/](./tracks/live_ux_test_20260223/)*
+3 -2
View File
@@ -24,9 +24,10 @@ def main():
project_name = f"LiveTest_{int(time.time())}" project_name = f"LiveTest_{int(time.time())}"
# Use actual project dir for realism # Use actual project dir for realism
git_dir = os.path.abspath(".") git_dir = os.path.abspath(".")
project_path = os.path.join(git_dir, "tests", f"{project_name}.toml")
print(f"\n[Action] Scaffolding Project: {project_name}") print(f"\n[Action] Scaffolding Project: {project_name} at {project_path}")
sim.setup_new_project(project_name, git_dir) sim.setup_new_project(project_name, git_dir, project_path)
# Enable auto-add so results appear in history automatically # Enable auto-add so results appear in history automatically
client.set_value("auto_add_history", True) client.set_value("auto_add_history", True)
+7 -4
View File
@@ -31,11 +31,14 @@ class UserSimAgent:
break break
# We need to set a custom system prompt for the User Simulator # We need to set a custom system prompt for the User Simulator
ai_client.set_custom_system_prompt(self.system_prompt) try:
ai_client.set_custom_system_prompt(self.system_prompt)
# We'll use a blank md_content for now as the 'User' doesn't need to read its own files
# via the same mechanism, but we could provide it if needed.
response = ai_client.send(md_content="", user_message=last_ai_msg)
finally:
ai_client.set_custom_system_prompt("")
# We'll use a blank md_content for now as the 'User' doesn't need to read its own files
# via the same mechanism, but we could provide it if needed.
response = ai_client.send(md_content="", user_message=last_ai_msg)
return response return response
def perform_action_with_delay(self, action_func, *args, **kwargs): def perform_action_with_delay(self, action_func, *args, **kwargs):
+5 -2
View File
@@ -8,9 +8,12 @@ class WorkflowSimulator:
self.client = hook_client self.client = hook_client
self.user_agent = UserSimAgent(hook_client) self.user_agent = UserSimAgent(hook_client)
def setup_new_project(self, name, git_dir): def setup_new_project(self, name, git_dir, project_path=None):
print(f"Setting up new project: {name}") print(f"Setting up new project: {name}")
self.client.click("btn_project_new") if project_path:
self.client.click("btn_project_new_automated", user_data=project_path)
else:
self.client.click("btn_project_new")
time.sleep(1) time.sleep(1)
self.client.set_value("project_git_dir", git_dir) self.client.set_value("project_git_dir", git_dir)
self.client.click("btn_project_save") self.client.click("btn_project_save")