This behavior should be configurable per loom type. The summary should be focused on relevant insights/learnings/mistakes that claude makes in order to enable claude to learn from past mistakes (eventually this could be used in a RAG or other kind of search by iloom or other agents. The implementation should use a prompt template similar to issue-prompt.txt or others, and injected into the headless claude invokation that generates the summary.