[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F6HP8HAGMTPSMP2V59RXXR":3,"skill-same:01M7F6HP8HAGMTPSMP2V59RXXR":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7F6HP8HAGMTPSMP2V59RXXR","validate-ui",null,"Comprehensive end-to-end validation of the Archon Web UI using browser automation and codebase review.\nUse when: User wants to validate, test, or audit the Archon web interface, find UI\u002FUX bugs,\ntest workflow management, verify parallel agent orchestration, or run comprehensive browser-based E2E tests.\nTriggers: \"validate ui\", \"test the ui\", \"e2e test\", \"browser test\", \"validate archon\",\n          \"test archon ui\", \"ui audit\", \"ux review\", \"comprehensive test\", \"validate everything\".\nCapability: Starts Archon, runs exhaustive browser automation tests via agent-browser CLI,\nperforms codebase review, and produces a detailed bug\u002FUX report.\nNOT for: Unit tests (use `bun test`), CLI-only validation (use \u002Fvalidation:validate-simple).","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fvalidate-ui\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: validate-ui\ndescription: |\n  Comprehensive end-to-end validation of the Archon Web UI using browser automation and codebase review.\n  Use when: User wants to validate, test, or audit the Archon web interface, find UI\u002FUX bugs,\n  test workflow management, verify parallel agent orchestration, or run comprehensive browser-based E2E tests.\n  Triggers: \"validate ui\", \"test the ui\", \"e2e test\", \"browser test\", \"validate archon\",\n            \"test archon ui\", \"ui audit\", \"ux review\", \"comprehensive test\", \"validate everything\".\n  Capability: Starts Archon, runs exhaustive browser automation tests via agent-browser CLI,\n  performs codebase review, and produces a detailed bug\u002FUX report.\n  NOT for: Unit tests (use `bun test`), CLI-only validation (use \u002Fvalidation:validate-simple).\nargument-hint: \"[focus-area]\"\ndisable-model-invocation: true\nallowed-tools: Bash, Read, Grep, Glob, Edit, Write, Task\n---\n\n# Archon Web UI — Comprehensive E2E Validation\n\nRun exhaustive end-to-end browser automation tests and codebase review of the Archon Web UI.\nThe goal: determine whether Archon is doing the best it possibly can to solve the problem of\nmanaging parallel agents, executing custom workflows, and providing full visibility into agent work.\n\nOptional focus argument: `$ARGUMENTS` (e.g., \"workflows\", \"chat\", \"projects\"). If empty, run ALL sections.\n\n---\n\n## Phase 0: Environment Setup\n\n### 0.1 Kill Old Archon Processes\n\n```bash\n# Kill any running Archon dev servers (backend + frontend)\npkill -f \"bun.*dev:server\" 2>\u002Fdev\u002Fnull || true\npkill -f \"bun.*dev:web\" 2>\u002Fdev\u002Fnull || true\npkill -f \"bun.*packages\u002Fserver\" 2>\u002Fdev\u002Fnull || true\npkill -f \"bun.*packages\u002Fweb\" 2>\u002Fdev\u002Fnull || true\npkill -f \"vite.*5173\" 2>\u002Fdev\u002Fnull || true\n\n# Kill any leftover processes on our ports\nlsof -ti:3090 | xargs kill -9 2>\u002Fdev\u002Fnull || true\nlsof -ti:5173 | xargs kill -9 2>\u002Fdev\u002Fnull || true\n\n# Wait for ports to free up\nsleep 2\n\n# Verify ports are free\n! lsof -i:3090 && ! lsof -i:5173 && echo \"Ports 3090 and 5173 are free\" || echo \"WARNING: Ports still in use\"\n```\n\n### 0.2 Install agent-browser (if needed)\n\n```bash\n# Check if agent-browser is available\nwhich agent-browser 2>\u002Fdev\u002Fnull || npx agent-browser --version 2>\u002Fdev\u002Fnull\n\n# If not installed globally, install it:\n# npm install -g agent-browser && agent-browser install\n# On WSL2\u002FLinux, use --with-deps to get Chromium system dependencies:\n# agent-browser install --with-deps\n\n# IMPORTANT: Do NOT use bunx — Bun skips postinstall scripts that agent-browser needs.\n# Use npx or global npm install.\n```\n\n### 0.3 Start Archon Backend + Frontend\n\nStart both services. Backend must be up before frontend SSE connections work.\n\n```bash\n# From the repo root: \u002Fpath\u002Fto\u002Farchon\n\n# Start backend (port 3090)\ncd \u002Fpath\u002Fto\u002Farchon && bun run dev:server &\nsleep 5  # Wait for server initialization + DB\n\n# Verify backend is healthy\ncurl -s http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fhealth | head -c 200\n\n# Start frontend (port 5173)\ncd \u002Fpath\u002Fto\u002Farchon && bun run dev:web &\nsleep 5  # Wait for Vite dev server\n\n# Verify frontend is serving\ncurl -s http:\u002F\u002Flocalhost:5173 | head -c 200\n```\n\n**URLs:**\n- Frontend: `http:\u002F\u002Flocalhost:5173`\n- Backend API: `http:\u002F\u002Flocalhost:3090\u002Fapi`\n- SSE streams: `http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fstream\u002F{conversationId}` (bypasses Vite proxy in dev)\n\n### 0.4 Seed Test Data (if needed)\n\nCheck if there are existing codebases and conversations. If empty, create test data:\n\n```bash\n# Check existing codebases\ncurl -s http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fcodebases | python3 -m json.tool 2>\u002Fdev\u002Fnull || curl -s http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fcodebases\n\n# Register the current repo as a codebase (if none exist)\ncurl -s -X POST http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fcodebases \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"path\": \"\u002Fpath\u002Fto\u002Farchon\"}'\n\n# Create a test conversation\ncurl -s -X POST http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fconversations \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{}' | python3 -m json.tool 2>\u002Fdev\u002Fnull\n```\n\n---\n\n## Phase 1: Browser Automation — End-to-End Testing\n\nUse the `agent-browser` CLI for all browser interactions. Follow the snapshot-refs workflow:\n1. `agent-browser open \u003Curl>` — navigate\n2. `agent-browser snapshot -i` — get interactive elements with refs\n3. Interact using refs (click, fill, etc.)\n4. Re-snapshot after navigation or DOM changes\n\nTake screenshots at each major test point: `agent-browser screenshot \u002Ftmp\u002Farchon-test-{name}.png`\n\n### Test Suite 1: Dashboard (Route: `\u002F`)\n\n**1.1 Initial Load**\n- Open `http:\u002F\u002Flocalhost:5173`\n- Verify dashboard renders: stats cards (Running Workflows, Conversations, System Status)\n- Check system health indicator shows \"Healthy\" (green)\n- Screenshot the full dashboard\n\n**1.2 Stats Accuracy**\n- Compare \"Running Workflows\" count against `GET \u002Fapi\u002Fworkflows\u002Fruns?status=running`\n- Compare \"Conversations\" count against `GET \u002Fapi\u002Fconversations`\n- Verify numbers update after creating new data\n\n**1.3 Recent Items**\n- Verify \"Recent Conversations\" list shows up to 10 items\n- Verify \"Recent Workflow Runs\" list shows up to 10 items\n- Click a conversation — verify navigation to `\u002Fchat\u002F{id}`\n- Click a workflow run — verify navigation to `\u002Fworkflows\u002Fruns\u002F{id}`\n- Use browser back button — verify return to dashboard\n\n**1.4 Empty State**\n- If no conversations\u002Fruns exist: verify the empty state with \"New Chat\" CTA renders\n- Click \"New Chat\" from empty state — verify navigation to `\u002Fchat`\n\n### Test Suite 2: Project Management\n\n**2.1 Add Project (GitHub URL)**\n- Click the `+` button next to \"Projects\" in the sidebar\n- Fill in a GitHub URL (e.g., `https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-code`)\n- Submit and verify the project appears in the sidebar\n- Verify the project is auto-selected\n\n**2.2 Add Project (Local Path)**\n- Click `+` again\n- Fill in a local path (e.g., `\u002Fpath\u002Fto\u002Farchon`)\n- Submit and verify the project appears\n- Verify deduplication: if the path was already registered, it should not create a duplicate\n\n**2.3 Select\u002FDeselect Project**\n- Click a project in the sidebar — verify it becomes selected (highlighted)\n- Verify the sidebar content switches to `ProjectDetail` view (shows project name, repo URL, conversations scoped to project, workflow runs)\n- Click \"All Projects\" — verify sidebar switches to `AllConversationsView` (all conversations, no project filter)\n- Verify `localStorage` persists selection across page refresh\n\n**2.4 Delete Project**\n- Hover over a project — verify the trash icon appears\n- Click trash — verify confirmation dialog appears\n- Confirm deletion — verify project is removed from list\n- Verify conversations and runs associated with the project are handled gracefully\n\n**2.5 Project Selector in Collapsible**\n- When a project is selected, verify the collapsible header shows the project name\n- Click the chevron to expand — verify other projects are listed\n- Switch projects via the collapsible — verify the view updates\n\n### Test Suite 3: Chat Interface\n\n**3.1 New Chat (No Project)**\n- Click \"New Chat\" in sidebar (with no project selected)\n- Verify empty chat interface renders with message input\n- Type a message and send\n- Verify: user message appears right-aligned, assistant \"thinking\" dots appear\n- Verify: conversation is created and URL updates to `\u002Fchat\u002F{conversationId}`\n- Verify: conversation appears in sidebar\n\n**3.2 New Chat (With Project)**\n- Select a project first\n- Click \"New Chat\"\n- Send a message (e.g., `\u002Fstatus`)\n- Verify: conversation is scoped to the selected project\n- Verify: project context (cwd, codebase) is attached\n\n**3.3 Slash Commands**\n- Send `\u002Fstatus` — verify response shows session status\n- Send `\u002Fhelp` — verify help text renders in markdown\n- Send `\u002Fcommands` — verify command list renders\n- Send `\u002Fgetcwd` — verify working directory is shown\n- Verify: commands execute instantly (no \"thinking\" animation needed)\n\n**3.4 Message Rendering**\n- Send a message that triggers a markdown response from the AI\n- Verify: code blocks render with syntax highlighting\n- Verify: tables render properly in assistant messages\n- Verify: links open in new tabs (`target=\"_blank\"`)\n- Verify: blockquotes render with left border\n- Verify: inline code renders with monospace font\n- Send a very long message — verify no layout overflow\n\n**3.5 Streaming & Real-time Updates**\n- Send a message that triggers an AI response\n- Verify: blinking cursor appears during streaming\n- Verify: text appears incrementally (not all at once)\n- Verify: lock indicator shows \"Agent is working...\"\n- Verify: lock indicator hides when response completes\n- Verify: message `isStreaming` flag clears on completion\n\n**3.6 Tool Call Cards**\n- Send a message that triggers tool usage (e.g., a code question in a project context)\n- Verify: tool call cards appear below the assistant message\n- Verify: card shows tool name and input summary\n- Click to expand a tool card — verify full input JSON and output render\n- Verify: running tools show spinner animation and primary border\n- Verify: completed tools show duration badge\n- Test \"Show N more lines\" for long tool outputs\n\n**3.7 Error Handling**\n- Trigger an error condition (e.g., send a message with no AI credentials configured)\n- Verify: error card renders with AlertCircle icon\n- Verify: error classification badge shows (transient\u002Ffatal)\n- Verify: suggested actions are listed\n- Verify: the chat remains functional after an error\n\n**3.8 Queue Position**\n- If possible, trigger multiple concurrent messages to the same conversation\n- Verify: queue position indicator appears (\"Position N in queue\")\n- Verify: the lock indicator updates when the queue advances\n\n**3.9 Auto-scroll Behavior**\n- Scroll up during a streaming response\n- Verify: auto-scroll stops (respects user scroll position)\n- Verify: \"Jump to bottom\" button appears\n- Click \"Jump to bottom\" — verify scroll snaps to latest message\n- Scroll back to bottom manually — verify auto-scroll resumes\n\n**3.10 Conversation Navigation**\n- Create multiple conversations\n- Click between them in the sidebar\n- Verify: each conversation loads its own message history\n- Verify: messages are not leaked between conversations\n- Verify: the correct conversation is highlighted in the sidebar\n\n### Test Suite 4: Conversation Management\n\n**4.1 Rename Conversation**\n- Hover over a conversation in the sidebar — verify pencil icon appears\n- Click pencil — verify inline edit input appears\n- Type a new title and press Enter\n- Verify: title updates in sidebar and in the chat header\n- Press Escape during rename — verify it cancels without saving\n\n**4.2 Delete Conversation**\n- Hover over a conversation — verify trash icon appears\n- Click trash — verify confirmation dialog appears\n- Confirm deletion — verify conversation is removed\n- If the deleted conversation was active: verify redirect to `\u002F`\n- Verify: soft-delete (conversation is hidden, not destroyed)\n\n**4.3 Auto-title**\n- Create a new conversation and send a non-command message\n- Wait 2-3 seconds\n- Verify: the conversation title updates automatically based on the first message\n- Verify: title is truncated to ~80 characters\n\n**4.4 Search**\n- Type in the sidebar search bar\n- Verify: conversations are filtered by title match\n- Clear search — verify all conversations reappear\n- Press `\u002F` key — verify search input focuses\n- Press Escape — verify search clears\n\n### Test Suite 5: Workflow Management\n\n**5.1 Workflow List Page (`\u002Fworkflows`)**\n- Navigate to `\u002Fworkflows`\n- Verify: \"Available Workflows\" tab shows all discovered workflows\n- Verify: each workflow card shows name and description\n- Verify: \"Recent Runs\" tab shows recent workflow runs\n- Verify: running workflows show a pulsing dot on the \"Recent Runs\" tab label\n\n**5.2 Invoke Workflow from Workflows Page**\n- Click on a workflow card (e.g., `archon-assist`)\n- Verify: inline run panel expands with project selector and message input\n- Select a project from the dropdown\n- Type a message and click \"Run\"\n- Verify: conversation is created and navigation goes to `\u002Fchat\u002F{conversationId}`\n- Verify: workflow execution begins (messages appear from the AI)\n\n**5.3 Invoke Workflow from Sidebar (WorkflowInvoker)**\n- Select a project in the sidebar\n- Verify: workflow dropdown appears in `ProjectDetail` view\n- Select a workflow from the dropdown\n- Type a message and submit\n- Verify: new conversation created, navigation to chat, workflow runs\n\n**5.4 Workflow Router (Agent Orchestrator)**\n- In a project chat, send a natural language message (e.g., \"Help me understand the authentication flow\")\n- Verify: the router detects the intent and routes to the appropriate workflow\n- Verify: workflow dispatch status message appears (e.g., \"Dispatching workflow: archon-assist (background)\")\n- Verify: `WorkflowDispatchInline` badge appears with spinner\n- Verify: clicking the dispatch badge navigates to the workflow run or worker conversation\n\n**5.5 Workflow Progress in Chat**\n- While a workflow is running, verify `WorkflowProgressCard` appears in the chat\n- Verify: compact mode shows workflow name, step count, elapsed time\n- Verify: elapsed timer updates every second\n- Click \"Open Full View\" — verify navigation to `\u002Fworkflows\u002Fruns\u002F{runId}`\n- Verify: returning to chat still shows the progress card\n\n**5.6 Workflow Execution Page (`\u002Fworkflows\u002Fruns\u002F:runId`)**\n- Navigate to an active or completed workflow run\n- Verify: header shows workflow name, status, and elapsed time\n- Verify: step progress panel (left side) shows all steps with status icons\n- Click different steps — verify the log panel (right side) updates\n- Verify: \"Chat\" link back to parent conversation works\n- For dispatched workflows: verify `WorkflowLogs` renders the worker conversation messages\n\n**5.7 Parallel Agent Steps**\n- Run a workflow with parallel agents (e.g., `archon-comprehensive-pr-review` has 5 parallel agents)\n- Verify: `ParallelBlockView` renders showing parent step and nested agent list\n- Verify: each agent shows its own status (pending\u002Frunning\u002Fcompleted\u002Ffailed)\n- Verify: overall block status derives correctly (any failed = failed, any running = running, all complete = complete)\n- Verify: progress counter shows `(completed\u002Ftotal agents)`\n\n**5.8 Loop Iterations**\n- Run a loop workflow (e.g., `archon-test-loop` or `archon-ralph-fresh`)\n- Verify: `LoopIterationView` renders with iteration counter\n- Verify: progress bar fills proportionally (current\u002Fmax)\n- Verify: each iteration shows status\n- Verify: completion signal (`\u003Cpromise>COMPLETE\u003C\u002Fpromise>`) ends the loop\n\n**5.9 Workflow Artifacts**\n- After a workflow completes that produces artifacts (PR URLs, commits, branches)\n- Verify: `ArtifactSummary` component renders at the bottom\n- Verify: URLs are clickable links opening in new tabs\n- Verify: artifact type icons are correct (PR, Commit, Branch, File)\n\n**5.10 Workflow Stale Detection**\n- During a running workflow, if the SSE connection drops briefly\n- Verify: `stale` indicator appears on the workflow card\n- Verify: polling fallback kicks in (checks every 15 seconds)\n- Verify: stale state clears when fresh data arrives\n\n**5.11 Cancel Workflow**\n- While a workflow is running, look for \"Cancel\" button\n- If present: click and verify the workflow status changes to failed\u002Fcancelled\n- If not present: note this as a UX gap\n\n### Test Suite 6: Project-Scoped Views\n\n**6.1 Project Detail — Conversations**\n- Select a project\n- Verify: only conversations scoped to that project appear\n- Create a new chat within the project\n- Verify: the new conversation appears in the filtered list\n- Verify: conversations from other projects are NOT shown\n\n**6.2 Project Detail — Workflow Runs**\n- Verify: workflow runs scoped to the selected project appear\n- Verify: runs are sorted by priority: failed > running > completed\n- Click a run — verify navigation to `\u002Fworkflows\u002Fruns\u002F{id}`\n- Verify: conversation status dots show on conversations with active runs\n\n**6.3 Cross-Project Navigation**\n- Start a workflow in Project A\n- Switch to Project B in the sidebar\n- Verify: Project A's workflow is not visible in Project B's view\n- Switch back to Project A — verify the workflow run is still visible\n- Click \"All Projects\" — verify you can see conversations from all projects\n\n### Test Suite 7: SSE & Real-time Infrastructure\n\n**7.1 SSE Connection**\n- Open browser DevTools Network tab (via `agent-browser eval` or console)\n- Verify: EventSource connection to `\u002Fapi\u002Fstream\u002F{conversationId}` is established\n- Verify: heartbeat events arrive every ~30 seconds\n- Verify: connection state is OPEN (readyState 1)\n\n**7.2 SSE Reconnection**\n- Kill the backend server temporarily\n- Verify: the UI shows a disconnected state (grey dot in header)\n- Restart the backend\n- Verify: SSE reconnects automatically\n- Verify: the connection indicator turns green again\n- Verify: buffered messages are delivered on reconnect\n\n**7.3 Multiple Tabs**\n- Open the same conversation in two browser tabs (use `agent-browser --session` for parallel)\n- Send a message from tab 1\n- Verify: response streams in BOTH tabs (SSE fan-out via stream registry replacement)\n- Note: the web adapter replaces old streams on new connections, so only the latest tab gets live SSE\n\n### Test Suite 8: UI\u002FUX Quality Audit\n\n**8.1 Visual Hierarchy & Dark Theme**\n- Screenshot the full app at different states\n- Verify: text hierarchy (primary\u002Fsecondary\u002Ftertiary) is readable\n- Verify: interactive elements have clear hover states\n- Verify: accent colors (blue-purple) are used consistently\n- Verify: success (green), warning (amber), error (red) colors are correct\n- Verify: borders and dividers create clear visual separation\n\n**8.2 Loading States**\n- Observe loading states when:\n  - Dashboard is loading\n  - Conversation messages are loading\n  - Workflows list is loading\n  - Workflow runs are fetching\n- Verify: all loading states show appropriate feedback (spinners, skeletons, or text)\n- Verify: no blank\u002Fflash-of-unstyled-content moments\n\n**8.3 Empty States**\n- Check empty states for:\n  - No conversations (dashboard + sidebar)\n  - No projects registered\n  - No workflows available\n  - No workflow runs\n  - No messages in a conversation\n- Verify: each empty state has a helpful message and CTA\n\n**8.4 Responsiveness**\n- Set viewport to different sizes:\n  ```bash\n  agent-browser set viewport 1920 1080  # Desktop\n  agent-browser set viewport 1366 768   # Laptop\n  agent-browser set viewport 1024 768   # Tablet landscape\n  agent-browser set viewport 768 1024   # Tablet portrait\n  agent-browser set viewport 375 812    # Mobile\n  ```\n- At each size: screenshot and check for layout breakage, overflow, truncation\n\n**8.5 Sidebar Resize**\n- Drag the sidebar resize handle\n- Verify: sidebar width changes smoothly (240-400px range)\n- Verify: width persists in localStorage across refresh\n- Verify: content reflows properly at different sidebar widths\n\n**8.6 Keyboard Navigation**\n- Press `\u002F` — verify search focuses\n- Press `Escape` — verify search clears\n- Press `Enter` in message input — verify sends message\n- Press `Shift+Enter` — verify inserts newline (does NOT send)\n- Tab through interactive elements — verify focus order is logical\n\n**8.7 Copy\u002FClipboard**\n- Click the working directory path in the chat header\n- Verify: path copies to clipboard\n- Verify: visual feedback (tooltip or flash) indicates copy succeeded\n\n**8.8 External Links**\n- Click \"Open in IDE\" button (VSCode link)\n- Verify: `vscode:\u002F\u002Ffile\u002F...` URL is constructed correctly\n- Click links in assistant messages — verify they open in new tabs\n\n### Test Suite 9: Edge Cases & Stress Tests\n\n**9.1 Rapid Message Sending**\n- Send multiple messages in quick succession (before previous responses complete)\n- Verify: messages are queued properly (no duplicate or lost messages)\n- Verify: lock indicator shows queue position\n- Verify: responses arrive in order\n\n**9.2 Long Content**\n- Send a message that produces very long output (e.g., \"List all files in the project\")\n- Verify: markdown renders without layout overflow\n- Verify: code blocks have horizontal scroll\n- Verify: `WorkflowResultCard` truncation works (500 chars \u002F 8 lines with \"Show more\")\n- Verify: tool call output truncation works (20 lines shown, expandable)\n\n**9.3 Special Characters**\n- Send messages with special characters: `\u003Cscript>alert('xss')\u003C\u002Fscript>`, markdown chars `*_[]()`, emoji\n- Verify: no XSS vulnerability (HTML is escaped)\n- Verify: markdown renders correctly\n- Verify: emoji displays properly\n\n**9.4 Browser Refresh During Streaming**\n- While AI is streaming a response, refresh the page\n- Verify: on reload, historical messages are loaded from the API\n- Verify: any in-progress response is not lost (persisted segments appear)\n- Verify: SSE reconnects and picks up new events\n\n**9.5 Concurrent Workflows**\n- Launch 2-3 workflows simultaneously (different projects or same project)\n- Verify: each workflow tracks independently\n- Verify: workflow progress cards in respective chats are correct\n- Verify: no cross-contamination of events between workflows\n\n**9.6 Network Latency**\n- Add artificial network latency if possible\n- Verify: UI remains responsive during slow responses\n- Verify: loading indicators appear for slow API calls\n- Verify: no timeout errors in normal usage\n\n---\n\n## Phase 2: Codebase Review\n\nRead the source code of every component and module listed below. For each, evaluate:\n- **Correctness**: Are there logic bugs, race conditions, or broken state transitions?\n- **UX quality**: Does the component provide good feedback, handle edge cases, feel polished?\n- **Performance**: Are there unnecessary re-renders, missing memoization, or expensive operations?\n- **Accessibility**: Are interactive elements properly labeled? Keyboard navigable?\n- **Error handling**: Are errors caught, displayed, and recoverable?\n\n### Frontend Files to Review\n\n| File | Focus Areas |\n|------|-------------|\n| `packages\u002Fweb\u002Fsrc\u002FApp.tsx` | Route config, error boundary, QueryClient settings |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FChatInterface.tsx` | SSE handler correctness, message state management, new-chat flow, workflow dispatch handling |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FMessageList.tsx` | Auto-scroll, WorkflowDispatchInline polling, WorkflowResultCard truncation |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FMessageBubble.tsx` | Markdown rendering, streaming cursor, thinking dots |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FToolCallCard.tsx` | Expand\u002Fcollapse, running state animation, output truncation |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FWorkflowProgressCard.tsx` | Timer accuracy, compact vs full mode, stale indicator |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FLockIndicator.tsx` | Show\u002Fhide transitions, queue position display |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FMessageInput.tsx` | Enter vs Shift+Enter, auto-resize, disabled state |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Flayout\u002FSidebar.tsx` | Resize drag, project add flow, search, new chat, localStorage persistence |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fsidebar\u002FProjectDetail.tsx` | Scoped queries, conversation status dots, workflow run sorting |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fsidebar\u002FWorkflowInvoker.tsx` | Workflow fetch, create conversation + run flow, error handling |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fsidebar\u002FAllConversationsView.tsx` | Search filtering, codebase map construction, \"New Chat\" |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fsidebar\u002FProjectSelector.tsx` | Delete confirmation, \"All Projects\" button |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fconversations\u002FConversationItem.tsx` | Rename inline edit, delete flow, active state highlighting |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FWorkflowList.tsx` | Two-tab layout, inline run panel, running indicator pulse |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FWorkflowExecution.tsx` | Initial data reconstruction from events, live SSE overlay, worker vs parent flows |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FWorkflowLogs.tsx` | Read-only chat view, SSE handlers, message filtering by timestamp |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FStepProgress.tsx` | Step list rendering, parallel block delegation, active step highlight |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FStepLogs.tsx` | Virtual scrolling, auto-scroll, metadata header |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FArtifactSummary.tsx` | Artifact type icons, URL links, path display |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FLoopIterationView.tsx` | Progress bar math, max iteration capping |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FParallelBlockView.tsx` | Overall status derivation, nested agent list |\n| `packages\u002Fweb\u002Fsrc\u002Fhooks\u002FuseSSE.ts` | Text batching (50ms flush), reconnection, handler ref stability |\n| `packages\u002Fweb\u002Fsrc\u002Fhooks\u002FuseWorkflowStatus.ts` | Workflow state map, polling fallback (15s), stale detection |\n| `packages\u002Fweb\u002Fsrc\u002Fhooks\u002FuseAutoScroll.ts` | Scroll threshold (50px), user scroll-up detection |\n| `packages\u002Fweb\u002Fsrc\u002Flib\u002Fapi.ts` | SSE_BASE_URL calculation, error handling, 404 swallowing |\n| `packages\u002Fweb\u002Fsrc\u002Flib\u002Ftypes.ts` | SSEEvent union completeness, ChatMessage fields, WorkflowState shape |\n| `packages\u002Fweb\u002Fsrc\u002Flib\u002Fmessage-cache.ts` | Cache key correctness, memory management |\n| `packages\u002Fweb\u002Fsrc\u002Fcontexts\u002FProjectContext.tsx` | Stale project ID cleanup, codebase polling interval |\n\n### Backend Files to Review\n\n| File | Focus Areas |\n|------|-------------|\n| `packages\u002Fserver\u002Fsrc\u002Froutes\u002Fapi.ts` | Endpoint correctness, CORS, SSE heartbeat loop, workflow run endpoint, codebase deduplication |\n| `packages\u002Fserver\u002Fsrc\u002Fadapters\u002Fweb.ts` | sendMessage category filtering, structured event handling, lock event flushing |\n| `packages\u002Fserver\u002Fsrc\u002Fadapters\u002Fweb\u002Fpersistence.ts` | Segment splitting logic, tool call duration tracking, flush timing, 50-segment cap |\n| `packages\u002Fserver\u002Fsrc\u002Fadapters\u002Fweb\u002Ftransport.ts` | Stream replacement race condition fix, buffer limits (100 msg \u002F 200 conv), zombie reaper |\n| `packages\u002Fserver\u002Fsrc\u002Fadapters\u002Fweb\u002Fworkflow-bridge.ts` | Event mapping completeness, bridge subscription lifecycle, parent forwarding |\n| `packages\u002Fcore\u002Fsrc\u002Forchestrator\u002Forchestrator.ts` | Router prompt construction, background dispatch fire-and-forget, isolation resolution |\n| `packages\u002Fcore\u002Fsrc\u002Fworkflows\u002Fexecutor.ts` | Stale workflow detection (15min), step session continuity, parallel Promise.all, loop completion signal |\n| `packages\u002Fcore\u002Fsrc\u002Fworkflows\u002Frouter.ts` | Case-insensitive matching, multiline regex, fallback behavior |\n| `packages\u002Fcore\u002Fsrc\u002Fworkflows\u002Fevent-emitter.ts` | Listener error isolation, max listener cap, run registration lifecycle |\n\n### Review Checklist\n\nFor every file reviewed, note findings in these categories:\n\n1. **Bugs** — Logic errors, race conditions, state inconsistencies, crashes\n2. **UX Issues** — Missing feedback, confusing interactions, unclear states, dead ends\n3. **Performance** — Unnecessary re-renders, missing React.memo\u002FuseMemo\u002FuseCallback, expensive computations in render\n4. **Accessibility** — Missing ARIA labels, focus management gaps, screen reader issues\n5. **Error Handling** — Unhandled promise rejections, missing try\u002Fcatch, silent failures\n6. **Code Quality** — Dead code, TODOs, inconsistent patterns, missing types\n\n---\n\n## Phase 3: Report\n\nAfter completing all tests and reviews, produce a structured report:\n\n### Report Format\n\n```markdown\n# Archon Web UI Validation Report\n\n**Date**: {date}\n**Tester**: Claude Code (agent-browser + codebase review)\n**Archon Version**: {git commit hash}\n**Screenshots**: \u002Ftmp\u002Farchon-test-*.png\n\n## Executive Summary\n{2-3 sentences: overall quality assessment, critical issues count, UX rating}\n\n## Critical Bugs (P0)\n{Bugs that break core functionality or lose data}\n\n## Major Issues (P1)\n{Issues that significantly degrade the experience}\n\n## Minor Issues (P2)\n{Polish items, edge cases, visual inconsistencies}\n\n## UX Recommendations\n{Suggestions for improving the user experience — not just bugs but \"could be better\"}\n\n## Accessibility Findings\n{Keyboard nav gaps, ARIA issues, contrast problems}\n\n## Performance Observations\n{Slow renders, unnecessary work, optimization opportunities}\n\n## Codebase Quality Notes\n{Dead code, inconsistencies, architectural concerns}\n\n## What's Working Well\n{Positive findings — features that are solid, patterns that are good}\n\n## Detailed Test Results\n\n### Dashboard Tests\n| Test | Status | Notes |\n|------|--------|-------|\n| 1.1 Initial Load | PASS\u002FFAIL | ... |\n...\n\n### Project Management Tests\n...\n\n### Chat Interface Tests\n...\n\n### Workflow Management Tests\n...\n```\n\n### Key Question to Answer\n\n> **Is Archon currently doing the best it possibly can to solve the problem of managing a lot of agents in parallel and executing custom workflows with full visibility?**\n\nSpecifically evaluate:\n- Can users easily see what all their agents are doing at a glance?\n- Is workflow status visible and understandable without clicking through multiple pages?\n- Can users quickly navigate between the orchestrator chat, individual workflow runs, and task logs?\n- Is the experience of kicking off a workflow through the router intuitive?\n- Are parallel agents presented clearly with their individual status?\n- Does the UI surface errors and issues prominently enough?\n- Is the overall information architecture logical for someone managing 5-10 concurrent agents?\n\n---\n\n## Execution Notes\n\n- Run all `agent-browser` commands via the Bash tool\n- Use `npx agent-browser` if not installed globally\n- After each navigation, re-snapshot (`agent-browser snapshot -i`) to get fresh refs\n- Take screenshots liberally — save to `\u002Ftmp\u002Farchon-test-{section}-{name}.png`\n- If a test fails, document it immediately and continue to the next test\n- Use `agent-browser wait --load networkidle` after actions that trigger API calls\n- For SSE testing, use `agent-browser eval` to check EventSource state\n- Remember: WSL2 headless mode works fine — no display server needed\n- Close the browser session when done: `agent-browser close`\n","# Archon Web UI — Comprehensive E2E Validation\n\nRun exhaustive end-to-end browser automation tests and codebase review of the Archon Web UI.\nThe goal: determine whether Archon is doing the best it possibly can to solve the problem of\nmanaging parallel agents, executing custom workflows, and providing full visibility into agent work.\n\nOptional focus argument: `$ARGUMENTS` (e.g., \"workflows\", \"chat\", \"projects\"). If empty, run ALL sections.\n\n---\n\n## Phase 0: Environment Setup\n\n### 0.1 Kill Old Archon Processes\n\n```bash\n# Kill any running Archon dev servers (backend + frontend)\npkill -f \"bun.*dev:server\" 2>\u002Fdev\u002Fnull || true\npkill -f \"bun.*dev:web\" 2>\u002Fdev\u002Fnull || true\npkill -f \"bun.*packages\u002Fserver\" 2>\u002Fdev\u002Fnull || true\npkill -f \"bun.*packages\u002Fweb\" 2>\u002Fdev\u002Fnull || true\npkill -f \"vite.*5173\" 2>\u002Fdev\u002Fnull || true\n\n# Kill any leftover processes on our ports\nlsof -ti:3090 | xargs kill -9 2>\u002Fdev\u002Fnull || true\nlsof -ti:5173 | xargs kill -9 2>\u002Fdev\u002Fnull || true\n\n# Wait for ports to free up\nsleep 2\n\n# Verify ports are free\n! lsof -i:3090 && ! lsof -i:5173 && echo \"Ports 3090 and 5173 are free\" || echo \"WARNING: Ports still in use\"\n```\n\n### 0.2 Install agent-browser (if needed)\n\n```bash\n# Check if agent-browser is available\nwhich agent-browser 2>\u002Fdev\u002Fnull || npx agent-browser --version 2>\u002Fdev\u002Fnull\n\n# If not installed globally, install it:\n# npm install -g agent-browser && agent-browser install\n# On WSL2\u002FLinux, use --with-deps to get Chromium system dependencies:\n# agent-browser install --with-deps\n\n# IMPORTANT: Do NOT use bunx — Bun skips postinstall scripts that agent-browser needs.\n# Use npx or global npm install.\n```\n\n### 0.3 Start Archon Backend + Frontend\n\nStart both services. Backend must be up before frontend SSE connections work.\n\n```bash\n# From the repo root: \u002Fpath\u002Fto\u002Farchon\n\n# Start backend (port 3090)\ncd \u002Fpath\u002Fto\u002Farchon && bun run dev:server &\nsleep 5  # Wait for server initialization + DB\n\n# Verify backend is healthy\ncurl -s http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fhealth | head -c 200\n\n# Start frontend (port 5173)\ncd \u002Fpath\u002Fto\u002Farchon && bun run dev:web &\nsleep 5  # Wait for Vite dev server\n\n# Verify frontend is serving\ncurl -s http:\u002F\u002Flocalhost:5173 | head -c 200\n```\n\n**URLs:**\n- Frontend: `http:\u002F\u002Flocalhost:5173`\n- Backend API: `http:\u002F\u002Flocalhost:3090\u002Fapi`\n- SSE streams: `http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fstream\u002F{conversationId}` (bypasses Vite proxy in dev)\n\n### 0.4 Seed Test Data (if needed)\n\nCheck if there are existing codebases and conversations. If empty, create test data:\n\n```bash\n# Check existing codebases\ncurl -s http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fcodebases | python3 -m json.tool 2>\u002Fdev\u002Fnull || curl -s http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fcodebases\n\n# Register the current repo as a codebase (if none exist)\ncurl -s -X POST http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fcodebases \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"path\": \"\u002Fpath\u002Fto\u002Farchon\"}'\n\n# Create a test conversation\ncurl -s -X POST http:\u002F\u002Flocalhost:3090\u002Fapi\u002Fconversations \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{}' | python3 -m json.tool 2>\u002Fdev\u002Fnull\n```\n\n---\n\n## Phase 1: Browser Automation — End-to-End Testing\n\nUse the `agent-browser` CLI for all browser interactions. Follow the snapshot-refs workflow:\n1. `agent-browser open \u003Curl>` — navigate\n2. `agent-browser snapshot -i` — get interactive elements with refs\n3. Interact using refs (click, fill, etc.)\n4. Re-snapshot after navigation or DOM changes\n\nTake screenshots at each major test point: `agent-browser screenshot \u002Ftmp\u002Farchon-test-{name}.png`\n\n### Test Suite 1: Dashboard (Route: `\u002F`)\n\n**1.1 Initial Load**\n- Open `http:\u002F\u002Flocalhost:5173`\n- Verify dashboard renders: stats cards (Running Workflows, Conversations, System Status)\n- Check system health indicator shows \"Healthy\" (green)\n- Screenshot the full dashboard\n\n**1.2 Stats Accuracy**\n- Compare \"Running Workflows\" count against `GET \u002Fapi\u002Fworkflows\u002Fruns?status=running`\n- Compare \"Conversations\" count against `GET \u002Fapi\u002Fconversations`\n- Verify numbers update after creating new data\n\n**1.3 Recent Items**\n- Verify \"Recent Conversations\" list shows up to 10 items\n- Verify \"Recent Workflow Runs\" list shows up to 10 items\n- Click a conversation — verify navigation to `\u002Fchat\u002F{id}`\n- Click a workflow run — verify navigation to `\u002Fworkflows\u002Fruns\u002F{id}`\n- Use browser back button — verify return to dashboard\n\n**1.4 Empty State**\n- If no conversations\u002Fruns exist: verify the empty state with \"New Chat\" CTA renders\n- Click \"New Chat\" from empty state — verify navigation to `\u002Fchat`\n\n### Test Suite 2: Project Management\n\n**2.1 Add Project (GitHub URL)**\n- Click the `+` button next to \"Projects\" in the sidebar\n- Fill in a GitHub URL (e.g., `https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-code`)\n- Submit and verify the project appears in the sidebar\n- Verify the project is auto-selected\n\n**2.2 Add Project (Local Path)**\n- Click `+` again\n- Fill in a local path (e.g., `\u002Fpath\u002Fto\u002Farchon`)\n- Submit and verify the project appears\n- Verify deduplication: if the path was already registered, it should not create a duplicate\n\n**2.3 Select\u002FDeselect Project**\n- Click a project in the sidebar — verify it becomes selected (highlighted)\n- Verify the sidebar content switches to `ProjectDetail` view (shows project name, repo URL, conversations scoped to project, workflow runs)\n- Click \"All Projects\" — verify sidebar switches to `AllConversationsView` (all conversations, no project filter)\n- Verify `localStorage` persists selection across page refresh\n\n**2.4 Delete Project**\n- Hover over a project — verify the trash icon appears\n- Click trash — verify confirmation dialog appears\n- Confirm deletion — verify project is removed from list\n- Verify conversations and runs associated with the project are handled gracefully\n\n**2.5 Project Selector in Collapsible**\n- When a project is selected, verify the collapsible header shows the project name\n- Click the chevron to expand — verify other projects are listed\n- Switch projects via the collapsible — verify the view updates\n\n### Test Suite 3: Chat Interface\n\n**3.1 New Chat (No Project)**\n- Click \"New Chat\" in sidebar (with no project selected)\n- Verify empty chat interface renders with message input\n- Type a message and send\n- Verify: user message appears right-aligned, assistant \"thinking\" dots appear\n- Verify: conversation is created and URL updates to `\u002Fchat\u002F{conversationId}`\n- Verify: conversation appears in sidebar\n\n**3.2 New Chat (With Project)**\n- Select a project first\n- Click \"New Chat\"\n- Send a message (e.g., `\u002Fstatus`)\n- Verify: conversation is scoped to the selected project\n- Verify: project context (cwd, codebase) is attached\n\n**3.3 Slash Commands**\n- Send `\u002Fstatus` — verify response shows session status\n- Send `\u002Fhelp` — verify help text renders in markdown\n- Send `\u002Fcommands` — verify command list renders\n- Send `\u002Fgetcwd` — verify working directory is shown\n- Verify: commands execute instantly (no \"thinking\" animation needed)\n\n**3.4 Message Rendering**\n- Send a message that triggers a markdown response from the AI\n- Verify: code blocks render with syntax highlighting\n- Verify: tables render properly in assistant messages\n- Verify: links open in new tabs (`target=\"_blank\"`)\n- Verify: blockquotes render with left border\n- Verify: inline code renders with monospace font\n- Send a very long message — verify no layout overflow\n\n**3.5 Streaming & Real-time Updates**\n- Send a message that triggers an AI response\n- Verify: blinking cursor appears during streaming\n- Verify: text appears incrementally (not all at once)\n- Verify: lock indicator shows \"Agent is working...\"\n- Verify: lock indicator hides when response completes\n- Verify: message `isStreaming` flag clears on completion\n\n**3.6 Tool Call Cards**\n- Send a message that triggers tool usage (e.g., a code question in a project context)\n- Verify: tool call cards appear below the assistant message\n- Verify: card shows tool name and input summary\n- Click to expand a tool card — verify full input JSON and output render\n- Verify: running tools show spinner animation and primary border\n- Verify: completed tools show duration badge\n- Test \"Show N more lines\" for long tool outputs\n\n**3.7 Error Handling**\n- Trigger an error condition (e.g., send a message with no AI credentials configured)\n- Verify: error card renders with AlertCircle icon\n- Verify: error classification badge shows (transient\u002Ffatal)\n- Verify: suggested actions are listed\n- Verify: the chat remains functional after an error\n\n**3.8 Queue Position**\n- If possible, trigger multiple concurrent messages to the same conversation\n- Verify: queue position indicator appears (\"Position N in queue\")\n- Verify: the lock indicator updates when the queue advances\n\n**3.9 Auto-scroll Behavior**\n- Scroll up during a streaming response\n- Verify: auto-scroll stops (respects user scroll position)\n- Verify: \"Jump to bottom\" button appears\n- Click \"Jump to bottom\" — verify scroll snaps to latest message\n- Scroll back to bottom manually — verify auto-scroll resumes\n\n**3.10 Conversation Navigation**\n- Create multiple conversations\n- Click between them in the sidebar\n- Verify: each conversation loads its own message history\n- Verify: messages are not leaked between conversations\n- Verify: the correct conversation is highlighted in the sidebar\n\n### Test Suite 4: Conversation Management\n\n**4.1 Rename Conversation**\n- Hover over a conversation in the sidebar — verify pencil icon appears\n- Click pencil — verify inline edit input appears\n- Type a new title and press Enter\n- Verify: title updates in sidebar and in the chat header\n- Press Escape during rename — verify it cancels without saving\n\n**4.2 Delete Conversation**\n- Hover over a conversation — verify trash icon appears\n- Click trash — verify confirmation dialog appears\n- Confirm deletion — verify conversation is removed\n- If the deleted conversation was active: verify redirect to `\u002F`\n- Verify: soft-delete (conversation is hidden, not destroyed)\n\n**4.3 Auto-title**\n- Create a new conversation and send a non-command message\n- Wait 2-3 seconds\n- Verify: the conversation title updates automatically based on the first message\n- Verify: title is truncated to ~80 characters\n\n**4.4 Search**\n- Type in the sidebar search bar\n- Verify: conversations are filtered by title match\n- Clear search — verify all conversations reappear\n- Press `\u002F` key — verify search input focuses\n- Press Escape — verify search clears\n\n### Test Suite 5: Workflow Management\n\n**5.1 Workflow List Page (`\u002Fworkflows`)**\n- Navigate to `\u002Fworkflows`\n- Verify: \"Available Workflows\" tab shows all discovered workflows\n- Verify: each workflow card shows name and description\n- Verify: \"Recent Runs\" tab shows recent workflow runs\n- Verify: running workflows show a pulsing dot on the \"Recent Runs\" tab label\n\n**5.2 Invoke Workflow from Workflows Page**\n- Click on a workflow card (e.g., `archon-assist`)\n- Verify: inline run panel expands with project selector and message input\n- Select a project from the dropdown\n- Type a message and click \"Run\"\n- Verify: conversation is created and navigation goes to `\u002Fchat\u002F{conversationId}`\n- Verify: workflow execution begins (messages appear from the AI)\n\n**5.3 Invoke Workflow from Sidebar (WorkflowInvoker)**\n- Select a project in the sidebar\n- Verify: workflow dropdown appears in `ProjectDetail` view\n- Select a workflow from the dropdown\n- Type a message and submit\n- Verify: new conversation created, navigation to chat, workflow runs\n\n**5.4 Workflow Router (Agent Orchestrator)**\n- In a project chat, send a natural language message (e.g., \"Help me understand the authentication flow\")\n- Verify: the router detects the intent and routes to the appropriate workflow\n- Verify: workflow dispatch status message appears (e.g., \"Dispatching workflow: archon-assist (background)\")\n- Verify: `WorkflowDispatchInline` badge appears with spinner\n- Verify: clicking the dispatch badge navigates to the workflow run or worker conversation\n\n**5.5 Workflow Progress in Chat**\n- While a workflow is running, verify `WorkflowProgressCard` appears in the chat\n- Verify: compact mode shows workflow name, step count, elapsed time\n- Verify: elapsed timer updates every second\n- Click \"Open Full View\" — verify navigation to `\u002Fworkflows\u002Fruns\u002F{runId}`\n- Verify: returning to chat still shows the progress card\n\n**5.6 Workflow Execution Page (`\u002Fworkflows\u002Fruns\u002F:runId`)**\n- Navigate to an active or completed workflow run\n- Verify: header shows workflow name, status, and elapsed time\n- Verify: step progress panel (left side) shows all steps with status icons\n- Click different steps — verify the log panel (right side) updates\n- Verify: \"Chat\" link back to parent conversation works\n- For dispatched workflows: verify `WorkflowLogs` renders the worker conversation messages\n\n**5.7 Parallel Agent Steps**\n- Run a workflow with parallel agents (e.g., `archon-comprehensive-pr-review` has 5 parallel agents)\n- Verify: `ParallelBlockView` renders showing parent step and nested agent list\n- Verify: each agent shows its own status (pending\u002Frunning\u002Fcompleted\u002Ffailed)\n- Verify: overall block status derives correctly (any failed = failed, any running = running, all complete = complete)\n- Verify: progress counter shows `(completed\u002Ftotal agents)`\n\n**5.8 Loop Iterations**\n- Run a loop workflow (e.g., `archon-test-loop` or `archon-ralph-fresh`)\n- Verify: `LoopIterationView` renders with iteration counter\n- Verify: progress bar fills proportionally (current\u002Fmax)\n- Verify: each iteration shows status\n- Verify: completion signal (`\u003Cpromise>COMPLETE\u003C\u002Fpromise>`) ends the loop\n\n**5.9 Workflow Artifacts**\n- After a workflow completes that produces artifacts (PR URLs, commits, branches)\n- Verify: `ArtifactSummary` component renders at the bottom\n- Verify: URLs are clickable links opening in new tabs\n- Verify: artifact type icons are correct (PR, Commit, Branch, File)\n\n**5.10 Workflow Stale Detection**\n- During a running workflow, if the SSE connection drops briefly\n- Verify: `stale` indicator appears on the workflow card\n- Verify: polling fallback kicks in (checks every 15 seconds)\n- Verify: stale state clears when fresh data arrives\n\n**5.11 Cancel Workflow**\n- While a workflow is running, look for \"Cancel\" button\n- If present: click and verify the workflow status changes to failed\u002Fcancelled\n- If not present: note this as a UX gap\n\n### Test Suite 6: Project-Scoped Views\n\n**6.1 Project Detail — Conversations**\n- Select a project\n- Verify: only conversations scoped to that project appear\n- Create a new chat within the project\n- Verify: the new conversation appears in the filtered list\n- Verify: conversations from other projects are NOT shown\n\n**6.2 Project Detail — Workflow Runs**\n- Verify: workflow runs scoped to the selected project appear\n- Verify: runs are sorted by priority: failed > running > completed\n- Click a run — verify navigation to `\u002Fworkflows\u002Fruns\u002F{id}`\n- Verify: conversation status dots show on conversations with active runs\n\n**6.3 Cross-Project Navigation**\n- Start a workflow in Project A\n- Switch to Project B in the sidebar\n- Verify: Project A's workflow is not visible in Project B's view\n- Switch back to Project A — verify the workflow run is still visible\n- Click \"All Projects\" — verify you can see conversations from all projects\n\n### Test Suite 7: SSE & Real-time Infrastructure\n\n**7.1 SSE Connection**\n- Open browser DevTools Network tab (via `agent-browser eval` or console)\n- Verify: EventSource connection to `\u002Fapi\u002Fstream\u002F{conversationId}` is established\n- Verify: heartbeat events arrive every ~30 seconds\n- Verify: connection state is OPEN (readyState 1)\n\n**7.2 SSE Reconnection**\n- Kill the backend server temporarily\n- Verify: the UI shows a disconnected state (grey dot in header)\n- Restart the backend\n- Verify: SSE reconnects automatically\n- Verify: the connection indicator turns green again\n- Verify: buffered messages are delivered on reconnect\n\n**7.3 Multiple Tabs**\n- Open the same conversation in two browser tabs (use `agent-browser --session` for parallel)\n- Send a message from tab 1\n- Verify: response streams in BOTH tabs (SSE fan-out via stream registry replacement)\n- Note: the web adapter replaces old streams on new connections, so only the latest tab gets live SSE\n\n### Test Suite 8: UI\u002FUX Quality Audit\n\n**8.1 Visual Hierarchy & Dark Theme**\n- Screenshot the full app at different states\n- Verify: text hierarchy (primary\u002Fsecondary\u002Ftertiary) is readable\n- Verify: interactive elements have clear hover states\n- Verify: accent colors (blue-purple) are used consistently\n- Verify: success (green), warning (amber), error (red) colors are correct\n- Verify: borders and dividers create clear visual separation\n\n**8.2 Loading States**\n- Observe loading states when:\n  - Dashboard is loading\n  - Conversation messages are loading\n  - Workflows list is loading\n  - Workflow runs are fetching\n- Verify: all loading states show appropriate feedback (spinners, skeletons, or text)\n- Verify: no blank\u002Fflash-of-unstyled-content moments\n\n**8.3 Empty States**\n- Check empty states for:\n  - No conversations (dashboard + sidebar)\n  - No projects registered\n  - No workflows available\n  - No workflow runs\n  - No messages in a conversation\n- Verify: each empty state has a helpful message and CTA\n\n**8.4 Responsiveness**\n- Set viewport to different sizes:\n  ```bash\n  agent-browser set viewport 1920 1080  # Desktop\n  agent-browser set viewport 1366 768   # Laptop\n  agent-browser set viewport 1024 768   # Tablet landscape\n  agent-browser set viewport 768 1024   # Tablet portrait\n  agent-browser set viewport 375 812    # Mobile\n  ```\n- At each size: screenshot and check for layout breakage, overflow, truncation\n\n**8.5 Sidebar Resize**\n- Drag the sidebar resize handle\n- Verify: sidebar width changes smoothly (240-400px range)\n- Verify: width persists in localStorage across refresh\n- Verify: content reflows properly at different sidebar widths\n\n**8.6 Keyboard Navigation**\n- Press `\u002F` — verify search focuses\n- Press `Escape` — verify search clears\n- Press `Enter` in message input — verify sends message\n- Press `Shift+Enter` — verify inserts newline (does NOT send)\n- Tab through interactive elements — verify focus order is logical\n\n**8.7 Copy\u002FClipboard**\n- Click the working directory path in the chat header\n- Verify: path copies to clipboard\n- Verify: visual feedback (tooltip or flash) indicates copy succeeded\n\n**8.8 External Links**\n- Click \"Open in IDE\" button (VSCode link)\n- Verify: `vscode:\u002F\u002Ffile\u002F...` URL is constructed correctly\n- Click links in assistant messages — verify they open in new tabs\n\n### Test Suite 9: Edge Cases & Stress Tests\n\n**9.1 Rapid Message Sending**\n- Send multiple messages in quick succession (before previous responses complete)\n- Verify: messages are queued properly (no duplicate or lost messages)\n- Verify: lock indicator shows queue position\n- Verify: responses arrive in order\n\n**9.2 Long Content**\n- Send a message that produces very long output (e.g., \"List all files in the project\")\n- Verify: markdown renders without layout overflow\n- Verify: code blocks have horizontal scroll\n- Verify: `WorkflowResultCard` truncation works (500 chars \u002F 8 lines with \"Show more\")\n- Verify: tool call output truncation works (20 lines shown, expandable)\n\n**9.3 Special Characters**\n- Send messages with special characters: `\u003Cscript>alert('xss')\u003C\u002Fscript>`, markdown chars `*_[]()`, emoji\n- Verify: no XSS vulnerability (HTML is escaped)\n- Verify: markdown renders correctly\n- Verify: emoji displays properly\n\n**9.4 Browser Refresh During Streaming**\n- While AI is streaming a response, refresh the page\n- Verify: on reload, historical messages are loaded from the API\n- Verify: any in-progress response is not lost (persisted segments appear)\n- Verify: SSE reconnects and picks up new events\n\n**9.5 Concurrent Workflows**\n- Launch 2-3 workflows simultaneously (different projects or same project)\n- Verify: each workflow tracks independently\n- Verify: workflow progress cards in respective chats are correct\n- Verify: no cross-contamination of events between workflows\n\n**9.6 Network Latency**\n- Add artificial network latency if possible\n- Verify: UI remains responsive during slow responses\n- Verify: loading indicators appear for slow API calls\n- Verify: no timeout errors in normal usage\n\n---\n\n## Phase 2: Codebase Review\n\nRead the source code of every component and module listed below. For each, evaluate:\n- **Correctness**: Are there logic bugs, race conditions, or broken state transitions?\n- **UX quality**: Does the component provide good feedback, handle edge cases, feel polished?\n- **Performance**: Are there unnecessary re-renders, missing memoization, or expensive operations?\n- **Accessibility**: Are interactive elements properly labeled? Keyboard navigable?\n- **Error handling**: Are errors caught, displayed, and recoverable?\n\n### Frontend Files to Review\n\n| File | Focus Areas |\n|------|-------------|\n| `packages\u002Fweb\u002Fsrc\u002FApp.tsx` | Route config, error boundary, QueryClient settings |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FChatInterface.tsx` | SSE handler correctness, message state management, new-chat flow, workflow dispatch handling |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FMessageList.tsx` | Auto-scroll, WorkflowDispatchInline polling, WorkflowResultCard truncation |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FMessageBubble.tsx` | Markdown rendering, streaming cursor, thinking dots |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FToolCallCard.tsx` | Expand\u002Fcollapse, running state animation, output truncation |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FWorkflowProgressCard.tsx` | Timer accuracy, compact vs full mode, stale indicator |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FLockIndicator.tsx` | Show\u002Fhide transitions, queue position display |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fchat\u002FMessageInput.tsx` | Enter vs Shift+Enter, auto-resize, disabled state |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Flayout\u002FSidebar.tsx` | Resize drag, project add flow, search, new chat, localStorage persistence |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fsidebar\u002FProjectDetail.tsx` | Scoped queries, conversation status dots, workflow run sorting |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fsidebar\u002FWorkflowInvoker.tsx` | Workflow fetch, create conversation + run flow, error handling |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fsidebar\u002FAllConversationsView.tsx` | Search filtering, codebase map construction, \"New Chat\" |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fsidebar\u002FProjectSelector.tsx` | Delete confirmation, \"All Projects\" button |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fconversations\u002FConversationItem.tsx` | Rename inline edit, delete flow, active state highlighting |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FWorkflowList.tsx` | Two-tab layout, inline run panel, running indicator pulse |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FWorkflowExecution.tsx` | Initial data reconstruction from events, live SSE overlay, worker vs parent flows |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FWorkflowLogs.tsx` | Read-only chat view, SSE handlers, message filtering by timestamp |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FStepProgress.tsx` | Step list rendering, parallel block delegation, active step highlight |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FStepLogs.tsx` | Virtual scrolling, auto-scroll, metadata header |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FArtifactSummary.tsx` | Artifact type icons, URL links, path display |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FLoopIterationView.tsx` | Progress bar math, max iteration capping |\n| `packages\u002Fweb\u002Fsrc\u002Fcomponents\u002Fworkflows\u002FParallelBlockView.tsx` | Overall status derivation, nested agent list |\n| `packages\u002Fweb\u002Fsrc\u002Fhooks\u002FuseSSE.ts` | Text batching (50ms flush), reconnection, handler ref stability |\n| `packages\u002Fweb\u002Fsrc\u002Fhooks\u002FuseWorkflowStatus.ts` | Workflow state map, polling fallback (15s), stale detection |\n| `packages\u002Fweb\u002Fsrc\u002Fhooks\u002FuseAutoScroll.ts` | Scroll threshold (50px), user scroll-up detection |\n| `packages\u002Fweb\u002Fsrc\u002Flib\u002Fapi.ts` | SSE_BASE_URL calculation, error handling, 404 swallowing |\n| `packages\u002Fweb\u002Fsrc\u002Flib\u002Ftypes.ts` | SSEEvent union completeness, ChatMessage fields, WorkflowState shape |\n| `packages\u002Fweb\u002Fsrc\u002Flib\u002Fmessage-cache.ts` | Cache key correctness, memory management |\n| `packages\u002Fweb\u002Fsrc\u002Fcontexts\u002FProjectContext.tsx` | Stale project ID cleanup, codebase polling interval |\n\n### Backend Files to Review\n\n| File | Focus Areas |\n|------|-------------|\n| `packages\u002Fserver\u002Fsrc\u002Froutes\u002Fapi.ts` | Endpoint correctness, CORS, SSE heartbeat loop, workflow run endpoint, codebase deduplication |\n| `packages\u002Fserver\u002Fsrc\u002Fadapters\u002Fweb.ts` | sendMessage category filtering, structured event handling, lock event flushing |\n| `packages\u002Fserver\u002Fsrc\u002Fadapters\u002Fweb\u002Fpersistence.ts` | Segment splitting logic, tool call duration tracking, flush timing, 50-segment cap |\n| `packages\u002Fserver\u002Fsrc\u002Fadapters\u002Fweb\u002Ftransport.ts` | Stream replacement race condition fix, buffer limits (100 msg \u002F 200 conv), zombie reaper |\n| `packages\u002Fserver\u002Fsrc\u002Fadapters\u002Fweb\u002Fworkflow-bridge.ts` | Event mapping completeness, bridge subscription lifecycle, parent forwarding |\n| `packages\u002Fcore\u002Fsrc\u002Forchestrator\u002Forchestrator.ts` | Router prompt construction, background dispatch fire-and-forget, isolation resolution |\n| `packages\u002Fcore\u002Fsrc\u002Fworkflows\u002Fexecutor.ts` | Stale workflow detection (15min), step session continuity, parallel Promise.all, loop completion signal |\n| `packages\u002Fcore\u002Fsrc\u002Fworkflows\u002Frouter.ts` | Case-insensitive matching, multiline regex, fallback behavior |\n| `packages\u002Fcore\u002Fsrc\u002Fworkflows\u002Fevent-emitter.ts` | Listener error isolation, max listener cap, run registration lifecycle |\n\n### Review Checklist\n\nFor every file reviewed, note findings in these categories:\n\n1. **Bugs** — Logic errors, race conditions, state inconsistencies, crashes\n2. **UX Issues** — Missing feedback, confusing interactions, unclear states, dead ends\n3. **Performance** — Unnecessary re-renders, missing React.memo\u002FuseMemo\u002FuseCallback, expensive computations in render\n4. **Accessibility** — Missing ARIA labels, focus management gaps, screen reader issues\n5. **Error Handling** — Unhandled promise rejections, missing try\u002Fcatch, silent failures\n6. **Code Quality** — Dead code, TODOs, inconsistent patterns, missing types\n\n---\n\n## Phase 3: Report\n\nAfter completing all tests and reviews, produce a structured report:\n\n### Report Format\n\n```markdown\n# Archon Web UI Validation Report\n\n**Date**: {date}\n**Tester**: Claude Code (agent-browser + codebase review)\n**Archon Version**: {git commit hash}\n**Screenshots**: \u002Ftmp\u002Farchon-test-*.png\n\n## Executive Summary\n{2-3 sentences: overall quality assessment, critical issues count, UX rating}\n\n## Critical Bugs (P0)\n{Bugs that break core functionality or lose data}\n\n## Major Issues (P1)\n{Issues that significantly degrade the experience}\n\n## Minor Issues (P2)\n{Polish items, edge cases, visual inconsistencies}\n\n## UX Recommendations\n{Suggestions for improving the user experience — not just bugs but \"could be better\"}\n\n## Accessibility Findings\n{Keyboard nav gaps, ARIA issues, contrast problems}\n\n## Performance Observations\n{Slow renders, unnecessary work, optimization opportunities}\n\n## Codebase Quality Notes\n{Dead code, inconsistencies, architectural concerns}\n\n## What's Working Well\n{Positive findings — features that are solid, patterns that are good}\n\n## Detailed Test Results\n\n### Dashboard Tests\n| Test | Status | Notes |\n|------|--------|-------|\n| 1.1 Initial Load | PASS\u002FFAIL | ... |\n...\n\n### Project Management Tests\n...\n\n### Chat Interface Tests\n...\n\n### Workflow Management Tests\n...\n```\n\n### Key Question to Answer\n\n> **Is Archon currently doing the best it possibly can to solve the problem of managing a lot of agents in parallel and executing custom workflows with full visibility?**\n\nSpecifically evaluate:\n- Can users easily see what all their agents are doing at a glance?\n- Is workflow status visible and understandable without clicking through multiple pages?\n- Can users quickly navigate between the orchestrator chat, individual workflow runs, and task logs?\n- Is the experience of kicking off a workflow through the router intuitive?\n- Are parallel agents presented clearly with their individual status?\n- Does the UI surface errors and issues prominently enough?\n- Is the overall information architecture logical for someone managing 5-10 concurrent agents?\n\n---\n\n## Execution Notes\n\n- Run all `agent-browser` commands via the Bash tool\n- Use `npx agent-browser` if not installed globally\n- After each navigation, re-snapshot (`agent-browser snapshot -i`) to get fresh refs\n- Take screenshots liberally — save to `\u002Ftmp\u002Farchon-test-{section}-{name}.png`\n- If a test fails, document it immediately and continue to the next test\n- Use `agent-browser wait --load networkidle` after actions that trigger API calls\n- For SSE testing, use `agent-browser eval` to check EventSource state\n- Remember: WSL2 headless mode works fine — no display server needed\n- Close the browser session when done: `agent-browser close`\n",{"name":5,"description":24,"allowed-tools":25,"argument-hint":26,"disable-model-invocation":27},"Comprehensive end-to-end validation of the Archon Web UI using browser automation and codebase review.\nUse when: User wants to validate, test, or audit the Archon web interface, find UI\u002FUX bugs,\ntest workflow management, verify parallel agent orchestration, or run comprehensive browser-based E2E tests.\nTriggers: \"validate ui\", \"test the ui\", \"e2e test\", \"browser test\", \"validate archon\",\n          \"test archon ui\", \"ui audit\", \"ux review\", \"comprehensive test\", \"validate everything\".\nCapability: Starts Archon, runs exhaustive browser automation tests via agent-browser CLI,\nperforms codebase review, and produces a detailed bug\u002FUX report.\nNOT for: Unit tests (use `bun test`), CLI-only validation (use \u002Fvalidation:validate-simple).\n","Bash, Read, Grep, Glob, Edit, Write, Task","[focus-area]",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fvalidate-ui",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill validate-ui",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill validate-ui",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill validate-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fvalidate-ui\u002FSKILL.md",[],[50,57,62,69,76,83],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":58,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]