Skip to content

docs: defer branch to copilot instructions#38

Open
nam20485 wants to merge 2 commits intooptimizationfrom
opt/agent-expert
Open

docs: defer branch to copilot instructions#38
nam20485 wants to merge 2 commits intooptimizationfrom
opt/agent-expert

Conversation

@nam20485
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 22, 2026 11:23
@cursor
Copy link

cursor bot commented Jan 22, 2026

PR Summary

Standardizes branch resolution across agent documentation to use .github/copilot-instructions.md and tightens remote-fetch rules.

  • Replace hardcoded main with dynamic {branch} read from .github/copilot-instructions.md in AGENTS.md, CLAUDE.md, GEMINI.md, QWEN.md, .gemini/GEMINI.md, .qwen/QWEN.md, and opencode-instructions.md
  • Clarify URL translation to substitute {branch} from the centralized config (fallback to main only if unavailable)
  • Add branch configuration authority notes in ai-shared-agent-context.md
  • Extend ai-core-instructions.md with an Expert Consultation entry (agent/agent-instructions-expert.md) for workflow/branch resolution lookup

Written by Cursor Bugbot for commit ae912c1. Configure here.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR centralizes branch configuration management by deferring all branch values to a single source of truth in .github/copilot-instructions.md. Previously, agent-specific instruction files hardcoded the branch value (typically main), which required manual updates across multiple files when switching branches.

Changes:

  • Replaced hardcoded branch values with instructions to read from .github/copilot-instructions.md<configuration><branch>
  • Added branch configuration authority section to ai-shared-agent-context.md
  • Added expert consultation reference to ai-core-instructions.md for workflow lookups
  • Updated branch strategy sections in agent-specific files to enforce the new pattern

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
opencode-instructions.md Replaced hardcoded main branch with dynamic reference to copilot instructions
ai_instruction_modules/ai-shared-agent-context.md Added branch configuration authority section with fallback rules
ai_instruction_modules/ai-core-instructions.md Added reference to Agent Instructions Expert subagent for instruction lookups
QWEN.md Replaced hardcoded main branch with dynamic reference to copilot instructions
GEMINI.md Replaced hardcoded main branch with dynamic reference to copilot instructions
CLAUDE.md Removed comment and hardcoded main branch, replaced with dynamic reference
AGENTS.md Replaced hardcoded main branch with dynamic reference to copilot instructions
.qwen/QWEN.md Updated branch configuration, removed comments, updated branch strategy section, and added fallback guidance
.gemini/GEMINI.md Updated branch configuration, removed comments, updated branch strategy section, and added fallback guidance

…, ML Engineer, Mobile Developer, and more

- Introduced GitHub Expert agent for workflow automation and repository management.
- Added ML Engineer agent for productionizing machine learning workflows.
- Created Mobile Developer agent for native and hybrid mobile app development.
- Developed ODB++ Expert agent for specialized knowledge on ODB++ specification.
- Implemented Orchestrator agent for coordinating multiple specialized agents.
- Added Performance Optimizer agent for system efficiency and scalability.
- Created Planner agent for converting strategic goals into actionable plans.
- Introduced Product Manager agent for aligning delivery plans with customer value.
- Developed Prompt Engineer agent for designing system prompts and evaluations.
- Added QA Test Engineer agent for defining test strategies and executing validation.
- Created Researcher agent for gathering context and producing actionable briefs.
- Implemented Scrum Master agent for facilitating agile ceremonies and team effectiveness.
- Developed Security Expert agent for threat modeling and security hardening.
- Added UX/UI Designer agent for user experience and interface design.
- Updated ai-workflow-assignments with new validation scripts for expert invocation and branch deferral.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants