chore(rectification): drop fields without new unused-var warnings (T3/T5 follow-up)
Same behaviour; lint warnings back to the origin/staging count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c4bb394bbf
commit
717a378b08
@@ -345,7 +345,11 @@ function withInferenceCandidates(
|
||||
export function enforceTurnDecisionBudget(payload: Record<string, unknown>): Record<string, unknown> {
|
||||
if (utf8Bytes(payload) <= TURN_DECISION_MAX_BYTES) return payload;
|
||||
const noRanges = withInferenceCandidates(payload, (candidates) => ({
|
||||
candidates: candidates.map(({ cluster_range: _range, ...rest }) => rest),
|
||||
candidates: candidates.map((candidate) => {
|
||||
const rest = { ...candidate };
|
||||
delete rest.cluster_range;
|
||||
return rest;
|
||||
}),
|
||||
}));
|
||||
if (utf8Bytes(noRanges) <= TURN_DECISION_MAX_BYTES) return noRanges;
|
||||
const topCandidates = withInferenceCandidates(noRanges, (candidates) => {
|
||||
|
||||
@@ -624,16 +624,19 @@ function agentVisibleLatestProjection(
|
||||
representative_time_pre_inference: _preTime,
|
||||
house_table_pre_inference: _preHouse,
|
||||
natal_recast_pre_inference: _preNatal,
|
||||
// R1 (TASK-rectification-grounding-20260927): the engine's own width is
|
||||
// audit-only (BUG-593); the report width is skill_verification_report.
|
||||
engine_indistinguishable_width_minutes: _engineWidth,
|
||||
...rest
|
||||
} = projection;
|
||||
// R1 (TASK-rectification-grounding-20260927): the engine's own width is
|
||||
// audit-only (BUG-593); the report width is skill_verification_report.
|
||||
delete rest.engine_indistinguishable_width_minutes;
|
||||
// R1: the verification Markdown is kept once, in skill_verification_report;
|
||||
// range_delivery carried a byte-identical copy.
|
||||
const rangeDelivery = rest.range_delivery && typeof rest.range_delivery === "object" && !Array.isArray(rest.range_delivery)
|
||||
? (({ verification_markdown: _markdown, ...delivery }) => delivery)(rest.range_delivery as Record<string, unknown>)
|
||||
: rest.range_delivery;
|
||||
let rangeDelivery = rest.range_delivery;
|
||||
if (rangeDelivery && typeof rangeDelivery === "object" && !Array.isArray(rangeDelivery)) {
|
||||
const delivery = { ...(rangeDelivery as Record<string, unknown>) };
|
||||
delete delivery.verification_markdown;
|
||||
rangeDelivery = delivery;
|
||||
}
|
||||
const currentQuestion = extras.openQuestion
|
||||
? extras.openQuestion.unrenderable === true
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user