docs: Reorder track queue and initialize final stabilization tracks

- Initialize asyncio_decoupling_refactor_20260306 track

- Initialize mock_provider_hardening_20260305 track

- Initialize simulation_fidelity_enhancement_20260305 track

- Update TASKS.md and tracks.md to reflect new strict execution queue

- Archive completed tracks and remove deprecated test performance track
This commit is contained in:
2026-03-05 09:43:42 -05:00
parent e21cd64833
commit c295db1630
11 changed files with 222 additions and 50 deletions

View File

@@ -0,0 +1,8 @@
{
"id": "simulation_fidelity_enhancement_20260305",
"title": "Simulation Fidelity Enhancement",
"description": "Add human-like jitter, hesitation, and reading latency to the UserSimAgent.",
"status": "planned",
"created_at": "2026-03-05T00:00:00Z",
"updated_at": "2026-03-05T00:00:00Z"
}

View File

@@ -0,0 +1,26 @@
# Implementation Plan: Simulation Fidelity Enhancement (simulation_fidelity_enhancement_20260305)
## Phase 1: User Agent Modeling
- [ ] Task: Initialize MMA Environment `activate_skill mma-orchestrator`
- [ ] Task: Update `UserSimAgent`
- [ ] WHERE: `simulation/user_agent.py`
- [ ] WHAT: Add reading delay calculation (based on word count), typing jitter for input fields, and action hesitation probabilities.
- [ ] HOW: Use Python's `random` module to introduce variance.
- [ ] SAFETY: Ensure these delays are configurable so that fast test runs can disable them.
- [ ] Task: Conductor - User Manual Verification 'Phase 1: Agent Modeling'
## Phase 2: Application to Simulations
- [ ] Task: Update Simulator
- [ ] WHERE: `simulation/workflow_sim.py`
- [ ] WHAT: Inject the `UserSimAgent` into the standard workflow steps (e.g., waiting before approving a ticket).
- [ ] HOW: Call the agent's delay methods before executing `ApiHookClient` commands.
- [ ] SAFETY: None.
- [ ] Task: Conductor - User Manual Verification 'Phase 2: Simulator Integration'
## Phase 3: Final Validation
- [ ] Task: Watch Simulation
- [ ] WHERE: Terminal
- [ ] WHAT: Run `python simulation/sim_execution.py` locally and observe the pacing.
- [ ] HOW: Verify it feels more human.
- [ ] SAFETY: None.
- [ ] Task: Conductor - User Manual Verification 'Phase 3: Final Validation'

View File

@@ -0,0 +1,12 @@
# Specification: Simulation Fidelity Enhancement
## Background
The `simulation/user_agent.py` currently relies on fixed random delays to simulate human typing. As identified in the architecture audit, this provides a low-fidelity simulation of actual user interactions, which may hide UI rendering glitches that only appear when ImGui is forced to render intermediate, hesitating states.
## Objective
Enhance the `UserSimAgent` to behave more like a human, introducing realistic jitter, hesitation, and reading delays.
## Requirements
1. **Variable Reading Latency:** Calculate artificial delays based on the length of the AI's response to simulate the user reading the text before clicking next.
2. **Typing Jitter:** Instead of just injecting text instantly, simulate keystrokes with slight random delays if testing input fields (optional, but good for stress testing the render loop).
3. **Hesitation Vectors:** Introduce a random chance for a longer "hesitation" delay (e.g., 2-5 seconds) before critical actions like "Approve Script".