provide-terminal 2026-03-13
Intensive mutation testing campaign across auth, app, CLI, polling, and connections
70 files · 10,322+ · 267-

Mutation testing patterns guide

1 file changed
  • MUTATION_PATTERNS.md Reference guide documenting effective patterns for writing mutation-killing tests (385 lines)
  • MUTATION_PATTERNS.md (385 lines): reference guide documenting effective patterns for writing mutation-killing tests — boundary conditions, assertion specificity, and common survivor patterns. specify internal
    1 file
    • MUTATION_PATTERNS.md

Mutation-killing tests for auth

2 files changed
  • test_auth.py Auth tests extended with mutation-killing edge cases
  • test_auth_edge_cases.py Auth edge cases and boundary tests for mutation coverage
  • Precision mutation-killing tests for auth.py: JWT validation edge cases, token format boundaries, role-based access assertions, role validation in open mode. qualify internal
    2 files
    • test_auth.py
    • test_auth_edge_cases.py

Mutation-killing tests for app and CLI validation

2 files changed
  • test_app_validation.py App validation edge case tests for mutation coverage (465 lines)
  • test_cli_validation.py CLI validation and parser tests for mutation coverage (371 lines)
  • Precision mutation-killing tests for app.py and app validation edge cases. tests/cli/test_cli_validation.py (371 lines) and tests/server/test_app_validation.py (465 lines) added. qualify behavioral
    2 files
    • test_app_validation.py
    • test_cli_validation.py

Mutation-killing tests for polling and connections mixins

7 files changed
  • test_hub_polling_coverage.py Polling mutation-killing tests — snapshot matching and guard timeouts (496 lines)
  • test_connections_coverage.py Connections mixin tests for edge cases and mutation coverage (374 lines)
  • test_base.py Hijack base mixin tests for edge cases and boundaries (437 lines)
  • test_base_mutation_killing.py Base mixin precision mutation-killing tests
  • test_hub.py Hub tests
  • test_hub_coverage3.py Additional hub coverage tests
  • test_bridge_coverage2.py Bridge coverage tests
  • Precision mutation-killing tests for polling.py and base.py. tests/hijack/test_hub_polling_coverage.py (496 lines), tests/hijack/test_connections_coverage.py (374 lines), tests/hijack/test_base.py (437 lines). Coverage of snapshot matching, guard timeouts, and connections edge cases. qualify internal
    3 files
    • test_hub_polling_coverage.py
    • test_connections_coverage.py
    • test_base.py

Screen and boundary coverage tests

2 files changed
  • test_screen.py Screen boundary and assertion coverage (53 lines)
  • test_screen_extras.py Additional screen coverage tests (80 lines)
  • tests/terminal/test_screen.py (53 lines), tests/terminal/test_screen_extras.py (80 lines) — boundary and assertion coverage for screen.py. qualify internal
    2 files
    • test_screen.py
    • test_screen_extras.py

MCP test additions

6 files changed
  • test_mcp_helpers.py MCP helpers tests (294 lines)
  • test_mcp_hijack.py MCP hijack tests (491 lines)
  • test_mcp_reg_helpers.py MCP regression helpers tests
  • test_mcp_reg_hijack.py MCP regression hijack tests
  • test_mcp_reg_session.py MCP regression session tests
  • test_mcp_session.py MCP session tests
  • tests/mcp/test_mcp_helpers.py (294 lines), tests/mcp/test_mcp_hijack.py (491 lines), plus regression and session tests added. qualify internal
    2 files
    • test_mcp_helpers.py
    • test_mcp_hijack.py

Bug fixes — runtime warnings, config parsing, and LOC compliance

3 files changed
  • config.py Config model now parses ephemeral session and max_sessions settings
  • app.py RuntimeWarning eliminations
  • conftest.py Fixed JWT token creation in bearer token test
  • Eliminated RuntimeWarnings, added config parsing for ephemeral/max_sessions settings that were previously ignored. remediate internal
    2 files
    • config.py
    • app.py
  • Used proper JWT token creation in bearer token test. Trimmed blank line to meet 500 LOC limit. Split oversized test files to comply with 500 LOC limit. qualify internal
    1 file
    • conftest.py

Infrastructure and server registry updates

8 files changed
  • deploy-cf.yml Cloudflare deploy workflow updates
  • .pre-commit-config.yaml Pre-commit config updates
  • pyproject.toml Project dependency updates
  • uv.lock Lock file updated
  • websocket.py WebSocket connector updates
  • __init__.py Connectors package
  • test_connectors.py Connector tests
  • test_registry.py Registry tests
  • Pre-commit config updates, Cloudflare deploy workflow updates, lock file refresh. Server connector and registry tests added. baseline internal
    3 files
    • .pre-commit-config.yaml
    • deploy-cf.yml
    • pyproject.toml