{
  "id": "f8815ae9-8733-4468-9ba7-39feb414543a",
  "slug": "ref/khub/common-sys-001-daily-audit-wf-설계서",
  "doc_type": "ref",
  "title": "🔍 [SYS-001] Daily Audit WF 설계서",
  "title_en": null,
  "one_liner": "# [SYS-001] n8n Daily Convention Audit 설계서 > 2026-02-16 | COMMON | 구현 대기 ## 개요 매일 변경 WF 자동 검증 + 주 1회(월) 전체 검증. 건강도 점수 추적. ## 실행 주기 매일 09:00 KST: updatedAt > ",
  "summary_bullets": [],
  "body_md": "# [SYS-001] n8n Daily Convention Audit 설계서\n\n> 2026-02-16 | COMMON | 구현 대기\n\n## 개요\n매일 변경 WF 자동 검증 + 주 1회(월) 전체 검증. 건강도 점수 추적.\n\n## 실행 주기\n매일 09:00 KST: updatedAt > 전일 09:00인 WF만\n월요일 09:00 KST: 전체 WF (active + inactive)\n\n## 아키텍처\nSchedule → CONFIG → 월요일판별 → WF목록조회(전체/변경분) → SplitInBatches → WF상세조회 → R1~R10검증 → 점수계산 → Supabase INSERT(de_audit_results) → 텔레그램(조건부)\n\n## 알림 채널\n1. Supabase de_audit_results: 매 실행 (전체 결과)\n2. 텔레그램: Critical 발견 또는 점수 5점 이상 악화 시\n3. Claude 세션: KI 요약 + KHub 상세 조회\n\n## DB 테이블\nde_audit_results (bawee Supabase)\n- audit_date, scan_type(daily/full), total_workflows\n- score, grade, critical/warning/info_count\n- details(JSONB), score_change\n\n## 검증 규칙 R1~R10\nR1 네이밍(W) R2 이모지(I) R3 CONFIG(W) R4 에러핸들링(W) R5 프로젝트(W)\nR6 비활성(I) R7 설명(I) R8 시크릿(C) R9 Webhook인증(W) R10 노드상한(I)\n건강도 = 100 - C×10 - W×3 - I×1\n\n## 텔레그램 메시지\n🔍 n8n Daily Audit (날짜)\n건강도: {score}점 {grade} (전일 대비)\nCritical/Warning/Info 건수 + 상세\n\n## 구현 로드맵\n1. de_audit_results 테이블 ✅ 완료\n2. WF 뼈대 생성 (30분)\n3. R1~R10 Code 노드 (1시간)\n4. 점수계산 + INSERT (30분)\n5. 텔레그램 알림 (20분)\n6. 1차 전체 검증 실행\n7. Quick Instructions 업데이트\n총 ~3시간",
  "related_slugs": [],
  "faq": [],
  "jsonld": null,
  "keywords": [],
  "source_id": "f0cd4188-2197-412a-ab49-f7f1510fddea",
  "video_url": null,
  "duration_sec": null,
  "thumbnail_url": null,
  "image_url": null,
  "caption": null,
  "solution_slug": null,
  "captured_at": null,
  "width": null,
  "height": null,
  "created_at": "2026-08-24T11:53:45.101247+00:00",
  "updated_at": "2026-08-24T11:53:45.101247+00:00",
  "visibility": "public",
  "source_stage": "1",
  "anonymized": true,
  "source_key": "legacy-khub",
  "origin": "ingest",
  "locked": false,
  "locked_by": null,
  "locked_at": null,
  "gate_state": {
    "g1": {
      "hits": [],
      "pass": true
    },
    "g2": {
      "pass": true,
      "total": 47,
      "issues": [
        "핵심 요약 불릿이 3개 미만입니다",
        "Q&A 쌍이 3개 미만입니다"
      ],
      "applies": true
    },
    "g3": {
      "pass": true,
      "required": false
    },
    "stage": "1",
    "decided_at": "2026-08-24T11:53:44.334Z"
  },
  "raw_id": "ca1b644a-d8e9-4a86-849a-fefe01151298",
  "search_text": "🔍 [SYS-001] Daily Audit WF 설계서  # [SYS-001] n8n Daily Convention Audit 설계서 > 2026-02-16 | COMMON | 구현 대기 ## 개요 매일 변경 WF 자동 검증 + 주 1회(월) 전체 검증. 건강도 점수 추적. ## 실행 주기 매일 09:00 KST: updatedAt >   # [SYS-001] n8n Daily Convention Audit 설계서\n\n> 2026-02-16 | COMMON | 구현 대기\n\n## 개요\n매일 변경 WF 자동 검증 + 주 1회(월) 전체 검증. 건강도 점수 추적.\n\n## 실행 주기\n매일 09:00 KST: updatedAt > 전일 09:00인 WF만\n월요일 09:00 KST: 전체 WF (active + inactive)\n\n## 아키텍처\nSchedule → CONFIG → 월요일판별 → WF목록조회(전체/변경분) → SplitInBatches → WF상세조회 → R1~R10검증 → 점수계산 → Supabase INSERT(de_audit_results) → 텔레그램(조건부)\n\n## 알림 채널\n1. Supabase de_audit_results: 매 실행 (전체 결과)\n2. 텔레그램: Critical 발견 또는 점수 5점 이상 악화 시\n3. Claude 세션: KI 요약 + KHub 상세 조회\n\n## DB 테이블\nde_audit_results (bawee Supabase)\n- audit_date, scan_type(daily/full), total_workflows\n- score, grade, critical/warning/info_count\n- details(JSONB), score_change\n\n## 검증 규칙 R1~R10\nR1 네이밍(W) R2 이모지(I) R3 CONFIG(W) R4 에러핸들링(W) R5 프로젝트(W)\nR6 비활성(I) R7 설명(I) R8 시크릿(C) R9 Webhook인증(W) R10 노드상한(I)\n건강도 = 100 - C×10 - W×3 - I×1\n\n## 텔레그램 메시지\n🔍 n8n Daily Audit (날짜)\n건강도: {score}점 {grade} (전일 대비)\nCritical/Warning/Info 건수 + 상세\n\n## 구현 로드맵\n1. de_audit_results 테이블 ✅ 완료\n2. WF 뼈대 생성 (30분)\n3. R1~R10 Code 노드 (1시간)\n4. 점수계산 + INSERT (30분)\n5. 텔레그램 알림 (20분)\n6. 1차 전체 검증 실행\n7. Quick Instructions 업데이트\n총 ~3시간",
  "embedding": null,
  "embedded_at": null,
  "embedding_hash": null,
  "backlinks": [],
  "html_url": "https://bizspring.ai/kb/ref/khub/common-sys-001-daily-audit-wf-설계서",
  "markdown_url": "https://bizspring.ai/kb/ref/khub/common-sys-001-daily-audit-wf-설계서.md"
}