Skip to content

Instantly share code, notes, and snippets.

View ChiefStarKid's full-sized avatar

Joseph Solomon ChiefStarKid

View GitHub Profile
@ChiefStarKid
ChiefStarKid / solomon-framework.md
Last active November 28, 2026 12:43 — forked from karpathy/llm-wiki.md
Solomon Framework: a fork of Karpathy's LLM Wiki for agents on a context budget. Corrections become tested rules; rules the model outgrows are retired.

Solomon Framework

When an AI harness becomes your operating system, it must manage what it loads, what it writes and how its sessions work together, without taking more of your attention than it saves.

In plain terms: an AI agent's memory usually only grows. Every correction adds a rule, and every rule costs context in every session. This method keeps that memory small and accurate. It records each correction as a rule with a test, re-tests the rules whenever the model changes, and retires the ones the model no longer needs. The memory gets smaller as models get better.

For example, "read a sheet's header before writing to it" guards against a model weakness. If a newer model gets it right without being told, both in a clean test and in real sessions, the rule retires and stops costing context. "Sensor readings are stored in tenths of a degree" is private knowledge no model can guess, so it stays.

Use this if you work with an AI agent every day, it keeps persistent memory or instruction files, you keep