Instruction file imported from Oligarchy-with-DeamoV/OctopusScraper (
.github/instructions/durable-context.instructions.md). Copyright stays with the author.
Durable Context Preflight
Shared preamble for every skill that reads optional memory or prior-decision context. Each SKILL.md links to this file and then adds skill-specific guidance.
When to read durable context
Run the durable context steps only when one of these holds:
- The user mentions memory, preview, previous decisions, or a prior conclusion.
- The user provides a memory path.
- The current project exposes an obvious local memory summary (for example, a
MEMORY.mdor a documented memory directory).
Do not hard-code machine-specific memory roots, and do not read raw transcripts.
Read order and budget
Read durable context in this order: user-provided path, current project scope, then global preferences. List titles first, then open at most 1-2 relevant summaries. Treat cross-project entries as transferable patterns only.
Memory distillation redaction gate
When turning prior chats, durable memory, or cross-project notes into reusable Waza guidance, promote only workflow rules. Strip raw transcript text, screenshots, local paths, project-specific commands, issue or PR numbers, release tags, commit hashes, private product boundaries, paid or license details, support routing, user names, and one-machine state.
If an example is necessary, use neutral placeholders such as ExampleCLI, ExampleApp, <issue>, <release>, or <command>. Do not copy a private answer, maintainer reply, screenshot observation, or project-specific incident as a durable rule.
Memory type mapping
decision,preference, andprincipleare constraints for the current task (planning, design, review, debugging, voice, audit expectations, etc., depending on skill).patternandlearningare reusable checks or hypotheses.factmust be verified against current state before it affects the output.
Current code, diff, screenshots, logs, tests, docs, CI, remote state, and live probes always override memory. If they conflict with a remembered claim, name the conflict and follow current state.
Each skill adds its own paragraph below this reference for skill-specific overrides and constraints.