From 560ce3c3b2b909643b33a7e55ed64e952366f9a7 Mon Sep 17 00:00:00 2001
From: Atharv Mantri
Date: Mon, 14 Sep 2026 15:15:51 +0530
Subject: [PATCH] feat: sync GitHub Copilot instructions
---
README.md | 5 ++--
apps/landing/app/docs/context-sync/page.tsx | 4 ++++
apps/landing/app/docs/page.tsx | 2 +-
apps/landing/app/docs/security/page.tsx | 3 ++-
apps/landing/app/page.tsx | 13 +++++-----
packages/cli/tests/test_cli.py | 5 ++--
.../core/memoryguard_core/context_sync.py | 1 +
packages/core/tests/test_context_sync.py | 24 +++++++++++++++++++
8 files changed, 45 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 04f9850..df0ef6e 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
**Stop re-explaining your project to AI coding agents.**
-MemoryGuard is a local-first developer CLI that turns durable project facts into generated context files for coding agents. It helps keep `AGENTS.md`, `CLAUDE.md`, `MEMORY.md`, and Cursor rules aligned with the current truth of your project, while redacting secret-looking values before they reach generated context.
+MemoryGuard is a local-first developer CLI that turns durable project facts into generated context files for coding agents. It helps keep `AGENTS.md`, `CLAUDE.md`, `.github/copilot-instructions.md`, `MEMORY.md`, and Cursor rules aligned with the current truth of your project, while redacting secret-looking values before they reach generated context.
**[Visit the public alpha site and quickstart](https://atharvmantri.github.io/MemoryGuard/)**
@@ -218,6 +218,7 @@ MemoryGuard Context Sync writes managed blocks to:
- `AGENTS.md`
- `CLAUDE.md`
+- `.github/copilot-instructions.md`
- `MEMORY.md`
- `.cursor/rules/memoryguard.mdc`
@@ -245,7 +246,7 @@ MemoryGuard redacts common secret-looking values before displaying capture candi
projectmem is stronger today for event-sourced memory, pre-commit warnings, cross-project memory, and judgment workflows.
-MemoryGuard has a different focus: context-file sync for `AGENTS.md`, `CLAUDE.md`, `MEMORY.md`, and Cursor rules. MemoryGuard's wedge is current project truth, supersession of outdated decisions, and secret-safe generated context. Different focus, not fake superiority.
+MemoryGuard has a different focus: context-file sync for `AGENTS.md`, `CLAUDE.md`, `.github/copilot-instructions.md`, `MEMORY.md`, and Cursor rules. MemoryGuard's wedge is current project truth, supersession of outdated decisions, and secret-safe generated context. Different focus, not fake superiority.
## Roadmap
diff --git a/apps/landing/app/docs/context-sync/page.tsx b/apps/landing/app/docs/context-sync/page.tsx
index d3be5dc..6076cbb 100644
--- a/apps/landing/app/docs/context-sync/page.tsx
+++ b/apps/landing/app/docs/context-sync/page.tsx
@@ -16,6 +16,9 @@ export default function ContextSyncPage() {
Treat generated context as code-adjacent output. Review{" "}
AGENTS.md, CLAUDE.md,{" "}
+ .github/copilot-instructions.md, MEMORY.md,{" "}
MEMORY.md, and the Cursor rules before committing or
sharing them.
diff --git a/apps/landing/app/docs/page.tsx b/apps/landing/app/docs/page.tsx
index 79e55b7..a56c72f 100644
--- a/apps/landing/app/docs/page.tsx
+++ b/apps/landing/app/docs/page.tsx
@@ -16,7 +16,7 @@ const cards = [
[
"/docs/context-sync",
"Context Sync",
- "Render approved project memory into AGENTS.md, CLAUDE.md, MEMORY.md, and Cursor rules.",
+ "Render approved project memory into AGENTS.md, CLAUDE.md, Copilot instructions, MEMORY.md, and Cursor rules.",
],
[
"/docs/security",
diff --git a/apps/landing/app/docs/security/page.tsx b/apps/landing/app/docs/security/page.tsx
index 1987ad9..67aa771 100644
--- a/apps/landing/app/docs/security/page.tsx
+++ b/apps/landing/app/docs/security/page.tsx
@@ -31,7 +31,8 @@ export default function SecurityPage() {
MemoryGuard attempts to detect and omit secret-looking content
before rendering generated context. This is a guardrail, not a
guarantee. Review AGENTS.md, CLAUDE.md,{" "}
- MEMORY.md, and the Cursor rules before publishing.
+ .github/copilot-instructions.md, MEMORY.md, and
+ the Cursor rules before publishing.