Refresh the <aidd_project_memory> block in all installed AI context files so the new or updated memory files are referenced.
- Summary table from action 02 (used to confirm at least one memory file changed).
The <aidd_project_memory> block in every installed context file now references the current contents of aidd_docs/memory/.
- Execute the
update_memory.jsscript located athooks/update_memory.jsunder the plugin install root to sync memory references in context files. - If the script exits with a non-zero code, print the error output and stop. Instruct the user to verify
aidd_docs/memory/contains at least one.mdfile and thatnodeis available. - Read the script output. Count the number of AI context files updated and the number of memory references injected into each block.
- Print a summary line:
Updated <N> AI context files (<comma-separated paths>). Each <aidd_project_memory> block now references <M> memory files from aidd_docs/memory/.
For every installed AI context file, the <aidd_project_memory> block contains a reference line per .md file currently in aidd_docs/memory/; the summary line names the actual files updated (not a hardcoded count).