Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions packages/agents/src/two-branch/analyzers/v9-report-formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1532,11 +1532,15 @@ The risk matrix evaluates issues across categories to identify areas of concern.
/**
* Get personalized greeting based on context
*/
/**
* Get neutral greeting for reports
*
* FIXED: Use neutral "Hi" instead of time-based greeting
* Rationale: Reports are read at unpredictable times (user may read hours/days later)
* User feedback: "Good afternoon is wrong when I read it in the morning"
*/
private getPersonalizedGreeting(author: string): string {
const hour = new Date().getHours();
if (hour < 12) return 'Good morning';
if (hour < 17) return 'Good afternoon';
return 'Good evening';
return 'Hi';
}

/**
Expand Down
5 changes: 1 addition & 4 deletions packages/agents/src/two-branch/parsers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,4 @@ export { default as TypeScriptToolParser } from './typescript-tool-parser';
export type { TypeScriptIssue, TypeScriptToolResult } from './typescript-tool-parser';

export { default as GoToolParser } from './go-tool-parser';
export type { GoIssue, GoToolResult } from './go-tool-parser';

export { default as JavaToolParser } from './java-tool-parser';
export type { JavaIssue, JavaToolResult } from './java-tool-parser';
export type { GoIssue, GoToolResult } from './go-tool-parser';
Loading
Loading