Compare commits
5 Commits
sim
...
229ebaf238
| Author | SHA1 | Date | |
|---|---|---|---|
| 229ebaf238 | |||
| e51194a9be | |||
| 85f8f08f42 | |||
| 70358f8151 | |||
| 064d7ba235 |
+3
@@ -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: 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
|
||||
|
||||
## Phase: Review Fixes
|
||||
- [x] Task: Apply review suggestions 064d7ba
|
||||
@@ -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**
|
||||
*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/)*
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -24,9 +24,10 @@ def main():
|
||||
project_name = f"LiveTest_{int(time.time())}"
|
||||
# Use actual project dir for realism
|
||||
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}")
|
||||
sim.setup_new_project(project_name, git_dir)
|
||||
print(f"\n[Action] Scaffolding Project: {project_name} at {project_path}")
|
||||
sim.setup_new_project(project_name, git_dir, project_path)
|
||||
|
||||
# Enable auto-add so results appear in history automatically
|
||||
client.set_value("auto_add_history", True)
|
||||
|
||||
@@ -31,11 +31,14 @@ class UserSimAgent:
|
||||
break
|
||||
|
||||
# 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
|
||||
|
||||
def perform_action_with_delay(self, action_func, *args, **kwargs):
|
||||
|
||||
@@ -8,9 +8,12 @@ class WorkflowSimulator:
|
||||
self.client = 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}")
|
||||
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)
|
||||
self.client.set_value("project_git_dir", git_dir)
|
||||
self.client.click("btn_project_save")
|
||||
|
||||
Reference in New Issue
Block a user