Run a trusted verification check
run_verificationExecute a trusted named check to validate a changeset before acceptance, returning pass/fail and execution details.
Instructions
Run one named check from the trusted Foremerge registry of the repository this store is bound to. Raw commands are intentionally not accepted over MCP, and the registry cannot be selected by the caller or the server's working directory. Use it after publish_changeset and before accept_changeset; acceptance relies on this result, not on tests you report yourself. The check's command runs in the ChangeSet's worktree with the registry's timeout. It may create only generated files excluded from the fingerprint: changing any other file fails with STALE_CHANGESET, and excluded files left from an earlier run fail with CHECK_FAILED before it starts. The worktree must still match the fingerprint recorded at publication, or the call fails with STALE_CHANGESET and you must publish again. A pass moves the ChangeSet to VALIDATED; a failure leaves or returns it to PROVISIONAL. Returns the validation record: whether it passed, the exit code, captured stdout and stderr, the duration, and the fingerprint it ran against.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | Yes | Name of a check an operator registered with foremerge checks set, for example test. Unknown names are rejected. | |
| changeset_id | Yes | The ChangeSet (chg_...) to verify. Must be PROVISIONAL or VALIDATED. |