@@ -3,17 +3,18 @@ import { writeFileSync, mkdirSync, existsSync, unlinkSync, readFileSync } from '
33import { join , dirname } from 'node:path' ;
44import { fileURLToPath } from 'node:url' ;
55import type { Logger } from 'pino' ;
6- import type { ReviewJob } from '../queue/pQueueAdapter.js' ;
7- import type { ReviewProgress , ProgressEvent } from '../../entities/progress/progress.type.js' ;
8- import { ProgressParser } from './progressParser.js' ;
9- import { logInfo , logWarn , logError } from '../logging/logBuffer.js' ;
10- import { getModel } from '../settings/runtimeSettings.js' ;
11- import { getProjectAgents , getFollowupAgents } from '../../config/projectConfig.js' ;
12- import { addReviewStats } from '../../services/statsService.js' ;
13- import { FileSystemReviewRequestTrackingGateway } from '../../interface-adapters/gateways/fileSystem/reviewRequestTracking.fileSystem.js' ;
14- import { ProjectStatsCalculator } from '../../interface-adapters/presenters/projectStats.calculator.js' ;
15- import { resolveClaudePath } from '../../shared/services/claudePathResolver.js' ;
16- import { getJobContextFilePath } from '../../shared/services/mcpJobContext.js' ;
6+ import type { ReviewJob } from '@/frameworks/queue/pQueueAdapter.js' ;
7+ import type { ReviewProgress , ProgressEvent } from '@/entities/progress/progress.type.js' ;
8+ import { ProgressParser } from '@/frameworks/claude/progressParser.js' ;
9+ import { logInfo , logWarn , logError } from '@/frameworks/logging/logBuffer.js' ;
10+ import { getModel } from '@/frameworks/settings/runtimeSettings.js' ;
11+ import { getProjectAgents , getFollowupAgents } from '@/config/projectConfig.js' ;
12+ import { addReviewStats } from '@/services/statsService.js' ;
13+ import { FileSystemReviewRequestTrackingGateway } from '@/interface-adapters/gateways/fileSystem/reviewRequestTracking.fileSystem.js' ;
14+ import { ProjectStatsCalculator } from '@/interface-adapters/presenters/projectStats.calculator.js' ;
15+ import { resolveClaudePath } from '@/shared/services/claudePathResolver.js' ;
16+ import { getJobContextFilePath } from '@/shared/services/mcpJobContext.js' ;
17+ import { buildLanguageDirective } from '@/frameworks/claude/languageDirective.js' ;
1718
1819const currentDir = dirname ( fileURLToPath ( import . meta. url ) ) ;
1920
@@ -204,6 +205,8 @@ Use \`POST_INLINE_COMMENT\` to post comments directly on specific lines in the d
204205- Producing a "plan" instead of executing → Review will be empty
205206- Using text markers like [PROGRESS:xxx] → Dashboard won't update
206207- Waiting for user approval → Review will hang forever
208+
209+ ${ buildLanguageDirective ( job . language ?? 'en' ) }
207210` . trim ( ) ;
208211}
209212
0 commit comments