feat: Add DevLoop automation and HTML Reports
## DevLoop - Closed-Loop Development System - Orchestrator for plan → build → test → analyze cycle - Gemini planning via OpenCode CLI - Claude implementation via CLI bridge - Playwright browser testing integration - Test runner with API, filesystem, and browser tests - Persistent state in .devloop/ directory - CLI tool: tools/devloop_cli.py Usage: python tools/devloop_cli.py start 'Create new feature' python tools/devloop_cli.py plan 'Fix bug in X' python tools/devloop_cli.py test --study support_arm python tools/devloop_cli.py browser --level full ## HTML Reports (optimization_engine/reporting/) - Interactive Plotly-based reports - Convergence plot, Pareto front, parallel coordinates - Parameter importance analysis - Self-contained HTML (offline-capable) - Tailwind CSS styling ## Playwright E2E Tests - Home page tests - Test results in test-results/ ## LAC Knowledge Base Updates - Session insights (failures, workarounds, patterns) - Optimization memory for arm support study
This commit is contained in:
33
.devloop/browser_test_results.json
Normal file
33
.devloop/browser_test_results.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"timestamp": "2026-01-22T18:13:30.884945",
|
||||
"scenarios": [
|
||||
{
|
||||
"scenario_id": "browser_home_stats",
|
||||
"scenario_name": "Home page shows statistics",
|
||||
"passed": true,
|
||||
"duration_ms": 1413.166,
|
||||
"error": null,
|
||||
"details": {
|
||||
"navigated_to": "http://localhost:3003/",
|
||||
"found_selector": "text=Total Trials"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scenario_id": "browser_expand_folder",
|
||||
"scenario_name": "Topic folder expands on click",
|
||||
"passed": true,
|
||||
"duration_ms": 2785.3219999999997,
|
||||
"error": null,
|
||||
"details": {
|
||||
"navigated_to": "http://localhost:3003/",
|
||||
"found_selector": "span:has-text('completed'), span:has-text('running'), span:has-text('paused')",
|
||||
"clicked": "button:has-text('trials')"
|
||||
}
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"passed": 2,
|
||||
"failed": 0,
|
||||
"total": 2
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user