Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

- Document an OpenAI-compatible gateway such as [OrcaRouter](https://www.orcarouter.ai) as a named `OPENAI_BASE_URL`, `DECISIONS_BASE_URL`, `DEFAULT_BASE_URL` and SkillSpector provider example in the README, judge docs and CLI skill. No behavior change.
- **Breaking:** the `clawhub` and `clawhub-aig` profiles judge skills and plugins with an evidence-only Codex run (`gpt-6.1-sol`) that sees scanner results only. The new profile setting `judge.evidenceOnly` / `overview.evidenceOnly` removes the artifact copy from the command's workspace and refuses `{{ target.files }}`; the profile disables Codex's file, shell, image, web-search and code-execution tools (verified against codex-cli 0.164.0; its sub-agent tools stay offered but inherit the same restrictions). New prompt placeholders `{{ scanner_results }}` and `{{ run_context }}`. `judge.result` keeps the typed fields but no longer carries the Decisions `decision` record. The Decisions API judge remains available through `--judge`.
- Give scanner commands run against OpenClaw plugin targets a 30-minute budget (was 20 minutes); skill, file and URL targets keep 20 minutes. The judge and overview budgets are unchanged.
- Refresh Node setup to 7.1.0, use Node 24.22.2 for CI and docs, and Node 26.13.0 for release packaging.
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,23 @@ keeps its own error. A profile can add an `overview.command` that writes a
readable summary after the verdict; it never changes the verdict or gate. See
[judge harness](docs/judge.md).

### OpenAI-compatible providers

`OPENAI_BASE_URL` points the bundled Codex judge, overview, Decisions, A.I.G and
SkillSpector lanes at any OpenAI-compatible endpoint. Put the provider's own key
in an environment variable; never pass credentials as CLI flags. For example,
[OrcaRouter](https://www.orcarouter.ai):

| Variable | Value |
| --- | --- |
| `OPENAI_BASE_URL` | `https://api.orcarouter.ai/v1` |
| `OPENAI_API_KEY` | your `sk-orca-…` OrcaRouter API key |
| `OVERVIEW_MODEL` | an OrcaRouter model ID from its model catalog, keeping the `vendor/model` namespace |

`OPENAI_BASE_URL` applies the endpoint to every OpenAI lane in the run; use a
project `.clawscan.yml` profile with `--judge` when only one lane should use it.
See [judge harness](docs/judge.md#openai-compatible-providers) for per-lane details.

## Sandbox

ClawScan runs command-backed scanners and judges in
Expand Down
17 changes: 17 additions & 0 deletions docs/judge.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,23 @@ The ClawHub parity prompt, `clawhub/prompt.md`, asks the judge to inspect the
artifact. It stays embedded for `cmd/verify-clawhub-prompt` parity tooling and
`--judge` comparisons, but the bundled profiles do not use it.

## OpenAI-compatible providers

The overview, Decisions, and Codex lanes take an OpenAI-compatible endpoint from
an environment variable, so a named gateway can front them. As an example,
[OrcaRouter](https://www.orcarouter.ai) is an OpenAI-compatible gateway:

| Lane | Endpoint variable | Key variable | Model variable |
| --- | --- | --- | --- |
| Codex judge and overview | `OPENAI_BASE_URL=https://api.orcarouter.ai/v1` | `CODEX_API_KEY` or `OPENAI_API_KEY` (`sk-orca-…`) | `OVERVIEW_MODEL` |
| Decisions | `DECISIONS_BASE_URL` (defaults to `OPENAI_BASE_URL`) | `DECISIONS_API_KEY` | `DECISIONS_MODEL` |

Use model IDs exactly as the provider lists them, including the `vendor/model`
namespace; ClawScan never rewrites them. A.I.G and SkillSpector scanners accept
the same gateway through their own settings (`DEFAULT_BASE_URL` and
`SKILLSPECTOR_PROVIDER=openai` with `OPENAI_BASE_URL`). Keys stay in the
environment; profiles record presence only, never values.

## Partial SkillSpector evidence

When a judge is configured, a usable partial SkillSpector report reaches the
Expand Down
5 changes: 5 additions & 0 deletions skills/clawscan-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ Credential rules:
| `skillspector` | optional provider config: `SKILLSPECTOR_PROVIDER`, `SKILLSPECTOR_MODEL`, `NVIDIA_INFERENCE_KEY`, `OPENAI_API_KEY`, `OPENAI_BASE_URL`, `ANTHROPIC_API_KEY`, `ANTHROPIC_PROXY_ENDPOINT_URL`, `ANTHROPIC_PROXY_API_KEY` |
| `cisco` | optional upstream analyzers: `SKILL_SCANNER_LLM_*`, `SKILL_SCANNER_META_LLM_*`, `VIRUSTOTAL_API_KEY`, `AI_DEFENSE_API_KEY`, `AI_DEFENSE_API_URL` |

Any OpenAI-compatible gateway works through these variables. For example,
[OrcaRouter](https://www.orcarouter.ai) uses `OPENAI_BASE_URL=https://api.orcarouter.ai/v1`
with an `sk-orca-…` key in `OPENAI_API_KEY` or `CODEX_API_KEY`, and model IDs
kept verbatim with their `vendor/model` namespace.

Artifact env fields record only `present` or `missing`; they must never contain
secret values. GenDigital/Gen Agent Trust Hub is not a built-in scanner because
there is no local CLI for ClawScan to invoke.
Expand Down
Loading