1901 aligning coding standards skill discovery - #2358
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2358 +/- ##
==========================================
- Coverage 83.00% 81.69% -1.31%
==========================================
Files 185 163 -22
Lines 34924 22753 -12171
Branches 228 27 -201
==========================================
- Hits 28989 18589 -10400
+ Misses 5861 4161 -1700
+ Partials 74 3 -71
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
d6d15dc to
b538028
Compare
Bill Berry (WilliamBerryiii)
left a comment
There was a problem hiding this comment.
It looks like either the eval matrix job is broken, or the discovery system has a bug as the evals weren't run over the new tests. Might want to do a root cause analysis on that and file a bug.
f164d99 to
ff26b45
Compare
|
Bill Berry (@WilliamBerryiii) thanks for the review! |
add behavior tests - Reframe standards discovery via Workspace/User/Bundled origin precedence and coverage-based stacking - Add code-review stimuli: user-tier precedence, unknown-origin dedup, stacked coverage - Regenerate agent-behavior eval.yaml from partials
replaced with named origin references fixed spellcheck
…g-standards-skill-discovery
🔍 - Generated by Copilot
Pull Request
Description
Aligns the Code Review Standards perspective with platform-supported coding-standards skill discovery roots for issue #1901.
This PR updates the coding-standards standards subagent and docs to clarify that skill discovery starts from supported roots, then semantic matching selects relevant discovered candidates. It also documents same-name de-duplication, repository precedence over the built-in baseline, additive stacking for distinct skill names, and visible handling for contradictory distinct skills.
The change adds advisory Vally coverage for the requested merge-policy scenarios: no conflict, same-name collision, and contradictory distinct skills.
Related Issue(s)
Fixes #1901
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
prompt-builderagent and addressed all feedback.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md).github/hooks/*/*.json)evals/)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
User Request:
Run the Code Review Standards perspective on a Python diff when both built-in and repository-authored coding-standards skills are available.
Execution Flow:
Output Artifacts:
Success Indicators:
For detailed contribution requirements, see:
Testing
Automated validation performed:
pwsh scripts/evals/Build-AgentBehaviorSpec.ps1 -Force- passednpm run eval:lint:schema- passedFocused advisory Vally eval - passed
Command:
npx vally eval --eval-spec evals/agent-behavior/eval.yaml --tag scenario=merge-no-conflict,merge-name-collision,merge-content-contradiction --runs 1 --output-dir /tmp/vally-merge-resultsResult:
agent-behavior: passed (score: 100.0%, threshold: 70.0%)npm run lint:md -- docs/agents/code-review/language-skills.md docs/agents/code-review/README.md .github/agents/coding-standards/subagents/code-review-standards.agent.md- passednpm run lint:frontmatter- passednpm run lint:md-links- passednpm run spell-check- passedgit diff --check -- .github/agents/coding-standards/subagents/code-review-standards.agent.md docs/agents/code-review/README.md docs/agents/code-review/language-skills.md evals/agent-behavior/stimuli/code-review-standards.yml evals/agent-behavior/eval.yaml- passedVS Code diagnostics on touched files - passed
Manual testing was not performed.
Checklist
Required Checks
AI Artifact Contributions
/prompt-analyzeto review contributionprompt-builderreviewRequired Automated Checks
The following validation commands must pass before merging:
npm run lint:mdnpm run spell-checknpm run lint:frontmatternpm run validate:skills(N/A - no skill files changed)npm run lint:md-linksnpm run lint:ps(N/A - no PowerShell files changed)npm run eval:lint:schemanpm run plugin:generatenpm run docs:testSecurity Considerations
GHCP Artifact Maturity
Warning
This PR includes experimental GHCP artifacts that may have breaking changes.
.github/agents/coding-standards/subagents/code-review-standards.agent.md.github/agents/coding-standards/subagents/code-review-standards.agent.mdGHCP Maturity Acknowledgment
Additional Notes
This PR is intentionally scoped to coding-standards discovery and merge behavior only. It does not broaden security or accessibility skill discovery.