[OneDev #5] feat(tooling): AI diary — Claude's running log of improvements and discoveries #38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from OneDev issue #5 (id 35181)
Original project: internal-joseph
Original state: Open
Original submitterId: 5
Original submitDate: 2026-04-08T14:43:57.729+00:00
Original lastActivity: {'date': '2026-04-08T14:43:57.729+00:00', 'description': 'opened', 'userId': 5}
Original fields:
Idea
A structured, append-only diary written by Claude, for Claude (and Joseph), capturing per-session: improvements made, gotchas discovered, tool quirks learned, workflow wins, and "aha" moments. Distinct from raw transcripts and from Joseph's personal narrative — this is the distilled, second-person layer that compounds across sessions so future-Claude inherits hard-won knowledge.
What it captures (entry types)
od_create_issuerejectsfieldswith HTTP 406 on some projects"ip=inpct config"od_invoke_apiis the escape hatch when wrapped tools 404 (e.g./pullsvs/pull-requests)"How it differs from what already exists
MEMORY.md— current state (what's true now). Diary is event log (what was learned when). Memory should reference diary for "why."agent-journal(HTML) — full raw session transcripts. Diary is the curated highlights reel.dev-journal(dev.pctbin.com) — Joseph's first-person narrative of his growth. Diary is Claude's third-person knowledge log.project_historianagent — documents project-level decisions. Diary documents meta-learnings about how to work, what to avoid, what to repeat.Implementation thoughts
~/.claude/diary/YYYY-MM.jsonl(one entry per discovery, monthly file rotation){date, session_id, type, title, body, tags, related_files}ai-diary-entrythat Claude invokes when it notices something diary-worthy mid-sessionwrap-upskill: "any diary entries from this session worth promoting?"diary.pctbin.com(IP-restricted), grouped by tagdiary_search "OneDev fields gotcha")Why
Right now, hard-won knowledge lives in three places: Joseph's head, MEMORY.md (which is hitting size limits), and buried inside session transcripts no one re-reads. Important discoveries decay between sessions — Claude rediscovers the same gotchas. A structured, queryable diary lets discoveries compound the same way commit history compounds for code.
Open questions
dotfiles(chezmoi-managed, syncs across machines) orinternal-joseph(personal repo)?Next session handoff
wrap-upskill before designing — it may already capture some of this