Skip to content

MAINT: Update agent instructions and add AGENTS.md/CLAUDE.md pointers#103

Merged
oyamad merged 2 commits into
mainfrom
update-copilot-instructions
Jul 5, 2026
Merged

MAINT: Update agent instructions and add AGENTS.md/CLAUDE.md pointers#103
oyamad merged 2 commits into
mainfrom
update-copilot-instructions

Conversation

@oyamad

@oyamad oyamad commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary

Two related changes to the repository's AI-agent instructions:

1. Content update of .github/copilot-instructions.md (last touched in #77, before the performance refactoring #92-#101):

2. Make the instructions reachable by non-Copilot agents. .github/copilot-instructions.md is read natively only by Copilot; Claude Code reads CLAUDE.md, and Codex/Cursor-family agents read the cross-tool AGENTS.md convention. Per GitHub's documentation, Copilot code review — the one agent that ingests its instructions file without the ability to follow references — reads only .github/copilot-instructions.md, while all the other consumers are interactive agents that can chase a pointer. So the full content stays in the one place the pointer-incapable consumer requires, and:

  • AGENTS.md (root): one-line pointer for Codex/Cursor/Zed-family agents (also read by Copilot coding agent).
  • CLAUDE.md (root): imports the canonical file via Claude Code's @-reference, which inlines it automatically.

No content is duplicated; .github/copilot-instructions.md remains the single file to edit.

🤖 Generated with Claude Code (Claude Fable 5)

oyamad and others added 2 commits July 5, 2026 16:54
…actoring

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot code review only ingests .github/copilot-instructions.md and
cannot follow references, while Claude Code, Codex-family agents, and
Copilot coding agent are interactive and can; keep the full content in
the one place the pointer-incapable consumer reads, with one-line
pointers for everyone else.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 refreshes the repository’s AI-agent guidance and makes the canonical Copilot instructions discoverable to other agent tools, while keeping .github/copilot-instructions.md as the single source of truth.

Changes:

  • Expanded .github/copilot-instructions.md with architecture/performance invariants (point-eval contract, workspace/thread-safety, allocation expectations, sparse/dense dispatch, out-of-domain pitfalls) and updated repo/testing/benchmark notes.
  • Updated the quick-start example to keep next-state transitions within the approximation domain (using clamp) to avoid extrapolation pitfalls.
  • Added root-level AGENTS.md and CLAUDE.md as pointers for agents that don’t natively ingest Copilot’s instructions file.

Reviewed changes

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

File Description
CLAUDE.md Adds a Claude Code-friendly pointer to the canonical instructions file.
AGENTS.md Adds a cross-tool pointer to .github/copilot-instructions.md for other agents/editors.
.github/copilot-instructions.md Updates/expands the canonical agent instructions, including architecture notes and a domain-safe quick-start example.

@oyamad oyamad merged commit 22fbf73 into main Jul 5, 2026
6 checks passed
@oyamad oyamad deleted the update-copilot-instructions branch July 5, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants