You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d0c3c60
Browse filesBrowse the repository at this point in the historyBrowse files
| L2 |`analysis`, `credit`, `industry`, `quant`, `macro`| 서로 독립적인 다섯 분석 렌즈 |
21
+
| L2.5 |`dataHub`| L1부터 L2까지의 데이터 제품을 catalog, query, PIT와 원격 실행 계약으로 연합 |
22
+
| L3 |`story`, `simulate`| 하위 렌즈 결과 조립과 결정론 시나리오 실행 |
23
+
| L4 |`ai`, `mcp`, `channel`| 질문, 검증, 외부 전달 |
24
+
25
+
레이어 번호는 import 방향을 지키는 개발 규율이지 제품 등급이나 사용자 학습 순서가 아니다.
26
+
27
+
## 다섯 렌즈의 격리
28
+
29
+
`analysis`, `credit`, `industry`, `quant`, `macro`는 각자 계산과 의미 검증을 소유한다. 형제 렌즈를 직접 import해 종합 판단을 만들지 않는다. 다섯 렌즈는 대표 축 결과에 공통 `product` 외피를 추가하지만 엔진별 기존 결과와 세부 축은 그대로 보존한다.
30
+
31
+
공통 계약은 `src/dartlab/synth/lensContract.py`에 있다. 계약은 구조와 시간 경계만 검증하며 엔진별 점수나 의미를 대신 계산하지 않는다.
32
+
33
+
## 조립 책임
34
+
35
+
`story`는 필요한 렌즈의 `product`를 수집하고 같은 Company 세션의 원본 결과를 재사용한다. 공개 Story JSON과 ReportModel에는 제품 계약만 노출하며 원본 계산 결과는 내부 재사용용으로 남긴다. `simulate`는 렌즈 가정과 시나리오를 가정 원장에 보존하지만 결정론 DriverSheet를 몰래 덮어쓰지 않는다. AI는 제품 결론과 시간 경계를 `valueRef`, `dateRef`로 인용한다.
36
+
37
+
## 핵심 가드
38
+
39
+
- 형제 렌즈 간 비승인 import 금지
40
+
- Story 자체 숫자 계산 금지
41
+
- missing, blocked, stale을 0이나 정상으로 변환 금지
42
+
- 공통 종합점수 금지
43
+
- UI에서 Python 렌즈 의미 재구현 금지
44
+
- 같은 target과 period의 Company fetch 재사용
45
+
46
+
세부 규율과 검사 명령은 [CLAUDE.md](CLAUDE.md)와 [Skill OS](src/dartlab/skills/specs/)를 따른다.
0 commit comments