Repository navigation
feat(harness): flag invocation fields each harness ignores - #534
Merged
chrisknvidia merged 15 commits intoNov 14, 2026
Merged
Conversation
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
November 13, 2026 23:12
…ex's policy is set CX-DMI-IGNORED fired whenever disable-model-invocation was set, even when agents/openai.yaml already sets allow_implicit_invocation: false, which is the control Codex actually honours. A skill that carries both was reported as degraded in Codex although implicit invocation is off there. The rule now also requires "not codex_implicit_disabled". Hermes and OpenCode still flag it, since they ignore both controls. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…at does not exist CC-ALLOWED-TOOLS told headless users to "see CC-ALLOWED-TOOLS-HEADLESS", but the profile never defines that rule, and no --headless flag exists yet. The profile has no probe evidence for how Claude Code treats allowed-tools in -p runs, so the sentence is removed rather than backed by a new not_loaded rule. Add a profile consistency test: every rule id named in a message or fix must be defined by a profile. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
A bare $5 or $20 was counted as an argument placeholder, so neither harness rule flagged it, while $1 /path/to/project (and cp $1/$2, cd /tmp/$3) was counted as a price because any slash after the number looked like a price separator. One rule now: cents, per/each/USD, a billing unit ($5/month) or a spaced slash before another amount ($4 / $20) is always a price. Otherwise an index above 3 is an amount unless a path or a closing quote/brace follows, and $0-$3 stay arguments. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
… references The delivery-limit facts read every bundled file as text, which broke three ways: an unreadable file, a symlink loop or a pipe in the skill folder aborted the whole run (a pipe would block it), binary assets were decoded into long "lines" and flagged as needing paging, and symlinked references were dropped from the size and line counts even though OpenCode follows them. Read each file through one helper that returns nothing for binary data (a NUL byte in the first 8 KiB) and anything that cannot be read, and measure symlinks that point outside the skill like regular files for the OpenCode rules. Links into the skill are still counted once, under their real path, and the OpenClaw multi-read count stays on files inside the skill. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…inked skills facts_for put every skill from one scan into a single catalog, so a repo with both .claude/skills and .codex/skills got false duplicate-name and budget findings. Skills are now grouped by the folder they are installed in, and each skill is measured against everything in that folder. A skill directly under a workspace skills/ folder (OpenClaw) now counts its siblings too; it used to be measured alone because skills/ is not a recognized install root. Install-root rules are unchanged. _find_skills used rglob, which does not descend into symlinked folders, so skills installed as links (which Claude Code and Codex load) were left out of the counts and the duplicate-name check. It now follows links and stops at a link back to one of its own parent folders. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
CP-RELOAD and OC-RELOAD are "always" advisory rules, but evaluate_profile skipped every always+advisory rule, so the notes never reached any report. Drop the skip; the notes now show as advisory findings and the status stays "loads". Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
The skills-folder paragraph edit had left </Accordion> at the end of the text line, which MDX can reject inside a paragraph. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…hristopherk/harness-07-delivery-limits Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…/christopherk/harness-08-placeholders Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…ristopherk/harness-09-invocation-fields Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Base automatically changed from
feat/christopherk/harness-08-placeholders
to
main
November 14, 2026 00:20
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
chrisknvidia
deleted the
feat/christopherk/harness-09-invocation-fields
branch
November 14, 2026 00:32
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the invocation-field rule family to the
harnesscheck, plus unknown-field findings in Tier 1schema. Stacked on the placeholders PR.harnessrules:disable-model-invocation: Codex, Hermes and OpenCode ignore it, so the model can still use the skill on its own.agents/openai.yamlimplicit-invocation policy is Codex-only. Other harnesses still let the model use the skill, unlessdisable-model-invocationis also set.allowed-tools:Tier 1
schema:unknown_field(LOW) reports frontmatter fields outside the agentskills.io spec.Verification
make lintmake test: harness, schema, golden, commands, skip and publication-evidence suitesmake buildRelease Impact
CHANGELOG.md