fix(FN-4201): add autosize regression coverage and finalize gates
Fusion-Task-Id: FN-4201 Fusion-Task-Lineage: 6bfc2e72-8c11-4e63-b3c7-9245965d2380
This commit is contained in:
@@ -3081,6 +3081,7 @@ export class TaskStore extends EventEmitter<TaskStoreEvents> {
|
||||
const activeTasks = await Promise.all((rows as unknown as TaskRow[]).map(async (row) => {
|
||||
const task = this.rowToTask(row);
|
||||
task.inReviewStall = getInReviewStallReason(task, { now });
|
||||
task.stalledReview = detectStalledReview(task, { now });
|
||||
|
||||
// Slim path: aggregate the timed-execution total server-side, then
|
||||
// strip the heavy log payload from the wire response. Without this
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import type { StalledReviewSignal } from "./stalled-review-detector.js";
|
||||
|
||||
import type { InReviewStallSignal } from "./in-review-stall.js";
|
||||
import type { StalledReviewSignal } from "./stalled-review-detector.js";
|
||||
|
||||
/** Valid thinking effort levels for AI agent sessions, controlling the cost/quality tradeoff of reasoning. */
|
||||
export const THINKING_LEVELS = ["off", "minimal", "low", "medium", "high"] as const;
|
||||
@@ -1202,6 +1201,8 @@ export interface Task {
|
||||
/** Server-computed in-review stall signal. Undefined when no stall rule matches.
|
||||
* Diagnostic-only: must not be used as an auto-completion signal. */
|
||||
inReviewStall?: InReviewStallSignal;
|
||||
/** Heuristic stalled-review diagnostic signal (legacy compatibility contract). */
|
||||
stalledReview?: StalledReviewSignal;
|
||||
/** Durable aggregate token usage totals for the task. Undefined when no usage has been recorded yet. */
|
||||
tokenUsage?: TaskTokenUsage;
|
||||
size?: "S" | "M" | "L";
|
||||
|
||||
Reference in New Issue
Block a user