Commit fba8715
committed
V48 Gate 3 (implementation-only): normalize the processing-indicator label to a plain-English sentence
The stall indicator's raw "Phase → Agent → Step → Failsafe → Thricified"
hierarchy string read as machine dump, not guidance. Rewrote it as: "During
{Phase}, {Agent} Agent is {Step-ing}, by {Thricified-ing} the {Failsafe}." —
e.g. "During Setup, Deposit Input Comprehension Agent is Planning, by
Judging the Prepare Concise Context." Degrades gracefully: with no
Failsafe/Thricified yet (a Tool-use context only ever carries Phase/Agent/
Step, per F19) it ends after the Step clause; with no Phase/Agent/Step at
all it falls back to the bare "Processing" sentence, both still suffixed
with "· Ns since last update".
PTRR steps and Thricified generation sub-steps map through small fixed
gerund lookup tables (plan/try/refine/retry; reason/judge/structured_output
-> Structuring); Phase/Failsafe render as humanized noun phrases
(underscores -> spaces, title case); Agent names have a trailing "Agent"
stripped and camelCase split before the template appends the literal word
"Agent" back.
Updated/added unit tests: the full sentence exactly matches the requested
template + example, the Tool-use partial-context degrade, and the bare
Processing fallback. uapi tsc 0; 24/24 across the touched suites.1 parent 861c868 commit fba8715
2 files changed
Lines changed: 108 additions & 11 deletions
File tree
- uapi
- components/base/bitcode/execution
- tests
Lines changed: 74 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
406 | 450 | | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
411 | 478 | | |
412 | 479 | | |
413 | 480 | | |
| |||
418 | 485 | | |
419 | 486 | | |
420 | 487 | | |
421 | | - | |
422 | | - | |
423 | | - | |
| 488 | + | |
424 | 489 | | |
425 | | - | |
426 | | - | |
| 490 | + | |
| 491 | + | |
427 | 492 | | |
428 | 493 | | |
429 | 494 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
77 | 109 | | |
78 | 110 | | |
79 | 111 | | |
| |||
0 commit comments