Go to file
Cursor Agent 9abc09c2a6
fix(core-backend): enable CORS for Flutter Web signup
Chrome treats localhost:5555 and 127.0.0.1:8080 as different origins.
Handle OPTIONS preflight and emit Access-Control-Allow-* so /auth/signup
works from flutter run -d chrome.

Co-authored-by: okuma <o0kuma@users.noreply.github.com>
2026-07-30 08:16:28 +00:00
ai-service Start Phase 1 B: metrics, identity phrase, data-flow, sessions 2026-07-30 05:08:08 +00:00
backend Split backend into a Go core service + Python AI service 2026-07-30 01:21:35 +00:00
core-backend fix(core-backend): enable CORS for Flutter Web signup 2026-07-30 08:16:28 +00:00
docs Complete Phase 1 C: decisions, invite ops, release path, prototype anchor 2026-07-30 05:48:50 +00:00
mobile feat(mobile): Twin Shadow UI for signup and tone onboarding 2026-07-30 08:02:28 +00:00
poc/tone-corpus Add batch blind-eval harness and style retrieval, verified end-to-end 2026-07-29 09:20:41 +00:00
scripts Complete Phase 1 C: decisions, invite ops, release path, prototype anchor 2026-07-30 05:48:50 +00:00
.env.example Docs: FCM_SERVER_KEY in .env.example; sync roadmap B status 2026-07-30 05:28:54 +00:00
.gitignore Implement core backend in Go (item 2 of the build order) 2026-07-30 01:42:48 +00:00
AGENTS.md Sync AGENTS/CLAUDE: Q1~Q7 confirmed, Phase 1 A–C complete 2026-07-30 05:49:18 +00:00
CLAUDE.md Sync AGENTS/CLAUDE: Q1~Q7 confirmed, Phase 1 A–C complete 2026-07-30 05:49:18 +00:00
README.md Complete Phase 1 C: decisions, invite ops, release path, prototype anchor 2026-07-30 05:48:50 +00:00

README.md

hikikomori / 분신 (가칭)

카카오톡 대안 메신저 — "나를 대신해 남과 대화하는 AI 분신".

구조

경로 역할
docs/ 기획·PRD·기술설계·로드맵·PoC 계획
core-backend/ Go 코어 (가입·메시지·WebSocket·자율성·안전장치)
ai-service/ Python AI 내부 API (/draft, /escalate/check)
backend/ 초기 Python 프로토타입 (참고용)
poc/tone-corpus/ PoC 실험 스크립트
mobile/ Flutter 클라이언트 (Android 우선)

문서

AI 에이전트 규칙

현재 단계

  • Phase 1 A~C까지 반영됨 (서버·Flutter·베타 직전 문서/배포 경로)
  • 다음: D — 사람 PoC #1/#3·Q3 인터뷰 (docs/roadmap.md §3, 맨 마지막)
  • 프로토타입 공유 URL은 docs/prototype.mdSHARE_URL에 Master가 기입

로컬 실행 (요약)

# 터미널 1 — AI 서비스
cd ai-service && pip install -r requirements.txt
export GEMINI_API_KEY=...   # or repo-root .env
uvicorn app.main:app --port 8001

# 터미널 2 — 코어 백엔드
cd core-backend
export ADMIN_API_TOKEN=dev-admin-token
go run . migrate && go run .

# 초대 코드 발급 예:
# curl -X POST http://localhost:8080/invites -H "Authorization: Bearer $ADMIN_API_TOKEN"

# 터미널 3 — Flutter (Android)
cd mobile && flutter run --dart-define=CORE_API_BASE=http://10.0.2.2:8080