Regex backtracking fixes in lifecycle cron patterns
NousResearch/hermes-agent · cluster 129281
Data as of
Nothing open on GitHub. Fix merged in #129322. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #129322. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #129322. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and pull requests address catastrophic backtracking in profile-flag lifecycle regex patterns used by cron and lifecycle guard logic. The work involves bounding scans, pinning consumption per token, and removing global-flag regex behavior to prevent gateway process freezes.
Open issues0
Open PRs0
Fixes on record
-
#129322 fix: prevent global-flag regex backtracking in the lifecycle guard and approval rules
files:
cron/lifecycle_guard.py,tests/cron/test_lifecycle_guard_profile_scan.py,tests/tools/test_approval_global_flag_scan.py,tools/approval_detection.py
3 PRs closed without merging
From the close comments: merged via another change 2 · done elsewhere 1
-
#129282 fix(cron): bound profile flag lifecycle scan · done elsewhere →
9546b9d,897fd61,#129322 -
#129310 fix(cron): pin one consumption per token in the profile-flag lifecycle pattern · merged via another change →
#129322 -
#129465 fix(cron): bound profile flag lifecycle scan · merged via another change →
#129322
Closed issues · 1
- Closed#129281cron/lifecycle_guard: catastrophic backtracking in _PROFILE_FLAG_LIFECYCLE_PATTERN freezes the entire gateway process
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #129322
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 1 Oct 2026