inou/api
James d2d77d1503 refactor: move genome query to lib, add sensitive variant redaction
- Move GenomeQuery logic from api/api_genome.go to lib/v2.go so MCP
  handler calls lib directly instead of HTTP round-trip (fixes 403 on
  genome queries via Claude.ai MCP - was hitting RBAC table mismatch)
- Generate CategoryFromString from categoryNames in init() (single
  source of truth, removes 9 unused aliases)
- Redact sensitive variants (Bad repute, magnitude >4) in targeted
  queries: genotype/summary replaced with "hidden" + hint to use
  include_hidden=true. Broad queries still suppress entirely.
- API handler is now a thin wrapper parsing query params

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 17:23:25 -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_categories.go refactor: simplify RBAC to use accessorID string parameter 2026-02-07 17:15:09 -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 Initial commit 2026-02-01 02:43:27 -05:00
api_genome.go refactor: move genome query to lib, add sensitive variant redaction 2026-02-09 17:23:25 -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 fix: return category names instead of category keys in v1 API 2026-02-09 14:50:20 -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 fix: update API routes from /api/prompts to /api/trackers 2026-02-09 11:26:09 -05:00