Files
Aislo/B06_Section/CLAUDE.md
T
eomsangdonandClaude Opus 5.5 210ff06dee refactor(511-B B-6 옛 server-calc 묶음 걷음): 운영 부름 0 · 시험 대조만이던 옛 묶음 걷음 — 걷기 전용 커밋(되돌리기 = 이 커밋 revert)
걷은 것
- B06_Section/B06_Section_Server_Calc_Node.ts 통째(135 줄 · 입구 · haul_plan_for 갈래 · 면적 · 유토곡선 · 다단 벽)
- package.json:8 build 안 「&& npm run build:server-calc」 · package.json:10 「build:server-calc」 줄
- B06_Section/B06_Section_Server_Calc_Prebuild.py:61 ROOT · :62-63 옛 묶음 주석 · BUNDLE · :66 _NPM_SCRIPT
- 지어진 묶음 config/server_calc_node/B06_Section_Server_Calc_Node.js = git 밖(.gitignore:63-64 그대로) · 폴더마다 찌꺼기 남음

시험 옮김(새 입구 = Prebuild._run_node · 등록부 Node design_calc_node)
- 110 · 120 · 131 · 73_4 · 178_1 · helper_472_1_paths = _run_node
- b06_ground_unlock · height_unlock = design_calc_node.js 판 검사(build:design-calc)
- 472_3 registry · runner = 옛 묶음 대조 → Node 입구 정본 값 · 늘 떠 있는 Node = 새 프로세스
- 511_c = 옛 대 새 대조 → 새 Node = 브라우저 TS(computeHaulPlan · structureAreaRows · extraWallRows)
- haul_plan_quantity_unpruned = 새 입구 · /haul-plan 그림 갈래 글 검사 · server_calc_node.mjs = design_calc_node structure.layouts
- 글만: Schema · HaulPlan · design_calc_node 주석 · B06 CLAUDE.md · 시험 셋 머리

검증: 고친 시험 15 파일 87 통과 · typecheck 0 — 요구 320-4 · 322

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 16:17:45 +09:00

3.5 KiB

B06_Section 지침

갈래 지도(앞머리 → 하는 일):

  • UI_Cross_* 횡단 카드 · 설계선 · 구조물 그림(Culvert · Box · Ford · Revetment · Wall · Underdrain · Lean)
  • UI_Cross_View_* 횡단 보기 · UI_Cross_Detail_* 상세 창 · UI_Cross_Design* 설계선 편집
  • UI_Page_* 페이지 틀 · 저장 · 구조물 칸 · UI_Section_* 측점 · 횡단 공용
  • Section_Store · Cross_Refresh · Api_* 횡단 상세 가게 · 서버 요청
  • Engine_Design* 횡단 설계 · Engine_Areas 면적 · Engine_Culvert 관 · Engine_SampleExtend 지반 덧붙임 · Engine_Structures_Wall · Engine_Tilt · Router_* · Repository*
  • logic/ 순수 계산 TS

① 짝(ts ↔ py · 거울 시험):

  • Engine_Design.py ↔ common_util_cross_design.ts · Engine_Areas.py ↔ common_util_cross_design_areas.ts · test_b06_cross_design_mirror.py
  • [저장] · [확정] 다시 셈(Router_Design enforce · 넓힘 뒤 설계 · 소단 구간)은 Node(Engine_Design_Node.py → design-calc cross.design · cross.berm_spans) · 파이썬 짝은 B07 · 추천 · Route_Save · Node 못 부를 때
  • Engine_Culvert.py ↔ common_util_culvert_sets.ts · logic/UI_Cross_Culvert_Const.ts · test_b06_culvert_sets_mirror.py · test_b06_pipe_wall_height_mirror.py
  • Engine_Structures_Wall.py ↔ common_util_structure_walls.ts · test_b06_structure_walls_mirror.py
  • 지형 표본 = common_util_surface_sampler 하나(Engine_SampleExtend 도)

서버 Node 묶음:

  • [저장] 면적 · 유토곡선 = A00 design_calc_node(build:design-calc · structure.layouts · masshaul.cumulative · haul.plan) · 끌어감 = UI_Cross_Culvert* · _Box_Geom · _Ford_Geom · _Wall* · _Revetment · _Lean · _Excavation · _Structure_Cut · _Body_Guard · Structure_Layouts · UI_Section_Common
  • build:corridor · build:b07-extent 도 UI_Cross_* 구조물 그림을 끌어감 — 고치면 해당 build 다시 지어 시험
  • build:design-calc(A00 design_calc_node)가 Route_Carry_Patch · logic/Route_Carry · logic/Design_Keys 를 끌어감(노선 바뀐 [저장] 넘김) — 고치면 다시 지어 test_472_6_route_save
  • 입구 경로를 시험이 씀(test_b06_ground_unlock.py · test_b06_height_unlock.py 등) · 묶음이 끄는 파일 모듈 맨 위에 DOM · window · sessionStorage 금지

남의 페이지가 부르는 파일(고치면 부르는 쪽 시험도):

  • ts — Api_Fetch · Section_Store(B03 · B05 · B07 · B09) · UI_Cross_Culvert* · _Box · _Ford* · _Revetment · _Wall_Hatch · _Underdrain · _Design · _Body_Guard · _Fit · _Panel_Base(B05 · B07) · UI_Cross_Culvert_Const(M02) · UI_Section_Common · UI_Longitudinal · Cross_Refresh · Api_Culvert_Options · Structure_Layouts · A00 design 이 부르는 UI_Page_*
  • py — Repository · Repository_Bulk · Router · Router_Confirm · Router_Design · Engine_Design · Engine_Culvert · Schema

logic/ 규칙:

  • DOM · three · fetch · sessionStorage · window 금지 · 순수 함수만
  • 화면 파일이 logic 을 부름 · logic 은 화면 파일을 안 부름(logic · common_util 만)
  • 이름 앞머리 그대로(logic/B06_Section_Xxx.ts) · 파이썬 짝이면 두 파일 머리에 짝 표시 + 거울 시험

금지:

  • 파이썬 파일을 하위 폴더로 옮기지 않음(절대 import · Server_Calc_Prebuild.py 뿌리 경로 parents[1])
  • 묶음 입구 파일 옮기지 않음