inou/lib
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
..
._db_schema.go Initial commit from dev 2026-02-01 08:03:12 +00:00
access.go feat: add Terms of Service page and legal page updates 2026-02-08 04:59:59 -05:00
config.go feat: fix year interpretation, new schedule format, exclude today from backfill 2026-02-09 02:00:18 -05:00
crypto.go Initial commit from dev 2026-02-01 08:03:12 +00:00
data.go Initial commit from dev 2026-02-01 08:03:12 +00:00
db_auth.go Initial commit from dev 2026-02-01 08:03:12 +00:00
db_queries.go Initial commit from dev 2026-02-01 08:03:12 +00:00
db_schema.go Initial commit from dev 2026-02-01 08:03:12 +00:00
email.go Initial commit from dev 2026-02-01 08:03:12 +00:00
errors.go Initial commit from dev 2026-02-01 08:03:12 +00:00
files.go Initial commit from dev 2026-02-01 08:03:12 +00:00
journal.go fix: update /prompts/respond route to /trackers/respond 2026-02-09 05:21:35 -05:00
lab_reference.go fix: genome query RBAC - use system context for data access 2026-02-07 16:31:17 -05:00
llm.go refactor: rename prompt to tracker everywhere 2026-02-09 02:05:17 -05:00
migrate_category.go Initial commit from dev 2026-02-01 08:03:12 +00:00
normalize.go feat: fix year interpretation, new schedule format, exclude today from backfill 2026-02-09 02:00:18 -05:00
parse_numeric.go fix: genome query RBAC - use system context for data access 2026-02-07 16:31:17 -05:00
roles.go feat: add Terms of Service page and legal page updates 2026-02-08 04:59:59 -05:00
signal.go Initial commit from dev 2026-02-01 08:03:12 +00:00
tracker.go refactor: rename prompt to tracker everywhere 2026-02-09 02:05:17 -05:00
translate.go Initial commit from dev 2026-02-01 08:03:12 +00:00
types.go refactor: move genome query to lib, add sensitive variant redaction 2026-02-09 17:23:25 -05:00
v2.go refactor: move genome query to lib, add sensitive variant redaction 2026-02-09 17:23:25 -05:00