Configure
Repository memory
An opt-in record of what each repository's reviews found and which findings merged pull requests fixed.
Configure
An opt-in record of what each repository's reviews found and which findings merged pull requests fixed.
Repository memory keeps a history of each repository's security findings (what reviews reported, on which pull requests, and which findings a merged pull request fixed) and short observations about how the code works. It is off until you turn it on, per repository, in the repository's Memory tab.
Memory is context, never policy. It can't change which scanners run, a finding's severity, or whether a check passes or fails.
While memory is on, every completed review adds:
Reviews that ran only scanners count the same as reviews with an AI reviewer. A review is recorded after it publishes to GitHub; if recording fails, the review is unaffected and its log says so.
When a pull request merges, OpenVScan marks a finding as fixed only when all of these hold:
A finding that merely disappears doesn't count: not when a scanner failed, was skipped or was turned off, and never for AI findings, whose output varies between runs. A pull request reviewed only once (the When opened trigger) has no earlier review to compare, so its fixes aren't recorded.
If a fixed finding is reported again later, it reopens and counts as having come back.
The Finding history panel lists each finding with its status. You can mark one as a real issue or a false positive, or mark it fixed yourself. Your verdict is context for later triage: the finding is still reported by its scanner and still counts toward the check.
Observations are short notes about the codebase, in four kinds:
| Kind | Where it comes from |
|---|---|
| Fix | OpenVScan, when a merged pull request fixed a finding (see above). At most 25 per merge, most severe first. |
| Recurring pattern | OpenVScan, when the same class of finding (same CWE, or same scanner rule) was introduced by two or more different pull requests in one area of the code (its first two directories). A finding counts as introduced by a pull request when it sat on lines that pull request changed. False positives don't count. |
| Convention | You, or a proposal from a merged pull request. How this codebase does something, e.g. "Every query in src/api is scoped by tenant through withTenant()." |
| Architecture | You, or a proposal. How parts fit together, e.g. "Every payment goes through src/billing/gateway.ts." |
Each observation has a status:
Editing an observation saves a new version; earlier versions are kept. If two people change the same observation at once, the second is asked to reload. Reject keeps a proposal from being suggested again; Delete removes it for good (OpenVScan may notice the same fix or pattern again later). Every action is kept as an audit trail.
Only observations in use will ever reach a reviewer.
On a merged pull request whose merged commit OpenVScan reviewed, Learn asks the repository's AI agent, with your credential, to read that pull request's diff and propose up to 10 conventions or architecture notes. Each pull request is read once; a failed read can be retried, up to 3 tries in all. Two ways to do it for many pull requests:
Pull requests are read one at a time per repository, each in its own sandbox. Every read uses your agent credential, so it counts against your API usage or subscription limits like a review does.
The agent gets the diff, the pull request's title and file list, the default branch as it is now, and the conventions and architecture notes memory already holds (up to 200). It gets no findings, and network access to its model API only, as in a review. Reading the current code keeps it from writing down something a later pull request changed. Seeing the existing notes keeps it from repeating one in other words.
It can also flag existing notes that the current code contradicts. A flagged note shows a warning naming the pull request being read. An observation in use goes back to Needs a look, out of reviews until you mark it still true, edit or archive it. One to review stays there, with the warning. The agent never confirms, rejects or deletes anything.
Its output is checked before anything is kept. A proposal is dropped when it:
Proposals that pass wait under To review and reach no reviewer until you confirm them. Unconfirmed proposals are deleted after 180 days. The agent's raw output isn't kept.
When a repository with memory on gets an AI review, the agent is given:
The prompt fences the notes and tells the agent they are context: never a reason to skip, dismiss or downgrade a finding, and the code wins when they disagree. Memory doesn't change the scanners, severities or the gate (see Results on GitHub).
Each review's log says how many notes it got. Which observations (and which versions) a review saw is journaled, without their text. Turning memory off stops this at once, from the next review. If memory can't be read, the review runs without it.
The Snapshot panel in the Memory tab sums up what memory holds: security conventions and architecture notes in use, recurring patterns, recent fixes, where findings are open (by area, with the highest severity), what's been fixed and what came back, and the observations that need a look. Each observation says what it rests on: established by OpenVScan from its own records, written by a maintainer, or proposed by the agent and confirmed by a maintainer, with links to the pull requests, commits and lines it cites.
Download it as Markdown, for your team or a coding agent, or as JSON. Pick a past date to see it as it stood then: observations, edits, evidence and findings recorded later are left out. Observation statuses are today's, since their changes aren't versioned. The snapshot uses no AI and, like the rest of memory, is context, not policy. It never changes a file in your repository.
The Rewind panel sums up a period, at most a year: the last 30 or 90 days, a year, or dates you pick. Every number comes from memory's records, without AI, and says what it counts:
It lists what to keep in mind reading it: the share of the period memory holds data for, scanners that didn't run in every review, failed AI reviews and merges whose fixes couldn't be checked. Nothing is broken down by person. Download it as Markdown or JSON.
Both are also available to coding agents through the MCP server (get_memory_snapshot, get_memory_rewind).
Turning memory on imports the repository's reviews from the past year that OpenVScan already stored (up to 5,000, the most recent first), together with the merges between them. They're replayed in order through the same rules as live recording, so fixes, findings that came back and recurring patterns show up straight away. The import uses no AI and nothing beyond OpenVScan's own records; it runs in the background and the Memory tab says when it's done.
The tab also shows the periods memory was on. Turning it off stops recording; turning it on again imports what was missed, up to a year back. Reviews older than a year, or deleted, aren't imported.
Delete memory in the Memory tab removes everything recorded for the repository: findings, observations, their versions and evidence, your verdicts and the audit trail. The record of when memory was turned on and off, and of the deletion itself, stays, so coverage still adds up. Removing the repository from OpenVScan, uninstalling the GitHub App or deleting your account deletes its memory too.