From fb4bfc1ae79af6bff300c8312dd58de6bc3c8384 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sat, 4 Jul 2026 11:23:05 +0000 Subject: [PATCH] fix(kyberforge): apply audit findings to agent-audit skill Remove phantom cross-file name-match claim from SKILL.md manual fallback list (validate.sh has no such check). Fix broken bats stem-mismatch test to overwrite the Copilot file instead of the CC file, exercising the actual Copilot stem check. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_0147vXtL5sP6vorDdqXGJJU9 --- plugins/kyberforge/skills/agent-audit/SKILL.md | 2 +- plugins/kyberforge/skills/agent-audit/tests/validate.bats | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kyberforge/skills/agent-audit/SKILL.md b/plugins/kyberforge/skills/agent-audit/SKILL.md index 1823f17..b0a58cd 100644 --- a/plugins/kyberforge/skills/agent-audit/SKILL.md +++ b/plugins/kyberforge/skills/agent-audit/SKILL.md @@ -58,7 +58,7 @@ If a description finding is borderline, read `references/description-quality.md` **Pair consistency (cross-file):** - Both files exist — FAIL if counterpart is missing (kyberforge project convention; not a platform requirement from either CC or Copilot — label as such) -- The following checks are covered automatically by `validate.sh`; apply them manually only when the script cannot run: `name` field matches between CC and Copilot files — FAIL if mismatch; both system prompt bodies non-empty — FAIL if either is empty +- The following checks are covered automatically by `validate.sh`; apply them manually only when the script cannot run: both system prompt bodies non-empty — FAIL if either is empty ## Step 3 — Report diff --git a/plugins/kyberforge/skills/agent-audit/tests/validate.bats b/plugins/kyberforge/skills/agent-audit/tests/validate.bats index 0aa4e53..d6b3d6f 100644 --- a/plugins/kyberforge/skills/agent-audit/tests/validate.bats +++ b/plugins/kyberforge/skills/agent-audit/tests/validate.bats @@ -200,7 +200,7 @@ EOF @test "fails when frontmatter name does not match filename stem" { local dir="$TMPDIR/agents" make_plugin_pair "$dir" "my-agent" - cat > "$dir/my-agent.md" < "$dir/my-agent.agent.md" <