Creuto is now an OpenAI Select Partner Read More
Agentic autofix now reads Copilot Memory for context and stores each fix pattern it creates. What that changes about security review, and what to check first.

Agentic autofix now reads your repository's stored memories before it proposes a security fix, and writes the successful fix back as a memory for next time. GitHub announced it on 25 September 2026. That closes a loop, and it also changes what a reviewer is actually approving: a patch that matches your codebase's habits is not the same thing as a patch that is correct.
The short version of what changed:
Copilot Memory is not a general context window. GitHub's documentation describes two kinds of memory: repository-level facts — coding conventions, architectural decisions, build commands, project-specific rules — and user-level preferences about how an individual wants to work with Copilot. Repository facts are visible to anyone with access to Memory in that repository. User preferences stay with the user.
Three constraints in that documentation matter more than the headline. Repository facts are stored with citations pointing to the code that supports them, and Copilot re-checks those citations against the current branch before use, so only validated facts are applied. Facts are created only by users with write access who have Memory enabled. And anything stored but unused is deleted after 28 days, with the timer resetting when an entry is validated and used.
Enablement is per user, not per repository. On individual plans it is on by default; on organization- and enterprise-managed plans an administrator enables the policy first and individual users can then opt out. GitHub also notes that facts can be captured from pull requests that were closed without merging — the validation step is what stops a rejected approach from surviving as a rule.
This is our argument, not GitHub's. Memory optimises for consistency with what your repository already does. Security review asks a different question: does this change remove the vulnerability without changing what the program means. Those two questions agree most of the time, and the interesting cases are the ones where they do not.
The failure mode worth naming is a bad pattern promoted to a standard. If the first autofix in a repository sanitises input in a way that happens to pass CodeQL but leaves an encoding edge case open, that shape is now stored as the fix pattern and is available to the next alert, to Copilot code review and to the cloud agent. One under-reviewed merge becomes the house style. Nothing in the mechanism distinguishes a pattern that worked from a pattern that was merely accepted.
GitHub's own responsible-use documentation is candid about the underlying limits, and it is worth quoting to your team rather than paraphrasing. It lists semantic errors — suggestions that are syntactically valid but change program semantics, because "the system has no understanding of the programmer's intent" — along with location errors, partial fixes, and fixes that "fail to remediate the underlying vulnerability or introduce new vulnerabilities". It warns that suggested dependency changes may include fabricated packages "published under statistically probable names". And it states plainly that you must always review suggestions and edit them as needed before accepting. Memory does not retire any of those warnings; it makes the confident-looking ones more frequent.
Trust the diff, not the provenance. In the systems we build, the checks that catch the difference between a matching fix and a correct one are boringly specific:
The review economics here are the same ones we wrote about in AI code review automation and auto-approval: generation gets cheap, verification does not, and the queue moves to review. Memory makes generation cheaper again. It does nothing for the other side.
Turn it on if you have real test coverage on the paths CodeQL tends to flag, a security reviewer who reads diffs rather than statuses, and someone who will audit stored repository facts. Repository owners can review and manually delete the facts stored for their repository, and that is the control that makes the feature safe rather than merely convenient. Put it in someone's calendar; an unaudited memory store is a style guide nobody wrote.
Wait if your repository is in the state most alert backlogs are actually in. Where nobody is triaging, autofix with memory will generate plausible fixes faster than anyone can evaluate them, and the backlog becomes a merge queue instead of an alert queue. That is a worse problem, not a smaller one — we made the same argument about what to automate and what to keep in vulnerability triage.
Also wait if your confidence rests on the tests passing. A fix that satisfies your suite while quietly changing semantics is precisely what a suite with high line coverage and low assertion quality will wave through, which is the gap between coverage and mutation testing. And remember that both features are public preview: GitHub reserves the right to change behaviour, so do not build a compliance process on this as of September 2026.
The strongest case for the feature is the one GitHub makes: a codebase has conventions, and a reviewer who learns them produces better work over time, so a tool that learns them should too. That is true. The difference is that a human reviewer who learns the wrong convention can be told, in a conversation, that it was wrong. A memory store has to be found and deleted.
The practical next step is smaller than a policy decision. Open the last three merged autofix pull requests in your busiest repository and check whether anyone actually read the diff, or whether the green tick was the review. That answer tells you whether to enable memory now or fix your review path first. If review capacity is the real constraint, that is a QA and automation problem before it is a Copilot one.
Agentic autofix is GitHub's code scanning feature that generates fix suggestions for security alerts. As of 25 September 2026 it also reviews existing Copilot memories for repository context when resolving an alert, and stores each successful fix pattern as a memory. It is in public preview.
With Copilot Memory enabled, Copilot stores repository-level facts such as coding conventions, architectural decisions and build commands, plus user-level preferences. Repository facts carry citations that are revalidated against the current branch before use, and any stored entry that goes unused is deleted after 28 days.
No. GitHub's responsible-use documentation states you must always review Copilot Autofix suggestions and edit them as needed before accepting, and lists semantic errors, partial fixes and fabricated dependency names among its limitations. Verify CI passes and the alert is resolved before merging.
Copilot Memory is enabled per user rather than per repository. On individual plans it is on by default. On organization- and enterprise-managed plans an administrator must enable the Copilot Memory policy first, after which individual users can opt out of it themselves.
Repository owners can review and manually delete repository-level facts stored for their repository. Users can view and delete their own user-level preferences on any plan, and on Copilot Business and Enterprise plans administrators can export or delete user preferences in bulk or per user.
Ready to take the first step towards unlocking opportunities, realizing goals, and embracing innovation? We're here and eager to connect.
11th Floor, O-Hub, Chandaka Industrial Estate, Infocity, Bhubaneswar, Odisha 751024
Level 4, 11 York Street Sydney Startup Hub Sydney, NSW – 2000
30 N. Đinh Nghệ, Phước Mỹ Sơn Trà, Đà Nẵng / Da Nang City – 550000
Level 25, AIDP Business Tower, Dubai Marina, United Arab Emirates
50 Beauchamp Street, Wellington, WGN 5028, New Zealand