feat: send X-API-Key from review console and document API key auth

- 검토 콘솔: 헤더에 API 키 입력 버튼 추가, 키는 브라우저 localStorage 에만 저장하고
  모든 v1 호출(apiFetch)에 X-API-Key 헤더로 실어 보냄
- 바이칼 명세 §0-1 인증 절 추가, 에러 표에 401 추가

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
HyeongBaeYangandClaude Opus 5.5 committed 2026-10-20 11:17:44 +09:00
1 parent c88f59fb71
commit 2043b6d399
3 files changed
+58 -9

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ def test_frontend_has_searchable_precedent_tab_and_citation_cross_reference():
assert 'id="precedent-grade-filter"' in HTML
assert 'id="precedent-type-filter"' in HTML
assert 'id="precedent-tbody"' in HTML
assert 'fetch(`v1/precedents?${params}`)' in HTML
assert 'apiFetch(`v1/precedents?${params}`)' in HTML
assert "이번 탐지 인용" in HTML
assert "lastCitedPrecedentIds" in HTML
assert "openPrecedentTab" in HTML