@jetthai/cuora 1.1.485-dev.2 → 1.1.487-otp.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/sync-ai-prompts.md +1 -88
- package/.claude/settings.local.json +1 -3
- package/.github/copilot-instructions.md +5 -8
- package/.husky/post-checkout +3 -3
- package/.husky/pre-push +1 -1
- package/.prettierignore +1 -2
- package/AGENTS.md +5 -8
- package/AI_PROMPT_SOURCE.md +5 -8
- package/CHANGELOG.md +29 -374
- package/CLAUDE.md +5 -8
- package/GEMINI.md +5 -8
- package/e2e/feature-map.md +19 -0
- package/package.json +3 -3
- package/prepare-for-pr/JT-1776243420.md +85 -0
- package/prepare-for-pr/TI-16026/STATE.md +18 -0
- package/prepare-for-pr/TI-16026/after-prepare-authorization.md +3 -0
- package/prepare-for-pr/TI-16026/analysis.md +38 -0
- package/prepare-for-pr/TI-16026/answer-analyze-01.md +1 -0
- package/prepare-for-pr/TI-16026/answer-commit-01.md +2 -0
- package/prepare-for-pr/TI-16026/answer-commit-02.md +1 -0
- package/prepare-for-pr/TI-16026/bundle.json +18 -0
- package/prepare-for-pr/TI-16026/checklist.md +196 -0
- package/prepare-for-pr/TI-16026/checklist.unit-test-original.md +39 -0
- package/prepare-for-pr/TI-16026/claude-after-model +1 -0
- package/prepare-for-pr/TI-16026/claude-commit-session +1 -0
- package/prepare-for-pr/TI-16026/claude-harvest-session +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/01-analyze.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/01-analyze.out +2 -0
- package/prepare-for-pr/TI-16026/claude-hops/02-analyze.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/02-analyze.out +4 -0
- package/prepare-for-pr/TI-16026/claude-hops/03-dev.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/03-dev.out +4 -0
- package/prepare-for-pr/TI-16026/claude-hops/04-dev.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/04-dev.out +4 -0
- package/prepare-for-pr/TI-16026/claude-hops/05-dev.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/05-dev.out +3 -0
- package/prepare-for-pr/TI-16026/claude-hops/06-after.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/06-after.out +2 -0
- package/prepare-for-pr/TI-16026/claude-hops/07-commit.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/07-commit.out +2 -0
- package/prepare-for-pr/TI-16026/claude-hops/08-commit.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/08-commit.out +2 -0
- package/prepare-for-pr/TI-16026/claude-hops/09-commit.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/09-commit.out +8 -0
- package/prepare-for-pr/TI-16026/claude-hops/10-harvest.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/10-harvest.out +3 -0
- package/prepare-for-pr/TI-16026/claude-hops/11-harvest.err +1 -0
- package/prepare-for-pr/TI-16026/claude-hops/11-harvest.out +3 -0
- package/prepare-for-pr/TI-16026/commit-note.md +5 -0
- package/prepare-for-pr/TI-16026/evidence-index.json +215 -0
- package/prepare-for-pr/TI-16026/feature-map.before.md +61 -0
- package/prepare-for-pr/TI-16026/harvest-redaction.json +34 -0
- package/prepare-for-pr/TI-16026/harvest-redaction.out +37 -0
- package/prepare-for-pr/TI-16026/harvest.md +46 -0
- package/prepare-for-pr/TI-16026/lessons.md +5 -0
- package/prepare-for-pr/TI-16026/note-harvest-redaction.md +1 -0
- package/prepare-for-pr/TI-16026/open-questions.md +6 -0
- package/prepare-for-pr/TI-16026/publish.md +32 -0
- package/prepare-for-pr/TI-16026/review-convergence-response.md +3 -0
- package/prepare-for-pr/TI-16026/review-input/scope.md +18 -0
- package/prepare-for-pr/TI-16026/review-log.md +57 -0
- package/prepare-for-pr/TI-16026/review-notes.md +97 -0
- package/prepare-for-pr/TI-16026/review-response-r1.md +7 -0
- package/prepare-for-pr/TI-16026/self-test-report.md +67 -0
- package/prepare-for-pr/TI-16026/spec-proposal.md +34 -0
- package/prepare-for-pr/TI-16026/spec-snapshot.md +291 -0
- package/prepare-for-pr/TI-16026/state-log.md +57 -0
- package/prepare-for-pr/TI-16026/user-messages/01.md +12 -0
- package/prepare-for-pr/TI-16026/user-messages/02.md +20 -0
- package/prepare-for-pr/TI-16026/user-messages/03.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/04.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/05.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/06.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/07.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/08.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/09.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/10.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/11.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/12.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/13.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/14.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/15.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/16.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/17.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/18.md +10 -0
- package/prepare-for-pr/TI-16026/user-messages/19.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/20.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/21.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/22.md +1 -0
- package/prepare-for-pr/TI-16026/user-messages/23.md +8 -0
- package/prepare-for-pr/TI-16026/user-messages/24.md +24 -0
- package/prepare-for-pr/TI-16026/user-question.md +24 -0
- package/prepare-for-pr/TI-16026/verify/metrics-check.json +13 -0
- package/prepare-for-pr/TI-16026/verify/redaction.json +38 -0
- package/prepare-for-pr/TI-16026/verify/row-closure.json +45 -0
- package/prepare-for-pr/TI-16026/verify/s04-ws-capture.md +23 -0
- package/prepare-for-pr/TI-16026/verify-after.md +23 -0
- package/prepare-for-pr/TI-16026/verify.json +80 -0
- package/prepare-for-pr/TI-16026.md +408 -0
- package/scripts/auto-version.js +0 -1
- package/scripts/branch-auto-npm-publish.js +2 -9
- package/src/api/payment.js +0 -1
- package/src/machine/auth.js +18 -5
- package/src/machine/game_v2_1.js +0 -15
- package/src/machine/reward_cash.js +2 -2
- package/src/machine/user_sign_up.js +0 -3
- package/src/machine/withdraw/withdraw_manual_cash.js +14 -10
- package/src/request/request.js +4 -44
- package/src/util/constant.js +0 -3
- package/src/util/tokenStore.js +0 -44
- package/test/withdraw_manual_cash.test.js +0 -149
- package/tests/session.test.mjs +0 -177
|
@@ -0,0 +1 @@
|
|
|
1
|
+
獨立收斂審查確認「訂單重查失敗後錯回表單,且有綁定銀行時無法再重試」是中度程式問題(F-r1-01)。一般成功路徑的 4 項測試通過,但新錯誤情境已用本機假回應重現;我已把證據交回 Claude 修正,下一輪再由獨立審查驗證。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Claude 已修正重查失敗的處理:已有待處理訂單時,查詢錯誤會保留 Pending 狀態,讓使用者可以重試;首次載入失敗仍維持原本回到表單的行為。新增了兩個錯誤情境測試;目前記錄的完整單元測試結果是 22 項通過,正在由另一位審查員獨立核對修正。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
第二輪獨立審查聚焦兩件事:刷新中的訂單查詢失敗後是否保留 Pending 並允許重試,以及首次載入失敗是否仍回到表單。這輪也會重跑受影響的狀態機單元測試,不會重新檢查已收斂的其他程式範圍。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
第二輪驗證仍在執行,尚未收到審查員的正式結果;目前沒有新增 finding 或產品檔案改動的回報。收到結果後我會先跑審查狀態檢查,再決定是否能交回 Claude 收斂。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
第二輪審查已驗證修正:訂單重查失敗時會保留 Pending,下一次刷新可重試;首次載入失敗仍回到表單。新增失敗情境的測試也通過,狀態機測試共 6 項全數通過。審查紀錄已達可收斂狀態,流程還要求再由全新審查員盲查一次整體變更,通過後才交回 Claude 完成審查階段。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
全新收斂審查員先從原始需求與完整變更獨立確認:已有待處理訂單時,查詢失敗會保留舊訂單並允許重試;目前尚未發現新的程式問題。審查員正在比對前兩輪紀錄並重跑狀態機測試,完成後我會再核對收斂結果。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
修正後的增量審查已確認 6 項狀態機測試通過,且舊錯誤處理的負向測試能重現新測試所防止的問題。最後一位審查員正在完成整體變更的獨立收斂檢查;這一步不會修改產品程式碼。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
全新收斂審查沒有發現其他程式問題;訂單刷新失敗時保留 Pending 的修正(F-r1-01)已由第二輪和收斂審查驗證。狀態機測試 6 項全數通過,審查檢查器回報可收斂。我現在把審查結果交回 Claude 完成這個階段;尚未 commit 或發布。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cuora 的本地驗證已完成:全套 22 項測試通過;格式檢查沒有發現程式或測試檔需要修正。格式工具只列出全域忽略的任務文件,repo 的全目錄格式 hook 會改寫這些文件,我會保護它們。這個 repo 沒有 UI,畫面驗證會在 cash repo 進行。接下來確認 npm 發布登入,再依你已授權的流程提交並發布 dev 版本。
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
目前 cuora 的修改與審查已完成,全套 22 項測試通過,但尚未建立 commit。
|
|
2
|
+
|
|
3
|
+
Claude CLI 提交時遇到工具權限層拒絕:`HUSKY=0 git commit` 需要明確允許;這次是非互動呼叫,無法自行跳出核准視窗,因此沒有提交。Claude 的原問題是:「the commit was denied by the permission layer (`HUSKY=0 git commit` needs approval), so nothing was committed; allow `git add`/`git commit` for this repo and resume.」這是工具權限核准,不是重新確認你已給的「更新 token 後走到底」任務授權。`HUSKY=0` 是為了避免 repo 的全目錄格式 hook 改寫全域忽略且受保護的任務報告;格式檢查未發現產品程式或測試檔需要修改。
|
|
4
|
+
|
|
5
|
+
請選一項:
|
|
6
|
+
|
|
7
|
+
- A:允許 Claude CLI 在此 repo 執行 `git add` 與 `HUSKY=0 git commit`,提交 `src/machine/withdraw/withdraw_manual_cash.js` 和 `test/withdraw_manual_cash.test.js`;我收到回答後會重跑提交。
|
|
8
|
+
- B:你自行提交這兩個檔案,之後把 commit SHA 傳給我,我再接續流程。
|
|
9
|
+
|
|
10
|
+
選 A 後我會把你的回答原樣交給 Claude 並完成 commit。npm 發布登入檢查目前回傳未授權(E401),所以之後還需要更新 token 並讓 `npm whoami` 成功;目前沒有 push 或發布。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
收到 A。我會把你的回答原樣交給 Claude,提交已審查的兩個檔案;npm 登入仍是 E401,因此這次不會 push 或 publish。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
你已核准提交。Claude 的重試指出工具白名單還缺 `HUSKY=0 git commit` 這個精確命令形式;我會依這次授權把它加入允許工具後重試,不會擴大到 push 或發布。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
提交已完成,commit 是 `219a415`,只包含狀態機修改與測試,工作樹乾淨。提交 hook 仍執行了全目錄格式化,可能改寫了被忽略的任務文件;我會核對本任務報告,並記錄這個副作用。發布仍等 token 通過登入檢查。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cuora 已依 commit 狀態登記為交付;我現在執行流程收尾的 feature-map harvest。repo 尚無 `e2e/feature-map.md`,但該路徑已由全域 ignore 規則忽略,符合建立條件。npm 登入未授權(E401)造成的發布阻塞仍待修正。
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
cuora commit 已完成,但收尾的 harvest 被遮蔽檢查中止:repo 缺少 `e2e/test-accounts.local.json`,檢查回傳失敗;工具已還原原 feature map,沒有留下新 map。依流程我不會移除 cuora 任務 bundle,也不會把這個 repo 標成流程全部完成。npm 登入檢查仍回傳未授權(E401)。
|
|
2
|
+
|
|
3
|
+
我可以先繼續獨立的 client-pwa-cash 工作,等上述問題處理後再回來收尾;也可以先停下來解決 cuora harvest。
|
|
4
|
+
|
|
5
|
+
- A:先繼續 cash 工作,cuora bundle 保留待收尾。
|
|
6
|
+
- B:先停下來處理 cuora harvest。
|
|
7
|
+
|
|
8
|
+
若選 A,我會先做 cash repo 的需求分析與程式修改;發布和畫面驗證仍要等 npm 登入成功。若選 B,我會先停在 harvest 阻塞處。
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
**目前進度**:第 9 步/共 9 步「整理這次的經驗、清理暫存檔」。cuora-module 的 harvest 已完成,遮蔽檢查通過;client-pwa-cash 的三項 harvest 回覆已記錄,client-pwa-ssr 已提交並交付。現只剩一項共用流程提案待你決定。
|
|
2
|
+
|
|
3
|
+
**發生了什麼**:cuora 的提交工具提案如下,目標是避免日後因指令前綴不同而再次卡在權限核准。
|
|
4
|
+
|
|
5
|
+
> 白話:這次提交時,Claude 被允許執行 `git commit`,但實際指令前面多了 `HUSKY=0`,權限比對不到,使用者批准後還要手動補一條允許規則才能提交。建議在呼叫 Claude 提交階段的腳本裡,直接把允許規則寫成同時涵蓋有環境變數前綴與沒有前綴的 `git commit`,這樣提交階段不會因為格式不同被擋住。不改的話,每個會用 `HUSKY=0` 的 repo 提交時都可能再卡一次。
|
|
6
|
+
>
|
|
7
|
+
> `Bash(HUSKY=0 git commit:*)` was not matched by the `git commit` allow pattern — proposal below.
|
|
8
|
+
>
|
|
9
|
+
> - Lesson: env-prefixed `HUSKY=0 git commit` is not matched by the `git commit` allow pattern.
|
|
10
|
+
> - Evidence: `user-question.md`, `answer-commit-02.md`, `claude-hops/09-commit.out`.
|
|
11
|
+
> - Target: `call-claude.sh` commit-stage `--allowedTools`.
|
|
12
|
+
> - Text: add `Bash(HUSKY=0 git commit:*)` next to `Bash(git commit:*)`.
|
|
13
|
+
> - Why no cheaper home: it is a permission flag, not a judgement; a script change is the cheapest.
|
|
14
|
+
> - Overlap: none known.
|
|
15
|
+
|
|
16
|
+
**需要你決定**:是否核准這項提案?此流程只記錄你的決定,不會在本次修改共用腳本。
|
|
17
|
+
|
|
18
|
+
**選項**:
|
|
19
|
+
|
|
20
|
+
- A:核准 → 記錄核准,之後另開流程修改共用腳本;未修改前,未來帶 `HUSKY=0` 的提交仍可能需要手動核准。
|
|
21
|
+
- B:不核准 → 記錄不核准並維持現有腳本;未來相同情況仍可能需要手動核准。
|
|
22
|
+
- 建議:A,因為能避免相同的提交權限格式問題再次發生。
|
|
23
|
+
|
|
24
|
+
**你回覆之後**:我會將你的原文記入 cuora 的 harvest 紀錄,完成交付檢查與暫存資料清理,並回報三個 repo 的最終狀態。
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
## Step
|
|
2
|
+
|
|
3
|
+
Commit hop (phase `commit`) for TI-16026 in cuora-module.
|
|
4
|
+
|
|
5
|
+
## What happened
|
|
6
|
+
|
|
7
|
+
The working tree matches `STATE.md.guardHash` (tracked diff sha256 013984d0…, untracked `test/withdraw_manual_cash.test.js` sha256 fecacc81…). The commit command `HUSKY=0 git commit -m ...` was denied by the tool permissions in this `claude -p` session (it requires approval and the session is non-interactive). `git add` of the two product paths was not run either, because the chained command was denied. Nothing is staged and no commit exists.
|
|
8
|
+
|
|
9
|
+
## Why the user must decide
|
|
10
|
+
|
|
11
|
+
The user authorized the commit, but this session's `--allowedTools` does not cover `git commit` with an env prefix. Bypassing the hook another way (for example `-c core.hooksPath=/dev/null`) would be a workaround of a denied permission, so I did not try it.
|
|
12
|
+
|
|
13
|
+
## Choices
|
|
14
|
+
|
|
15
|
+
- A: Codex re-calls this hop with `Bash(git add:*)` and `Bash(HUSKY=0 git commit:*)` added to `--allowedTools` — I then stage the two paths and commit (about 1 minute, no risk).
|
|
16
|
+
- B: Codex stages and commits the two paths itself with `HUSKY=0` — fastest, but breaks the rule that Claude makes the commit.
|
|
17
|
+
|
|
18
|
+
## Recommendation
|
|
19
|
+
|
|
20
|
+
A.
|
|
21
|
+
|
|
22
|
+
## Files
|
|
23
|
+
|
|
24
|
+
prepare-for-pr/TI-16026/STATE.md
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"checkedAt": "2026-11-18T09:25:20.538Z",
|
|
3
|
+
"roots": ["prepare-for-pr/TI-16026"],
|
|
4
|
+
"valuesChecked": 6,
|
|
5
|
+
"valueLengths": {
|
|
6
|
+
"account#0": 21,
|
|
7
|
+
"password#1": 8,
|
|
8
|
+
"password#2": 8,
|
|
9
|
+
"account#3": 9,
|
|
10
|
+
"account#4": 9,
|
|
11
|
+
"account#5": 5
|
|
12
|
+
},
|
|
13
|
+
"textFilesScanned": 57,
|
|
14
|
+
"unscannedMedia": 0,
|
|
15
|
+
"secretHits": [],
|
|
16
|
+
"allowedValues": [],
|
|
17
|
+
"contextNamesUsed": {
|
|
18
|
+
"account#0": 0,
|
|
19
|
+
"password#1": 0,
|
|
20
|
+
"password#2": 0,
|
|
21
|
+
"account#3": 0,
|
|
22
|
+
"account#4": 0,
|
|
23
|
+
"account#5": 9
|
|
24
|
+
},
|
|
25
|
+
"contextMasked": {
|
|
26
|
+
"account#5": 8
|
|
27
|
+
},
|
|
28
|
+
"contextExactNames": {
|
|
29
|
+
"account#5": 1
|
|
30
|
+
},
|
|
31
|
+
"patternHits": [],
|
|
32
|
+
"infoWordCounts": {
|
|
33
|
+
"authorization": 9,
|
|
34
|
+
"token": 26,
|
|
35
|
+
"password": 10
|
|
36
|
+
},
|
|
37
|
+
"result": "ok"
|
|
38
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bundle": "TI-16026",
|
|
3
|
+
"checkedAt": "2026-11-18T09:23:39.768Z",
|
|
4
|
+
"evidenceIndex": true,
|
|
5
|
+
"citations": false,
|
|
6
|
+
"result": "ok",
|
|
7
|
+
"rows": [
|
|
8
|
+
{
|
|
9
|
+
"id": "U1",
|
|
10
|
+
"status": "PASS",
|
|
11
|
+
"ok": true,
|
|
12
|
+
"problems": []
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "U2",
|
|
16
|
+
"status": "PASS",
|
|
17
|
+
"ok": true,
|
|
18
|
+
"problems": []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "U3",
|
|
22
|
+
"status": "PASS",
|
|
23
|
+
"ok": true,
|
|
24
|
+
"problems": []
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "U4",
|
|
28
|
+
"status": "PASS",
|
|
29
|
+
"ok": true,
|
|
30
|
+
"problems": []
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "U5",
|
|
34
|
+
"status": "N/A",
|
|
35
|
+
"ok": true,
|
|
36
|
+
"problems": []
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "U6",
|
|
40
|
+
"status": "N/A",
|
|
41
|
+
"ok": true,
|
|
42
|
+
"problems": []
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# S04 real backend payment-info capture
|
|
2
|
+
|
|
3
|
+
- Site: DEV https://demoegppwa.jteam.dev (cash frontend), socket wss://fnws.jteam.dev/socket.io/ namespace /frontend
|
|
4
|
+
- Account: demoegpmj2jwoz9fmjwvs4@DEMOEGP
|
|
5
|
+
- Method: wrapped WebSocket.prototype.onmessage in the page, forced a reconnect, recorded raw frames. Withdrawals submitted from the frontend; approve/reject done by the user in the back office.
|
|
6
|
+
|
|
7
|
+
## Approve (Apply ID 17950549538533255243, 5 EGP) — received 2026-11-19T02:24:07.117Z
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
42/frontend,["payment-info",{"uidSite":"demoegpmj2jwoz9fmjwvs4@DEMOEGP","event":"withdraw_success","isTracking":true,"windowType":"toast","subType":"payment","message":"Withdraw successful.","data":{"transactionId":"17950549538533255243","paymentMethod":"generalbank","value":5,"currency":"EGP","isFirst":true},"userInfo":{"uidSite":"demoegpmj2jwoz9fmjwvs4@DEMOEGP","channel":"official","subChannel":"default","level":0,"strategy":"email","verificationStatus":1,"topUp":0,"scope":"member"},"_meta":{"messageId":"(313424,0,0,-1)","publishedAt":1795055047027}},"1795055047058-0"]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Reject (Apply ID 17950550939572850891, 5 EGP) — received 2026-11-19T02:26:30.057Z
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
42/frontend,["payment-info",{"uidSite":"demoegpmj2jwoz9fmjwvs4@DEMOEGP","event":"withdraw_rejected","isTracking":true,"windowType":"toast","subType":"payment","message":"Withdraw rejected.","data":{"transactionId":"17950550939572850891","paymentMethod":"generalbank","value":5,"currency":"EGP","isFirst":true},"userInfo":{"uidSite":"demoegpmj2jwoz9fmjwvs4@DEMOEGP","channel":"official","subChannel":"default","level":0,"strategy":"email","verificationStatus":1,"topUp":0,"scope":"member"},"_meta":{"messageId":"(314260,0,3,-1)","publishedAt":1795055189970}},"1795055189992-0"]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Result against S04
|
|
20
|
+
|
|
21
|
+
- Channel `payment-info`, events `withdraw_success` / `withdraw_rejected`, `subType: "payment"`: all match.
|
|
22
|
+
- Order id: only `data.transactionId`, whose value equals the frontend Apply ID. No `applyId` field in either frame.
|
|
23
|
+
- ssr `matchesPaymentOrder(push, { applyId: shownApplyId })` (`withdrawManual.js:169`) reads `data.transactionId` and compares it with `order.transactionId ?? order.applyId`, so both captured frames match the shown order.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Verify AFTER — TI-16026 (mode A, no captures)
|
|
2
|
+
|
|
3
|
+
Delivery is local with unit-test and review proof (user choice A); the bundle has no capture rows. Screen evidence is the client-pwa-cash TI-16026 bundle.
|
|
4
|
+
|
|
5
|
+
- U1–U4 (checklist unit-test items) and the two F-r1-01 regression tests: `node --test test/*.test.js` 22/22 pass (recorded in STATE.md).
|
|
6
|
+
- Review: `REVIEW CONVERGED` in review-log.md.
|
|
7
|
+
- Behaviour to state in the change description: a failed refresh in `submitted` stays on Pending (state `submitted`, old `processing`).
|
|
8
|
+
|
|
9
|
+
## Pre-commit checks
|
|
10
|
+
|
|
11
|
+
- run: `npm run format` / prettier — the diff changes `src/machine/withdraw/withdraw_manual_cash.js` and adds `test/withdraw_manual_cash.test.js`, so formatting can differ (the pre-commit hook runs it; never run in the dev hops).
|
|
12
|
+
- run: `node --test test/*.test.js` — the diff changes machine transitions.
|
|
13
|
+
- not needed: version bump by hand — the dev-branch pre-push hook computes `1.1.485-dev.N` (publish.md).
|
|
14
|
+
|
|
15
|
+
TABLE READY
|
|
16
|
+
|
|
17
|
+
## Local delivery — no-UI exception (Codex, 2026-11-18)
|
|
18
|
+
|
|
19
|
+
- User decision recorded verbatim in `harvest.md`: proposal 2 「不核准,維持現有設定」. No shared call-script proposal was applied.
|
|
20
|
+
- User approved the one-time SDK exception verbatim: 「採一次性例外:報告列出 22/22 測試與獨立 review,明列截圖檢查不適用」. This repo has no browser UI, so no BEFORE/AFTER captures were created.
|
|
21
|
+
- Current checkout: `dev` at `v1.1.485-dev.0`, `ebb47dbcc757cc59c9a9d7f9c5f5eeb150eedf9b`; task commit `219a415070e8c9ee23615b60a9942d6c4dc1b02c` is an ancestor. `node --test test/*.test.js`: 22 passed, 0 failed.
|
|
22
|
+
- `evidence-index.mjs` write and `--check`: both exit 0; 6 rows, no showcase files. `row-closure.mjs`: 6 rows, PASS=4, N/A=2, open=0. `verify-metrics.mjs --scope all`: 0 capture entries, V06/V07 pass vacuously; screenshot-specific V04, V05, capture-metric V06/V07, V10L and V18 are explicitly listed as not applicable under the approved exception in `self-test-report.md`.
|
|
23
|
+
- Redaction check: exit 0, result `ok`, no secret or token-pattern hits. The temporary ignored symlink to the existing cash test-account configuration was removed immediately after the check; neither Codex nor Claude opened that file.
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"round": 1,
|
|
3
|
+
"commit": "219a415070e8c9ee23615b60a9942d6c4dc1b02c",
|
|
4
|
+
"checkedAt": "2026-11-18T09:25:07Z",
|
|
5
|
+
"result": "ok",
|
|
6
|
+
"checks": [
|
|
7
|
+
{
|
|
8
|
+
"id": "V01",
|
|
9
|
+
"result": "ok",
|
|
10
|
+
"evidence": "checklist.md Spec trace B01–B07 covers the requirement context, all cuora acceptance statements, the cash-owned matching path, and the empty translation section."
|
|
11
|
+
},
|
|
12
|
+
{ "id": "V02", "result": "ok", "evidence": "6 rows have one latest status each: U1–U4 PASS, U5–U6 N/A with code- or spec-grounded reasons." },
|
|
13
|
+
{
|
|
14
|
+
"id": "V03",
|
|
15
|
+
"result": "ok",
|
|
16
|
+
"evidence": "Each checklist row answers D01–D13; applicable state and pending-order dimensions cite the unit tests or traced code path."
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "V04",
|
|
20
|
+
"result": "ok",
|
|
21
|
+
"evidence": "Not applicable under the user's one-time no-UI exception: this SDK has no screen to capture. Unit proof and consumer screen evidence are described in self-test-report.md."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "V05",
|
|
25
|
+
"result": "ok",
|
|
26
|
+
"evidence": "No visual BEFORE/AFTER pair is claimed. U4's unchanged root-handler behavior is asserted by the unit test; screenshot comparison is not applicable under the approved exception."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "V06",
|
|
30
|
+
"result": "ok",
|
|
31
|
+
"evidence": "Capture-recipe checks are not applicable under the approved no-UI exception. verify/metrics-check.json reports 0 capture entries; unit-test evidence is linked in self-test-report.md."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "V07",
|
|
35
|
+
"result": "ok",
|
|
36
|
+
"evidence": "No capture entries exist by scope, so screenshot runtime metadata is not applicable under the approved exception; no synthetic metrics were created."
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "V08",
|
|
40
|
+
"result": "ok",
|
|
41
|
+
"evidence": "The full unit suite uses local request stubs; no transaction or account mutation was sent. Tracked product files stayed clean."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "V09L",
|
|
45
|
+
"result": "ok",
|
|
46
|
+
"evidence": "self-test-report.md follows the local-report section order, has one latest-update line, and lists no rejected review finding."
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "V10L",
|
|
50
|
+
"result": "ok",
|
|
51
|
+
"evidence": "The report has no media links and evidence-index.json has no showcase pairs; the linked Notion pages are external screen-evidence references, not embedded media."
|
|
52
|
+
},
|
|
53
|
+
{ "id": "V11", "result": "ok", "evidence": "No media was uploaded; delivery target is local and there are no showcase files." },
|
|
54
|
+
{ "id": "V12L", "result": "ok", "evidence": "Every Markdown heading in self-test-report.md is on its own line and followed by a blank line." },
|
|
55
|
+
{
|
|
56
|
+
"id": "V13",
|
|
57
|
+
"result": "ok",
|
|
58
|
+
"evidence": "Local environment and data source in the report agree with bundle.json; Notion properties do not apply."
|
|
59
|
+
},
|
|
60
|
+
{ "id": "V14", "result": "ok", "evidence": "Overall PASS matches 4 PASS + 2 N/A; there are no non-PASS, non-N/A rows." },
|
|
61
|
+
{ "id": "V15", "result": "ok", "evidence": "verify/redaction.json: redaction checker exit 0, result ok, secretHits=[], patternHits=[]." },
|
|
62
|
+
{
|
|
63
|
+
"id": "V16",
|
|
64
|
+
"result": "ok",
|
|
65
|
+
"evidence": "The report's six rows have 規格/連動 labels and linked source locations; U4 includes the triggering source and via path."
|
|
66
|
+
},
|
|
67
|
+
{ "id": "V17", "result": "ok", "evidence": "U1–U4 declare measure proof; U5–U6 have no visual states or showcase media." },
|
|
68
|
+
{
|
|
69
|
+
"id": "V18",
|
|
70
|
+
"result": "ok",
|
|
71
|
+
"evidence": "No visual pair is embedded; frame comparison is not applicable under the user-approved SDK exception."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "V19",
|
|
75
|
+
"result": "ok",
|
|
76
|
+
"evidence": "node evidence-index.mjs --bundle prepare-for-pr/TI-16026 --check exited 0; evidence-index.json result=ok."
|
|
77
|
+
},
|
|
78
|
+
{ "id": "V20", "result": "ok", "evidence": "verify/row-closure.json: 6 rows, PASS=4, N/A=2, open=0, V20=ok." }
|
|
79
|
+
]
|
|
80
|
+
}
|