chore(conductor): Archive track 'gui_sim_extension_20260224'

This commit is contained in:
2026-02-25 01:45:27 -05:00
parent c952d2f67b
commit 05ad580bc1
5 changed files with 0 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
# Track gui_sim_extension_20260224 Context
- [Specification](./spec.md)
- [Implementation Plan](./plan.md)
- [Metadata](./metadata.json)

View File

@@ -0,0 +1,8 @@
{
"track_id": "gui_sim_extension_20260224",
"type": "chore",
"status": "new",
"created_at": "2026-02-24T19:17:00Z",
"updated_at": "2026-02-24T19:17:00Z",
"description": "extend test simulation to have further in breadth test (not remove the original though as its a useful small test) to extensively test all facets of possible gui interaction."
}

View File

@@ -0,0 +1,39 @@
# Implementation Plan: Extended GUI Simulation Testing
## Phase 1: Setup and Architecture [checkpoint: b255d4b]
- [x] Task: Review the existing baseline simulation test to identify reusable components or fixtures without modifying the original. a0b1c2d
- [x] Task: Design the modular structure for the new simulation scripts within the `simulation/` directory. e1f2g3h
- [x] Task: Create a base test configuration or fixture that initializes the GUI with the `--enable-test-hooks` flag and the `ApiHookClient` for API testing. i4j5k6l
- [x] Task: Conductor - User Manual Verification 'Phase 1: Setup and Architecture' (Protocol in workflow.md) m7n8o9p
## Phase 2: Context and Chat Simulation [checkpoint: a77d0e7]
- [x] Task: Create the test script `sim_context.py` focused on the Context and Discussion panels. q1r2s3t
- [x] Task: Simulate file aggregation interactions and context limit verification. u4v5w6x
- [x] Task: Implement history generation and test chat submission via API hooks. y7z8a9b
- [x] Task: Conductor - User Manual Verification 'Phase 2: Context and Chat Simulation' (Protocol in workflow.md) c1d2e3f
## Phase 3: AI Settings and Tools Simulation [checkpoint: 760eec2]
- [x] Task: Create the test script `sim_ai_settings.py` for AI model configuration changes (Gemini/Anthropic). g1h2i3j
- [x] Task: Create the test script `sim_tools.py` focusing on file exploration, search, and MCP-like tool triggers. k4l5m6n
- [x] Task: Validate proper panel rendering and data updates via API hooks for both AI settings and tool results. o7p8q9r
- [x] Task: Conductor - User Manual Verification 'Phase 3: AI Settings and Tools Simulation' (Protocol in workflow.md) s1t2u3v
## Phase 4: Execution and Modals Simulation [checkpoint: e8959bf]
- [x] Task: Create the test script `sim_execution.py`. w3x4y5z
- [x] Task: Simulate the AI generating a PowerShell script that triggers the explicit confirmation modal. a1b2c3d
- [x] Task: Assert the modal appears correctly and accepts input/approval from the simulated user. e4f5g6h
- [x] Task: Validate the executed output via API hooks. i7j8k9l
- [x] Task: Conductor - User Manual Verification 'Phase 4: Execution and Modals Simulation' (Protocol in workflow.md) m0n1o2p
## Phase 5: Reactive Interaction and Final Polish [checkpoint: final]
- [x] Task: Implement reactive `/api/events` endpoint for real-time GUI feedback. x1y2z3a
- [x] Task: Add auto-scroll and fading blink effects to Tool and Comms history panels. b4c5d6e
- [x] Task: Restrict simulation testing to `gui_2.py` and ensure full integration pass. f7g8h9i
- [x] Task: Conductor - User Manual Verification 'Phase 5: Reactive Interaction and Final Polish' (Protocol in workflow.md) j0k1l2m
## Phase 6: Multi-Turn & Stability Polish [checkpoint: pass]
- [x] Task: Implement looping reactive simulation for multi-turn tool approvals. a1b2c3d
- [x] Task: Fix Gemini 400 error by adding token threshold for context caching. e4f5g6h
- [x] Task: Ensure `btn_reset` clears all relevant UI fields including `ai_input`. i7j8k9l
- [x] Task: Run full test suite (70+ tests) and ensure 100% pass rate. m0n1o2p
- [x] Task: Conductor - User Manual Verification 'Phase 6: Multi-Turn & Stability Polish' (Protocol in workflow.md) q1r2s3t

View File

@@ -0,0 +1,27 @@
# Specification: Extended GUI Simulation Testing
## Overview
This track aims to expand the test simulation suite by introducing comprehensive, in-breadth tests that cover all facets of the GUI interaction. The original small test simulation will be preserved as a useful baseline. The new extended tests will be structured as multiple focused, modular scripts rather than a single long-running journey, ensuring maintainability and targeted coverage.
## Scope
The extended simulation tests will cover the following key GUI workflows and panels:
- **Context & Chat:** Testing the core Context and Discussion panels, including history management and context aggregation.
- **AI Settings:** Validating AI settings manipulation, model switching, and provider changes (Gemini/Anthropic).
- **Tools & Search:** Exercising file exploration, MCP-like file tools, and web search capabilities.
- **Execution & Modals:** Testing the generation, explicit confirmation via modals, and execution of PowerShell scripts.
## Functional Requirements
1. **Modular Test Architecture:** Implement a suite of independent simulation scripts under the `simulation/` or `tests/` directory (e.g., `sim_context.py`, `sim_tools.py`, `sim_execution.py`).
2. **Preserve Baseline:** Ensure the existing small test simulation remains functional and untouched.
3. **Comprehensive Coverage:** Each modular script must focus on a specific, complex interaction workflow, simulating human-like usage via the existing IPC/API hooks mechanism.
4. **Validation and Checkpointing:** Each script must include assertions to verify the GUI state, confirming that the expected panels are rendered, inputs are accepted, and actions produce the correct results.
## Non-Functional Requirements
- **Maintainability:** The modular design should make it easy to add or update specific workflows in the future.
- **Performance:** Tests should run reliably without causing the GUI framework to lock up, utilizing the event-driven architecture properly.
## Acceptance Criteria
- [ ] A new suite of modular simulation scripts is created.
- [ ] The existing test simulation is untouched and remains functional.
- [ ] The new tests run successfully and pass all verifications via the automated API hook mechanism.
- [ ] The scripts cover all four major GUI areas identified in the scope.