verifAIed

v1.0.0
app.verifaied/verifaied Checked 1 day ago Published 17 days ago

Verify what your AI coding agent built: test coverage, recorded browser tests, a done verdict.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_done

Am I done? The stop condition for a coding loop. **Free — no subscription, no token budget, no rate limit.** Composes what verifAIed already knows about a branch — failing tests plus the coverage of the functions you changed — into a single verdict you can gate on: - ``done`` (bool): ``true`` only when there are no gaps at all. This is the strict signal to stop. - ``status``: ``"done"`` | ``"done-with-warnings"`` | ``"not-done"``. ``done-with-warnings`` means the only remaining gaps are ones the repo owner marked non-blocking — read this yourself if you want to st…

ParameterTypeDescription
repository *string
branch
max_gapsinteger
offsetinteger

setup

Set verifAIed up for a repository. **Free.** Call this first after the verifAIed MCP is connected, and again after each step. Pass the repository as ``owner/repo`` from the git remote (a repo UUID also works) and the current git branch; the default branch is used when ``branch`` is omitted. Returns an ordered checklist. Each step has a ``status``: - ``done``: the server saw the result (a committed file, an analysis for the branch). No action. - ``todo``: required and not done. ``commands`` and ``files`` say exactly what to run and write. - ``check_locally``: required, but only…

ParameterTypeDescription
repository *string
branch

docs

The verifAIed documentation, for you and for the user's questions. **Free.** Call this whenever the user asks how something in verifAIed works or how to do something with it, and whenever you are unsure what a tool, a command, a gap or an error means. Three ways to call it: - no arguments: the table of contents — every page with a one-line summary — and how to use the rest. - ``query``: the question, or a few words of it. Returns the sections that match best, each with its own text, so one call is usually enough to answer from. A hit marked ``truncated`` was cut short…

ParameterTypeDescription
page
query

fix_branch

Return the fix-it prompt the web UI's 'Generate prompt for everything wrong' button produces for a branch — the common-case one-shot for "fix everything broken here". Resolves the repo + branch, finds the latest analysis, generates (or fetches a cached) bulk prompt, and waits up to ``wait_seconds`` for completion. ``repository`` is required — pass the GitHub 'owner/repo' for the project the user is working in. You (the MCP client) almost always know this from the working directory's git remote, the open workspace, or the conversation; pass it explicitly rather than calling ``list_reposito…

ParameterTypeDescription
repository *string
branch
forceboolean
scopestring
wait_secondsinteger

list_repositories

List the caller's repositories. Wraps the same data the web UI's repo list shows. For the common 'fix everything wrong on a branch' workflow, prefer ``fix_branch`` — it takes 'owner/repo' directly and you usually know that from the working directory / git remote.

list_analyses

List analyses for the given repository, newest first. ``repository_id`` is the GitHub ``owner/repo`` (a repo UUID also works). Mirrors the BranchView's per-branch state. ``commit_sha`` is the commit the analysis was refreshed against. For the common 'fix everything wrong on a branch' workflow, prefer ``fix_branch`` — it resolves the latest analysis for you.

ParameterTypeDescription
repository_id *string

list_untested_functions

List functions in an analysis, filtered by coverage state. ``state_filter`` is a comma-separated subset of ``untested,partial,covered``. Default skips fully-covered functions — those are typically what an agent looking for "tests to write" cares about. Rows include React sub-units — an inline JSX handler (``Component.<onSubmit>``, ``kind="handler"``) or a conditional render branch (``Component.<branch#1>``, ``kind="render_branch"``) — because "this component's error state never rendered" is usually the actionable gap, not "this component is 80% covered". Filter on ``kind`` in ``("funct…

ParameterTypeDescription
analysis_id *string
state_filterstring

get_function_detail

Source + uncovered lines for one function. The agent typically calls this after ``list_untested_functions`` to pick a target and write tests for it directly without going through the prompt generator.

ParameterTypeDescription
function_id *string

get_baseline_prompt

Get a ready-to-use test prompt for one function. **Free — no subscription, no token budget, no rate limit.** Rendered deterministically from the function's AST plus its coverage rows: the signature, what to call, which exact lines never execute, which branches only go one way, what it raises, and which tests already touch it. Use this as the default way to turn "this function is untested" into "here is what to write". ``get_generated_prompt`` is the paid, LLM-polished counterpart — it adds repo conventions and richer context, but this one is free and always available, and for most functi…

ParameterTypeDescription
function_id *string

upload_local_coverage

Upload local coverage + current source and get back what's still untested — the core self-correction loop for writing tests without waiting on CI. Works for Python (pytest-cov) and TypeScript/JavaScript (vitest + Istanbul). ``coverage_kind`` selects the dimension: ``"unit"`` (default) is the test-suite coverage flow described here; ``"browser"`` records an independent per-function *browser-session* dimension from a real browser run — any coverage format (Istanbul for a frontend harvest, pytest-cov for a coverage-instrumented backend serving the browser's requests), no junit. A branch's br…

ParameterTypeDescription
branch *string
files *object
repository_id *string
commit_sha
coverage_json
coverage_kindstring
coverage_reports
junit_xml
path_prefix
session_id

clear_manual_coverage

Reset the accumulated **manual-recording** dimension for a branch. Manual uploads are **additive**: each ``upload_local_coverage`` with ``coverage_kind="manual"`` unions that hand-driven session into the branch's manual dimension, so you can build a pass up one flow at a time. Call this to wipe that accumulation and start over — every function goes back to Unexercised. The branch's ``manual_languages`` are kept, so the Manual Recording view stays visible; only the per-function coverage is cleared. This does **not** touch browser coverage (``coverage_kind="browser"``), which has no clear at…

ParameterTypeDescription
repository *string
branch

verify_ui

Judge a screenshot of the running UI. **Paid.** You drive the browser; verifAIed judges what you got. Take a screenshot of the change you just made, say what it was supposed to do, and this returns a verdict — plus records it, so ``check_done`` can hold the branch to it. Two modes: - With ``intent`` (recommended): checks one claim. "The error state now shows a Retry button" → ``pass`` / ``fail`` / ``unclear``, with a confidence and the reasoning. ``unclear`` is a real answer, used when the screenshot doesn't show the region the claim is about — treat it as "screenshot the righ…

ParameterTypeDescription
repository *string
screenshot_base64 *string
branch
console_errors
intent
target
viewport

get_generated_prompt

Return a meta-prompt for writing tests for the function. Cache hits return immediately. Cache misses enqueue a fresh generation and poll the row for up to ``wait_seconds``. On timeout the agent gets the ``generation_id`` and can call ``wait_for_prompt`` to keep waiting.

ParameterTypeDescription
function_id *string
forceboolean
wait_secondsinteger

get_bulk_prompt

Return a single meta-prompt covering many items in an analysis. ``scope`` selects which slice to aggregate: - ``untested`` — all functions with no tests yet - ``partial`` — all functions only partially covered - ``failing`` — all failing tests - ``everything`` — failing tests plus all untested + partial functions - ``frontend`` — TypeScript components grouped with the handlers and render branches inside them that nothing exercises yet; Playwright/React-Testing-Library oriented rather than a flat function list Cache hits return immediately; cache misses enqueue…

ParameterTypeDescription
analysis_id *string
scope *string
forceboolean
wait_secondsinteger

wait_for_prompt

Poll a prompt generation row until it transitions to completed or failed, or until the timeout. The companion to ``get_generated_prompt`` — call this if the first call returned ``status: pending``.

ParameterTypeDescription
generation_id *string
timeout_secondsinteger