Source: PR #4 review (nice-to-have)
Problem
The single file is ~760 lines after Phase 1 AS throttle additions. Fine for now, but Phase 2 (db.php drop-in) will push it further.
Suggested structure
class-hcqg-load-monitor.php — metric probing, level evaluation, hysteresis
class-hcqg-throttle-engine.php — AS filter logic, policy application, state persistence
hypercart-query-guard.php — bootstrap, context detection, session timeout, kill capture
When
Trigger this extraction when Phase 2 work begins or when the file crosses ~1000 lines, whichever comes first.
Source: PR #4 review (nice-to-have)
Problem
The single file is ~760 lines after Phase 1 AS throttle additions. Fine for now, but Phase 2 (db.php drop-in) will push it further.
Suggested structure
class-hcqg-load-monitor.php— metric probing, level evaluation, hysteresisclass-hcqg-throttle-engine.php— AS filter logic, policy application, state persistencehypercart-query-guard.php— bootstrap, context detection, session timeout, kill captureWhen
Trigger this extraction when Phase 2 work begins or when the file crosses ~1000 lines, whichever comes first.