diff --git a/.github/workflows/agent-quality.yml b/.github/workflows/agent-quality.yml index 8f023324b..9785fec8f 100644 --- a/.github/workflows/agent-quality.yml +++ b/.github/workflows/agent-quality.yml @@ -150,7 +150,7 @@ jobs: python cli.py tasks run \ --tasks onetbb-histogram-local-aggregation \ --tasks-root "${{ runner.temp }}/uxl-skills/evaluation/harbor/tasks" \ - --harnesses docker-oracle,docker-probe \ + --harness docker-oracle,docker-probe \ --out "${{ github.workspace }}/logs/external-catalog-smoke/runs.json" # The base the merge commit (refs/pull/N/merge) was built on, its first parent; not origin/$BASE_REF, which may have moved since. # A PR that does not merge records nothing. A later docs-only push skips only while origin/$BASE_REF is still this one. diff --git a/dokimi/Makefile b/dokimi/Makefile index 3c77dcbb1..789d631cb 100644 --- a/dokimi/Makefile +++ b/dokimi/Makefile @@ -29,7 +29,7 @@ benchmark-run: benchmark-compare: @test -f "$(BASE)" || { echo "ERROR: base snapshot $(BASE) not found. Take one with 'make benchmark-run', copy baselines/current.json to it, or pass BASE=."; exit 1; } - python cli.py docs compare --base $(BASE) --candidate baselines/current.json --out reports/compare.json --out-md reports/compare.md + python cli.py docs compare --baseline $(BASE) --candidate baselines/current.json --out reports/compare.json --out-md reports/compare.md # Regenerate the CLI snapshot after a command or flag changes. tests/test_cli_flags.py fails # while docs/reference/cli-interface.json is stale. It uses the venv's Python (the one diff --git a/dokimi/README.md b/dokimi/README.md index 0e953a3c8..c6da170d2 100644 --- a/dokimi/README.md +++ b/dokimi/README.md @@ -241,7 +241,7 @@ The task definitions are evaluation content and live in a separate content repos ```bash python cli.py tasks run --tasks-root /evaluation/harbor/tasks \ - --tasks --harnesses docker-oracle --out results/runs.json + --tasks --harness docker-oracle --out results/runs.json ``` The directory layout and `task.toml` fields a task must provide are specified in [docs/contributing-terminal-bench-task.md](https://github.com/intel/dokimi/blob/main/dokimi/docs/contributing-terminal-bench-task.md). CI runs a real external catalog through the same harness (see [CI](#ci) below) with network disabled at solve and verify time. diff --git a/dokimi/changelog.d/20261124_120000_napetrov_cli-f1b-arms.md b/dokimi/changelog.d/20261124_120000_napetrov_cli-f1b-arms.md new file mode 100644 index 000000000..11b071481 --- /dev/null +++ b/dokimi/changelog.d/20261124_120000_napetrov_cli-f1b-arms.md @@ -0,0 +1,3 @@ +### Changed + +- **Arms, harness and baseline flags: one spelling each.** `--arms` on `arms run`, `arms matrix-run` and `explore run` is now `--arm`, and it repeats: `--arm baseline --arm docs` gives the same list as `--arm baseline,docs`, which still works. `--harnesses` on `tasks run` is now `--harness`, repeatable the same way. `--baseline-json` on `arms plugin-delta` and `--base` on `docs compare` are now `--baseline`. The old spellings print the new command and exit 2, so scripts and CI that pass them must change the flag. `--arms` stays on `eval`, `skill novelty` and `catalog novelty` commands, where it names a score or measurement arm, not a treatment. `--matrix-cells`, `--plugin-json` and `--work-harnesses` keep their names for now: each has no same-meaning canonical spelling yet. diff --git a/dokimi/data/explore_tasks/README.md b/dokimi/data/explore_tasks/README.md index 590f056c5..0a9d7865c 100644 --- a/dokimi/data/explore_tasks/README.md +++ b/dokimi/data/explore_tasks/README.md @@ -35,7 +35,7 @@ references: ```bash python cli.py eval tasks list --format localization -python cli.py explore run --all --arms oracle,empty --baseline-arm empty \ +python cli.py explore run --all --arm oracle,empty --baseline-arm empty \ --out results/explore-runs/explore_runs.json \ --out-md reports/exploration.md ``` @@ -45,7 +45,7 @@ floor); `command: