Repository navigation
Conversation
Temporary stacked live-test commit only; never merge. The local variable rename preserves normalization behavior. All 20 session tests pass; independent review found no actionable issues.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. Reviewed September 27, 2026, 7:21 AM ET / 11:21 UTC. ClawSweeper reviewWhat this changesRenames a local variable in phone-number normalization to provide a source change for shadow Codex test selection without changing the normalized result. Merge readiness⛔ Needs changes before merge - 1 item remains Keep this temporary probe open while the planned hosted runs are recorded. Its parent selector PR is still open, and the author explicitly says this branch must not be merged. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw normalizes sender phone numbers before deriving per-sender session keys. The stacked CI experiment uses this source edit to observe which tests its shadow selector would retain. flowchart LR
A[Incoming sender number] --> B[Phone normalization]
B --> C[Per sender session key]
C --> D[Session bucket]
E[Source edit] --> B
E --> F[Shadow test selector]
F --> G[Selection report]
Before merge
Agent review detailsSecurityNone. PR surfaceSource 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the leading-plus phone contract intact and consolidate both hosted selector observations in the parent CI PR. Do we have a high-confidence way to reproduce the issue? Not applicable: this is an operational CI probe rather than a bug report. The reviewed snapshot describes the hosted runs as pending. Is this the best way to solve the issue? Yes for the stated experiment: the rename supplies a source change while preserving phone output. Its value depends on recording the planned selector runs, not landing the edit. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 4f227c5c76a6. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
What Problem This Solves
Temporary live validation of the shadow Codex test selector on a large narrow Node plan. Do not merge. This PR will be closed and its branch deleted after two observed runs.
User Impact
No product change is intended to land. Commit 1 only renames a local variable in phone normalization. Commit 2 will deliberately remove the leading
+from normalized phone numbers to exercise selection and failure reporting outside the deterministic floor.Why This Change Was Made
The selector PR itself selected only 17 Node rows and one prunable file. A stacked PR isolates a normal source edit so the selector can run in shadow mode after the complete Node test plan, including after
pr-fail-fastcancellation.Evidence
The mutation target is
src/config/sessions.test.ts, whose normalized per-sender session-key assertion observes the phone-normalization result throughsessions.test.ts→config/sessions.ts→config/sessions/session-key.ts→utils.ts(import depth 3). It is outside the changed file's directory and is not a direct importer. Local prepare results and both hosted runs will be recorded in the parent PR's Live test section.Commit 1 local
prepare: ready, 109 Node rows, 14,938 candidates, 3,055 floor, 11,883 prunable;src/config/sessions.test.tsis a candidate outside the floor. All 20 session tests pass with the harmless rename (59.22 s wall, including compiler preparation). Independent review is clean.Live result and closeout
CI run 36314985952, head
ea375fe4e2cb23920f3eb87e801afdd07ba7b9db: preflight selected 103 Node rows.check-dependenciesrepeated the parent PR's unlistedcodexbinary failure andpr-fail-fastcanceled the run.The
codex-test-selectionjob was admitted after cancellation but failed immediately:OPENCLAW_CI_SELECTION_MATRIXwas 275,546 bytes (context 7,790 bytes), and GitHub could not spawn Bash or Node: Argument list too long. Checkout failed; prepare and Codex were skipped; finalization, reporting, and upload also failed at process startup. No selector artifact, hosted selection counts, or report was produced. The only run artifact wasstartup-memory. The selector job ran from 11:20:18 to 11:20:26 UTC on 2026-09-27, with no finalization stall.Stopped under the requested repeated-failure rule. Commit 2 was not committed or pushed. Its mutation was proven locally: the session-key case returned
1555instead of+1555, with 1 failed / 19 passed in 43.14 s wall; the mutation was then removed. Independent review of the intended temporary mutation was clean.Closed without merging; the temporary remote and local branch have been deleted. The parent PR records the remaining integration fixes and the large-matrix environment transport defect.