Close Session

End the current session: log what was done, update tasks, route durable knowledge to ~/.whisper/, commit and push, clear context.

Uses $JOURNAL_PATH (defaults to ~/dev/status) for the daily log journal, and ~/.whisper/ for accumulated operational knowledge. The log subdirectory defaults to log/; set $JOURNAL_LOG_SUBDIR to override (e.g. areas/log for the JORNAL layout).

Steps

  1. Pull the journal repo:

    JOURNAL="${JOURNAL_PATH:-$HOME/dev/status}"
    LOG_SUBDIR="${JOURNAL_LOG_SUBDIR:-log}"
    cd "$JOURNAL" && git pull
  2. Get today's date and time (date +%Y-%m-%d, date +%H:%M). Derive the log path: $JOURNAL/$LOG_SUBDIR/YYYY/YYYY-MM/YYYY-MM-DD.md

  3. If the log file does not exist, create it with the daily log template.

  4. Review the full conversation history and write a concise session summary covering:

  5. Append the summary to the ## Log section of today's daily log:

    ### Session:HH:MM (<context>)
    - bullet point summary entries
    - **Next:** what to pick up next time (if applicable)
  6. Update project/area files if tasks were completed or created:

  7. If any tasks or follow-ups came up that aren't in a project/area, add them to inbox.md.

  8. Route durable knowledge to ~/.whisper/. Scan the session for anything worth keeping and route by scope (skip this step entirely if nothing durable was learned):

  9. Commit and push. Stage only the files this session touched, explicitly by name:

    cd "$JOURNAL" && git add <log-file> [<files>] && git commit -m "log: YYYY-MM-DD session notes" && git push
  10. As the very last step, run /clear to reset the conversation context.

Rules

DEPRECATED — DOCUMENTATION ONLY. The live version of this skill comes from incitaciones (npm). This copy is a stale snapshot kept for reference. Do not edit here — edit upstream and re-install.