import type { PartResult } from '../../models/types.js'; import type { RunPaths } from '../run/run-paths.js'; /** * part 実行結果の feedback に載せる要約の最大文字数。 * 3イテレーション目でリーダープロンプトが 288,890 トークンに積み上がり * モデル上限 262,144 を超過した実測に基づく有界化。レポートファイルへ * 全文を退避し、リーダーへは先頭約 2,000 文字だけ渡す。 */ export declare const TEAM_LEADER_FEEDBACK_SUMMARY_MAX_CHARS = 2000; export interface TeamLeaderPartReportPath { /** ファイルシステム上の絶対パス */ readonly absolutePath: string; } export declare function buildTeamLeaderPartReportPath(input: { runPaths: RunPaths; stepName: string; partId: string; }): TeamLeaderPartReportPath; export declare function writeTeamLeaderPartResultReport(input: { runPaths: RunPaths; stepName: string; result: PartResult; }): TeamLeaderPartReportPath; /** * part 実行結果全文を feedback 用に有界化する。 * 先頭を TEAM_LEADER_FEEDBACK_SUMMARY_MAX_CHARS 文字で切り、 * 続きがある場合は末尾に省略断片を示す1行を付ける。 */ export declare function summarizePartResultForFeedback(fullContent: string): string; //# sourceMappingURL=team-leader-part-report.d.ts.map