@uinaf/skillcheck 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/scenario.js CHANGED
@@ -210,7 +210,11 @@ function materialize(s, runDir, harness, control = false) {
210
210
  const from = fs.realpathSync(path.join(skillsRoot, name));
211
211
  fs.cpSync(from, path.join(workdir, root, "skills", name), {
212
212
  recursive: true,
213
- filter: (src) => src !== path.join(from, "evals")
213
+ filter: (src) => {
214
+ if (src === path.join(from, "evals")) return false;
215
+ if (fs.lstatSync(src).isSymbolicLink()) throw new Error(`skill contains a symbolic link: ${src}`);
216
+ return true;
217
+ }
214
218
  });
215
219
  }
216
220
  for (const root of roots) {
package/docs/scenarios.md CHANGED
@@ -137,7 +137,9 @@ time. It stays outside the root so the agent cannot reach the skill's source,
137
137
  its evals, or the repository's own agent guidance. The skill under test is installed where the harness discovers skills:
138
138
  `.claude/skills/<skill>/`, plus `.agents/skills/<skill>/` on codex, or
139
139
  `.grok/skills/<skill>/` on Grok, with its `evals/` directory excluded, so
140
- criteria never leak into the agent's context. Sibling skills under the same root that the skill links to (inline, angle-bracket, or reference links, followed transitively; a symlink out of the root is skipped) are installed beside it
140
+ criteria never leak into the agent's context. Symbolic links inside an installed
141
+ skill are rejected: a copied link could expose excluded evals or let the agent
142
+ change the source tree. Sibling skills under the same root that the skill links to (inline, angle-bracket, or reference links, followed transitively; a symlink out of the root is skipped) are installed beside it
141
143
  the same way, so links such as `../other/SKILL.md` resolve as they do when a
142
144
  plugin installs the set; a control run installs none of them.
143
145
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uinaf/skillcheck",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Lint and eval harness for agent skills",
5
5
  "homepage": "https://github.com/uinaf/skillcheck#readme",
6
6
  "bugs": {
@@ -34,15 +34,15 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@anthropic-ai/claude-agent-sdk": "^0.3.281",
37
- "@openai/codex-sdk": "^0.157.0",
37
+ "@openai/codex-sdk": "^0.160.0",
38
38
  "@types/node": "^26.6.2",
39
- "promptfoo": "^0.123.1",
39
+ "promptfoo": "^0.124.0",
40
40
  "vite": "catalog:",
41
41
  "vite-plus": "catalog:"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@anthropic-ai/claude-agent-sdk": "^0.3.281",
45
- "@openai/codex-sdk": "^0.156.1 || ^0.157.0",
45
+ "@openai/codex-sdk": "^0.156.1 || ^0.157.0 || ^0.160.0",
46
46
  "promptfoo": "^0.123.1"
47
47
  },
48
48
  "peerDependenciesMeta": {
@@ -66,5 +66,5 @@
66
66
  "engines": {
67
67
  "node": ">=24"
68
68
  },
69
- "packageManager": "pnpm@12.7.0"
69
+ "packageManager": "pnpm@12.10.1"
70
70
  }