Skip to content

Commit ad4b4a3

Browse files
fix(.claude/skills): add --instance parameter to scenario run examples
Ensures consistency with other otdf-local commands (up, down, status, logs) that already show the --instance parameter. While scenario run has a default that reads from the YAML, explicitly including --instance makes examples self-documenting and prevents confusion. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 5551825 commit ad4b4a3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.claude/skills/scenario-matrix/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Bail (delete the just-written files) if any cell fails validation — partial ma
7878
uv run otdf-sdk-mgr install scenario "$f"
7979
uv run otdf-local instance init "$name" --from-scenario "$f"
8080
uv run otdf-local --instance "$name" up
81-
uv run otdf-local scenario run "$f"
81+
uv run otdf-local scenario run --instance "$name" "$f"
8282
uv run otdf-local --instance "$name" down
8383
done
8484
```

.claude/skills/scenario-run/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Invoke the pytest selection declared by the scenario's `suite` block against the
1818
### Step 1 — Invoke the runner
1919

2020
```bash
21-
uv run otdf-local scenario run xtest/scenarios/<id>.yaml
21+
uv run otdf-local scenario run --instance <id> xtest/scenarios/<id>.yaml
2222
```
2323

2424
This translates the scenario's `suite.targets` (list — each entry becomes a positional pytest arg), `suite.containers` (list — joined into a single whitespace-separated `--containers` value), `suite.kexpr`, `suite.markers`, and `sdks.{encrypt,decrypt}` into the equivalent `pytest <targets…> --sdks-encrypt … --sdks-decrypt … --containers …` invocation under `xtest/` with `OTDF_LOCAL_INSTANCE_NAME` set. SDK tokens are emitted in xtest's `sdk@version` form; the resolved version names come from the sibling `<scenario>.installed.json`.

0 commit comments

Comments
 (0)