TAU

Test Coverage & Implementation Status

Last updated: 2026-01-13

92
Core Tests
394
Workspace Tests
5
Doc Tests

Phase 1: ProcessSupervisor + Runtime Skeleton

ProcessSupervisor

✓ Implemented & Tested

  • Types: ProcessId, ProcessType, ProcessConfig defined.
  • Tests (8): Coverage for ID generation, state transitions (Running/Completed/Failed), and config defaults.

Runtime Skeleton

✓ Implemented & Tested

  • Tests (6): Covers independent runtimes, shutdown token propagation, manager cloning, and debug formatting.

Phase 2: Permission Gate

✓ Implemented & Tested

  • Risk Levels: Low, Medium, High, Critical
  • Components: PermissionRequest, PermissionDecision, PermissionGate trait.
  • Tests (5): JSON roundtrip, tool-specific rules, unique ID generation.

Service Managers

LSP Manager

Full lifecycle management for Language Server Protocols.

  • Server spawn and lifecycle control
  • Status transitions (Starting → Running → Stopped)
  • Protocol compatibility checks

Shell Manager

Robust shell execution environment.

  • Shell spawn and kill operations
  • Output capture (stdout/stderr) with limit enforcement
  • Environment variable injection
  • Special character handling

Task Runner

Concurrency-aware task execution.

  • Concurrent task limits
  • Cancellation propagation
  • Status reporting

Summary by Phase

PhaseComponentTestsStatus
1ProcessSupervisor8Done
1Runtime Skeleton6Done
2Permission Gate7Done
-LSP Manager7Done
-Shell Manager6Done
-Task RunnerN/ADone

Next Steps

  1. PTY Implementation: Port portable-pty code from legacy runtime.
  2. ProcessSupervisor Impl: Complete spawn/kill/timeout logic.
  3. PermissionGate Impl: Implement decision caching and "stop-the-world" UI prompts.
  4. Indexing: Integrate BM25 + File Watcher.
  5. Tree-sitter: Add parser layer and grammars.