---
id: memory-discipline
track: coding
version: 0.0.6
label: advisory
keyword: advise
where: text
sha256: 505fccf9073f58c11959cf6963be660badd25fdccff4684524ece9c9d578c07d
source: https://github.com/open-coder-ai/chock-catalog/tree/1e60d211c1bb767152c6ab0167932da06ab3a10f/base/memory-discipline
catalog_ref: 1e60d211c1bb767152c6ab0167932da06ab3a10f
---

# Memory Discipline

memory-discipline · version 0.0.6

Advisory — Advisory only. It is skill text, and nothing stops a violation. Chock adds friction. It is not a security boundary. 

In a git repo: advisory (The agent reads the text, and nothing stops a violation.)



## What it does

Trigger: repeated mistakes, rediscovered patterns, preferences, non-derivable facts. avoid: persisting file contents, git history, or task intermediates as memory.

## Its label on each agent

- Claude Code (tested): Advisory — Advisory only. It is skill text, and nothing stops a violation. Builder: /coding/builder/#client=claude-code&p=memory-discipline
- Cursor (tested): Advisory — Advisory only. It is skill text, and nothing stops a violation. Builder: /coding/builder/#client=cursor&p=memory-discipline
- Codex (tested): Advisory — Advisory only. It is skill text, and nothing stops a violation. Builder: /coding/builder/#client=codex&p=memory-discipline
- GitHub Copilot (tested): Advisory — Advisory only. It is skill text, and nothing stops a violation. Builder: /coding/builder/#client=copilot&p=memory-discipline
- Devin (tested): Advisory — Advisory only. It is skill text, and nothing stops a violation. Builder: /coding/builder/#client=devin&p=memory-discipline
- Grok (tested): Not graded yet for Grok. Builder: /coding/builder/#client=grok&p=memory-discipline
- goose (tested): Not graded yet for goose. Builder: /coding/builder/#client=goose&p=memory-discipline
- Antigravity (tested): Not graded yet for Antigravity. Builder: /coding/builder/#client=antigravity&p=memory-discipline
- OpenHands (untested): Not graded yet for OpenHands. Builder: /coding/builder/#client=openhands&p=memory-discipline
- Kimi Code (untested): Not graded yet for Kimi Code. Builder: /coding/builder/#client=kimi-code&p=memory-discipline
- Factory Droid (untested): Not graded yet for Factory Droid. Builder: /coding/builder/#client=factory-droid&p=memory-discipline

## What it misses

This policy does not state what it misses.

## Latest change

0.0.6 · 2026-10-27 — Title wording only (IR-F40): "Memory Discipline Rule" is now "Memory Discipline". The id, guard and tests are unchanged.

## Provenance

- Tested by 0 of 3 cases run automatically
- SHA-256: `505fccf9073f58c11959cf6963be660badd25fdccff4684524ece9c9d578c07d`
- Catalog commit: https://github.com/open-coder-ai/chock-catalog/commit/1e60d211c1bb767152c6ab0167932da06ab3a10f
- Source: https://github.com/open-coder-ai/chock-catalog/tree/1e60d211c1bb767152c6ab0167932da06ab3a10f/base/memory-discipline (catalog path `base/memory-discipline`)
- Presets: Agent craft
- JSON: `/api/coding/policies/memory-discipline.json`
- Report a problem: https://chock.sh/report/?policy=memory-discipline&version=0.0.6&page=%2Fcoding%2Fpolicies%2Fmemory-discipline%2F
