Maintain structured session log entries in workspace notes.
Maintain a running log of research sessions. Each entry records what was done, what was found, what decisions were made, and what comes next. The SessionStart hook reads recent log entries to brief the next session.
Review what happened in this session:
Format the entry as HTML (notes use HTML content):
<h2>YYYY-MM-DD Session N</h2>
<p><strong>Goal:</strong> [what you set out to do]</p>
<h3>Findings</h3>
<ul>
<li>[finding 1 — with source reference if applicable]</li>
<li>[finding 2]</li>
</ul>
<h3>Decisions</h3>
<ul>
<li>[decision — rationale — confidence: HIGH/MEDIUM/LOW]</li>
</ul>
<h3>Dead Ends</h3>
<ul>
<li>[what was tried — why it failed — what was learned]</li>
</ul>
<p><strong>Next:</strong> [concrete next steps for the following session]</p>
notes_append(note_id="log", content="<entry html>", folder="research")
If the log note doesn't exist yet, create it:
notes_create(title="log", content="<h1>Research Log</h1><entry html>", folder="research")
Each log entry has: date, goal, findings (with sources), decisions (with rationale and confidence), dead ends (with learnings), and concrete next steps.
research/log accumulates across sessions