From d4d36c9d577d1dfa9ec68267e03eb60c411a04ef Mon Sep 17 00:00:00 2001
From: arkon
Date: Wed, 21 Jan 2026 08:35:49 +0100
Subject: [PATCH] docs: update test count to 355, minor CLAUDE.md improvements
- Update README badge from 339 to 355 passing tests
- Add templates to unit test list in test port allocation
- Update typecheck command to use npm script
- Add TUI components to key files table
Co-Authored-By: Claude Opus 4.5
---
CLAUDE.md | 5 +++--
README.md | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/CLAUDE.md b/CLAUDE.md
index 7435c1f3..4062d88f 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -62,14 +62,14 @@ npx vitest run -t "should create session" # By pattern
# 3110: edge-cases.test.ts
# 3115: integration-flows.test.ts
# 3120: session-cleanup.test.ts
-# Unit tests (no port needed): respawn-controller, inner-loop-tracker, pty-interactive, task-queue, task, ralph-loop, session-manager, state-store, types
+# Unit tests (no port needed): respawn-controller, inner-loop-tracker, pty-interactive, task-queue, task, ralph-loop, session-manager, state-store, types, templates
# Next available: 3122+
# Tests mock PTY - no real Claude CLI spawned
# Test timeout: 30s (configured in vitest.config.ts)
# TypeScript checking
-npx tsc --noEmit # Type check without building
+npm run typecheck # Type check without building (or: npx tsc --noEmit)
# Note: No ESLint/Prettier configured - rely on TypeScript strict mode
# Debugging
@@ -101,6 +101,7 @@ pkill -f "SCREEN.*claudeman" # Force kill all claudeman screens
| `src/web/server.ts` | Fastify REST API + SSE at `/api/events` |
| `src/web/public/app.js` | Frontend: SSE handling, xterm.js, tab management |
| `src/tui/App.tsx` | TUI main component: tabs, terminal viewport, status bar (Ink/React) |
+| `src/tui/components/*.tsx` | TUI components: StartScreen, TabBar, TerminalView, StatusBar, RalphPanel, HelpOverlay |
| `src/tui/hooks/useSessionManager.ts` | TUI session state, screen polling, input handling |
| `src/types.ts` | All TypeScript interfaces |
diff --git a/README.md b/README.md
index eafab28d..2f90bf98 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
-
+