[GH-ISSUE #29] Bound and paginate string and procedure search #5

Closed
opened 2026-10-15 18:19:49 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @morluto on GitHub (Jul 12, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/29

Problem

Search rebuilds full maps, executes caller-supplied Python regex, and can return every match in one bridge frame.

Scope

Add literal and regex modes, pagination, pattern/output bounds, safe regex behavior, cancellation, caching per unchanged document, and typed failures.

Acceptance criteria

  • Large results stay below the bridge frame limit.
  • Literal mode avoids regex semantics.
  • Excessive patterns fail with stable errors.
  • Searches are deterministic and cancellable.
Originally created by @morluto on GitHub (Jul 12, 2026). Original GitHub issue: https://github.com/morluto/rea/issues/29 ## Problem Search rebuilds full maps, executes caller-supplied Python regex, and can return every match in one bridge frame. ## Scope Add literal and regex modes, pagination, pattern/output bounds, safe regex behavior, cancellation, caching per unchanged document, and typed failures. ## Acceptance criteria - Large results stay below the bridge frame limit. - Literal mode avoids regex semantics. - Excessive patterns fail with stable errors. - Searches are deterministic and cancellable.
Author
Owner

@morluto commented on GitHub (Jul 17, 2026):

Implemented on main: search inputs support literal and regex modes with offset/limit pagination; Hopper validates bounded regex work and deterministic pagination, and Ghidra exposes the same bounded paginated contract. Regression coverage includes tests/bridgeRegex.test.ts and provider inventory tests.

<!-- gh-comment-id:5001294281 --> @morluto commented on GitHub (Jul 17, 2026): Implemented on main: search inputs support literal and regex modes with offset/limit pagination; Hopper validates bounded regex work and deterministic pagination, and Ghidra exposes the same bounded paginated contract. Regression coverage includes tests/bridgeRegex.test.ts and provider inventory tests.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#5
No description provided.