Dispatch a read-only Harness review
start_reviewLaunch a read-only Harness code review session from workspace paths, returning a stable link your agent can monitor until the run finishes.
Instructions
Create or reuse a native Harness session with the permission preset fixed to read-only, then return a stable session link. Task parameters are path-reference-only: provide the authorized workspace, reviewTargets, contextReadScope, excludedPaths, writeScope, and acceptance criteria. reviewTargets identify what to assess; they are not a read whitelist. contextReadScope declares where Harness may search and read supporting implementation, tests, configuration, and architecture material. Never embed source text, diffs, file dumps, encoded source, or repository archives. Harness reads named files from the authorized workspace itself. These fields are task instructions, not enforced per-path filesystem isolation. The selected Harness model may send content it reads to its configured model provider even though Relay itself uses a loopback address. After start succeeds, share webUrl and keep wait_run until succeeded/failed/cancelled/needs_attention. The calling agent MUST read assistantText before claiming the review is done. If the parent user asked to review then fix, apply accepted findings only after the run is terminal; do not treat a still-running review as finished.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Task parameters are path-reference-only: provide the authorized workspace, reviewTargets, contextReadScope, excludedPaths, writeScope, and acceptance criteria. reviewTargets identify what to assess; they are not a read whitelist. contextReadScope declares where Harness may search and read supporting implementation, tests, configuration, and architecture material. Never embed source text, diffs, file dumps, encoded source, or repository archives. Harness reads named files from the authorized workspace itself. These fields are task instructions, not enforced per-path filesystem isolation. The selected Harness model may send content it reads to its configured model provider even though Relay itself uses a loopback address. | |
| model | No | ||
| content | No | Task parameters are path-reference-only: provide the authorized workspace, reviewTargets, contextReadScope, excludedPaths, writeScope, and acceptance criteria. reviewTargets identify what to assess; they are not a read whitelist. contextReadScope declares where Harness may search and read supporting implementation, tests, configuration, and architecture material. Never embed source text, diffs, file dumps, encoded source, or repository archives. Harness reads named files from the authorized workspace itself. These fields are task instructions, not enforced per-path filesystem isolation. The selected Harness model may send content it reads to its configured model provider even though Relay itself uses a loopback address. | |
| provider | No | ||
| sessionId | No | ||
| workspace | Yes | Authorized absolute Harness workspace root; Harness reads named in-scope files from here. | |
| writeScope | No | Paths Harness may modify. Must be empty for read-only runs; this is an instruction declaration in addition to native permissions. | |
| agentPreset | No | ||
| openBrowser | No | Keep false unless the user explicitly asks to open the Harness page in the OS browser. | |
| sessionMode | No | ||
| excludedPaths | No | Paths excluded from contextual reading. This is an instruction declaration, not filesystem enforcement. | |
| reviewTargets | No | Subjects to assess. This is not a read whitelist; supply together with contextReadScope. | |
| idempotencyKey | No | ||
| reasoningEffort | No | ||
| contextReadScope | No | Workspace paths Harness may search and read for evidence. Use only the targets when the user explicitly requests a target-only review. | |
| authorizationBasis | No | Truthful evidence that the user explicitly selected Harness to inspect this workspace. Set only when the current conversation contains that instruction. This records evidence and does not expand permissions or guarantee approval. |