Add comprehensive GitHub Copilot configuration
@anakrish is already working on this.
Since Apr 25, 2026.
- #693 by @copilot-swe-agent — closed without merging
- Dominant language
- Rust
- Stars
- 346
- Forks
- 75
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 15
Description
Summary
Add a complete GitHub Copilot configuration for regorus with layered architecture: instructions, knowledge files, skills, role-based agents, CI validation, and architecture documentation.
Reference Implementation
A complete reference implementation exists at branch anakrish:copilot-config. Replicate all new files from that branch exactly. The 47 files have been carefully designed based on deep codebase analysis.
Use gh api repos/anakrish/regorus/git/trees/copilot-config?recursive=1 or browse the branch to discover all files. Then fetch each file content and recreate it in this repository.
Files to Create (47 files)
Instructions (auto-loaded by Copilot)
.github/copilot-instructions.md— Lean ~5KB orientation document with knowledge file reference table.github/copilot-code-review-instructions.md— "Think freely" review guide with severity categories (🔴🟠🟡🔵⚪) and domain context
Knowledge Files (20 files in docs/knowledge/)
Deep institutional knowledge per subsystem (~70KB total):
value-semantics.md— Value type, Undefined propagation, three-valued logicrvm-architecture.md— VM execution modes, frame stack, serializationbuiltin-system.md— Builtin registration, feature gating, OPA conformanceffi-boundary.md— Safety across 9 bindings, handles, panic containmentfeature-composition.md— Feature flag interactions, no_std boundaryerror-handling-migration.md— anyhow→thiserror migration strategypolicy-evaluation-security.md— DoS protection, resource limitsrego-semantics.md— Evaluation model, undefined propagation, backtrackinginterpreter-architecture.md— Context stack, scope management, rule lifecyclecompilation-pipeline.md— Scheduler, loop hoisting, destructuring plannerazure-policy-language.md— Azure Policy evaluation model, effectsazure-rbac-language.md— RBAC condition interpreter, ABAC builtinsengine-api.md— Public API surface, add_policy→compile→eval flowtime-builtins-compat.md— Go time.Parse compatibilitylanguage-extension-guide.md— Adding new policy languagestooling-architecture.md— Language server, linter, analyzer patternscausality-and-partial-eval.md— Causality tracking and partial evaluationrego-compiler.md— Worklist algorithm, expression codegen, register allocationazure-policy-aliases.md— Alias registry, ARM normalization pipelinetelemetry-and-diagnostics.md— Error traceability, structured diagnostics, cloud-scale telemetry
Agents (16 files in .github/agents/)
Role-based personas with YAML frontmatter (description, tools, user-invocable, argument-hint):
red-teamer.agent.md— Adversarial thinking, break assumptionssemantics-expert.agent.md— OPA/Rego correctness, Undefined, three-valued logicarchitect.agent.md— System design, FFI, extensibility, feature flagsperformance-engineer.agent.md— Azure scale, allocations, hot pathstest-engineer.agent.md— Test coverage, property tests, edge casesverification-engineer.agent.md— Formal proofs, invariants, Miri/Z3security-auditor.agent.md— Threat models, controls, audit evidencereliability-engineer.agent.md— Failure modes, determinism, panic safetysupport-engineer.agent.md— Debuggability, error quality, cloud-scale telemetryci-engineer.agent.md— Pipelines, caching, build speedrefactorer.agent.md— Cleanup, simplification, automationapi-steward.agent.md— Semver, 9-binding parity, deprecationprogram-manager.agent.md— Scope, prioritize, customer impactdemo-engineer.agent.md— Examples, tutorials, showcasedx-engineer.agent.md— Contributor & integrator frictiontech-lead.agent.md— Reconcile all agents, constitutional rules, decide
Skills (6 directories in .github/skills/)
Each contains a SKILL.md with YAML frontmatter:
thorough-review/SKILL.md— Multi-agent parallel review with cross-agent context protocoldesign-alternatives/SKILL.md— Multi-approach evaluation against 9 dimensionsadd-builtin/SKILL.md— Step-by-step guide for adding a new builtin functionopa-conformance/SKILL.md— OPA conformance testing workflowsecurity-review/SKILL.md— Adversarial threat analysisverification/SKILL.md— Miri, property testing, Z3, Verus strategies
CI Workflows
.github/workflows/copilot-setup-steps.yml— Cloud agent environment: Rust 1.92.0 + clippy + rustfmt + cargo cache.github/workflows/copilot-config-validation.yml— YAML syntax, reference checking, staleness detection
Architecture Documentation
docs/copilot-architecture.md— How all layers connect, extension guide, PR review flow diagram
Implementation Instructions
- Fetch the complete file listing from
anakrish:copilot-configbranch - For each file, fetch its content from the reference branch
- Create the file with identical content in this repository
- Ensure all 47 files are created
- The commit message should follow conventional commits:
feat: add comprehensive GitHub Copilot configuration
Acceptance Criteria
- All 47 files from the reference branch are created with matching content
-
copilot-config-validation.ymlworkflow passes (YAML syntax, references) - No existing files are modified or deleted
- Copyright headers present on files that need them
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.