feat(saas): AI 브리핑 — contextual-orchestrator LLM 분석 (slice 55)#273
Merged
Conversation
주간보고에 LLM 경영진 브리핑을 추가한다. LLM 호출은 contextual-orchestrator
(OpenAI 호환 오케스트레이션 프록시, 조직 OPENAI_API_KEY 에이전트 풀)로만
나가며, 자격은 서버 환경변수에만 존재한다.
- server/orchestrator.mjs: /v1/chat/completions 클라이언트(Bearer, 60s 타임아웃,
strict-validation 대응 — model+messages만 전송). ORCHESTRATOR_URL 미설정 시
결정적 mock으로 전 플로우 테스트 가능.
- server/app.mjs: POST /api/projects/:id/ai/brief — 서버가 프로젝트 스냅샷
(가중 계획/실적%, 지연·예정 작업 요약)을 만들어 시스템 프롬프트(지표 근거
강제, 사실 생성 금지)와 함께 전송 → {analysis}. 감사(ai.brief). 멤버 접근.
- cloud-sync.js: 주간보고 모달 'AI 요약' 버튼 → 브리핑 블록 렌더(textContent).
- tests: mock 브리핑 200/내용/비멤버 404.
- docs: api.md AI 섹션 + deploy.md ORCHESTRATOR_URL/TOKEN.
Verified: test:api ✓ eval-safe ✓; 실브라우저 — AI 요약 클릭→브리핑 렌더;
그리고 orchestrator #42의 실제 컨테이너와 LIVE 왕복 성공(프로젝트 컨텍스트가
에이전트 풀을 통과해 응답, strict-field 거부 이슈 발견→수정 포함).
Stacked on feat/clearfolio-viewer (#272).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018LMoqYsUY6usjNMBjvxCbU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
주간보고에 LLM 경영진 브리핑. LLM 트래픽은 contextual-orchestrator로만 (조직
OPENAI_API_KEY에이전트 풀; 자격은 서버 env 전용).{analysis}. 감사.Verified
test:api ✓ · eval-safe ✓ · 실브라우저 버튼 렌더 · orchestrator#42 실컨테이너 LIVE 왕복 (strict-field 거부 발견→수정).
⚙️ 활성화:
ORCHESTRATOR_URL+ORCHESTRATOR_TOKEN(오케스트레이터는 orchestrator#42의 Dockerfile로 기동, 조직 secretOPENAI_API_KEY주입).🤖 Generated with Claude Code