Release notes: httpd M1 core — proxy rate-limit validation¶
PR: #173 (cursor/httpd-plan-loop-54aa)
Summary¶
M1 agent-gateway configs with proxy: routes must declare global token-bucket limits (limits.rate_limit_rps, optional rate_limit_burst) so public/agent paths cannot ship without abuse caps. Validated in Python (validate-httpd-config.py) before runtime Li build.
Changes¶
scripts/validate-httpd-config.py— requirerate_limit_rpswhen anyproxy:route exists; cap range 1–100kruntime/li_rt_httpd.c— same policy inlic httpd validate-config(C[limits]+[routes]scan)li-tests/config_desugar/reject/proxy_without_rate_limit.toml— negative casepackages/li-net-httpd/examples/agent_gateway_limits.toml— documented good exampleli-tests/config_desugar/good/agent_gateway.toml— adds rate limits +max_headerpackages/li-http/src/lib.li—lb_mode_from_name(round_robin / least_conn enum)li-tests/httpd/lb_mode_smoke.li— M1 LB parser surface smokescripts/httpd-plan-loop.py— prefer M1 todos over w0/w1 blockers; goal-directedcode_implementerscripts/httpd-plan-gates.sh— optionalHTTPD_GATES_SKIP_LIC_BUILD=1for Python-only CI