compile
CommandCompile this project's instructions (CLAUDE.md, AGENTS.md, auto-memory, agents, skills) into the director's memory of linked…
Turn the user's corrections and decisions, and the methods a task had to find, since the last reflection into gated edits of the director's memory
> /plugin marketplace add EvolvingAgentsLabs/evolving-agents> /plugin install director@evolvingagentslabs
description: Turn the user's corrections and decisions, and the methods a task had to find, since the last reflection into gated edits of the director's memory argument-hint: "[the correction, if not already said]" allowed-tools: Read, Grep, Glob, mcp__plugin_director_director__memory_lint, mcp__plugin_director_director__memory_propose, mcp__plugin_director_director__memory_check, mcp__plugin_director_director__memory_status, mcp__plugin_director_director__memory_accept, mcp__plugin_director_director__memory_reject, mcp__plugin_director_director__journal_read, mcp__plugin_director_director__journal_note
A task in this session has ended. The user's correction, if they give one here: $ARGUMENTS
1. Call `journal_read`: what happened since the last reflection — the user's own messages (`person`, captured as they were sent), plans proposed, moved, cancelled and run, delegations, lessons decided, and the corrections and outcomes noted. From it, list what the memory may lack:
`correction` entry); a task the user moved to another lane on the band (`plan.moved`) is one too: "this kind of work runs on that lane";
work out on its own: a model, a provider, a spending cap, a tool, a layout, "from now on …", "don't …", "use X, not Y". A decision is a lesson even when nothing went wrong;
`outcome` or `correction` that lists what went wrong before it went right), and that the memory has no statement for: the next agent would rediscover it the same way. A method is a lesson even when the user corrected nothing.
a review), read the per-item results, not only the person's corrections: learn from the failures of the agents that did the work, not just from the experimenter's. For each item that failed in more than one run: if the runs agree with each other and not with the reference, check the reference first; if the runs disagree because the item has several defensible definitions, the team has never fixed one — propose a **convention** (When: the quantity or choice is about to be fixed; Do: the definition, exactly; Because: the disagreement observed) and ask the person to decide it. A convention is a decision, so the person's yes is what makes it one.
already did what a lesson says, say so instead of proposing more of the same. Check each against the memory first; drop what it already holds. If nothing is left, call `journal_note` with kind `reflected`, say so and stop. 2. For each correction, decision or method left, decide what the memory (the directory the director's context names, with `Index.md`) must hold so that the next time an agent is in a situation like this — not this exact one — its plan comes out right. For a decision, **When** is the situation where it applies, **Do** the decision itself, exactly (the number, the name, the choice), and **Because** the user's reason if they gave one, with the date they decided it. For a method, **When** is the kind of task, **Do** its steps in order, each with the check that showed the step had gone wrong (the overlay, the second estimate, the test) — without the values of this one task (its files, slice numbers, paths, results), which belong beside the task's data, not in the memory — and **Because** the attempts that failed. Search the memory for statements that already cover it first: if one does, **modify** it (sharpen its When, Do or Because) rather than adding a duplicate; add a statement only for what none covers. Phrase **When** as a situation an agent recognises mid-task, general enough to recur in other tools and files; **Do** as a concrete, checkable action; **Because** with the incident as evidence. Link it to the statements it applies with, and name the Index situations that should reach it (reuse an existing situation line's text exactly when one fits: the text before its `→` only, never the whole line with its links — `memory_propose` refuses a situation holding `→` or `[[`). 3. Write **two probes**: each a short situation — a task in flight, in the second person — where the lesson should change the plan, set apart from this incident (another file, tool or goal; none of its sentences), with one to three checklist items that each name an **action** the plan must take or refuse. Do not say in the situation what the right action is. 4. Call `memory_propose` with the edits (`op` add|modify, `page`, `id`, `when`, `do`, `because`, `links` as `Page#id`, `situations`; `about` only for a new page), the probes, a one-line `rationale`, and the report as `episode`. If it reports lint problems or rejected edits, fix them and propose again. A proposal you replace with a new one — and any proposal `memory_status` reports in `conflict` (what it touches changed after it was made; accepting it would undo what came since) — is closed with `memory_reject`, and you say so. A proposal `memory_status` reports `rebased_from` was brought up to the live memory untouched: show its new diff and go on. 5. Show the user the diff, and ask: accept, check first, or reject. **Check** runs the positive probe (`memory_check`, minutes and a few dollars): it keeps a lesson only if it changes the plans its probes test — TEACHES; REDUNDANT means the memory or the model already does it; NO EFFECT means the edit changed nothing. Poll `memory_status` until it lands and re
The director remembers how your team works — and makes every agent session work that way. Your decisions, conventions and hard-won methods become a small memory of linked rules.
Compile this project's instructions (CLAUDE.md, AGENTS.md, auto-memory, agents, skills) into the director's memory of linked…
Write (or rewrite) the meta-recipes a local model follows to plan from this memory, then lint them
You are the **Anti-Pattern Czar**, an expert at identifying and fixing error handling anti-patterns.
Score how well organized your memory palace is, then run a guided repair session — one decision at a time.
Score how well organized your memory palace is, then run a guided repair session — one decision at a time.
Convert a Claude Code plan file into beads epic + tasks for cross-session tracking.