Verify a Workbench clone
verify_cloneRe-check a cloned target to confirm each component is present or missing and verify opencode.json and ~/.env.workbench exist; runs read-only after apply_clone or component changes.
Instructions
Re-check a target after a clone: return a per-component present/missing list plus whether opencode.json and ~/.env.workbench exist. Read-only and idempotent: it runs a detection probe (SSH or local) and checks files, writing nothing. target selects the machine (local or SSH) and its home is where the opencode.json and ~/.env.workbench checks run; components restricts the check to those ids (omit it to check every component, the default); workspace sets the profile path used by component checks. Use it after apply_clone and after component changes; for a pre-clone preview use plan_clone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Report only; make no changes. | |
| target | Yes | The machine to operate on: this host (local) or a remote host over SSH (ssh). | |
| skipRepo | No | Do not clone/update the profile repo on the target. | |
| workspace | No | Target directory for the profile repo. | |
| components | No | Component ids to include; defaults to required+core. | |
| profileUrl | No | Override profile git URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Label of the target. | |
| missing | Yes | Component ids detected as missing. | |
| envExists | Yes | Whether ~/.env.workbench exists on the target. | |
| components | Yes | Per-component presence detection. | |
| configExists | Yes | Whether opencode.json exists on the target. |