LLMWikis Active Context Diet
LlmWikis should teach the hot/cold memory pattern and also follow it internally.
Metadata
| Field | Value |
|---|---|
| Source site | aiwikis.org |
| Source URL | https://aiwikis.org/ |
| Canonical AIWikis URL | https://aiwikis.org/aiwikis/files/wiki-concepts-llmwikis-active-context-diet-md-12a86e5a/ |
| Source reference | wiki/concepts/llmwikis-active-context-diet.md |
| File type | md |
| Content category | llm-wiki |
| Last fetched | 2026-06-22T01:56:21.9510185Z |
| Last changed | 2026-05-15T23:02:00.0389009Z |
| Content hash | sha256:12a86e5aa70628b1db330c5a7c07e195f81790ea910d46dcc3efd38c647cd1d0 |
| Import status | unchanged |
| Raw source layer | data/sources/aiwikis/wiki-concepts-llmwikis-active-context-diet-md-12a86e5aa706.md |
| Normalized source layer | data/normalized/aiwikis/wiki-concepts-llmwikis-active-context-diet-md-12a86e5aa706.txt |
Current File Content
Structure Preview
- LlmWikis Active Context Diet
- Hot Context Belongs In LlmWikis
- Cold Memory Belongs In AIWikis
- Prevention Rule
- Promotion Rule
- Non-Claims
- Related Nodes
Raw Version
---
uai_id: "0ffc640a-a59e-4a04-beaf-735543c1084a"
type: "concept"
owner: "AIWikis maintainers"
status: "Reviewed"
source_status: "local synthesis from LlmWikis internal memory reorganization"
sensitivity: "public-safe source-side memory"
agent_use: "load when deciding what LlmWikis files should stay in routine handoff context versus AIWikis long-term memory"
lineage:
- "wiki/sources/llmwikis-internal-memory-reorg-2026-05-01.md"
- "raw/system-archives/2026-05-01-llmwikis-internal-memory-reorg.json"
- "content/pages/019-llmwikis-source-memory-guide.md"
source_trace:
- "LlmWikis AGENTS.md"
- "LlmWikis .uai/progress.uai"
- "LlmWikis .uai/decisions.uai"
confidence: 0.86
confidence_label: "reviewed-local"
last_linted: "2026-05-01T20:00:00Z"
handoff_export: "include"
aliases:
- "LlmWikis Active Context Diet"
- "LlmWikis Hot Context"
- "LlmWikis Cold Memory"
last_reviewed: "2026-05-15"
typed_relations:
part_of:
- "wiki/index.md"
depends_on: []
supersedes: []
contradicts: []
source_for: []
---
# LlmWikis Active Context Diet
LlmWikis should teach the hot/cold memory pattern and also follow it internally.
The hot layer is the short Project Handoff bundle a new AI loads by default. The cold layer is AIWikis source-side memory for old progress detail, pre-slim snapshots, and historical handoff wording.
## Hot Context Belongs In LlmWikis
Keep these short and loaded by default:
- `AGENTS.md` for current operating instructions.
- `readme.human` for the human-facing steering brief.
- `.uai/context.uai`, `.uai/constraints.uai`, `.uai/decisions.uai`, `.uai/progress.uai`, `.uai/test-plan.uai`, `.uai/file-handoff.uai`, and the other listed active records for current truth.
- Public handbook pages that explain the pattern without turning every old build note into front-door context.
Hot context should answer: what is true now, what is forbidden, what changed recently, what is next, and what checks fit the task.
## Cold Memory Belongs In AIWikis
Move or summarize these into AIWikis long memory:
- Older progress history that no longer changes the next action.
- Pre-slim snapshots of `AGENTS.md`, `readme.human`, and `.uai` records before a context diet.
- Retired public-surface explanations, route strategy, package lessons, and QA background that are recoverable but not needed on every pickup.
- Already-dispositioned archive files after explicit consolidation.
Cold memory should answer: what happened, what source text existed, why the project changed direction, and where can the original evidence be recovered?
## Prevention Rule
Do not solve context bloat by adding another always-loaded file. First ask whether the information is active operating truth, background evidence, or historical explanation.
If it is background, preserve it in AIWikis and keep only a pointer plus current conclusion in LlmWikis. If it is active truth, make it concise and place it in the typed `.uai` file that owns the topic.
## Promotion Rule
AIWikis memory can influence LlmWikis only after review and promotion.
A fact from AIWikis becomes active LlmWikis truth only when it is deliberately restated in LlmWikis `.uai`, `AGENTS.md`, `readme.human`, public handbook copy, code, tests, release notes, roadmap state, or package evidence.
## Non-Claims
This memory split does not create automatic sync. It does not make AIWikis the LlmWikis handbook source. It does not make archived `.uai` files conformance records. It is a maintainability pattern for keeping working memory lean while preserving source provenance.
## Related Nodes
- [[../sources/llmwikis-internal-memory-reorg-2026-05-01]]
- [[../logs/llmwikis-internal-memory-reorg-2026-05-01]]
- [[cross-site-memory-operations]]
- [[memory-coverage-and-claim-boundaries]]
- [[../index]]
Why This File Exists
This is a LLM Wiki memory file from aiwikis.org. It is shown here because AIWikis.org is demonstrating the real source files that make the UAIX / LLM Wiki memory system work, not only summarizing those systems after the fact.
Role
This file belongs to the source-side wiki layer. It preserves a focused concept, source proxy, graph record, or operating rule so the public site can cite reviewed conclusions without flattening every reason into a single long page.
Structure
The file is structured around these visible headings: LlmWikis Active Context Diet; Hot Context Belongs In LlmWikis; Cold Memory Belongs In AIWikis; Prevention Rule; Promotion Rule; Non-Claims; Related Nodes. Those headings are retrieval anchors: a crawler or LLM can decide whether the file is relevant before reading every line.
Prompt-Size And Retrieval Benefit
Keeping this material in a separate file reduces prompt pressure because an agent can load this exact unit only when its role, source site, category, or hash is relevant. The surrounding index pages point to it, while this page preserves the full content for audit and exact recall.
How To Use It
- Humans should read the metadata first, then inspect the raw content when they need exact wording or provenance.
- LLMs and agents should use the source site, category, hash, headings, and related files to decide whether this file belongs in the active prompt.
- Crawlers should treat the AIWikis page as transparent evidence and follow the source URL/source reference for authority boundaries.
- Future maintainers should regenerate this page whenever the source hash changes, then review the explanation if the role or structure changed.
Update Requirements
When this source file changes, update the raw source layer, normalized source layer, hash history, this rendered page, generated explanation, source-file inventory, changed-files report, and any source-section index that links to it.
Related Pages
- Source overview
- Site file index
- Site report index
- UAI system index
- Source provenance
- Site directory
- Organization reports
Provenance And History
- Current observation:
2026-06-22T01:56:21.9510185Z - Source origin:
current-source-workspace - Retrieval method:
local-source-workspace - Duplicate group:
sfg-092(primary) - Historical hash records are stored in
data/hashes/source-file-history.jsonl.
Machine-Readable Metadata
{
"title": "LLMWikis Active Context Diet",
"source_site": "aiwikis.org",
"source_url": "https://aiwikis.org/",
"canonical_url": "https://aiwikis.org/aiwikis/files/wiki-concepts-llmwikis-active-context-diet-md-12a86e5a/",
"source_reference": "wiki/concepts/llmwikis-active-context-diet.md",
"file_type": "md",
"content_category": "llm-wiki",
"content_hash": "sha256:12a86e5aa70628b1db330c5a7c07e195f81790ea910d46dcc3efd38c647cd1d0",
"last_fetched": "2026-06-22T01:56:21.9510185Z",
"last_changed": "2026-05-15T23:02:00.0389009Z",
"import_status": "unchanged",
"duplicate_group_id": "sfg-092",
"duplicate_role": "primary",
"related_files": [
],
"generated_explanation": true,
"explanation_last_generated": "2026-06-22T01:56:21.9510185Z"
} Next Useful Routes
- Start Here A task-first reading path for AIWikis.org, separating newcomer learning, source-memory lookup, maintainer workflow, and AI-agent retrieval.
- Topic Index A tag-oriented index for LLM Wiki, AI memory, UAI, source governance, crawling, and retrieval topics.
- Source Map AIWikis source-governed page for durable AI memory, evidence routing, and agent-readable retrieval.
- AIWikis.org AIWikis.org source-system overview for transparent AIWikis memory demonstration.
- AIWikis.org Files Site-scoped current-source file index for AIWikis.org.
- AIWikis.org UAI System Files Real current AIWikis file-backed content, source-side wiki, raw archive, graph, handoff, and public-route evidence files.