tailtest-cline is the Cline-oriented variant in the tailtest series, positioned as an open-source AI software testing layer. Cline is an autonomous coding agent that runs in more than 8 editors (VS Code, Cursor, JetBrains IDEs, Antigravity, Zed, Neovim, VSCodium, Windsurf, and the Cline CLI). tailtest-cline drives test generation through MCP: whenever Cline edits a file, tailtest's MCP server captures the change, generates production-shaped test scenarios through the R1-R15 rule layer, runs those scenarios, and returns structured failure data to Cline. Adversarial mode (R15) has been included from day one.
Unlike the Claude Code, Cursor, and Codex CLI variants, Cline has no hook mechanism (such as Claude Code's PostToolUse, Cursor's afterFileEdit, or Codex's Stop). tailtest-cline instead uses three Cline-native primitives: .clinerules/ carries the rule layer (R1-R14 plus R15 adversarial mode); the tailtest-mcp server (this repository) provides the agent with structured tools, including tailtest_setup, tailtest_scenario_plan, tailtest_classify_failures, tailtest_pick_template, and tailtest_ping; the Memory Bank (tailtestContext.md) preserves each project's configuration profile across Cline sessions. Deterministic policy (depth tiers, R15 adversarial counts, framework templates, file paths) lives in the MCP server code rather than in rule text, and the agent calls tools when it needs scaffolding instead of relying on rule recall over long sessions.
There are three installation methods: first, through the Cline MCP Marketplace (recommended, one-click installation), open the Cline extension panel in the IDE, search for tailtest and click install, and Cline will automatically clone, install dependencies, and register the server in cline_mcp_settings.json; second, directly from GitHub installation, paste https://github.com/avansaber/tailtest-cline into Cline's MCP server installation dialog, and Cline performs the same clone, install, and registration process; third, manually edit cline_mcp_settings.json. After installation, type "set up tailtest in this project" in the Cline chat, and Cline will call tailtest_setup, which detects the language/framework/runner, writes .clinerules/ and .clinerules/workflows/, initializes memory-bank/tailtestContext.md, and creates .tailtest/config.json and .tailtest/session.json. This operation is idempotent, and existing files are preserved. Note: Cline does not automatically reload .clinerules mid-conversation; you need to start a new conversation or reload the window to activate it.
There are two operating modes. Manual mode (default): explicitly invoke the test loop, such as /tailtest-test <file> to run the loop on a specific file, /tailtest hunt <file> to perform one-off adversarial testing on a specific file, or use natural language ("test the file I just edited"). Every step (file write, terminal command, MCP call) requests approval, making it suitable for first-time users. Auto mode (opt-in): enable auto-approval for Cline for "edit files (workspace)," "execute safe commands," and "use MCP servers," then run /tailtest-mode auto and reload; after that, tailtest will automatically trigger the test loop after every edit. There is also Cline's native Plan/Act mode: Plan mode generates a read-only SCENARIO PLAN for review and modification; Act mode writes test files, runs them, and applies R12 classification, and is recommended for high-risk files.
For configuration, .tailtest/config.json supports depth tiers such as simple (2-3 happy-path scenarios), standard (5-8 scenarios, including 2 or more adversarial probes, default), thorough (10-15 scenarios, including 4 or more adversarial probes), and adversarial (8-12 scenarios, biased toward destructive). See tailtest.com for more options./docs/config, for adversarial mode details see tailtest.com/docs/adversarial.
The other tailtest variants share the same R1-R15 rule layer and adversarial test modes, but differ in host integration: tailtest is a Claude Code plugin (hook-driven), tailtest-cursor is a Cursor plugin (hook-driven), tailtest-codex is a Codex CLI plugin (hook-driven), tailtest-cline is a Cline plugin (MCP-driven, i.e. this repository). The four hosts have a total of 1,234 plugin tests. The project is MIT open source, with no telemetry and no SaaS account required.