# Rules-file changes, December 2026: what changed in CLAUDE.md, AGENTS.md, GEMINI.md and Cursor rules loading

Canonical page: https://agentcartridge.com/rules/changes/december-2026
Last checked: Nov 30, 2026 (every line below was checked against the linked official source on this date).

What this is: recent changes to how AI coding tools load rules and instruction files (Cursor rules, CLAUDE.md, AGENTS.md, Copilot instructions, Windsurf / Devin Desktop rules, Gemini CLI GEMINI.md), and what is still true going into December 2026. A line is only added when an official changelog or doc confirms it. Nothing here is a guess.

## Announced for December 2026

None yet. As of Nov 30, 2026, none of the official changelogs listed at the end of this page announce a dated December 2026 change to how these tools load rules or instruction files. New lines are added during December only when an official source confirms them.

## Recent changes (newest first)

- **Nov 24, 2026 — Claude Code v2.1.332:** fixed CLAUDE.md and rules files being sent to the model a second time, in most cases, after a session moves into a worktree under `.claude/worktrees` (EnterWorktree) or is resumed there. What to do: if you run Claude Code in worktrees, update so your instructions are not loaded twice. Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.332
- **Nov 20, 2026 — Claude Code v2.1.330:** fixed link reference definitions (reference-style links like `[docs]: https://...`) being dropped from CLAUDE.md and memory files that contain an HTML comment. What to do: if your CLAUDE.md uses both, update, or use inline links. Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.330
- **Nov 18, 2026 — Claude Code v2.1.328:** `/code-review` on most models now reports only bugs and CLAUDE.md violations (run `/simplify` for reuse and cleanup suggestions), and marks each finding Important, Pre-existing or Nit. What to do: write the review rules you want enforced into CLAUDE.md. Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.328
- **Nov 13, 2026 — OpenAI Codex CLI 0.168.0:** "Warn when project instructions exceed the configured byte budget" (#59445). Codex stops adding AGENTS.md files once the combined size reaches `project_doc_max_bytes` (32 KiB by default, per the AGENTS.md docs). What to do: if you see the warning, raise `project_doc_max_bytes` in `~/.codex/config.toml` or split instructions across nested folders. Sources: https://learn.chatgpt.com/docs/changelog and https://github.com/openai/codex/releases/tag/rust-v0.168.0 and https://learn.chatgpt.com/docs/agent-configuration/agents-md
- **Nov 4, 2026 — Gemini CLI v0.67.0:** "exclude IDE settings and GEMINI.md files from open file context" (PR #29848), so a GEMINI.md open in your editor is no longer also sent as open-file context through the IDE integration. Source: https://github.com/google-gemini/gemini-cli/releases/tag/v0.67.0

Checked with no rules-file loading change in November 2026: Cursor changelog (latest entries Nov 5 and Nov 6, 2026), GitHub changelog feed (latest entries through Nov 25, 2026), Windsurf / Devin Desktop changelog (latest v3.15.14, Nov 25, 2026).

## Still true going into December (checked Nov 30, 2026)

- **Cursor:** project rules live in `.cursor/rules` and must use the `.mdc` extension; a plain `.md` file there is ignored. AGENTS.md works in the project root and subdirectories. Source: https://cursor.com/docs/rules
- **Claude Code:** reads CLAUDE.md files and `.claude/rules/`; it can also read a repo's AGENTS.md in place of CLAUDE.md (added in v2.1.277, Sep 18, 2026; set under Project instructions in `/config`). Source: https://code.claude.com/docs/en/memory
- **OpenAI Codex:** reads AGENTS.override.md or AGENTS.md per folder and stops adding files once the combined size reaches `project_doc_max_bytes` (32 KiB by default). Source: https://learn.chatgpt.com/docs/agent-configuration/agents-md
- **GitHub Copilot:** path-specific files go in `.github/instructions`, the name must end in `.instructions.md`, and the file starts with an `applyTo` frontmatter block. Optional `excludeAgent: "code-review"` or `"cloud-agent"` keeps the file away from one of them. The nearest AGENTS.md in the directory tree takes precedence. Source: https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions
- **Gemini CLI:** default context file name is GEMINI.md; it loads `~/.gemini/GEMINI.md`, GEMINI.md files in your workspace folders and their parents, and just-in-time GEMINI.md files when a tool touches a folder (up to a trusted root). Source: https://geminicli.com/docs/cli/gemini-md/

## Check your own repo

- Free read-only script that lists which rules and instruction files a repo loads and flags 3 silent failures: https://agentcartridge.com/rules/check
- Which file each tool reads, in one table: https://agentcartridge.com/rules/which-file

## Sources checked on Nov 30, 2026

- Claude Code changelog: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md (release dates from the GitHub releases page)
- OpenAI Codex changelog: https://learn.chatgpt.com/docs/changelog
- Gemini CLI releases: https://github.com/google-gemini/gemini-cli/releases
- Cursor changelog: https://cursor.com/changelog
- GitHub changelog: https://github.blog/changelog/
- Windsurf / Devin Desktop changelog: https://windsurf.com/changelog

Sister project: AgentRank's December 2026 calendar of AI tool price and billing dates: https://agentrank.tools/changes/december-2026/
