Skip to content

feat(harness): flag descriptions harnesses drop, cut or hide - #526

Merged
chrisknvidia merged 4 commits into
mainfrom
feat/christopherk/harness-04-description
Nov 13, 2026
Merged

chrisknvidia merged 4 commits into
mainfrom
feat/christopherk/harness-04-description

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds the description rule family to the harness check, plus two harness-neutral description findings in Tier 1 schema.

harness rules:

  • Missing, empty or non-string description:
    • Codex drops the skill.
    • OpenClaw rejects it.
    • OpenCode loads it but hides it from the model's skill list (missing or non-string) or lists it by name only (empty).
    • Claude Code and Copilot CLI show body text instead.
    • Hermes lists it by name with an empty description.
  • OpenCode also drops a skill with no name.
  • Listing cuts: Claude Code cuts descriptions over 1,536 characters, and Codex cuts at 1,024.
  • Copilot CLI drops a skill whose description is over 1,024 UTF-16 units. An emoji counts as 2.
  • Copilot CLI and OpenClaw show double quotes in the description as " in the skill list (advisory).
  • Hermes shows only about the first 60 characters of each description, so the rule flags a description with no "when to use" trigger inside that window (advisory).
  • -v shows the description each harness lists.

Tier 1 schema:

  • description_utf16_length (MEDIUM): a description over 1,024 UTF-16 units.
  • description_trigger (LOW): no "Use when ..." style trigger in the first 60 characters. This is a new finding for existing skills, so clean test fixtures now include a trigger.
  • Both thresholds live in constants.py (DESCRIPTION_TRIGGER_WINDOW, DESCRIPTION_TRIGGER_PATTERN).

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>
devin-ai-integration[bot]

This comment was marked as resolved.

…cation

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>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
@chrisknvidia
chrisknvidia merged commit c9956ab into main Nov 13, 2026
27 checks passed
@chrisknvidia
chrisknvidia deleted the feat/christopherk/harness-04-description branch November 13, 2026 22:54
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