Skip to content

feat(guide): july-vat-and-tax-withholding 자동 초안 (운영자 검수 대기)#11

Open
0gam24 wants to merge 2 commits into
mainfrom
ralph/auto-guide-july-vat-and-tax-withholding
Open

feat(guide): july-vat-and-tax-withholding 자동 초안 (운영자 검수 대기)#11
0gam24 wants to merge 2 commits into
mainfrom
ralph/auto-guide-july-vat-and-tax-withholding

Conversation

@0gam24
Copy link
Copy Markdown
Owner

@0gam24 0gam24 commented May 10, 2026

자동 발행 가이드 초안 (Phase 2 첫 실 발행)

Anthropic Claude API 로 생성된 자동 초안 — 운영자 30분 검수 후 머지.

  • 토픽: 7월 부가세 확정신고·연말정산 사전점검
  • 슬러그: /guide/july-vat-and-tax-withholding/
  • 생성: workflow_dispatch (run 25641251411) → generated → quality gate PASS → sitemap 자동 추가 → 브랜치 푸시

CI 게이트

Auto Guide Quality Gate (auto-guide-quality.yml) 가 본 PR 의 가이드 파일을 자동 검증합니다.

운영자 검수 체크리스트 (30분 SLA)

  • 법조항 정확성 확인
  • 세율·공제 금액 SSoT(src/lib/constants/tax-rates-2026.ts) 대조
  • 중복 콘텐츠 검사 (기존 가이드 18편)
  • 외부 권위 링크 deep-link 정확도 확인
  • 금지 표현 부재 재확인
  • 톤·일관성 (운영자 18편 톤과 비교)

🤖 First production run of Phase 2 auto-guide pipeline.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 10, 2026

Deploying calculatorhost with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8fc4de5
Status: ✅  Deploy successful!
Preview URL: https://cd247024.calculatorhost.pages.dev
Branch Preview URL: https://ralph-auto-guide-july-vat-an.calculatorhost.pages.dev

View logs

0gam24 added a commit that referenced this pull request May 10, 2026
기존: gate.outputs.report 를 ${{ }} 인라인 보간 → report 본문 안의 backtick(```)
이 outer 템플릿 리터럴을 조기 종료 → SyntaxError: Unexpected identifier 'src'

수정: gate 단계에서 gate-report.md 파일에 출력 누적, github-script 가
fs.readFileSync 로 읽음. 인라인 보간 회피 → 임의 문자 안전.

영향: PR #11 의 quality-gate FAILURE 는 본 버그 (콘텐츠 검증은 GREEN).
콘텐츠 검증 항목: 본문 2910/2000자 / 권위 링크 2/2 / 금지 표현 0 / AI 표기 ✓.
0gam24 added a commit that referenced this pull request May 10, 2026
매일 03:30 KST GitHub Actions cron 으로 today.md 자동 갱신.
운영자가 "오늘 새로 생긴 내용" 을 한눈에 확인 가능.

신설:
- scripts/generate-today.mjs (+ .d.mts) — git log --diff-filter=A 로 24h 내
  src/app/{guide,calculator}/*/page.tsx 추가분 식별 → metadata.title +
  description 정규식 추출 → today.md 의 오늘 날짜 섹션에 머지·prepend.
  idempotent (중복 URL 자동 제외).
- tests/unit/scripts/generate-today.test.ts — 16 cases (todayKst /
  extractPageMeta / summarize / pathToEntry / mergeIntoTodayMd).
- .github/workflows/today-update.yml — 매일 03:30 KST + workflow_dispatch.
  contents:write 권한으로 main 직접 commit·push. 변경 없으면 noop.
- today.md — 초기 생성 (오늘 섹션, '신규 발행분 없음').
- npm run generate:today / :dry — 로컬 수동 실행.

검증:
- typecheck PASS · lint PASS
- 로컬 dry-run / 실 실행 모두 정상

운영자 액션: 본 PR 머지 시 다음 03:30 KST 부터 자동 갱신 시작.
PR #11 (자동 생성 가이드) 머지 후 다음 cron 실행 시 today.md 에 첫 항목 등재 예상.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant