Add .github/copilot-instructions.md for AI coding agent guidance - #9
Closed
Sun Haoran (haoranpb) with Copilot wants to merge 2 commits into
Closed
Add .github/copilot-instructions.md for AI coding agent guidance#9Sun Haoran (haoranpb) with Copilot wants to merge 2 commits into
Sun Haoran (haoranpb) with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: haoranpb <27280733+haoranpb@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update Copilot instructions for AI coding agents
Add .github/copilot-instructions.md for AI coding agent guidance
Oct 8, 2025
Sun Haoran (haoranpb)
deleted the
copilot/update-copilot-instructions-file
branch
October 9, 2025 13:46
Marko Aleksandric (AleksandricMarko)
added a commit
that referenced
this pull request
Jul 31, 2026
…ding Applies Haoran's review feedback for the extensibility-request categories: - Rename to explicit `extensibility-request-implement` / `extensibility-request-triage` across category ids, enum members, classes, dataset files and module files (#1/#2/#4). - Slim both prompt templates to reflect real-world usage; category-specific rules now live in the ai-ext-fix / argus-triage skills (#3). - Merge duplicate `bcbench.results` import in commands/evaluate.py (#5). - Uptake #761: both ext entries subclass `RepoGroundedEntry` (#6/#7). - Triage `patch` defaults to None; stripped from the dataset (#8). - Constrain triage label fields with a `ManagedLabel` Literal to catch dataset typos (#9). - Move the ext dataset classes into dataset/extensibility_request.py, like code review (#10). - Drop `fetch_commit_if_missing` from both ext pipelines to match the other pipelines (#11). - Keep ext-implement judge-only for now; container build/publish noted as future work (#12). - Grade triage with the NL2AL LMChecklist instead of the code-review-style hybrid: `ExtRequestTriageResult` removed in favour of `JudgeBasedEvaluationResult`, expected_* fields replaced by an `expected` checklist, evaluators `lm_checklist`, core score `test_passed`; 17 triage entries migrated (#13/#14/#15/#16). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fb712366-b026-470c-9d09-1bd9e9f52a31
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.
Overview
This PR adds
.github/copilot-instructions.mdto provide essential guidance for AI coding agents working on the BC-Bench codebase. The file focuses on discoverable patterns and architectural knowledge that would help agents be immediately productive in this Business Central benchmarking project.What's Included
The instructions document (100 lines) covers:
Architecture & Data Flow
src/bcbench/), JSONL dataset (dataset/), PowerShell modules (scripts/powershell/), VS Code extensionCritical BC-Specific Patterns
environment_setup_version(e.g., "25.0") andproject_paths, plus test format using{codeunitID, functionName[]}instead of class::method notationbc_buildandbc_testcommands, no persistent shell stateget_logger(__name__)to maintain proper bcbench logger hierarchyEssential Commands & Workflows
pip install -e .)Early-Stage Emphasis
The instructions explicitly note the project is in early stages and emphasize keeping changes simple to enable fast iteration—avoiding premature optimization and focusing on validation through CLI commands rather than comprehensive test suites.
Why This Matters
As noted in the README, BC-Bench evaluates AI coding agents on Business Central (AL) development tasks. Having clear instructions helps AI agents:
References
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.