Skip to content

feat(harness): flag SKILL.md locations harnesses miss or load twice - #527

Merged
chrisknvidia merged 11 commits into
mainfrom
feat/christopherk/harness-05-manifest-location
Nov 13, 2026
Merged

chrisknvidia merged 11 commits into
mainfrom
feat/christopherk/harness-05-manifest-location

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds the manifest-location rule family to the harness check, plus the matching harness-neutral findings in Tier 1 schema. Stacked on the description PR.

harness rules:

  • SKILL.md casing (skill.md, Skill.md):
    • Codex and Hermes never load it.
    • Claude Code, Copilot CLI, OpenClaw and OpenCode load it only on case-insensitive filesystems (macOS default), not on Linux.
  • A nested SKILL.md:
    • Codex, Hermes and OpenCode load it as a second, separate skill.
    • Copilot CLI and OpenClaw ignore it (advisory).
  • A symlinked SKILL.md file: Codex, Hermes and OpenClaw skip it. A symlinked skill folder still works.
  • OpenClaw rejects a skill folder whose symlink target is outside the skills root.
  • Codex doesn't find a skill more than 5 folders below the skills root.
  • Hermes leaves symlinked resource files out of the skill's file list, along with files outside references/, templates/, assets/ and scripts/ (advisory).

Tier 1 schema:

  • manifest_symlink and nested_manifest (MEDIUM).
  • The skill.md naming finding now explains the macOS/Linux difference.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test: harness, schema, golden, commands, skip and publication-evidence suites
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
devin-ai-integration[bot]

This comment was marked as resolved.

…cation

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…cation

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
devin-ai-integration[bot]

This comment was marked as resolved.

The harness check counts a nested SKILL.md under evals/ or versions/ as a
second skill, because harnesses scan those folders like any other. The
schema nested_manifest check still skipped them, so the same skill got
different findings depending on which check you read.

Both checks now skip the same folders (VCS data, caches, dependencies),
taken from one shared constant. The schema test that expected evals/ to be
ignored now expects it to be reported, and a new test runs both checks on
the same skill to keep them in agreement.

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…igger

The schema validator now reports a low-severity description_trigger
advisory for descriptions with no "Use when ..." trigger. The valid-skill
fixture in test_schema_validator_mixed_valid_invalid had the description
"Valid skill", so it picked up that advisory and its roll-up message
changed from "All schema and structure checks passed" to "No blocking
schema or structure findings (1 advisory finding(s))". The assertion
looks for "passed", so it no longer matched.

Give the fixture a description with a trigger phrase so it is a skill
with no findings under the new rules. The assertion is unchanged.

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…istopherk/harness-05-manifest-location

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…istopherk/harness-05-manifest-location

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Base automatically changed from feat/christopherk/harness-04-description to main November 13, 2026 22:54
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
@chrisknvidia
chrisknvidia merged commit 559f0d5 into main Nov 13, 2026
27 checks passed
@chrisknvidia
chrisknvidia deleted the feat/christopherk/harness-05-manifest-location branch November 13, 2026 23:08
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