memory-promote

Archive previous memory files and promote validated staging documents to production.

5|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/dcurlewis/ai-context-system --skill memory-promote
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-promote
Source: https://github.com/dcurlewis/ai-context-system/tree/main/.claude/skills/memory-promote
Command: npx skills add https://github.com/dcurlewis/ai-context-system --skill memory-promote

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates the risk of leaving validated memory updates in limbo by providing a deterministic promotion process that archives prior memory files, moves the verified staging documents into production, and resets supporting logs so the system can rely on the latest context.

Core Features & Use Cases

  • Validation enforcement: Checks that the four memory files exist in the staging directory and that the validation flag in memory-index.md is set to True before any promotion.
  • Archival hygiene: Moves legacy memory files into an archive directory and archives session extracts dated on or before the update cycle to keep historical context traceable.
  • Production swap: Promotes the new memory-people, memory-work, memory-context, and memory-index documents into their production locations while clearing the corrections log and removing the empty staging folder as the final cleanup step.

Quick Start

Use the memory-promote skill to archive the previous memory files, promote today's validated staging versions, clear the corrections log, and remove the empty staging directory.

Frequently Asked Questions about memory-promote

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I promote staged memory updates to production files after validation?

To promote staged memory updates, the process verifies that the four staging files exist and the validation flag in memory-index.md is true, then archives previous versions, moves the new documents into production, clears the corrections log, and deletes the staging directory.

What is the process for archiving previous AI memory files during a memory update cycle?

Archiving previous AI memory files during a memory update cycle involves moving legacy memory documents and dated session extracts into an archive directory to maintain historical context traceability before promoting the newly validated staging documents into production.

Why does my memory promotion fail when the validation flag is not set to true?

Memory promotion fails when the validation flag is not true because the process enforces validation by checking that the flag in memory-index.md is set to true, ensuring only verified memory updates are moved into production.

Can I finalize an AI memory cycle if the four required staging files do not exist?

You cannot finalize an AI memory cycle if the four required staging files do not exist, because the promotion operation enforces a strict check confirming the presence of memory-people, memory-work, memory-context, and memory-index before proceeding.

What's the best way to clear the corrections log and remove staging artifacts after a memory update?

The best way to clear the corrections log and remove staging artifacts is to run a deterministic memory promotion process that swaps verified documents into production, clears the log, and removes the empty staging folder as the final cleanup step.

When do I need to archive session extracts during a knowledge management file promotion?

You need to archive session extracts during a knowledge management file promotion when finalizing an update cycle, specifically archiving extracts dated on or before the current cycle to keep historical context traceable before clearing the corrections log.