From 2372211c8aa19037e08150608a0b7c7317215a38 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Feb 2026 03:18:46 +0000 Subject: [PATCH 1/3] Initial plan From c3a91703a73366f0e046a8c5098ba9c85c9b768a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Feb 2026 03:23:22 +0000 Subject: [PATCH 2/3] feat: add agent diary collection to track work sessions Co-authored-by: benkutil <228373+benkutil@users.noreply.github.com> --- AGENTS.md | 41 ++++++++++ src/_includes/layouts/home.njk | 11 +++ ...-02-03-implementing-agent-diary-feature.md | 74 +++++++++++++++++++ 3 files changed, 126 insertions(+) create mode 100644 src/diary/2026-02-03-implementing-agent-diary-feature.md diff --git a/AGENTS.md b/AGENTS.md index 94ac6f5..ce98c39 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -74,12 +74,53 @@ Examples: `feat: add dark mode`, `docs: update Readme.md` - Respect established conventions - Validate builds succeed +**Agent Diary Keeping:** + +All agents must maintain a session diary: + +1. **Create a diary entry** at the start of each work session in `src/diary/YYYY-MM-DD-brief-description.md` +2. **Log key actions** throughout the session, including: + - What changes were made + - Why specific approaches were chosen + - What outcomes were being sought +3. **Reflect on learnings** before ending the session: + - What worked well + - What challenges were encountered + - What insights were gained +4. **Cross-reference posts** when helping write content - link the diary entry to related posts + +**Diary Entry Format:** + +```yaml +--- +title: "Brief Session Description" +description: "What was accomplished in this session" +date: YYYY-MM-DD +tags: + - diary + - relevant-topic-tags +relatedPosts: # Optional - link to posts worked on + - /posts/post-slug/ +--- + +## Session Goals +What I set out to accomplish... + +## Key Actions +- Action 1: Why and what outcome... +- Action 2: Why and what outcome... + +## Reflections +What I learned during this session... +``` + **Pre-Commit Checklist:** 1. Site builds without errors 2. Content renders correctly 3. No broken links/assets 4. Conventional commit format followed +5. Diary entry created and completed (for agents) ## Compound Engineering diff --git a/src/_includes/layouts/home.njk b/src/_includes/layouts/home.njk index ade4662..cd874c8 100644 --- a/src/_includes/layouts/home.njk +++ b/src/_includes/layouts/home.njk @@ -15,6 +15,17 @@ templateClass: tmpl-home {%- endfor -%} +{% endif %} {% if collections.diary.length > 0 %} + {% endif %} {% if collections.notes.length > 0 %}