Modernize agent instructions and prioritize security-first reviews - #8296
Merged
Conversation
Co-authored-by: maxtropets <16566519+maxtropets@users.noreply.github.com>
Co-authored-by: maxtropets <16566519+maxtropets@users.noreply.github.com>
Co-authored-by: maxtropets <16566519+maxtropets@users.noreply.github.com>
Co-authored-by: maxtropets <16566519+maxtropets@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
Max (maxtropets)
September 7, 2026 10:30
View session
Max (maxtropets)
marked this pull request as ready for review
September 7, 2026 10:33
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Four documented guidance inaccuracies remain unresolved.
Pull request overview
Modernizes repository instructions with clearer validation workflows and security-first review guidance.
Changes:
- Refines testing, formatting, linting, and changelog guidance.
- Consolidates repository-wide agent instructions.
- Adds contract-driven security and error-handling guidance.
File summaries
| File | Description | Review result |
|---|---|---|
.github/skills/testing/SKILL.md |
Updates test selection and execution guidance. | Two nits: narrow the build prerequisite scope and use direct ctest -N discovery. |
.github/skills/formatting-and-linting/SKILL.md |
Clarifies check scope and auto-fix safety. | Nit: document source-component dependency validation. |
.github/instructions/reviewing.instructions.md |
Establishes security-first review guidance. | No issues noted. |
.github/instructions/changelog.instructions.md |
Refines release and PR-reference rules. | No issues noted. |
.github/copilot-instructions.md |
Consolidates repository-wide agent instructions. | Nit: describe ci-checks.sh as the complete CI-check suite, not full local validation. |
Review details
Suppressed comments (4)
.github/copilot-instructions.md:34
scripts/ci-checks.shdoes not perform the builds or relevant test execution required above; it runs the static/check inventory inscripts/ci-checks.sh:38-52. Calling its success "full local validation" can lead agents to report complete validation after only this check suite. Describe it as the complete CI-check suite instead.
- Run `scripts/ci-checks.sh` without auto-fix for full local validation when prerequisites are available. Targeted checks do not constitute a full-suite pass.
.github/skills/formatting-and-linting/SKILL.md:37
includes-checks.shalso runscheck-source-dependencies.pyacross C/C++ files undersrc/(scripts/includes-checks.sh:45-49,scripts/check-source-dependencies.py:144-151). Describing this as public-header coverage means internal include/dependency changes may not be routed to the check; include source-component dependency validation in this row.
| `includes-checks.sh` | Public C++ headers and their uses | Public/private include and exported-header checks | No |
.github/skills/testing/SKILL.md:11
- Scope this prerequisite to C++ and end-to-end tests. As written, it also covers the Python SDK tests below, but the SDK CI job runs the editable install and
pytestwithout configuring or building CCF (.github/workflows/ci.yml:72-80). Following this instruction would unnecessarily block SDK-only validation on the full C++ build environment.
Follow the global validation policy for choosing relevant tests and reporting blockers. Before running tests, configure and build the affected targets using the documented development environment. The Copilot formatting/lint setup alone is not a full test environment.
.github/skills/testing/SKILL.md:17
tests.shalways installsuv, the SDK, and test requirements before forwarding toctest(tests/tests.sh:7-19,37), so this discovery command still requires Python/network setup and can fail before listing tests. This conflicts with the direct-discovery guidance on line 24; usectest -Nfor inventory discovery.
./tests.sh -N # Discover registered tests; does not run them
- Files reviewed: 5/5 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: maxtropets <16566519+maxtropets@users.noreply.github.com>
Amaury Chamayou (achamayou)
approved these changes
Sep 8, 2026
Max (maxtropets)
enabled auto-merge (squash)
September 8, 2026 13:18
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
Validation
ccf-*tag.