LT_RC Clamping Monday Runbook¶
Date: 2026-04-13 (Mon, first production day after ENTRY MID_FALLBACK CLAMPED deploy)
- Confirm the latest LT runtime log exists under Synology
/volume1/aegis/logs/pt/and is updating. - Run
python3 aegis_v3/scripts/monitor_ltrc_clamping_live.py --oncefrom the repo root. - Expected snapshot: non-zero
Clamp eventsis acceptable;Last eventsshould show timestamp, symbol,desired,effective, andcredit. - Interpret ratios:
desired=0.8500is the configured discount,effective>desiredmeans clamping lifted the limit just enough to clear the credit floor. - A small delta such as
+0.0037is normal; a large delta such as+0.1222means the spread was close to the floor and needed stronger lift. - Start live monitoring during market hours with
python3 aegis_v3/scripts/monitor_ltrc_clamping_live.py --follow. - Watch for recurring symbols in the last 5 events. Repeated clamping on the same name is a candidate for later price-drift review, not an immediate incident by itself.
- After 10 or more LT_RC entry attempts have accumulated, run
python3 aegis_v3/scripts/alert_ltrc_zero_entries.py --log-dir /volume1/aegis/logs/pt --date 2026-04-13. - Expected JSON on a healthy day:
status="ok"withattempts>0andsubmits>0. - Incident condition:
status="alert"withattempts>=10andsubmits=0. - If the alert fires once, re-run it 5 minutes later to exclude a short-lived open-delay artifact.
- If the second run still shows
submits=0, capture the JSON and the last 5 clamp events from the live monitor. - Generate the human-readable summary with
python3 aegis_v3/scripts/ltrc_clamping_daily_report.py --log-dir /volume1/aegis/logs/pt --date 2026-04-13 --out /tmp/ltrc_clamping_2026-04-13.md. - Expected daily report fields: total scans, total clamping events, per-symbol average desired/effective ratios, submit count, fill count, reject count.
- Healthy reference from the 2026-04-10 post-fix session: 59 mid-fallback attempts, 41 clamped events, 40 submits.
- If clamp events are present but submits stay at 0, treat it as a regression of the pre-fix dead-letter state.
- First escalation target: inspect whether rejects are dominated by
ENTRY SUBMIT REJECTEDor[OrderManager] LT_RC REJECTED. - Second escalation target: compare recurring symbols against
BROKER_PRICE_DRIFTobservations from 2026-04-10 and 2026-04-12 verification notes. - If
submits=0persists for 15 minutes after the first 10+ attempts, record the alert JSON and daily report path inAEGIS/WORK_LOG.md. - Escalate to the LT runtime lane as a P1 regression if
submits=0persists for 30 minutes or the report shows clamp events without anyOPENED:fills. - Do not SSH-edit Synology files, restart containers manually, or run docker commands during this workflow.
- Allowed actions are read-only log inspection, local script execution, git-based fixes, and CI/CD redeploys if a code rollback or patch becomes necessary.