diff --git a/frontend/AGENTS.md b/frontend/AGENTS.md deleted file mode 100644 index da2329d5..00000000 --- a/frontend/AGENTS.md +++ /dev/null @@ -1,34 +0,0 @@ -# frontend/ — AGENTS.md - -## Purpose - -Early-stage React/TypeScript web UI for the CORREX server. Connects to the server's REST endpoints and WebSocket feed. Placeholder / exploratory state — not production-hardened. - -## Ownership - -Loosely maintained. Not on the critical path. The canonical operator UI is `apps/tui-go/` (Go/Bubble Tea TUI). This web UI is a secondary surface. - -## Local Contracts - -- Stack: React 18, TypeScript, `react-scripts` (Create React App). -- Entry: `src/App.tsx`. -- Structure: `src/components/`, `src/routes/`, `src/stores/`, `src/lib/`, `src/websocket/`, `src/visualizations/`. -- Static assets: `static/`. -- No backend lives here — all data comes from the Ktor server (`apps/server/`). -- `docs/visual/ref/` is the canonical JS/TS mockup for look-and-feel reference. - -## Work Guidance - -- Mirror the WS protocol used by `apps/tui-go/` — both clients consume the same server feed. -- Do not duplicate business logic here; keep components thin and data-driven. -- Check `docs/visual/ref/` before designing new UI elements. - -## Verification - -```bash -cd frontend && npm run build -``` - -## Child DOX Index - -No child AGENTS.md (leaf directory). diff --git a/frontend/package.json b/frontend/package.json deleted file mode 100644 index 432592b3..00000000 --- a/frontend/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "correx-web-ui", - "version": "1.0.0", - "description": "Web client for CORREX orchestration kernel", - "main": "./src/App.tsx", - "scripts": { - "start": "react-scripts start", - "build": "react-scripts build", - "test": "react-scripts test" - }, - "dependencies": { - "react": "^18.2.0", - "react-dom": "^18.2.0" - } -} \ No newline at end of file diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx deleted file mode 100644 index 14d2eaac..00000000 --- a/frontend/src/App.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import React from 'react'; -import SessionView from './components/session/SessionView'; -import TaskBoard from './components/task/TaskBoard'; -import WorkflowDebugger from './components/workflow/WorkflowDebugger'; -import EventTimeline from './components/state/EventTimeline'; -import { api } from './services/api'; -import { actions } from './services/actions'; - -const App: React.FC = () => { - // Placeholder for routing or state management - return ( -
Welcome to the orchestration kernel interface.
- - {/* Basic component placeholders */} -