Skip to content

feat(evals): add missing docker-via-wsl eval#41

Merged
CybotTM merged 2 commits into
mainfrom
feat/backfill-evals
Jul 12, 2026
Merged

feat(evals): add missing docker-via-wsl eval#41
CybotTM merged 2 commits into
mainfrom
feat/backfill-evals

Conversation

@CybotTM

@CybotTM CybotTM commented Jul 12, 2026

Copy link
Copy Markdown
Member

Part of netresearch/skill-repo-skill#148 (A6: eval backfill).

Summary

The 24 existing evals in evals/evals.json cover the docker-development skill only; docker-via-wsl (added in a later PR) had none. Adds one eval, docker-via-wsl-reissue-not-windows-shell.

Delta-discriminating assertion

Asserts the skill's core correction for an agent whose Bash shell is Git Bash/MSYS on Windows outside WSL: re-issue the failing Docker command through wsl.exe -e bash -lc from inside WSL2's native filesystem, instead of continuing to drive Docker from the Windows shell on a mapped network drive (the actual root cause of the "Is a directory" bind-mount failure, per skills/docker-via-wsl/SKILL.md). A generic baseline diagnoses this as a Docker cache bug or a fragile single-file-bind-mount problem and has no way to know the wsl.exe -e bash -lc re-issue pattern without having read this skill.

Validation

$ bash scripts/validate-evals.sh evals/evals.json
...
Results: 53 passed, 0 failed, 0 warnings

The 24 existing evals cover docker-development only; docker-via-wsl
(added in a later PR) had none. Adds one eval asserting the skill's
core correction: re-issue the failing Docker command through
`wsl.exe -e bash -lc` from inside WSL2's native filesystem, instead
of continuing to drive Docker from a Windows/Git-Bash shell on a
mapped network drive (the actual cause of the "Is a directory" bind-
mount failure).

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a new evaluation test case, "docker-via-wsl-reissue-not-windows-shell", to "evals/evals.json". The reviewer pointed out a logical issue in one of the regular expression assertions, where "-e bash -lc|bash -lc" simplifies to just "bash -lc" and would incorrectly allow invocations without the "-e" flag to pass. A suggestion was provided to simplify the regex to "-e bash -lc".

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread evals/evals.json Outdated
The alternation '-e bash -lc|bash -lc' was redundant since 'bash -lc'
matches as a substring of the first alternative, letting a response
that omits the -e flag pass the discriminating assertion.

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
@sonarqubecloud

Copy link
Copy Markdown

CybotTM added a commit to netresearch/skill-repo-skill that referenced this pull request Jul 12, 2026
…163)

Part of #148 (A6:
eval backfill + quality rule).

## Summary

Adds a quality rule to `references/materialization-contract.md` Rule 7
(Eval format): every eval needs at least one assertion a no-skill
baseline answer FAILS, verified locally with `run-ab-evals.sh` (the
`without_skill` pass rate on that assertion must be <1.0). Keyword
assertions any generic answer already satisfies (`"alpine"`, `"USER"`, a
bare `"Plugin"`) reward boilerplate and never test the retro-born gotcha
that is a skill's actual value.

The rule explicitly notes this verification is a **local/manual step,
not CI** — `run-ab-evals.sh` shells out to `claude -p` per eval and is
intentionally not wired into any workflow.

## Companion PRs (backfilled per this rule)

- netresearch/jujutsu-workflow-skill#10
- netresearch/markdown-to-pdf-skill#7
-
netresearch/typo3-upgrade-effort-model-skill#14
- netresearch/typo3-site-conformance-skill#9
- netresearch/docker-development-skill#41

## Validation

```
$ npx markdownlint-cli2 skills/skill-repo/references/materialization-contract.md
Summary: 0 error(s)
```

Pre-commit hooks (trim-trailing-whitespace, end-of-file-fixer,
markdownlint-cli2) passed on commit.
@CybotTM
CybotTM merged commit 48d6686 into main Jul 12, 2026
17 checks passed
@CybotTM
CybotTM deleted the feat/backfill-evals branch July 12, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant