inou/portal
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
..
bin Initial commit 2026-02-01 02:43:27 -05:00
lang fix: genome query RBAC - use system context for data access 2026-02-07 16:31:17 -05:00
static fix: genome query RBAC - use system context for data access 2026-02-07 16:31:17 -05:00
templates refactor: rename prompt to tracker everywhere 2026-02-09 02:05:17 -05:00
access_log.go Initial commit 2026-02-01 02:43:27 -05:00
api_client.go Initial commit 2026-02-01 02:43:27 -05:00
api_mobile.go refactor: rename prompt to tracker everywhere 2026-02-09 02:05:17 -05:00
api_proxy.go Initial commit 2026-02-01 02:43:27 -05:00
defense.go feat: add Terms of Service page and legal page updates 2026-02-08 04:59:59 -05:00
dossier_sections.go fix: update Open button URL from /prompts to /trackers 2026-02-09 10:01:11 -05:00
genome.go Initial commit 2026-02-01 02:43:27 -05:00
inou-portal Initial commit 2026-02-01 02:43:27 -05:00
main.go fix: update all /prompts routes to /trackers 2026-02-09 05:22:05 -05:00
main.go.bak Initial commit 2026-02-01 02:43:27 -05:00
mcp_http.go fix: update /prompts/respond route to /trackers/respond 2026-02-09 05:21:35 -05:00
mcp_tools.go refactor: move genome query to lib, add sensitive variant redaction 2026-02-09 17:23:25 -05:00
oauth.go Initial commit 2026-02-01 02:43:27 -05:00
portal Initial commit 2026-02-01 02:43:27 -05:00
trackers.go refactor: rename prompt to tracker everywhere 2026-02-09 02:05:17 -05:00
upload.go security: replace empty string bypass with explicit system accessor ID 2026-02-07 17:20:24 -05:00