()
| 687 | * deleted. |
| 688 | */ |
| 689 | export function useFrameworkServer(): boolean { |
| 690 | const v = process.env.TRAINING_AGENT_USE_FRAMEWORK; |
| 691 | // Default ON (framework dispatch). Framework storyboards have been at |
| 692 | // 52/52 clean since the envelope + session-fallback work landed; |
| 693 | // legacy stays alive as an explicit opt-out escape hatch |
| 694 | // (`TRAINING_AGENT_USE_FRAMEWORK=0`) for one release so a regression |
| 695 | // shows up on the flipped-default config before legacy deletion. |
| 696 | if (v === '0' || v === 'false') return false; |
| 697 | return true; |
| 698 | } |
no outgoing calls
no test coverage detected