Claude VM 9a7692f542 diag(cf-intern): instrument the proxy with session + upstream logging
Adds three log lines on the cf-intern route so we can pin down what
the live "Unauthorized" message means without grepping for it:
  - "[cf-intern] in session=true hasAccess=… userEmail=…" at entry
  - "[cf-intern] forwarding to gis-api: …" before the upstream call
  - "[cf-intern] gis-api error status=… code=… body=…" on GisApiError
  - "[cf-intern] internal error: …" on anything else

No behavioural change — purely diagnostic until we know whether the 401
originates in the architools session check, in the gis-api bearer
validation, or in gis-api's enrichment_scope gate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 00:51:02 +03:00
S
Description
No description provided
3.4 MiB
Languages
TypeScript 98.7%
Shell 0.4%
PLpgSQL 0.4%
Dockerfile 0.2%
CSS 0.1%
Other 0.1%