feat(queries): land the query inventory that missed main #6

Merged
trevon merged 2 commits from trevon/land-query-inventory into main 2026-09-24 02:45:00 +00:00 AGit

2 commits

Author SHA1 Message Date
3e4217c0fe Merge pull request 'feat(queries): inventory firestore query surfaces as typed records' (#5) from trevon/firestore-query-inventory into fix/cli-rough-edges
Some checks failed
Lint Commits / commitlint (pull_request) Successful in 16s
Tests / Static Analysis (pull_request) Has been cancelled
Tests / Tests (pull_request) Has been cancelled
Reviewed-on: #5
2026-09-24 02:36:06 +00:00
trvon
1f60197a15
feat(queries): inventory firestore query surfaces as typed records
Add `pipe queries`, which lists every Firestore query a project can issue:
scope, collection, path pattern, filters with operators and value types,
composites, orderBy, limit, cursors, realtime, aggregation, in-loop, plus a
confidence and the reasons it is not exact. Receivers are matched by static
type and cloud_firestore library URI, never by name.

Queries are followed through chains, local variables (flow-insensitive with
two cuts), fields, getters and one level of helper methods with arguments
bound. An --adapter-config (YAML or JSON) maps declarative query APIs such as
a server-side gateway onto the same schema.

Inventory only: no rules, findings or baseline changes. Every emitted name is
validated against a safe character set so no source text reaches the output.
2026-09-23 18:03:09 -06:00