Karesansui

Results comments of Karesansui

Updated: removed the duplicate error log. The caller already logs the exception, so this just re-raises to propagate the failure. Keeps it consistent with the file's convention.

Good point. Updated to fall back to `_apply_estimation_factor(model_name, default_estimate)` when `_calc_claude_tokens` returns 0, instead of propagating the zero to callers. This ensures token budget trimming still works when the Anthropic...

Good catch. You're right that once TTL eviction starts working correctly, it can evict entries while `handle_push_trigger_for_new_commits` is still processing — particularly if PR processing exceeds the 300s default TTL....

Thank you for confirming, @yusukebe\! Happy to help — let me know if you'd like me to open a PR for the fix.

Closing this issue after further investigation. The two modules use **separate MongoDB collections** (`properties_fields` vs `frontline_form_fields`) and have no import dependencies between them. Data does not flow between frontline_api and...