chore(release): 공개 소스 본문 내부 단서(· 호칭) 정리
공개 release 발행 시 파일 본문 누출 검사(check-public-release-leakage)에 걸리던 내부 단서를 정리해 발행을 차단하지 않도록 함. - 코드/테스트 주석·문서 본문의 "" 규정 인용을 "코어 규정/규칙" 등 중립 표현으로 치환 (코어·이커머스·board·kginicis·gdpr·pay·템플릿 전 영역) - 내부 역할 호칭 ""/""를 문맥에 맞는 중립 표현으로 일반화 - config/app.php 의 보호경로 목록(G7_UPDATE_PROTECTED_PATHS) 내 파일명은 기능 코드이므로 삭제 대신 검사기 화이트리스트에 등록 주석/설명 문자열/문서 본문만 변경 — 로직·데이터·동작 무변경. 검증: 누출 재검사 error 0 / warn 0, 영향 테스트 TS 140/140·PHP 113/113 통과.
This commit is contained in:
1 parent
eb2b35ef36
commit
52ee8c855a
113 files changed
+171
-171
No files matched your search
@@ -5,7 +5,7 @@ G7 코어의 Playwright (TypeScript) 기반 결정론적 E2E 인프라.
|
||||
## 빠른 시작
|
||||
|
||||
```powershell
|
||||
# PowerShell (PO 환경)
|
||||
# PowerShell (개발 환경)
|
||||
$env:PLAYWRIGHT_BASE_URL='https://g7.dev'
|
||||
npm run test:e2e # 전체 spec
|
||||
npm run test:e2e:smoke # @smoke 태그 (homepage / login / admin-dashboard 3건)
|
||||
@@ -24,9 +24,9 @@ PLAYWRIGHT_BASE_URL=https://g7.dev npx playwright test
|
||||
|
||||
1. **`PLAYWRIGHT_BASE_URL` 환경변수** — CI / 명시적 오버라이드 (최우선)
|
||||
2. **`.env` 의 `APP_URL`** — 단 `http://localhost` 류는 fallback 부적합 (Apache vhost 미경유)
|
||||
3. **그 외** — 명시 에러 (PO 가 의도적으로 base URL 을 지정하지 않으면 spec 미실행)
|
||||
3. **그 외** — 명시 에러 (의도적으로 base URL 을 지정하지 않으면 spec 미실행)
|
||||
|
||||
도메인이 가변(개발자/CI/PO 환경별 다름)이므로 fallback 하드코딩 금지.
|
||||
도메인이 가변(개발자/CI/운영 환경별 다름)이므로 fallback 하드코딩 금지.
|
||||
|
||||
## 디렉토리 구조
|
||||
|
||||
@@ -141,7 +141,7 @@ await page.route('https://api.tosspayments.com/v1/payments/confirm', route => ro
|
||||
```
|
||||
|
||||
분기별(성공/실패/취소/금액 불일치/중복) 가맹점 측 처리(주문 상태 전환, 재고 차감, 알림 발송) 정확성 검증.
|
||||
실 카드 결제 자동화는 권장하지 않음 — PO 수동 검증.
|
||||
실 카드 결제 자동화는 권장하지 않음 — 수동 검증.
|
||||
|
||||
## 회귀 / Flaky 처리
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
* 2. core.users.read 권한 토큰 fixture (issueToken).
|
||||
* 3. test.describe.skip → test.describe (data-testid 추가 없이 #search_input id 로 접근 가능).
|
||||
*
|
||||
* 단위 테스트가 가드 로직을 잠그고 있어, 본 라이브 spec 은 PO 환경에서의 최종 확증용이다.
|
||||
* 단위 테스트가 가드 로직을 잠그고 있어, 본 라이브 spec 은 실환경에서의 최종 확증용이다.
|
||||
*/
|
||||
import { test, expect, issueToken, authenticatePage } from '../fixtures/auth';
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* 헤드리스에서 안정 검증 가능. 따라서 본 spec 은 **분기 안에 드롭 슬롯이 생성되는지**
|
||||
* (결함① 의 직접 회귀 가드)를 렌더 계층에서 검증한다.
|
||||
* - 드롭 commit(moveNode) + undo 는 헤드리스 합성 입력에서 collision 미해소로 no-op —
|
||||
* 단위(`responsiveBranchPath.test.ts` moveNode 분기 정렬)와 실브라우저(Chrome MCP PO
|
||||
* 단위(`responsiveBranchPath.test.ts` moveNode 분기 정렬)와 실브라우저(Chrome MCP
|
||||
* 검수)로 검증한다(feedback_chrome_mcp_dnd_kit_incompatible).
|
||||
*
|
||||
* @scenario responsive_branch_edit drag_drop
|
||||
|
||||
@@ -356,7 +356,7 @@ test('@smoke #399 Phase 1.16 - footer_buttons 의 cancel/save 가 .btn-secondary
|
||||
// 행 간격은 부모 .stack 의 gap-4 가 처리하므로 자식의 py-*/pt-*/pb-*/my-*/mt-*/mb-*
|
||||
// 는 이중 간격을 만든다. 박스 스타일(bg-/border/rounded/shadow/ring)을 동반한
|
||||
// 자식의 전방위 p-*/m-* 는 박스 내부 padding 이므로 보존.
|
||||
// 본 spec 의 보안 탭 #field_login_lockout_time 은 PO 가 직접 지목한 사례 — 수직
|
||||
// 본 spec 의 보안 탭 #field_login_lockout_time 은 검수자가 직접 지목한 사례 — 수직
|
||||
// 패딩 토큰이 모두 제거되어 있어야 한다.
|
||||
const lockoutField = page.locator('#field_login_lockout_time').first();
|
||||
if (await lockoutField.count() > 0) {
|
||||
|
||||
@@ -18,7 +18,7 @@ use Tests\TestCase;
|
||||
* 덮어쓰지 않아야 한다. 그렇지 않으면 운영 PC 의 settings 값(debug=false) 때문에 PHPUnit / E2E 인프라
|
||||
* (PlaywrightIssueToken 등) 가 의도치 않게 차단된다.
|
||||
*
|
||||
* 회귀 컨텍스트: 이슈 #238 Playwright 도입 작업 중 PO 환경(APP_ENV=production, debug.json mode=false) 에서
|
||||
* 회귀 컨텍스트: 이슈 #238 Playwright 도입 작업 중 운영 환경(APP_ENV=production, debug.json mode=false) 에서
|
||||
* --env=testing 으로 artisan 명령을 실행해도 SettingsServiceProvider 가 settings JSON 의 mode=false 로
|
||||
* config('app.debug') 를 false 로 덮어쓰는 문제가 발견됨.
|
||||
*/
|
||||
|
||||
@@ -18,7 +18,7 @@ axes:
|
||||
layout_dir: [bundled, active]
|
||||
|
||||
exclusions:
|
||||
- { locale: ja, layout_dir: active, reason: "ja 증분은 ANTHROPIC_API_KEY 필요 — 환경 제약, PO 후속" }
|
||||
- { locale: ja, layout_dir: active, reason: "ja 증분은 번역 API 키 필요 — 환경 제약, 후속" }
|
||||
|
||||
effects:
|
||||
- hardcoded_korean_text_removed_from_layout
|
||||
@@ -27,7 +27,7 @@ effects:
|
||||
- en_partial_defines_bulk_status_change
|
||||
- translation_engine_resolves_key_for_ko_and_en
|
||||
- active_dir_reflects_keyed_layout_and_lang
|
||||
- ja_bundle_increment_pending_api_key # 환경 제약 (PO ANTHROPIC_API_KEY)
|
||||
- ja_bundle_increment_pending_api_key # 환경 제약 (번역 API 키)
|
||||
|
||||
test_files:
|
||||
- templates/_bundled/sirsoft-admin_basic/__tests__/layouts/admin-user-list-bulk-status-i18n.test.tsx
|
||||
|
||||
@@ -72,7 +72,7 @@ effects:
|
||||
# 소멸 / 탈퇴
|
||||
- expire_lots_records_per_item_expired_transaction_with_expired_at
|
||||
- expire_lots_decrements_balance_and_is_idempotent_on_rerun
|
||||
- withdrawal_records_expired_activity_log_with_amount_currency_userid_before_delete # §6.1 PO #8
|
||||
- withdrawal_records_expired_activity_log_with_amount_currency_userid_before_delete # §6.1 요구 #8
|
||||
# 캐시 정합 (§3.5)
|
||||
- cache_recalculated_for_user_after_every_balance_changing_path
|
||||
- cache_pending_derived_from_order_options_not_ledger
|
||||
|
||||
@@ -98,7 +98,7 @@ effects:
|
||||
- guest_order_form_hidden_for_logged_in_member # 후속 보완 — 회원에게 폼 노출 차단 (redirect 발화 전 깜빡 입력 방지)
|
||||
- guest_order_form_clears_session_token_on_entry_for_standard_form_visibility # 후속 보완 — 자동 redirect 대신 토큰 초기화. eBay/Best Buy/카페24/11번가/G마켓 표준 패턴 정합
|
||||
- header_and_mobile_nav_order_lookup_routes_via_login_redirect_param # 후속 보완 — '주문조회' 클릭 시 /login?redirect=/mypage/orders 진입. 회원/비회원 단일 진입점, 로그아웃된 회원 막다른 길 차단
|
||||
- guest_order_form_failure_shows_inline_error_box_instead_of_toast # 후속 보완 — 통일 not_found 메시지를 toast 대신 폼 상단 인라인 박스로 노출. PO UX 결정. 재시도 시 자동 초기화
|
||||
- guest_order_form_failure_shows_inline_error_box_instead_of_toast # 후속 보완 — 통일 not_found 메시지를 toast 대신 폼 상단 인라인 박스로 노출. UX 결정. 재시도 시 자동 초기화
|
||||
# 진입 동선 (단계 5 그룹 D)
|
||||
- header_lookup_link_visible_only_when_no_currentUser
|
||||
- mobile_nav_lookup_link_visible_only_when_no_currentUser
|
||||
@@ -214,4 +214,4 @@ notes: |
|
||||
검증 + Playwright E2E spec 으로 회귀 가드한다.
|
||||
|
||||
axes 중 `e2e_browser` 는 단일(chromium) 로 시작하며, Firefox/WebKit 확장은 그룹 D 완료 후
|
||||
PO 결정에 따라.
|
||||
결정에 따라.
|
||||
@@ -1,4 +1,4 @@
|
||||
# audit:allow test-scenario-coverage reason: 본 매니페스트는(트리 버전 배지 레이아웃+확장 / 버전 기록·복원 / 모달 편집 스크롤 격리) 시나리오 매트릭스 SSoT. 축이 직교(5축)라 full cross product fingerprint 마킹이 실효 없고, 회귀 가드는 test_files 의 통과 테스트(Vitest 단위 18건 + PHPUnit Feature/Unit + Playwright E2E 3건 example.com 실측 + Chrome MCP 9축 매트릭스 라이브 실측 —.claude/history/20260610_1030_*)로 effects 전수를 커버. 편집기 도메인 선례(layout-editor-page-state-switcher/preview-canvas)와 동일 면제 방식.
|
||||
# audit:allow test-scenario-coverage reason: 본 매니페스트는(트리 버전 배지 레이아웃+확장 / 버전 기록·복원 / 모달 편집 스크롤 격리) 시나리오 매트릭스 SSoT. 축이 직교(5축)라 full cross product fingerprint 마킹이 실효 없고, 회귀 가드는 test_files 의 통과 테스트(Vitest 단위 18건 + PHPUnit Feature/Unit + Playwright E2E 3건 example.com 실측 + Chrome MCP 9축 매트릭스 라이브 실측 — 내부 검증 이력)로 effects 전수를 커버. 편집기 도메인 선례(layout-editor-page-state-switcher/preview-canvas)와 동일 면제 방식.
|
||||
feature: 레이아웃 편집기 라우트 트리 버전 배지 + 모달 편집 캔버스 스크롤 유지
|
||||
phase: S9-followup
|
||||
session: S9-followup
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
feature: 어드민 목록 화면의 list_info 헤더 + iteration admin-card 시각 여백 정합 (#408 보강)
|
||||
|
||||
description: |
|
||||
이슈 #408 후속 — PO 가 어드민 알림 정의 화면에서 두 가지 시각 여백 부족을 지적:
|
||||
이슈 #408 후속 — 검수자가 어드민 알림 정의 화면에서 두 가지 시각 여백 부족을 지적:
|
||||
1. 카운트 + 페이지당 셀렉트 묶음 (list_info 헤더) 의 위/아래 여백 없음
|
||||
2. iteration 으로 반복되는 admin-card 의 하단 margin 이 자산 default mb-6
|
||||
(1.5rem) 으로 너무 큼
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
feature: 게시판/이커머스 어드민 페이지 root wrapper 시맨틱 자산 매핑 (#408 보강)
|
||||
|
||||
description: |
|
||||
이슈 #408 §2-1 PO 매핑 결정 적용 — board/ec admin 레이아웃의 페이지 root wrapper
|
||||
이슈 #408 §2-1 매핑 결정 적용 — board/ec admin 레이아웃의 페이지 root wrapper
|
||||
raw className 잔존분을 admin_basic 시맨틱 자산으로 정합.
|
||||
|
||||
결정 요약:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# audit:allow test-scenario-coverage reason: 본 매니페스트는 웹소켓 토글 전 계층 SSoT 시나리오 매트릭스 SSoT. 핵심 회귀 가드는 test_files 의 통과 테스트로 커버. Chrome MCP 라이브 axis 는 PO 환경 실측.
|
||||
# audit:allow test-scenario-coverage reason: 본 매니페스트는 웹소켓 토글 전 계층 SSoT 시나리오 매트릭스 SSoT. 핵심 회귀 가드는 test_files 의 통과 테스트로 커버. Chrome MCP 라이브 axis 는 실환경 실측.
|
||||
|
||||
feature: websocket_enabled 토글 전 계층 단일 SSoT 가드 (공개#50)
|
||||
|
||||
@@ -32,7 +32,7 @@ effects:
|
||||
- channel_auth_returns_401_when_unauthenticated
|
||||
- channel_auth_passes_toggle_guard_when_on_and_authenticated
|
||||
- websocket_manager_skips_initialize_when_appkey_empty
|
||||
- front_no_wss_connection_attempt_when_toggle_off # Chrome MCP 라이브 실측 (PO 환경)
|
||||
- front_no_wss_connection_attempt_when_toggle_off # Chrome MCP 라이브 실측 (실환경)
|
||||
|
||||
test_files:
|
||||
- tests/Unit/Providers/SettingsServiceProviderWebsocketConfigTest.php
|
||||
|
||||
Reference in new issue
Block a user