this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update prompts to focus on outcomes, not exploration

Explicitly tell the LLM to never mention reading/exploring as
accomplishments. Focus on what was BUILT, FIXED, or CHANGED.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

alice 60ee056a 46835c60

+11 -9
+11 -9
src/core/summarizer.ts
··· 18 18 const sessionSummarySchema = z.object({ 19 19 shortSummary: z 20 20 .string() 21 - .describe('1-2 sentence summary focusing on what was accomplished, built, or fixed'), 21 + .describe('1-2 sentence summary of what was BUILT, FIXED, or CHANGED. Never mention reading/exploring.'), 22 22 accomplishments: z 23 23 .array(z.string()) 24 - .describe('List of specific outcomes: features built, bugs fixed, problems solved'), 24 + .describe('List of concrete outcomes only: features built, bugs fixed, code written. Never include exploration or research.'), 25 25 filesChanged: z 26 26 .array(z.string()) 27 27 .describe('List of files that were modified or created'), ··· 39 39 const transcript = createCondensedTranscript(session); 40 40 41 41 const systemPrompt = `You summarize Claude Code sessions for a worklog. 42 - Focus on outcomes: features built, bugs fixed, problems solved. 43 - If little was done (exploration/questions only), say so briefly in the summary.`; 42 + Focus ONLY on outcomes: features built, bugs fixed, code written, problems solved. 43 + Never mention exploration, reading code, or research as accomplishments - those are not work. 44 + If files were edited, describe what was changed and why.`; 44 45 45 46 const userPrompt = `Summarize this Claude Code session:\n\n${transcript}`; 46 47 ··· 78 79 const dailySummarySchema = z.object({ 79 80 projects: z 80 81 .array(z.object({ 81 - name: z.string().describe('Project name'), 82 - summary: z.string().describe('Very brief summary, 5-10 words max, like "fixed auth bug, added tests"'), 82 + name: z.string().describe('Project name - use exactly as given'), 83 + summary: z.string().describe('Very brief OUTCOMES only, 5-10 words max, like "fixed auth bug, added tests". Never mention exploration.'), 83 84 })) 84 - .describe('List of projects worked on with brief summaries'), 85 + .describe('List of projects with brief outcome summaries'), 85 86 }); 86 87 87 88 export type DailySummary = z.infer<typeof dailySummarySchema>; ··· 116 117 .join('\n'); 117 118 118 119 const systemPrompt = `Summarize a developer's daily work by project. 119 - Keep each project summary VERY brief: 5-10 words max, like "debugged chart animations, mapped project structure". 120 - Just the key activities, no details. Comma-separated phrases, not full sentences. 120 + Keep each project summary VERY brief: 5-10 words max, like "fixed auth bug, added user settings". 121 + Focus on OUTCOMES only: what was built, fixed, or changed. Not what was read or explored. 122 + Comma-separated phrases, not full sentences. Use action verbs: built, fixed, added, refactored. 121 123 IMPORTANT: Use the exact project names given - do not rename or paraphrase them.`; 122 124 123 125 const userPrompt = `Summarize this developer's day (${date}):\n\n${projectSummaries}`;