bootstrap-hal.sh: root 전용 인증서 디렉터리를 sudo 로 확인(실제 부트스트랩 중단 수정), 로컬 E2E 보고서 갱신

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
zzabisagent-lab
2026-10-26 13:43:51 +00:00
co-authored by Claude Fable 5.1
parent 00c42abca1
commit 3b2bb88a81
4 changed files with 184 additions and 183 deletions
+109 -109
View File
@@ -1,14 +1,14 @@
{
"generatedAt": "2026-10-26T13:21:32.783Z",
"startedAt": "2026-10-26T13:19:12.504Z",
"generatedAt": "2026-10-26T13:41:15.840Z",
"startedAt": "2026-10-26T13:38:57.273Z",
"env": {
"agents": 4,
"ports": {
"hal": 34077,
"portal": 38431,
"wm": 38359,
"am": 40037,
"mail": 37609
"hal": 36777,
"portal": 41737,
"wm": 35879,
"am": 33601,
"mail": 35379
},
"mailServerRegistered": true,
"node": "v24.22.1"
@@ -99,12 +99,12 @@
{
"name": "팀 그룹 만들기 → 현재 그룹 전환",
"ok": true,
"detail": "g_01a1785d8565c2082fe744502a"
"detail": "g_01a1786f982923b9f2a5d42da0"
},
{
"name": "이메일 초대(7일) → 초대 메일 링크",
"ok": true,
"detail": "rpRdbrRDLUZnw57-ToRz1HleEH4d8Vh3"
"detail": "1Q4qKwkMTVqYSZzHwOiCiXEDb2bTjzyT"
},
{
"name": "초대 수락(1회용) → 별칭 user-02 · 역할 member",
@@ -162,7 +162,7 @@
"detail": {
"count": 2,
"team": {
"id": "pv_01a1785d82c1aac82579226bce",
"id": "pv_01a1786f96aeaf5dbc68cb97ca",
"price": 49000,
"sites": 3
},
@@ -179,7 +179,7 @@
"orderNo": "AW-20261026-0001",
"status": "awaiting_payment",
"total": 63800,
"dueAt": "2026-11-02T13:19:17.470Z",
"dueAt": "2026-11-02T13:39:01.930Z",
"hasInstructions": true
}
},
@@ -221,7 +221,7 @@
"detail": {
"sites": 3,
"subs": 1,
"nextBilling": "2026-11-26T13:19:17.536Z"
"nextBilling": "2026-11-26T13:39:01.993Z"
}
}
],
@@ -233,7 +233,7 @@
"bill": {
"sites": 3,
"subs": 1,
"nextBilling": "2026-11-26T13:19:17.536Z"
"nextBilling": "2026-11-26T13:39:01.993Z"
}
}
},
@@ -248,7 +248,7 @@
"name": "사이트 생성(새 Webmaker 프로젝트·배포 방식 관리형) → 초안·사이트 수 미소비·다음 단계 안내",
"ok": true,
"detail": {
"id": "s_01a1785d86626c4268d23e8c8c",
"id": "s_01a1786f992b08508f0cad57b8",
"lifecycle": "draft",
"projectId": "00000000000000000000000000000001",
"nextSteps": [
@@ -283,7 +283,7 @@
"name": "제작 화면 열기: 포털 SSO 티켓 → Webmaker /api/auth/sso 302(1회용)",
"ok": true,
"detail": {
"portalRedirect": "http://127.0.0.1:38359/api/auth/sso?ticket=…",
"portalRedirect": "http://127.0.0.1:35879/api/auth/sso?ticket=…",
"webmaker": 302,
"reuse": 401
}
@@ -299,7 +299,7 @@
],
"evidence": {
"sso": {
"portalRedirect": "http://127.0.0.1:38359/api/auth/sso?ticket=…",
"portalRedirect": "http://127.0.0.1:35879/api/auth/sso?ticket=…",
"webmaker": 302,
"reuse": 401
},
@@ -320,7 +320,7 @@
"name": "배포 요청 → 10단계 작업·사이트 수 예약·같은 요청 재제출은 하나",
"ok": true,
"detail": {
"jobId": "j_01a1785d86b049e14cbf94b74a",
"jobId": "j_01a1786f997765631aebc605be",
"steps": 10,
"again": false,
"siteCount": "reserved",
@@ -351,7 +351,7 @@
"ok": true,
"detail": {
"lifecycle": "needs_domain",
"version": "20261026131918-rev-c1-000000",
"version": "20261026133903-rev-c1-000000",
"verify": "needs_domain",
"health": "ok",
"agentHasSite": true
@@ -360,7 +360,7 @@
],
"evidence": {
"d": {
"jobId": "j_01a1785d86b049e14cbf94b74a",
"jobId": "j_01a1786f997765631aebc605be",
"steps": 10,
"again": false,
"siteCount": "reserved",
@@ -383,7 +383,7 @@
},
"after": {
"lifecycle": "needs_domain",
"version": "20261026131918-rev-c1-000000",
"version": "20261026133903-rev-c1-000000",
"verify": "needs_domain",
"health": "ok",
"agentHasSite": true
@@ -401,7 +401,7 @@
"name": "도메인 추가(웹·대표 지정) → 소유 확인 TXT 값 안내 → 작업이 외부 대기(TXT)",
"ok": true,
"detail": {
"domainId": "d_01a1785d9684c7a5694cbcebfa",
"domainId": "d_01a1786fa94c717fb17b4eda3a",
"txtName": "_ariweb-verify.aw-e2e.localhost",
"txtValueShape": "ariweb-verify=…",
"copyable": true
@@ -422,7 +422,7 @@
],
"evidence": {
"dm": {
"domainId": "d_01a1785d9684c7a5694cbcebfa",
"domainId": "d_01a1786fa94c717fb17b4eda3a",
"txtName": "_ariweb-verify.aw-e2e.localhost",
"txtValueShape": "ariweb-verify=…",
"copyable": true
@@ -500,7 +500,7 @@
"name": "사이트 대표 메일 생성(사이트 연결 도메인·배정) → AriMail 테넌트 준비·도메인별 보장량·ariweb 표시",
"ok": true,
"detail": {
"id": "msv_01a1785e1f18f7002057347a34",
"id": "msv_01a1787031d54f3f250dac0ce2",
"status": "needs_setup",
"tenant": true,
"ariwebKind": "site_bound",
@@ -517,7 +517,7 @@
"name": "메일함 생성: 초기 비밀번호 1회 표시·접속 안내 → 재조회에는 비밀번호 없음",
"ok": true,
"detail": {
"id": "mb_01a1785e1f53a4fcfe5daf70b5",
"id": "mb_01a17870320f11eedf7f6c6e3b",
"address": "kim@aw-e2e.localhost",
"passwordShownOnce": "[redacted]",
"mustChange": true,
@@ -584,7 +584,7 @@
],
"evidence": {
"svc": {
"id": "msv_01a1785e1f18f7002057347a34",
"id": "msv_01a1787031d54f3f250dac0ce2",
"status": "needs_setup",
"tenant": true,
"ariwebKind": "site_bound",
@@ -592,7 +592,7 @@
"siteCountAllocated": 0
},
"mb": {
"id": "mb_01a1785e1f53a4fcfe5daf70b5",
"id": "mb_01a17870320f11eedf7f6c6e3b",
"address": "kim@aw-e2e.localhost",
"passwordShownOnce": "[redacted]",
"mustChange": true,
@@ -644,7 +644,7 @@
"name": "메일 전용 도메인 등록(solo-e2e.localhost, purpose mail)",
"ok": true,
"detail": {
"id": "d_01a1785e47703780e4f9bdfe16",
"id": "d_01a178705c269810ff7cbfe471",
"jobCancelled": null
}
},
@@ -652,7 +652,7 @@
"name": "독립 메일 서비스 생성(독립 옵션 소비·사이트 수 미소비)",
"ok": true,
"detail": {
"id": "msv_01a1785e477805a9a147d2fd87",
"id": "msv_01a178705c2f17aa866ea77237",
"kind": "standalone",
"mailServicesAllocated": 1,
"sitesAllocated": 0
@@ -661,7 +661,7 @@
],
"evidence": {
"r": {
"id": "msv_01a1785e477805a9a147d2fd87",
"id": "msv_01a178705c2f17aa866ea77237",
"kind": "standalone",
"mailServicesAllocated": 1,
"sitesAllocated": 0
@@ -701,8 +701,8 @@
"ok": true,
"detail": {
"status": "active",
"firstDue": "2026-10-27T13:20:07.184Z",
"nextRun": "2026-10-26T13:20:07.184Z"
"firstDue": "2026-10-27T13:39:52.132Z",
"nextRun": "2026-10-26T13:39:52.132Z"
}
},
{
@@ -712,7 +712,7 @@
"timedOut": false,
"optionStatus": "active",
"lastJob": null,
"siteServer": "srv_01a1785d7c8e7c81c8953e5bad",
"siteServer": "srv_01a1786f908cc425993b51166d",
"backup": {
"status": "done",
"tier": "monthly",
@@ -733,14 +733,14 @@
},
"opt": {
"status": "active",
"firstDue": "2026-10-27T13:20:07.184Z",
"nextRun": "2026-10-26T13:20:07.184Z"
"firstDue": "2026-10-27T13:39:52.132Z",
"nextRun": "2026-10-26T13:39:52.132Z"
},
"run1": {
"timedOut": false,
"optionStatus": "active",
"lastJob": null,
"siteServer": "srv_01a1785d7c8e7c81c8953e5bad",
"siteServer": "srv_01a1786f908cc425993b51166d",
"backup": {
"status": "done",
"tier": "monthly",
@@ -763,19 +763,19 @@
"ok": true,
"detail": {
"backup": {
"id": "bk_01a1785e5a2387339b7355af21",
"createdAt": "2026-10-26T13:20:07.192Z",
"id": "bk_01a178706df58e2ec6b8315964",
"createdAt": "2026-10-26T13:39:52.139Z",
"scope": {
"files": true,
"db": true,
"uploads": true,
"config": true,
"storeServerId": "srv_01a1785d7d38e2cdafa814388f",
"storeServerId": "srv_01a1786f913e88093d5c9ab3a8",
"verifyMethod": "sha256 + 격리 환경 읽기 확인"
},
"sizeBytes": 1899,
"sizeBytes": 1891,
"verifyState": "verified",
"expiresAt": "2027-01-27T13:20:11.812Z",
"expiresAt": "2027-01-27T13:39:56.534Z",
"tier": "monthly"
},
"included": [
@@ -809,7 +809,7 @@
"name": "복원 요청 → 운영자 승인 대기 · 중복 요청 없음",
"ok": true,
"detail": {
"id": "rs_01a1785e5fceb0b45b4373fd82",
"id": "rs_01a178706e9a3a6cc10e6874f3",
"status": "awaiting_approval",
"dup": false,
"finalConfirmation": {
@@ -838,19 +838,19 @@
"evidence": {
"info": {
"backup": {
"id": "bk_01a1785e5a2387339b7355af21",
"createdAt": "2026-10-26T13:20:07.192Z",
"id": "bk_01a178706df58e2ec6b8315964",
"createdAt": "2026-10-26T13:39:52.139Z",
"scope": {
"files": true,
"db": true,
"uploads": true,
"config": true,
"storeServerId": "srv_01a1785d7d38e2cdafa814388f",
"storeServerId": "srv_01a1786f913e88093d5c9ab3a8",
"verifyMethod": "sha256 + 격리 환경 읽기 확인"
},
"sizeBytes": 1899,
"sizeBytes": 1891,
"verifyState": "verified",
"expiresAt": "2027-01-27T13:20:11.812Z",
"expiresAt": "2027-01-27T13:39:56.534Z",
"tier": "monthly"
},
"included": [
@@ -880,7 +880,7 @@
"deferred": []
},
"rq": {
"id": "rs_01a1785e5fceb0b45b4373fd82",
"id": "rs_01a178706e9a3a6cc10e6874f3",
"status": "awaiting_approval",
"dup": false,
"finalConfirmation": {
@@ -970,8 +970,8 @@
"name": "외부 배포 사이트 생성(초안) + 저장본",
"ok": true,
"detail": {
"id": "s_01a1785f4b4aa64e53cac1fb30",
"group_id": "g_01a1785d8565c2082fe744502a",
"id": "s_01a178715a0ac510fc2723b7d8",
"group_id": "g_01a1786f982923b9f2a5d42da0",
"name": "E2E 외부 사이트",
"purpose": "e2e",
"webmaker_project_id": "00000000000000000000000000000004",
@@ -999,9 +999,9 @@
"retention_until": null,
"delete_after": null,
"deleted_at": null,
"created_by": "u_01a1785d84b8758824db3f9dbd",
"created_at": "2026-10-26T13:21:13.547Z",
"updated_at": "2026-10-26T13:21:13.553Z",
"created_by": "u_01a1786f9784bbf039c9db24b5",
"created_at": "2026-10-26T13:40:56.970Z",
"updated_at": "2026-10-26T13:40:56.976Z",
"runtime": "static",
"consent_version": null,
"pending_cleanup_json": null,
@@ -1042,8 +1042,8 @@
"ok": true,
"detail": {
"token": "[redacted]",
"install": "curl -fsSL http://127.0.0.1:34077/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:34077 --token … --external --site s_01a1785f4b4aa64e53cac1fb30",
"expiresAt": "2026-10-26T13:31:13.830Z",
"install": "curl -fsSL http://127.0.0.1:36777/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:36777 --token … --external --site s_01a178715a0ac510fc2723b7d8",
"expiresAt": "2026-10-26T13:50:57.173Z",
"status": "pending"
}
},
@@ -1126,8 +1126,8 @@
"agreed": false
},
"tok": {
"install": "curl -fsSL http://127.0.0.1:34077/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:34077 --token … --external --site s_01a1785f4b4aa64e53cac1fb30",
"expiresAt": "2026-10-26T13:31:13.830Z"
"install": "curl -fsSL http://127.0.0.1:36777/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:36777 --token … --external --site s_01a178715a0ac510fc2723b7d8",
"expiresAt": "2026-10-26T13:50:57.173Z"
},
"conn": {
"status": "connected",
@@ -1311,7 +1311,7 @@
"approve": 200,
"sites": 1,
"mailboxes": 5,
"product": "pv_01a1785d82c0d8957482c88fa6"
"product": "pv_01a1786f96ae186ef39a5cdc8c"
}
}
],
@@ -1347,7 +1347,7 @@
"approve": 200,
"sites": 1,
"mailboxes": 5,
"product": "pv_01a1785d82c0d8957482c88fa6"
"product": "pv_01a1786f96ae186ef39a5cdc8c"
}
}
},
@@ -1430,9 +1430,9 @@
"name": "요청(보내는 그룹, 초안 사이트) → 받는 사용자 알림",
"ok": true,
"detail": {
"id": "tr_01a1785f6a46960e607c665537",
"id": "tr_01a17871751ae3edec78ee78f6",
"status": "requested",
"expiresAt": "2026-11-02T13:21:21.478Z",
"expiresAt": "2026-11-02T13:41:03.898Z",
"bobNotified": true
}
},
@@ -1460,7 +1460,7 @@
"bad": "final_confirmation_mismatch",
"ok": 200,
"status": "completed",
"cutover": "2026-10-26T13:21:21.527Z"
"cutover": "2026-10-26T13:41:03.948Z"
}
},
{
@@ -1489,9 +1489,9 @@
"excluded": 3
},
"rq": {
"id": "tr_01a1785f6a46960e607c665537",
"id": "tr_01a17871751ae3edec78ee78f6",
"status": "requested",
"expiresAt": "2026-11-02T13:21:21.478Z",
"expiresAt": "2026-11-02T13:41:03.898Z",
"bobNotified": true
},
"acc": {
@@ -1503,7 +1503,7 @@
"bad": "final_confirmation_mismatch",
"ok": 200,
"status": "completed",
"cutover": "2026-10-26T13:21:21.527Z"
"cutover": "2026-10-26T13:41:03.948Z"
},
"after": {
"aliceSees": 404,
@@ -1781,7 +1781,7 @@
"detail": {
"status": "done",
"canRetry": false,
"jobId": "j_01a1785d86b049e14cbf94b74a"
"jobId": "j_01a1786f997765631aebc605be"
}
},
{
@@ -1806,7 +1806,7 @@
"dep": {
"status": "done",
"canRetry": false,
"jobId": "j_01a1785d86b049e14cbf94b74a"
"jobId": "j_01a1786f997765631aebc605be"
},
"rt": {
"status": 400,
@@ -1832,7 +1832,7 @@
"detail": {
"title": "주문 AW-20261026-0001 승인 — 권리가 활성화되었습니다",
"category": "billing",
"link": "/orders/o_01a1785d85dd70547b90cf2822"
"link": "/orders/o_01a1786f98aada4e1d8cb6a80d"
}
},
{
@@ -1848,7 +1848,7 @@
"ok": true,
"detail": {
"status": "approved",
"approvedAt": "2026-10-26T13:19:17.536Z"
"approvedAt": "2026-10-26T13:39:01.993Z"
}
}
],
@@ -1856,7 +1856,7 @@
"n": {
"title": "주문 AW-20261026-0001 승인 — 권리가 활성화되었습니다",
"category": "billing",
"link": "/orders/o_01a1785d85dd70547b90cf2822"
"link": "/orders/o_01a1786f98aada4e1d8cb6a80d"
},
"a": {
"action": "order.approve",
@@ -1864,7 +1864,7 @@
},
"same": {
"status": "approved",
"approvedAt": "2026-10-26T13:19:17.536Z"
"approvedAt": "2026-10-26T13:39:01.993Z"
}
}
},
@@ -1907,9 +1907,9 @@
"rpo_minutes": 30,
"snapshot_interval_minutes": 60,
"retention_count": 3,
"external_store": "/home/master/work/Ariweb-suite/test/.tmp/e2e-20261026131912/dr-external",
"updated_at": "2026-10-26T13:21:29.825Z",
"updated_by": "op_01a1785d7b8c4698a9c7d245c2"
"external_store": "/home/master/work/Ariweb-suite/test/.tmp/e2e-20261026133857/dr-external",
"updated_at": "2026-10-26T13:41:12.888Z",
"updated_by": "op_01a1786f8f8e2933698e86e10b"
}
},
{
@@ -1969,9 +1969,9 @@
"rpo_minutes": 30,
"snapshot_interval_minutes": 60,
"retention_count": 3,
"external_store": "/home/master/work/Ariweb-suite/test/.tmp/e2e-20261026131912/dr-external",
"updated_at": "2026-10-26T13:21:29.825Z",
"updated_by": "op_01a1785d7b8c4698a9c7d245c2"
"external_store": "/home/master/work/Ariweb-suite/test/.tmp/e2e-20261026133857/dr-external",
"updated_at": "2026-10-26T13:41:12.888Z",
"updated_by": "op_01a1786f8f8e2933698e86e10b"
},
"snap": {
"verify": "ok",
@@ -2005,7 +2005,7 @@
"ok": true,
"detail": {
"mailJob": {
"id": "j_01a1785e3392b1c5f416c21f63",
"id": "j_01a178704650615751827d968f",
"status": "awaiting_external"
},
"halJobs": 19
@@ -2017,7 +2017,7 @@
"detail": {
"sessionKept": "[redacted]",
"mailJob": {
"id": "j_01a1785e3392b1c5f416c21f63",
"id": "j_01a178704650615751827d968f",
"status": "awaiting_external"
},
"same": true
@@ -2036,7 +2036,7 @@
"evidence": {
"before": {
"mailJob": {
"id": "j_01a1785e3392b1c5f416c21f63",
"id": "j_01a178704650615751827d968f",
"status": "awaiting_external"
},
"halJobs": 19
@@ -2044,7 +2044,7 @@
"pr": {
"sessionKept": "[redacted]",
"mailJob": {
"id": "j_01a1785e3392b1c5f416c21f63",
"id": "j_01a178704650615751827d968f",
"status": "awaiting_external"
},
"same": true
@@ -2075,8 +2075,8 @@
"ok": true,
"detail": [
{
"id": "s_01a1785e13123aa6795709778d",
"group_id": "g_01a1785d8595f7a47722a893d6",
"id": "s_01a1787025d63eec09b696bba4",
"group_id": "g_01a1786f985a2da7ec88926cd7",
"name": "동시 A",
"purpose": "e2e",
"webmaker_project_id": "00000000000000000000000000000002",
@@ -2104,9 +2104,9 @@
"retention_until": null,
"delete_after": null,
"deleted_at": null,
"created_by": "u_01a1785d85951776044f575b03",
"created_at": "2026-10-26T13:19:53.618Z",
"updated_at": "2026-10-26T13:19:53.628Z",
"created_by": "u_01a1786f9859846f72516fd3a8",
"created_at": "2026-10-26T13:39:38.070Z",
"updated_at": "2026-10-26T13:39:38.079Z",
"runtime": "static",
"consent_version": null,
"pending_cleanup_json": null,
@@ -2125,8 +2125,8 @@
"nextJob": null
},
{
"id": "s_01a1785e13174139814ca637b9",
"group_id": "g_01a1785d8595f7a47722a893d6",
"id": "s_01a1787025da838857e5102652",
"group_id": "g_01a1786f985a2da7ec88926cd7",
"name": "동시 B",
"purpose": "e2e",
"webmaker_project_id": "00000000000000000000000000000003",
@@ -2154,9 +2154,9 @@
"retention_until": null,
"delete_after": null,
"deleted_at": null,
"created_by": "u_01a1785d85951776044f575b03",
"created_at": "2026-10-26T13:19:53.623Z",
"updated_at": "2026-10-26T13:19:53.631Z",
"created_by": "u_01a1786f9859846f72516fd3a8",
"created_at": "2026-10-26T13:39:38.074Z",
"updated_at": "2026-10-26T13:39:38.081Z",
"runtime": "static",
"consent_version": null,
"pending_cleanup_json": null,
@@ -2214,8 +2214,8 @@
"name": "외부 배포 사이트 생성(초안) + 저장본",
"ok": true,
"detail": {
"id": "s_01a1785f4b4aa64e53cac1fb30",
"group_id": "g_01a1785d8565c2082fe744502a",
"id": "s_01a178715a0ac510fc2723b7d8",
"group_id": "g_01a1786f982923b9f2a5d42da0",
"name": "E2E 외부 사이트",
"purpose": "e2e",
"webmaker_project_id": "00000000000000000000000000000004",
@@ -2243,9 +2243,9 @@
"retention_until": null,
"delete_after": null,
"deleted_at": null,
"created_by": "u_01a1785d84b8758824db3f9dbd",
"created_at": "2026-10-26T13:21:13.547Z",
"updated_at": "2026-10-26T13:21:13.553Z",
"created_by": "u_01a1786f9784bbf039c9db24b5",
"created_at": "2026-10-26T13:40:56.970Z",
"updated_at": "2026-10-26T13:40:56.976Z",
"runtime": "static",
"consent_version": null,
"pending_cleanup_json": null,
@@ -2286,8 +2286,8 @@
"ok": true,
"detail": {
"token": "[redacted]",
"install": "curl -fsSL http://127.0.0.1:34077/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:34077 --token … --external --site s_01a1785f4b4aa64e53cac1fb30",
"expiresAt": "2026-10-26T13:31:13.830Z",
"install": "curl -fsSL http://127.0.0.1:36777/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:36777 --token … --external --site s_01a178715a0ac510fc2723b7d8",
"expiresAt": "2026-10-26T13:50:57.173Z",
"status": "pending"
}
},
@@ -2482,9 +2482,9 @@
"errorCode": "partial_failure",
"overall": "partial",
"children": [
"srv_01a1785d7d38e2cdafa814388f:done:",
"srv_missing_e2e:failed:서버가 없습니다",
"srv_01a1785d7c8e7c81c8953e5bad:done:"
"srv_01a1786f913e88093d5c9ab3a8:done:",
"srv_01a1786f908cc425993b51166d:done:"
],
"timedOut": false
}
@@ -2521,9 +2521,9 @@
"errorCode": "partial_failure",
"overall": "partial",
"children": [
"srv_01a1785d7d38e2cdafa814388f:done:",
"srv_missing_e2e:failed:서버가 없습니다",
"srv_01a1785d7c8e7c81c8953e5bad:done:"
"srv_01a1786f913e88093d5c9ab3a8:done:",
"srv_01a1786f908cc425993b51166d:done:"
],
"timedOut": false
},
@@ -2562,7 +2562,7 @@
"name": "critical 사건 등록 → 선언 → 승인 부족 자격 거부 → 3단계(순서·식별정보·문구) 거부/승인 → 자격 발급(1회)",
"ok": true,
"detail": {
"id": "em_01a1785f8c0286085c36135621",
"id": "em_01a17871994d6c62aa90109d35",
"noCred": "approvals_insufficient",
"wrongStep": "wrong_step",
"badIds": "identifiers_mismatch",
@@ -2570,7 +2570,7 @@
"approved": "approved",
"approvals": 3,
"credential": "[redacted]",
"expiresAt": "2026-10-26T13:51:30.142Z"
"expiresAt": "2026-10-26T14:11:13.193Z"
}
},
{
@@ -2591,14 +2591,14 @@
"evidence": {
"healthy": "hal_healthy",
"sess": {
"id": "em_01a1785f8c0286085c36135621",
"id": "em_01a17871994d6c62aa90109d35",
"noCred": "approvals_insufficient",
"wrongStep": "wrong_step",
"badIds": "identifiers_mismatch",
"badText": "final_confirm_mismatch",
"approved": "approved",
"approvals": 3,
"expiresAt": "2026-10-26T13:51:30.142Z"
"expiresAt": "2026-10-26T14:11:13.193Z"
},
"perf": {
"forbidden": "action_forbidden",
@@ -2650,8 +2650,8 @@
"ok": true,
"detail": {
"status": "readonly",
"deleteAfter": "2026-11-25T13:21:21.408Z",
"readonlyUntil": "2026-11-25T13:21:21.408Z"
"deleteAfter": "2026-11-25T13:41:03.834Z",
"readonlyUntil": "2026-11-25T13:41:03.834Z"
}
},
{
@@ -2677,8 +2677,8 @@
},
"un": {
"status": "readonly",
"deleteAfter": "2026-11-25T13:21:21.408Z",
"readonlyUntil": "2026-11-25T13:21:21.408Z"
"deleteAfter": "2026-11-25T13:41:03.834Z",
"readonlyUntil": "2026-11-25T13:41:03.834Z"
},
"sweep": {
"sweep": 200,
+73 -73
View File
@@ -1,6 +1,6 @@
# 로컬 종단 간 검증 기록 — 2026-10-26
생성: 2026-10-26T13:21:32.783Z · `node --no-warnings test/e2e.test.mjs` (test/e2e/)
생성: 2026-10-26T13:41:15.840Z · `node --no-warnings test/e2e.test.mjs` (test/e2e/)
실행 환경: 실제 HAL·고객 포털·Node Agent(명령 stub 모드) 프로세스 4대 + 가짜 Webmaker/AriMail/발신 메일 서버(127.0.0.1). 실 DNS·실 메일 왕복·실 서버는 포함하지 않는다.
@@ -88,20 +88,20 @@
### 2. 개인 사용자 그룹 생성과 다른 사용자 초대
- ✔ 팀 그룹 만들기 → 현재 그룹 전환 — g_01a1785d8565c2082fe744502a
- ✔ 이메일 초대(7일) → 초대 메일 링크 — rpRdbrRDLUZnw57-ToRz1HleEH4d8Vh3
- ✔ 팀 그룹 만들기 → 현재 그룹 전환 — g_01a1786f982923b9f2a5d42da0
- ✔ 이메일 초대(7일) → 초대 메일 링크 — 1Q4qKwkMTVqYSZzHwOiCiXEDb2bTjzyT
- ✔ 초대 수락(1회용) → 별칭 user-02 · 역할 member — {"alias":"user-02","role":"member","reuse":"invite_invalid"}
- ✔ 권한 없는 구성원의 직접 API 접근 → 403 + 필요한 역할 — {"requiredRole":["owner","admin"],"yourRole":"member"}
- ✔ 그룹 전환 격리: 개인 그룹으로 바꾸면 팀 데이터가 보이지 않음 — {"team":{"live":0,"purchased":0,"inUse":0,"reserved":0,"unallocated":0},"personal":{"live":0,"purchased":0,"inUse":0,"reserved":0,"unallocated":0}}
### 3. 상품 주문, 결제 확인, 권리 활성화
- ✔ 상품 목록(공개 버전만·가격·한도·미확정 정책 표시) — {"count":2,"team":{"id":"pv_01a1785d82c1aac82579226bce","price":49000,"sites":3},"deferred":3,"paymentMethods":["manual_transfer"]}
- ✔ 주문 제출(수동 결제) → 결제 대기·주문 번호·입금 안내 · 같은 키 재제출은 중복 없음 — {"orderNo":"AW-20261026-0001","status":"awaiting_payment","total":63800,"dueAt":"2026-11-02T13:19:17.470Z","hasInstructions":true}
- ✔ 상품 목록(공개 버전만·가격·한도·미확정 정책 표시) — {"count":2,"team":{"id":"pv_01a1786f96aeaf5dbc68cb97ca","price":49000,"sites":3},"deferred":3,"paymentMethods":["manual_transfer"]}
- ✔ 주문 제출(수동 결제) → 결제 대기·주문 번호·입금 안내 · 같은 키 재제출은 중복 없음 — {"orderNo":"AW-20261026-0001","status":"awaiting_payment","total":63800,"dueAt":"2026-11-02T13:39:01.930Z","hasInstructions":true}
- ✔ 입금 확인 전 승인 거부(409 payment_not_confirmed) — payment_not_confirmed
- ✔ 운영자 입금 확인 → 승인 대기 목록에 권리 변화·현재 사용량 표시 — {"status":"awaiting_approval","delta":["sites","web_disk","web_out","mail_storage","mail_msgs","mailboxes","mail_services","mail_storage","mail_msgs","mailboxes"]}
- ✔ 운영자 승인 → 권리 활성화(재승인은 중복 없음) — {"granted":10,"already":true}
- ✔ 고객 결제 화면: 활성 상품·권리·다음 청구일 — {"sites":3,"subs":1,"nextBilling":"2026-11-26T13:19:17.536Z"}
- ✔ 고객 결제 화면: 활성 상품·권리·다음 청구일 — {"sites":3,"subs":1,"nextBilling":"2026-11-26T13:39:01.993Z"}
```json
{
@@ -112,25 +112,25 @@
"bill": {
"sites": 3,
"subs": 1,
"nextBilling": "2026-11-26T13:19:17.536Z"
"nextBilling": "2026-11-26T13:39:01.993Z"
}
}
```
### 4. 초안 사이트 생성
- ✔ 사이트 생성(새 Webmaker 프로젝트·배포 방식 관리형) → 초안·사이트 수 미소비·다음 단계 안내 — {"id":"s_01a1785d86626c4268d23e8c8c","lifecycle":"draft","projectId":"00000000000000000000000000000001","nextSteps":["build","import","domain","mode","perms"]}
- ✔ 사이트 생성(새 Webmaker 프로젝트·배포 방식 관리형) → 초안·사이트 수 미소비·다음 단계 안내 — {"id":"s_01a1786f992b08508f0cad57b8","lifecycle":"draft","projectId":"00000000000000000000000000000001","nextSteps":["build","import","domain","mode","perms"]}
- ✔ 사이트 목록 필터(초안)·사용량 요약에 예약 0 — {"drafts":1,"sitesReserved":0,"sitesAllocated":0}
### 5. Webmaker에서 페이지 제작
- ✔ 제작 화면 열기: 포털 SSO 티켓 → Webmaker /api/auth/sso 302(1회용) — {"portalRedirect":"http://127.0.0.1:38359/api/auth/sso?ticket=…","webmaker":302,"reuse":401}
- ✔ 제작 화면 열기: 포털 SSO 티켓 → Webmaker /api/auth/sso 302(1회용) — {"portalRedirect":"http://127.0.0.1:35879/api/auth/sso?ticket=…","webmaker":302,"reuse":401}
- ✔ Webmaker 에서 페이지 저장(저장본 2개) → 포털 저장본 목록·배포 전 확인 통과 — {"versions":1,"precheckOk":true}
```json
{
"sso": {
"portalRedirect": "http://127.0.0.1:38359/api/auth/sso?ticket=…",
"portalRedirect": "http://127.0.0.1:35879/api/auth/sso?ticket=…",
"webmaker": 302,
"reuse": 401
},
@@ -143,14 +143,14 @@
### 6. 관리형 배포
- ✔ 배포 요청 → 10단계 작업·사이트 수 예약·같은 요청 재제출은 하나 — {"jobId":"j_01a1785d86b049e14cbf94b74a","steps":10,"again":false,"siteCount":"reserved","server":null}
- ✔ 배포 요청 → 10단계 작업·사이트 수 예약·같은 요청 재제출은 하나 — {"jobId":"j_01a1786f997765631aebc605be","steps":10,"again":false,"siteCount":"reserved","server":null}
- ✔ HAL·Agent 를 거쳐 작업 완료 대기(최대 40초) — {"status":"done","steps":["accept:done","prepare_version:done","prepare_target:done","apply:done","data_check:done","start:done","internal_check:done","external_check:done","domain_https:done","done:done"]}
- ✔ 배포 뒤 사이트 상태·버전·건강 — {"lifecycle":"needs_domain","version":"20261026131918-rev-c1-000000","verify":"needs_domain","health":"ok","agentHasSite":true}
- ✔ 배포 뒤 사이트 상태·버전·건강 — {"lifecycle":"needs_domain","version":"20261026133903-rev-c1-000000","verify":"needs_domain","health":"ok","agentHasSite":true}
```json
{
"d": {
"jobId": "j_01a1785d86b049e14cbf94b74a",
"jobId": "j_01a1786f997765631aebc605be",
"steps": 10,
"again": false,
"siteCount": "reserved",
@@ -173,7 +173,7 @@
},
"after": {
"lifecycle": "needs_domain",
"version": "20261026131918-rev-c1-000000",
"version": "20261026133903-rev-c1-000000",
"verify": "needs_domain",
"health": "ok",
"agentHasSite": true
@@ -183,14 +183,14 @@
### 7. 도메인 연결과 HTTPS 발급
- ✔ 도메인 추가(웹·대표 지정) → 소유 확인 TXT 값 안내 → 작업이 외부 대기(TXT) — {"domainId":"d_01a1785d9684c7a5694cbcebfa","txtName":"_ariweb-verify.aw-e2e.localhost","txtValueShape":"ariweb-verify=…","copyable":true}
- ✔ 도메인 추가(웹·대표 지정) → 소유 확인 TXT 값 안내 → 작업이 외부 대기(TXT) — {"domainId":"d_01a1786fa94c717fb17b4eda3a","txtName":"_ariweb-verify.aw-e2e.localhost","txtValueShape":"ariweb-verify=…","copyable":true}
- ✔ 도메인 목록·상세: 소유 확인·DNS·인증서 상태 표시 — {}
- ✔ (정리) 도메인 연결 작업 취소 — 포털이 외부 대기 중에도 5초마다 HAL domain.probe 를 새로 만들어 큐를 채우므로(결함 항목) 뒤 흐름을 위해 멈춘다 — {"queuedProbes":0}
```json
{
"dm": {
"domainId": "d_01a1785d9684c7a5694cbcebfa",
"domainId": "d_01a1786fa94c717fb17b4eda3a",
"txtName": "_ariweb-verify.aw-e2e.localhost",
"txtValueShape": "ariweb-verify=…",
"copyable": true
@@ -233,9 +233,9 @@
### 10. 사이트 대표 메일과 메일함 생성
- ✔ 사이트 대표 메일 생성(사이트 연결 도메인·배정) → AriMail 테넌트 준비·도메인별 보장량·ariweb 표시 — {"id":"msv_01a1785e1f18f7002057347a34","status":"needs_setup","tenant":true,"ariwebKind":"site_bound","limitAccounts":6,"siteCountAllocated":0}
- ✔ 사이트 대표 메일 생성(사이트 연결 도메인·배정) → AriMail 테넌트 준비·도메인별 보장량·ariweb 표시 — {"id":"msv_01a1787031d54f3f250dac0ce2","status":"needs_setup","tenant":true,"ariwebKind":"site_bound","limitAccounts":6,"siteCountAllocated":0}
- ✔ 같은 사이트에 두 번째 대표 메일 거부 — mail_domain_in_use
- ✔ 메일함 생성: 초기 비밀번호 1회 표시·접속 안내 → 재조회에는 비밀번호 없음 — {"id":"mb_01a1785e1f53a4fcfe5daf70b5","address":"kim@aw-e2e.localhost","passwordShownOnce":"[redacted]","mustChange":true,"imapHost":"127.0.0.1","leakedOnReload":false,"inArimail":true}
- ✔ 메일함 생성: 초기 비밀번호 1회 표시·접속 안내 → 재조회에는 비밀번호 없음 — {"id":"mb_01a17870320f11eedf7f6c6e3b","address":"kim@aw-e2e.localhost","passwordShownOnce":"[redacted]","mustChange":true,"imapHost":"127.0.0.1","leakedOnReload":false,"inArimail":true}
- ✔ 초대 방식 메일함(링크 만료·재발송·사용 완료 상태) — {"inviteState":"pending","accepted":200,"reuse":"invite_used"}
- ✔ DNS 확인: 미반영/잘못된 값 구분 표시(로컬 DNS 에는 레코드 없음 → missing) — {"ok":false,"missing":3,"items":["mx:missing","spf:missing","dkim:missing","dmarc:recommended"]}
- ✔ 활성화 작업 → DNS 외부 대기(awaiting_external) · 멱등 — {"status":"awaiting_external","waitReason":"DNS 레코드가 아직 반영되지 않았습니다(누락 3, 잘못된 값 0). 도메인 DNS 에 안내된 값을 넣은 뒤 '이어서 진행' 을 누르세요","sameJob":true,"steps":["entitlement:done","dns:waiting","prepare:pending","verify:pending","activate:pending"]}
@@ -244,7 +244,7 @@
```json
{
"svc": {
"id": "msv_01a1785e1f18f7002057347a34",
"id": "msv_01a1787031d54f3f250dac0ce2",
"status": "needs_setup",
"tenant": true,
"ariwebKind": "site_bound",
@@ -252,7 +252,7 @@
"siteCountAllocated": 0
},
"mb": {
"id": "mb_01a1785e1f53a4fcfe5daf70b5",
"id": "mb_01a17870320f11eedf7f6c6e3b",
"address": "kim@aw-e2e.localhost",
"passwordShownOnce": "[redacted]",
"mustChange": true,
@@ -287,13 +287,13 @@
### 12. 독립 메일 서비스 생성
- ✔ 메일 전용 도메인 등록(solo-e2e.localhost, purpose mail) — {"id":"d_01a1785e47703780e4f9bdfe16","jobCancelled":null}
- ✔ 독립 메일 서비스 생성(독립 옵션 소비·사이트 수 미소비) — {"id":"msv_01a1785e477805a9a147d2fd87","kind":"standalone","mailServicesAllocated":1,"sitesAllocated":0}
- ✔ 메일 전용 도메인 등록(solo-e2e.localhost, purpose mail) — {"id":"d_01a178705c269810ff7cbfe471","jobCancelled":null}
- ✔ 독립 메일 서비스 생성(독립 옵션 소비·사이트 수 미소비) — {"id":"msv_01a178705c2f17aa866ea77237","kind":"standalone","mailServicesAllocated":1,"sitesAllocated":0}
```json
{
"r": {
"id": "msv_01a1785e477805a9a147d2fd87",
"id": "msv_01a178705c2f17aa866ea77237",
"kind": "standalone",
"mailServicesAllocated": 1,
"sitesAllocated": 0
@@ -307,8 +307,8 @@
- ✔ 백업 옵션 주문(대상 사이트)·입금 확인·승인 → backup 권리 — {"granted":7,"orderStatus":"approved"}
- ✔ 백업 화면: 구매 가능 여부·저장 한도·일정·보존·첫 백업 기한·검증 방식(상품정책에서) — {"eligible":true,"reasons":[],"deferred":[],"policy":null,"status":200}
- ✔ 옵션 활성화(확인 필수) → 첫 백업 예정 시각 — {"status":"active","firstDue":"2026-10-27T13:20:07.184Z","nextRun":"2026-10-26T13:20:07.184Z"}
- ✔ 지금 백업 실행 → HAL backup.create(저장 서버 ≠ 운영 서버) → Agent → 검증 — {"timedOut":false,"optionStatus":"active","lastJob":null,"siteServer":"srv_01a1785d7c8e7c81c8953e5bad","backup":{"status":"done","tier":"monthly","location":null},"job":null,"optionFailures":0}
- ✔ 옵션 활성화(확인 필수) → 첫 백업 예정 시각 — {"status":"active","firstDue":"2026-10-27T13:39:52.132Z","nextRun":"2026-10-26T13:39:52.132Z"}
- ✔ 지금 백업 실행 → HAL backup.create(저장 서버 ≠ 운영 서버) → Agent → 검증 — {"timedOut":false,"optionStatus":"active","lastJob":null,"siteServer":"srv_01a1786f908cc425993b51166d","backup":{"status":"done","tier":"monthly","location":null},"job":null,"optionFailures":0}
```json
{
@@ -321,14 +321,14 @@
},
"opt": {
"status": "active",
"firstDue": "2026-10-27T13:20:07.184Z",
"nextRun": "2026-10-26T13:20:07.184Z"
"firstDue": "2026-10-27T13:39:52.132Z",
"nextRun": "2026-10-26T13:39:52.132Z"
},
"run1": {
"timedOut": false,
"optionStatus": "active",
"lastJob": null,
"siteServer": "srv_01a1785d7c8e7c81c8953e5bad",
"siteServer": "srv_01a1786f908cc425993b51166d",
"backup": {
"status": "done",
"tier": "monthly",
@@ -342,8 +342,8 @@
### 14. 백업 복원과 외부 사이트 확인
- ✔ 복원 안내(포함 데이터·영향·보호 시점 유지·되돌릴 수 있는 마지막 시각·완료 방식) — {"backup":{"id":"bk_01a1785e5a2387339b7355af21","createdAt":"2026-10-26T13:20:07.192Z","scope":{"files":true,"db":true,"uploads":true,"config":true,"storeServerId":"srv_01a1785d7d38e2cdafa814388f","verifyMethod":"sha256 + 격리 환경 읽기 확인"},"sizeBytes":1899,"verifyState":"verified","expiresAt":"2027-01-2
- ✔ 복원 요청 → 운영자 승인 대기 · 중복 요청 없음 — {"id":"rs_01a1785e5fceb0b45b4373fd82","status":"awaiting_approval","dup":false,"finalConfirmation":{"group":"E2E 팀","site":"E2E 사이트","domain":null}}
- ✔ 복원 안내(포함 데이터·영향·보호 시점 유지·되돌릴 수 있는 마지막 시각·완료 방식) — {"backup":{"id":"bk_01a178706df58e2ec6b8315964","createdAt":"2026-10-26T13:39:52.139Z","scope":{"files":true,"db":true,"uploads":true,"config":true,"storeServerId":"srv_01a1786f913e88093d5c9ab3a8","verifyMethod":"sha256 + 격리 환경 읽기 확인"},"sizeBytes":1891,"verifyState":"verified","expiresAt":"2027-01-2
- ✔ 복원 요청 → 운영자 승인 대기 · 중복 요청 없음 — {"id":"rs_01a178706e9a3a6cc10e6874f3","status":"awaiting_approval","dup":false,"finalConfirmation":{"group":"E2E 팀","site":"E2E 사이트","domain":null}}
- ✔ 운영자 최종 확인(그룹·사이트·백업 시각) 불일치 거부 → 일치 승인(멱등) — {"bad":"final_confirmation_mismatch","ok":400}
- ✔ 9단계 작업 진행 → 사용자 확인 필요(보호 시점·되돌리기 가능) — {"steps":[]}
@@ -351,19 +351,19 @@
{
"info": {
"backup": {
"id": "bk_01a1785e5a2387339b7355af21",
"createdAt": "2026-10-26T13:20:07.192Z",
"id": "bk_01a178706df58e2ec6b8315964",
"createdAt": "2026-10-26T13:39:52.139Z",
"scope": {
"files": true,
"db": true,
"uploads": true,
"config": true,
"storeServerId": "srv_01a1785d7d38e2cdafa814388f",
"storeServerId": "srv_01a1786f913e88093d5c9ab3a8",
"verifyMethod": "sha256 + 격리 환경 읽기 확인"
},
"sizeBytes": 1899,
"sizeBytes": 1891,
"verifyState": "verified",
"expiresAt": "2027-01-27T13:20:11.812Z",
"expiresAt": "2027-01-27T13:39:56.534Z",
"tier": "monthly"
},
"included": [
@@ -393,7 +393,7 @@
"deferred": []
},
"rq": {
"id": "rs_01a1785e5fceb0b45b4373fd82",
"id": "rs_01a178706e9a3a6cc10e6874f3",
"status": "awaiting_approval",
"dup": false,
"finalConfirmation": {
@@ -445,10 +445,10 @@
### 16. 외부 배포 사이트 생성과 배포
- ✔ 외부 배포 사이트 생성(초안) + 저장본 — {"id":"s_01a1785f4b4aa64e53cac1fb30","group_id":"g_01a1785d8565c2082fe744502a","name":"E2E 외부 사이트","purpose":"e2e","webmaker_project_id":"00000000000000000000000000000004","template":null,"lang":"ko","timezone":"Asia/Seoul","lifecycle":"draft","deploy_mode":"external","primary_domain":null,"site_cou
- ✔ 외부 배포 사이트 생성(초안) + 저장본 — {"id":"s_01a178715a0ac510fc2723b7d8","group_id":"g_01a1786f982923b9f2a5d42da0","name":"E2E 외부 사이트","purpose":"e2e","webmaker_project_id":"00000000000000000000000000000004","template":null,"lang":"ko","timezone":"Asia/Seoul","lifecycle":"draft","deploy_mode":"external","primary_domain":null,"site_cou
- ✔ 배포 방식 화면: 외부 대상·고객 책임·미제공 기능(메일 미지원)·건별 비용·동의 버전 — {"notProvided":"[redacted]","consentVersion":"external-deploy-2026-10-0.1.1","agreed":false}
- ✔ 동의 전 Agent 발급 거부(consent_required) → 동의 기록(버전) — {"before":"consent_required","consent":200}
- ✔ 외부 Agent 일회용 토큰·설치 명령(토큰은 저장하지 않음) — {"token":"[redacted]","install":"curl -fsSL http://127.0.0.1:34077/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:34077 --token … --external --site s_01a1785f4b4aa64e53cac1fb30","expiresAt":"2026-10-26T13:31:13.830Z","status":"pending"}
- ✔ 외부 Agent 일회용 토큰·설치 명령(토큰은 저장하지 않음) — {"token":"[redacted]","install":"curl -fsSL http://127.0.0.1:36777/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:36777 --token … --external --site s_01a178715a0ac510fc2723b7d8","expiresAt":"2026-10-26T13:50:57.173Z","status":"pending"}
- ✔ 고객 서버 역할의 외부 Agent 프로세스 등록·실행(HAL 등록, 사이트 귀속) — {"agentId":"[redacted]"}
- ✔ 포털 연결 확인(외부 Agent 상태 connected) — {"status":"connected","stale":false,"halAgentId":"[redacted]"}
- ✔ 배포 전 확인(외부: 관리형 용량 확인 없음) — {"ok":true,"blocks":[]}
@@ -465,8 +465,8 @@
"agreed": false
},
"tok": {
"install": "curl -fsSL http://127.0.0.1:34077/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:34077 --token … --external --site s_01a1785f4b4aa64e53cac1fb30",
"expiresAt": "2026-10-26T13:31:13.830Z"
"install": "curl -fsSL http://127.0.0.1:36777/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:36777 --token … --external --site s_01a178715a0ac510fc2723b7d8",
"expiresAt": "2026-10-26T13:50:57.173Z"
},
"conn": {
"status": "connected",
@@ -554,7 +554,7 @@
- ✔ 축소 미리보기(팀→베이직): 줄여야 할 항목(메일함 6→5) 구체 표시 — {"shortages":["mailboxes:1"]}
- ✔ 축소 요청 → 보류(사용 중 권리 즉시 회수 없음) — {"fits":false,"hold":"holding","sitesStillPurchased":3}
- ✔ 정리: 메일함 배정 6→5 축소 → 재검증 적합 → 축소 주문 생성 — {"allocate":200,"fits":true,"shortages":[],"order":"awaiting_payment"}
- ✔ 축소 주문 입금 확인·승인 → 권리 교체(베이직) — {"approve":200,"sites":1,"mailboxes":5,"product":"pv_01a1785d82c0d8957482c88fa6"}
- ✔ 축소 주문 입금 확인·승인 → 권리 교체(베이직) — {"approve":200,"sites":1,"mailboxes":5,"product":"pv_01a1786f96ae186ef39a5cdc8c"}
```json
{
@@ -589,7 +589,7 @@
"approve": 200,
"sites": 1,
"mailboxes": 5,
"product": "pv_01a1785d82c0d8957482c88fa6"
"product": "pv_01a1786f96ae186ef39a5cdc8c"
}
}
```
@@ -623,10 +623,10 @@
### 20. 사이트 소유권 이전
- ✔ 이전 범위 미리보기(사이트·도메인·대표 메일·배정·진행 작업·미납 / 제외 항목) — {"sites":1,"domains":1,"siteMail":1,"needed":{"backup":1,"web_disk":1073741824,"mail_msgs":500,"mail_storage":2147483648,"mailboxes":6},"excluded":3}
- ✔ 요청(보내는 그룹, 초안 사이트) → 받는 사용자 알림 — {"id":"tr_01a1785f6a46960e607c665537","status":"requested","expiresAt":"2026-11-02T13:21:21.478Z","bobNotified":true}
- ✔ 요청(보내는 그룹, 초안 사이트) → 받는 사용자 알림 — {"id":"tr_01a17871751ae3edec78ee78f6","status":"requested","expiresAt":"2026-11-02T13:41:03.898Z","bobNotified":true}
- ✔ (정리) 받는 쪽 권리에 맞게 범위 조정: 백업 옵션 종료·메일함 배정 6→5(받는 그룹 베이직 5개) — {"endBackup":200,"alloc":200}
- ✔ 받는 그룹 수락 → 권리 부족이면 보류(필요한 상품 안내) — {"status":200,"tstatus":"reviewing","hold":null}
- ✔ 운영자 심사(소유 증빙·도메인 확인) 미입력 거부 → 최종 확인 일치 승인 → 원자적 완료·청구 전환 시각 — {"bad":"final_confirmation_mismatch","ok":200,"status":"completed","cutover":"2026-10-26T13:21:21.527Z"}
- ✔ 운영자 심사(소유 증빙·도메인 확인) 미입력 거부 → 최종 확인 일치 승인 → 원자적 완료·청구 전환 시각 — {"bad":"final_confirmation_mismatch","ok":200,"status":"completed","cutover":"2026-10-26T13:41:03.948Z"}
- ✔ 완료 뒤: 보내는 쪽은 접근 불가(404), 받는 쪽 대시보드·사용량 일치, 불변 감사 — {"aliceSees":404,"bobSees":200,"bobUsageSites":0,"audit":true}
```json
@@ -645,9 +645,9 @@
"excluded": 3
},
"rq": {
"id": "tr_01a1785f6a46960e607c665537",
"id": "tr_01a17871751ae3edec78ee78f6",
"status": "requested",
"expiresAt": "2026-11-02T13:21:21.478Z",
"expiresAt": "2026-11-02T13:41:03.898Z",
"bobNotified": true
},
"acc": {
@@ -659,7 +659,7 @@
"bad": "final_confirmation_mismatch",
"ok": 200,
"status": "completed",
"cutover": "2026-10-26T13:21:21.527Z"
"cutover": "2026-10-26T13:41:03.948Z"
},
"after": {
"aliceSees": 404,
@@ -798,7 +798,7 @@
### 23. 실패 작업의 재시도와 되돌리기
- ✔ 배포 이력: 실패/성공 기록 · 재시도 가능 여부 · 문의용 작업 번호 — {"status":"done","canRetry":false,"jobId":"j_01a1785d86b049e14cbf94b74a"}
- ✔ 배포 이력: 실패/성공 기록 · 재시도 가능 여부 · 문의용 작업 번호 — {"status":"done","canRetry":false,"jobId":"j_01a1786f997765631aebc605be"}
- ✔ 재시도 요청(POST /api/sites/:id/jobs/:jobId/retry) — {"status":400,"error":"job_not_retryable"}
- ✔ 되돌리기 요청(POST /api/sites/:id/rollback) — 이전 버전 없으면 거부 — {"status":409,"error":"no_previous","message":"되돌릴 이전 버전이 없습니다"}
@@ -807,7 +807,7 @@
"dep": {
"status": "done",
"canRetry": false,
"jobId": "j_01a1785d86b049e14cbf94b74a"
"jobId": "j_01a1786f997765631aebc605be"
},
"rt": {
"status": 400,
@@ -823,16 +823,16 @@
### 24. 운영자 승인, 감사 기록, 고객 알림의 일치
- ✔ 고객 알림 센터에 승인 알림 — {"title":"주문 AW-20261026-0001 승인 — 권리가 활성화되었습니다","category":"billing","link":"/orders/o_01a1785d85dd70547b90cf2822"}
- ✔ 고객 알림 센터에 승인 알림 — {"title":"주문 AW-20261026-0001 승인 — 권리가 활성화되었습니다","category":"billing","link":"/orders/o_01a1786f98aada4e1d8cb6a80d"}
- ✔ 감사 기록: order.approve 는 삭제 불가(immutable) — {"action":"order.approve","immutable":true}
- ✔ 운영자 화면과 고객 주문 화면의 상태 일치 — {"status":"approved","approvedAt":"2026-10-26T13:19:17.536Z"}
- ✔ 운영자 화면과 고객 주문 화면의 상태 일치 — {"status":"approved","approvedAt":"2026-10-26T13:39:01.993Z"}
```json
{
"n": {
"title": "주문 AW-20261026-0001 승인 — 권리가 활성화되었습니다",
"category": "billing",
"link": "/orders/o_01a1785d85dd70547b90cf2822"
"link": "/orders/o_01a1786f98aada4e1d8cb6a80d"
},
"a": {
"action": "order.approve",
@@ -840,7 +840,7 @@
},
"same": {
"status": "approved",
"approvedAt": "2026-10-26T13:19:17.536Z"
"approvedAt": "2026-10-26T13:39:01.993Z"
}
}
```
@@ -848,7 +848,7 @@
### 25. HAL, 로그인, 비밀정보 관리, 인증서 기반의 재해복구 훈련
- ✔ 설정 전 준비 상태(미설정 항목) — {"ready":false,"missingConfig":["rto_minutes","rpo_minutes","snapshot_interval_minutes","retention_count"],"lastDrill":null,"lastSnapshot":null,"config":{"rto_minutes":null,"rpo_minutes":null,"snapshot_interval_minutes":null,"retention_count":null,"external_store":null},"label":"정식 운영 준비 전(복구 훈련 또는
- ✔ RTO·RPO·사본 주기·보존 개수·외부 보관 위치 설정 — {"id":1,"rto_minutes":60,"rpo_minutes":30,"snapshot_interval_minutes":60,"retention_count":3,"external_store":"/home/master/work/Ariweb-suite/test/.tmp/e2e-20261026131912/dr-external","updated_at":"2026-10-26T13:21:29.825Z","updated_by":"op_01a1785d7b8c4698a9c7d245c2"}
- ✔ RTO·RPO·사본 주기·보존 개수·외부 보관 위치 설정 — {"id":1,"rto_minutes":60,"rpo_minutes":30,"snapshot_interval_minutes":60,"retention_count":3,"external_store":"/home/master/work/Ariweb-suite/test/.tmp/e2e-20261026133857/dr-external","updated_at":"2026-10-26T13:41:12.888Z","updated_by":"op_01a1786f8f8e2933698e86e10b"}
- ✔ 복구 사본 생성·검증·외부 보관(vault.key 제외) — {"verify":"ok","external":true,"sha":true}
- ✔ 복원 요청 → 승인 전 시작 거부 → 승인 → 기존 제어 중지 확인 없이는 거부 → 시작(명령 안내) → 확인 항목 부족 거부 → 완료 — {"early":"restore_not_approved","noStop":"old_control_not_confirmed","command":true,"incomplete":"checks_incomplete","final":"completed"}
- ✔ 복구 훈련: 항목 하나 실패 → failed, 모두 성공·측정 RTO/RPO → 준비 완료 — {"first":"failed","second":"success","ready":true,"measured":{}}
@@ -880,9 +880,9 @@
"rpo_minutes": 30,
"snapshot_interval_minutes": 60,
"retention_count": 3,
"external_store": "/home/master/work/Ariweb-suite/test/.tmp/e2e-20261026131912/dr-external",
"updated_at": "2026-10-26T13:21:29.825Z",
"updated_by": "op_01a1785d7b8c4698a9c7d245c2"
"external_store": "/home/master/work/Ariweb-suite/test/.tmp/e2e-20261026133857/dr-external",
"updated_at": "2026-10-26T13:41:12.888Z",
"updated_by": "op_01a1786f8f8e2933698e86e10b"
},
"snap": {
"verify": "ok",
@@ -907,15 +907,15 @@
### 26. 새로 고침, 재로그인, HAL 재시작 후 진행 작업 상태 유지
- ✔ 재시작 전: 포털 진행 작업(메일 활성화 외부 대기)·HAL 작업 목록 — {"mailJob":{"id":"j_01a1785e3392b1c5f416c21f63","status":"awaiting_external"},"halJobs":19}
- ✔ 포털 재시작 → 재로그인 없이 세션 유지·같은 작업 id·상태 유지 — {"sessionKept":"[redacted]","mailJob":{"id":"j_01a1785e3392b1c5f416c21f63","status":"awaiting_external"},"same":true}
- ✔ 재시작 전: 포털 진행 작업(메일 활성화 외부 대기)·HAL 작업 목록 — {"mailJob":{"id":"j_01a178704650615751827d968f","status":"awaiting_external"},"halJobs":19}
- ✔ 포털 재시작 → 재로그인 없이 세션 유지·같은 작업 id·상태 유지 — {"sessionKept":"[redacted]","mailJob":{"id":"j_01a178704650615751827d968f","status":"awaiting_external"},"same":true}
- ✔ HAL 재시작 → 운영자 세션·작업 목록·서버 등록 유지 — {"opsSessionKept":"[redacted]","halJobs":19,"sameCount":true}
```json
{
"before": {
"mailJob": {
"id": "j_01a1785e3392b1c5f416c21f63",
"id": "j_01a178704650615751827d968f",
"status": "awaiting_external"
},
"halJobs": 19
@@ -923,7 +923,7 @@
"pr": {
"sessionKept": "[redacted]",
"mailJob": {
"id": "j_01a1785e3392b1c5f416c21f63",
"id": "j_01a178704650615751827d968f",
"status": "awaiting_external"
},
"same": true
@@ -939,7 +939,7 @@
### 27. 마지막 사이트 수·용량·메일함 동시 요청 시 하나만 성공
- ✔ 밥 개인 그룹: 베이직(사이트 1) 주문·승인 — {"granted":6}
- ✔ 사이트 2개 생성·저장본 — [{"id":"s_01a1785e13123aa6795709778d","group_id":"g_01a1785d8595f7a47722a893d6","name":"동시 A","purpose":"e2e","webmaker_project_id":"00000000000000000000000000000002","template":null,"lang":"ko","timezone":"Asia/Seoul","lifecycle":"draft","deploy_mode":"managed","primary_domain":null,"site_count_sta
- ✔ 사이트 2개 생성·저장본 — [{"id":"s_01a1787025d63eec09b696bba4","group_id":"g_01a1786f985a2da7ec88926cd7","name":"동시 A","purpose":"e2e","webmaker_project_id":"00000000000000000000000000000002","template":null,"lang":"ko","timezone":"Asia/Seoul","lifecycle":"draft","deploy_mode":"managed","primary_domain":null,"site_count_sta
- ✔ 두 사이트 동시 최초 배포 요청 → 하나만 200, 다른 쪽 409 precheck_failed(sites 부족) — {"ok":1,"blocked":"precheck_failed","shortage":"block"}
- ✔ (정리) 선행 결함으로 영원히 진행 중인 배포 취소·예약 반환 — {"cancel":200,"cleanup":200,"unallocated":0}
@@ -955,10 +955,10 @@
### 28. 외부 Linux 서버 Agent 연결·배포·재배포·제거·실패 정리
- ✔ 외부 배포 사이트 생성(초안) + 저장본 — {"id":"s_01a1785f4b4aa64e53cac1fb30","group_id":"g_01a1785d8565c2082fe744502a","name":"E2E 외부 사이트","purpose":"e2e","webmaker_project_id":"00000000000000000000000000000004","template":null,"lang":"ko","timezone":"Asia/Seoul","lifecycle":"draft","deploy_mode":"external","primary_domain":null,"site_cou
- ✔ 외부 배포 사이트 생성(초안) + 저장본 — {"id":"s_01a178715a0ac510fc2723b7d8","group_id":"g_01a1786f982923b9f2a5d42da0","name":"E2E 외부 사이트","purpose":"e2e","webmaker_project_id":"00000000000000000000000000000004","template":null,"lang":"ko","timezone":"Asia/Seoul","lifecycle":"draft","deploy_mode":"external","primary_domain":null,"site_cou
- ✔ 배포 방식 화면: 외부 대상·고객 책임·미제공 기능(메일 미지원)·건별 비용·동의 버전 — {"notProvided":"[redacted]","consentVersion":"external-deploy-2026-10-0.1.1","agreed":false}
- ✔ 동의 전 Agent 발급 거부(consent_required) → 동의 기록(버전) — {"before":"consent_required","consent":200}
- ✔ 외부 Agent 일회용 토큰·설치 명령(토큰은 저장하지 않음) — {"token":"[redacted]","install":"curl -fsSL http://127.0.0.1:34077/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:34077 --token … --external --site s_01a1785f4b4aa64e53cac1fb30","expiresAt":"2026-10-26T13:31:13.830Z","status":"pending"}
- ✔ 외부 Agent 일회용 토큰·설치 명령(토큰은 저장하지 않음) — {"token":"[redacted]","install":"curl -fsSL http://127.0.0.1:36777/agent/v1/install.sh | bash -s -- --hal http://127.0.0.1:36777 --token … --external --site s_01a178715a0ac510fc2723b7d8","expiresAt":"2026-10-26T13:50:57.173Z","status":"pending"}
- ✔ 고객 서버 역할의 외부 Agent 프로세스 등록·실행(HAL 등록, 사이트 귀속) — {"agentId":"[redacted]"}
- ✔ 포털 연결 확인(외부 Agent 상태 connected) — {"status":"connected","stale":false,"halAgentId":"[redacted]"}
- ✔ 배포 전 확인(외부: 관리형 용량 확인 없음) — {"ok":true,"blocks":[]}
@@ -1039,7 +1039,7 @@
### 30. 모듈 업데이트, 일부 서버 실패, 대상별 되돌리기와 상태 조정
- ✔ agent 모듈을 두 서버 + 없는 서버에 배포 → 대상별 자식 작업·일부 실패를 성공으로 묶지 않음(partial/all_failed) — {"status":"failed","errorCode":"partial_failure","overall":"partial","children":["srv_01a1785d7d38e2cdafa814388f:done:","srv_missing_e2e:failed:서버가 없습니다","srv_01a1785d7c8e7c81c8953e5bad:done:"],"timedOut":false}
- ✔ agent 모듈을 두 서버 + 없는 서버에 배포 → 대상별 자식 작업·일부 실패를 성공으로 묶지 않음(partial/all_failed) — {"status":"failed","errorCode":"partial_failure","overall":"partial","children":["srv_missing_e2e:failed:서버가 없습니다","srv_01a1786f913e88093d5c9ab3a8:done:","srv_01a1786f908cc425993b51166d:done:"],"timedOut":false}
- ✔ 모듈 건강 확인 작업·목표/실제 버전 차이(drift) 표시·다시 맞추기 작업 — {"health":"done","drift":0,"reconcile":200,"overviewComponents":["HAL:ok","portal:unknown","webmaker:unknown","arimail:unknown","backup:ok","observability:ok"]}
- ✔ 되돌리기는 3단계 확인(영향 범위·식별정보·최종 실행) 없이는 거부 — {"step1":"confirm_impact_required","step2":"identifiers_mismatch"}
@@ -1050,9 +1050,9 @@
"errorCode": "partial_failure",
"overall": "partial",
"children": [
"srv_01a1785d7d38e2cdafa814388f:done:",
"srv_missing_e2e:failed:서버가 없습니다",
"srv_01a1785d7c8e7c81c8953e5bad:done:"
"srv_01a1786f913e88093d5c9ab3a8:done:",
"srv_01a1786f908cc425993b51166d:done:"
],
"timedOut": false
},
@@ -1079,21 +1079,21 @@
### 31. 긴급 복구의 승인 부족·만료 자격·허용 범위 밖 작업 거부와 정상 복구
- ✔ HAL 정상 상태에서 선언 거부(hal_healthy) — hal_healthy
- ✔ critical 사건 등록 → 선언 → 승인 부족 자격 거부 → 3단계(순서·식별정보·문구) 거부/승인 → 자격 발급(1회) — {"id":"em_01a1785f8c0286085c36135621","noCred":"approvals_insufficient","wrongStep":"wrong_step","badIds":"identifiers_mismatch","badText":"final_confirm_mismatch","approved":"approved","approvals":3,"credential":"[redacted]","expiresAt":"2026-10-26T13:51:30.142Z"}
- ✔ critical 사건 등록 → 선언 → 승인 부족 자격 거부 → 3단계(순서·식별정보·문구) 거부/승인 → 자격 발급(1회) — {"id":"em_01a17871994d6c62aa90109d35","noCred":"approvals_insufficient","wrongStep":"wrong_step","badIds":"identifiers_mismatch","badText":"final_confirm_mismatch","approved":"approved","approvals":3,"credential":"[redacted]","expiresAt":"2026-10-26T14:11:13.193Z"}
- ✔ 일반 배포(module.deploy) 거부 · 범위 밖 거부 · 잘못된 자격 거부 · 허용 행동 수행 · 확인 뒤 자격 폐기 · 폐기 뒤 거부 · 조정 · 종료 — {"forbidden":"action_forbidden","outOfScope":"out_of_scope","badCred":"bad_credential","performed":400,"revoked":true,"afterRevoke":"credential_revoked","reconcile":200,"closed":"closed"}
```json
{
"healthy": "hal_healthy",
"sess": {
"id": "em_01a1785f8c0286085c36135621",
"id": "em_01a17871994d6c62aa90109d35",
"noCred": "approvals_insufficient",
"wrongStep": "wrong_step",
"badIds": "identifiers_mismatch",
"badText": "final_confirm_mismatch",
"approved": "approved",
"approvals": 3,
"expiresAt": "2026-10-26T13:51:30.142Z"
"expiresAt": "2026-10-26T14:11:13.193Z"
},
"perf": {
"forbidden": "action_forbidden",
@@ -1113,7 +1113,7 @@
- ✔ Source 옵션 주문(대상 사이트)·승인 → source 권리 — {"granted":7}
- ✔ Source 옵션 활성화(권리 안에서) → 저장소·브랜치·변경 이력·clone 정보 — {"activate":200,"status":"active","provider":"gitea","changes":1,"clone":true}
- ✔ export(저장본 내려받기) — {"status":200,"type":"application/gzip"}
- ✔ 옵션 해제 → 30일 읽기 전용(만료일·삭제 예정일·재활성화 안내) · push 차단 — {"status":"readonly","deleteAfter":"2026-11-25T13:21:21.408Z","readonlyUntil":"2026-11-25T13:21:21.408Z"}
- ✔ 옵션 해제 → 30일 읽기 전용(만료일·삭제 예정일·재활성화 안내) · push 차단 — {"status":"readonly","deleteAfter":"2026-11-25T13:41:03.834Z","readonlyUntil":"2026-11-25T13:41:03.834Z"}
- ✔ 삭제 정리 작업(sweep)은 삭제 예정일 전이면 지우지 않음 — {"sweep":200,"statusAfter":"readonly"}
```json
@@ -1131,8 +1131,8 @@
},
"un": {
"status": "readonly",
"deleteAfter": "2026-11-25T13:21:21.408Z",
"readonlyUntil": "2026-11-25T13:21:21.408Z"
"deleteAfter": "2026-11-25T13:41:03.834Z",
"readonlyUntil": "2026-11-25T13:41:03.834Z"
},
"sweep": {
"sweep": 200,