이랑이 80598e7b58 feat(rails): integrate hanarang-rails orchestrator into dashboard
Backend:
- src/rails/rails.service.ts — HTTP client for rails API (read-only)
- src/rails/rails.controller.ts — REST under /api/rails/* (JwtGuard 보호)
    GET /pipelines, /pipelines/:id, /pipelines/:id/sub-tasks, /health
    POST /pipelines/start, /pipelines/:id/abort
- src/rails/rails.scheduler.ts — 2초마다 rails poll → EventEmitter2 broadcast
- src/rails/rails.module.ts — module + DI
- events.gateway.ts — rails.* 이벤트 핸들러 3종 (Socket.IO 'rails:*')
- app.module.ts — RailsModule 등록

Frontend:
- lib/useRailsSocket.ts — Socket.IO 훅 (rails:pipelines / pipeline:updated / subtasks)
- components/rails/PipelineList.tsx — 좌측 파이프라인 카드 목록
- components/rails/SubTaskTree.tsx — 우측 계층 트리 뷰
    role 별 색상 (manager/principal/lead/junior)
    state 별 dot + running pulse 애니메이션
    duration / model 표시
- app/rails/page.tsx — 라이브 대시보드 페이지
    좌: 파이프라인 목록 + Start 폼
    우: 선택된 파이프라인의 sub-task 트리
- components/common/Sidebar.tsx — '레일' 메뉴 추가

기존 hanarang-dashboard 의 UX/테마 그대로 재사용 (CSS variables).
인증은 기존 JwtGuard 그대로 적용.

검증: backend nest build ✓ | frontend next build ✓ (turbopack)

다음: Dev 서버에 배포 + 첫 라이브 파이프라인 구동 확인.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 17:30:11 +09:00
2026-04-05 15:37:44 +09:00
2026-04-05 16:27:37 +09:00

하나랑 대시보드

4자매 멀티에이전트 파이프라인 관제 대시보드. 자기야가 한눈에 전체 현황, 프로젝트 흐름, QA 상태, 배포 상태를 파악하고 관리하는 화면.

기술 스택

  • Frontend: Next.js 16 + styled-components
  • Backend: Nest.js + Prisma
  • DB: MariaDB
  • Realtime: Socket.IO
  • FE: https://hanarang.nabomhalang.co.kr
  • BE: https://hanarang-api.nabomhalang.co.kr

표준 저장소 구조

hanarang-dashboard/
├── ARCHITECTURE.md
├── README.md
├── .plans/
│   ├── OVERVIEW.md
│   ├── design/
│   ├── sprints/
│   ├── hotfix/
│   ├── qa/
│   └── deploy/
├── docs/
│   ├── product-specs/
│   ├── references/
│   ├── tech-debt-tracker.md
│   └── QUALITY_SCORE.md
├── frontend/
└── backend/

작업 파이프라인

  1. 하랑이 문서 작성 및 선 push
  2. 나랑이 구현 branch 작업
  3. 다랑이 QA + .plans/qa/ 결과 문서 push
  4. 하랑이 QA 확인 후 main merge
  5. 이랑이 최신 main pull + 재배포

main은 항상 배포 가능 상태를 유지해.

실행 방법

사전 준비

  1. 루트 .env.example 참고
  2. backend/.env 작성
  3. SSH_KEY_PATH 설정

Backend

cd backend
npm install
npx prisma migrate dev
npx prisma db seed
npm run dev

Frontend

cd frontend
npm install
npm run dev

참고 문서

  • 아키텍처: ARCHITECTURE.md
  • 실행 문서: .plans/OVERVIEW.md
  • 구조 기준: docs/references/repo-structure.md
  • 프로젝트 IA: docs/product-specs/project-information-architecture.md
Description
하나랑 대시보드 — 4자매 멀티에이전트 관제 대시보드
Readme 2.7 MiB
Languages
TypeScript 82.1%
HTML 17.7%
JavaScript 0.2%