inou/api
James e1b40ab872 refactor: unexport raw DB functions, enforce RBAC at data layer
Rename Query→dbQuery, Save→dbSave, Load→dbLoad, Delete→dbDelete,
Count→dbCount in lib/db_queries.go. Go compiler now prevents any code
outside lib/ from bypassing RBAC checks.

All external callers migrated to RBAC-checked functions:
- EntryCategoryCounts, EntryCount, EntryListByDossier (new)
- LabTestList, LabEntryListForIndex, LabRefLookupAll (new)
- GenomeQuery now requires AccessContext
- EntryDeleteByCategory/EntryDeleteTree now require AccessContext

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 02:34:51 -05:00
..
tracker_prompts refactor: rename prompt to tracker everywhere 2026-02-09 02:05:17 -05:00
Sora-Regular.ttf Initial commit 2026-02-01 02:43:27 -05:00
Sora-SemiBold.ttf Initial commit 2026-02-01 02:43:27 -05:00
anthropic.env feat: fix year interpretation, new schedule format, exclude today from backfill 2026-02-09 02:00:18 -05:00
api Initial commit 2026-02-01 02:43:27 -05:00
api_access.go Initial commit 2026-02-01 02:43:27 -05:00
api_audit.go Initial commit 2026-02-01 02:43:27 -05:00
api_contact_sheet.go fix: genome query RBAC - use system context for data access 2026-02-07 16:31:17 -05:00
api_dossier.go Initial commit 2026-02-01 02:43:27 -05:00
api_dossiers.go Initial commit 2026-02-01 02:43:27 -05:00
api_entries.go refactor: unexport raw DB functions, enforce RBAC at data layer 2026-02-10 02:34:51 -05:00
api_image.go fix: genome query RBAC - use system context for data access 2026-02-07 16:31:17 -05:00
api_labs.go Initial commit 2026-02-01 02:43:27 -05:00
api_llm.go fix: update Makefile and paths for tracker_prompts directory 2026-02-09 02:06:39 -05:00
api_mcp_audit.go Initial commit 2026-02-01 02:43:27 -05:00
api_series.go Initial commit 2026-02-01 02:43:27 -05:00
api_slices.go Initial commit 2026-02-01 02:43:27 -05:00
api_studies.go feat: add Terms of Service page and legal page updates 2026-02-08 04:59:59 -05:00
api_trackers.go fix: update API routes from /api/prompts to /api/trackers 2026-02-09 11:26:09 -05:00
api_v1.go refactor: unexport raw DB functions, enforce RBAC at data layer 2026-02-10 02:34:51 -05:00
api_version.go Initial commit 2026-02-01 02:43:27 -05:00
auth.go security: replace empty string bypass with explicit system accessor ID 2026-02-07 17:20:24 -05:00
llm_types.go refactor: rename prompt to tracker everywhere 2026-02-09 02:05:17 -05:00
main.go feat: optimize genome queries with IN clauses, dedup, repute filter 2026-02-10 02:13:18 -05:00