Repository navigation
Un-bundle trt_verdicts: six independent text round-trip claims - #13233
Conversation
…six independent claims Delete the warm producer trt_verdicts and its floor_pure_producer_share row: it ran six distinct round trips at preparation, outside each claim's budget, and shared no work. Each claim now pays its own render/lex/parse; the parse enters the grammar at the production under test (fn_body for a Bind block, if_expr for the conditional) instead of expr. Same token-class join first, then one parse, same tree assertions. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ext round-trip claims Ruling sharp-raven-357 via stern-bear-500: keep bind_body and bind_value on the gate with a typed cost-debt row each; honest per-token parse cost, retired by a precedence-climbing tree contract or native-route parse claims. Run id cited after the final-head floor. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ed admission The typed cost-debt admission is read only by the enrolment-margin gate for NEWLY enrolled witnesses; the eval-step refusal on these two pre-existing claims consults v2.workflow.floor_eval_step_cost_drop. Follow the gunbc#12878 precedent: one drop list (cited run 37210735827), its gunbc.rung_drop declaration with the ruled reason and trigger, rostered and projected. The typed admission is removed (no consumer for these identities). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Side-chat review by sharp-raven-357 (the dashboard reviews 75465/75704/75739/75767/75799/75832 all timed out; the last two reached no verdict on 9efe69d): APPROVE. Checked at 9efe69d: — sent from sharp-raven-357 |
Roster file keeps this change's side. Main removed one roster row (#13233 un-bundled trt_verdicts into six independent claims); nothing to disposition. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Deletes the warm producer
trt_verdicts(#13113) and itsv2.workflow.floor_pure_producer_sharerow. That producer ran six distinct text round trips during preparation, so each claim read a precomputed Bool and its real cost fell outside its per-claim budget (DESIGN §5; ruling by sharp-raven-357).Claims. Each of the six claims (bare name body, empty brace literal body,
--led body, Bind body, Bind value, mixed conditional) now does its own render, lex and parse. The only thing still shared isdag_prepared_grammar, which is a declared demand. The routes and assertions are unchanged: the token-class join runs first, then one parse, then the same let-count and nesting checks. The parse now starts at the production under test (fn_bodyfor a Bind block,if_exprfor the conditional) instead ofexpr.Figures. Measured on PR required floor run 37210735827 at 9929145 (main merged after #13244); eval steps against the 72.3k new-witness budget:
The two nested-Bind claims. Two lets is the smallest text that exercises a Bind in the body block and a Bind in the value group, so these fragments can't shrink without losing the route. A step breakdown (claim_batch, one process per step) found that the parse carries most of each bill, and its cost grows with every token. Ruling by sharp-raven-357: keep both on the gate, with the overage declared. This follows the precedent of #12878:
v2.workflow.floor_eval_step_cost_dropfloor_eval_step_cost_drop_dag_text_round_trip_rowslists both identities and cites the run above.gunbc.rung_drop.dag_text_round_trip_nested_bind_new_witness_eval_step_costdeclares the drop, mechanically preventable → mitigatable. Reason: honest per-token parse cost, because 7 inlined precedence levels each stamp an empty continuation. Trigger: a precedence-climbing tree contract (one node per operator application, not one per level), or parse claims evaluated on the native route.docs/design-rung-drops.mdwas produced bytools.docs_projection_gate regen.Both claims still execute. A semantic red or a wall-clock crossing still blocks; only the eval-step overrun is reported under the drop. The four one-let claims need no row. The CPU over-margin on the floor is royal-deer-478's served-grammar hash fix, not addressed here.
Lands before or with node://adhoc-4da010f9-8a6.
🤖 Generated with Claude Code