Garry Tan
a64106535b
fix(code-intelligence): gbrain search/export are consent-gated and receipted
...
The Sourcebot side got this in the last round; gbrain had the same hole —
search() and export() sent repo-derived query text into a possibly-remote
DATABASE_URL with no consent check and no egress receipt, bypassing the
deny-tier veto. Both now assert consent before any bytes move, receipts
record the actual consent state (never a hardcoded true), and search
receipts carry the query's sha256. gbrain stays fail-closed: the adapter
cannot see where DATABASE_URL points, so every send requires consent.
7 new tests, red-first.
2026-08-14 21:04:18 -07:00
..
2026-06-09 22:29:23 -07:00
2026-06-09 22:29:23 -07:00
2026-03-19 17:21:05 -07:00
2026-08-14 09:28:56 -07:00
2026-05-21 21:21:07 -07:00
2026-06-08 06:39:38 -07:00
2026-08-14 11:55:23 -07:00
2026-05-06 19:37:53 -07:00
2026-08-14 09:28:56 -07:00
2026-08-14 09:28:56 -07:00
2026-05-06 19:37:53 -07:00
2026-04-18 15:05:42 +08:00
2026-08-14 21:04:18 -07:00
2026-04-18 12:30:54 +08:00
2026-05-28 18:21:09 -07:00
2026-08-14 09:28:56 -07:00
2026-08-14 13:08:20 -07:00
2026-08-14 13:26:58 -07:00
2026-08-14 11:54:18 -07:00
2026-06-08 06:20:58 -07:00
2026-06-14 11:40:57 -07:00
2026-08-08 09:28:45 -07:00
2026-08-14 13:20:20 -07:00
2026-05-28 18:21:09 -07:00
2026-08-14 13:26:58 -07:00
2026-08-14 09:28:56 -07:00
2026-08-14 09:28:56 -07:00
2026-08-14 09:28:56 -07:00
2026-03-26 11:15:24 -06:00
2026-06-25 09:42:45 -07:00
2026-08-08 09:28:45 -07:00
2026-05-30 14:57:07 -07:00
2026-05-21 21:21:07 -07:00
2026-08-14 09:28:56 -07:00
2026-04-24 01:38:21 -07:00
2026-05-06 19:37:53 -07:00
2026-08-14 09:28:56 -07:00
2026-04-24 01:38:21 -07:00
2026-08-14 17:13:22 -07:00
2026-05-20 06:56:41 -07:00
2026-05-21 16:09:26 -07:00
2026-05-21 16:09:26 -07:00
2026-07-14 16:35:30 -07:00
2026-05-30 14:57:07 -07:00
2026-06-21 07:15:19 -07:00
2026-06-08 06:39:38 -07:00
2026-08-14 17:15:48 -07:00
2026-05-21 21:21:07 -07:00
2026-08-14 17:15:48 -07:00
2026-03-30 22:25:46 -06:00
2026-08-14 11:51:55 -07:00
2026-05-01 07:06:37 -07:00
2026-06-21 07:15:19 -07:00
2026-08-08 09:28:45 -07:00
2026-06-08 06:39:38 -07:00
2026-06-21 07:15:19 -07:00
2026-05-21 21:21:07 -07:00
2026-07-10 03:09:13 -07:00
2026-04-23 17:54:54 -07:00
2026-03-22 21:02:01 -07:00
2026-08-14 09:28:56 -07:00
2026-06-07 21:38:21 -07:00
2026-08-14 09:28:56 -07:00
2026-05-28 18:21:09 -07:00
2026-06-02 22:36:34 -07:00
2026-04-04 22:46:21 -07:00
2026-04-19 17:50:31 +08:00
2026-04-13 07:49:37 -10:00
2026-08-14 13:26:58 -07:00
2026-08-14 13:26:58 -07:00
2026-05-06 19:37:53 -07:00
2026-05-25 10:57:15 -07:00
2026-05-28 18:21:09 -07:00
2026-08-14 09:28:56 -07:00
2026-08-14 17:13:23 -07:00
2026-05-30 12:09:10 -07:00