codejunkie99

Continual Memory Policy Model — AI skill for Claude Code

AI community

Experimental local-first memory-policy research for Codex and Claude Code, with delayed feedback and gated adapter learning.

How to install Continual Memory Policy Model

This entry records only its repository, not the path inside it, so there is no exact command to give. Open codejunkie99/continual-memory-policy-model and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Continual Memory Policy Model does

Experimental local-first memory-policy research for Codex and Claude Code, with delayed feedback and gated adapter learning.

Alternatives in AI

  • Open Science — Open Science Desktop — local-first, model-agnostic AI research workbench for macOS, Windows & Linux 1.5k ★
  • Abu Cowork — Open-source alternative to Claude Cowork — a local-first AI agent desktop app · multi-model · self-evolving sk 349 ★
  • Engrim — The Universal Cross-Model Episodic Memory Standard 219 ★

README

Continual Memory Policy Model

[![Status: experimental](https://img.shields.io/badge/status-experimental-C77900)](#experimental-status-and-safety) [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-1F6B3A)](pyproject.toml) [![License: MIT](https://img.shields.io/badge/license-MIT-1C1917)](LICENSE)

[!CAUTION] **Experimental research software.** This repository is not a production memory service, medical or legal record system, or autonomous online-learning system. The included evaluations use small, partly authored trajectories. Keep human review, privacy controls, evaluation gates, and rollback in the loop.

An executable research scaffold for a small model that decides **what an AI agent should remember**. Facts stay in an external SQLite memory store. The policy chooses `WRITE`, `UPDATE`, `DELETE`, `LINK`, `COMPACT`, or `NOOP`, then learns periodically from what happened after those choices.

![Detailed architecture of the continual memory policy model](docs/diagrams/system-architecture.svg)

The idea in one minute

The project separates two kinds of learning:

  1. Memory changes immediately. A conversation can add, revise, connect, combine, retire, or ignore information in the external database.
  2. Model weights change later. Outcomes are collected into a training buffer. A candidate LoRA adapter is trained, tested, and promoted only after an explicit human decision.

That means a useful memory can be written at step 40, recalled at step 8,000, and receive delayed credit when the later task succeeds. A harmful or stale memory can receive negative credit. Credit is an inspectable heuristic, not proof that the memory caused the result.

What people see

The **Memory Center** is a local, read-only UI for everyday inspection. It uses plain language first and keeps the technical evidence one level deeper.

![Detailed map of the Memory Center interface](docs/diagrams/memory-center.svg)

The UI includes:

  • Home: what is