write_session_log
Stores a structured session log after each work session, recording tasks, decisions, and next steps to build institutional memory for future decision searches.
Instructions
Write a structured session log to .agents/logs/YYYY-MM-DD/. Called by the Documenter at the end of every session. Feeds search_decisions() with institutional memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Original developer prompt | |
| phase | Yes | phase | |
| decisions | Yes | ||
| skill_ids | No | IDs of skills you actually applied this session. Feeds the outcomes fan-out that reinforces or retires a skill based on whether its session's work survived in git. | |
| task_type | No | What KIND of work this session was. Skill induction clusters sessions by task_type — without it a session can never contribute to a learned skill, which is why induction has yielded zero across every project to date. | |
| next_steps | Yes | ||
| session_id | Yes | Short ID (8-char slug) | |
| files_changed | Yes |