sift-core 0.2.0

Indexed regex search over codebases (library + grep-like CLI)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# AGENTS.md -- query/

Query description and candidate planning. Owns the logic that turns user patterns into an index-agnostic query specification.

## Key Types

- `QuerySpec`: neutral query description (patterns, flags).
- `QueryFlags`: bitflags for fixed strings, case insensitivity, word/line regexp, invert match.

## Conventions

- Query planning is independent of any index implementation.
- Does not depend on `index/` or `grep/`.

## Do NOT

- Add index-specific logic (storage, file tables, postings).
- Depend on `grep/` types.