# Playwright Script Stability Review: P2P pack Reviewer: QA · Updated: 9 Oct 2026, about 20:04 IST · Status: **P2P reviewed (16:58). The other 8 packs were reviewed at P1 (18:32), with the Medium/High re-check at 18:49 and the Low re-check at 20:04 on run 20261009-195128-382264. O2C/R2R P2 specs not manually reviewed. HCM and CX not reviewed (held).** ## Current state `automation/tests/cases/` holds one spec per designed P1/P2 case (68), plus `tests/smoke/P2P-SMOKE-001.spec.ts`, for 69 spec files. The earlier `tests/starter/` specs with provisional IDs are gone. Reported run: `automation/results/results.json` (sha256 prefix `7a32f61dd953e4c8`), started 16:51:22 IST and took 64.4 s, **against the local mock app only**. ## How the review will be done 1. Static scan: `python3 qa/audit.py`. Section 5 of `qa/audit-report.md` lists every finding with file:line: | Rule | What the scan flags | |---|---| | S1 locators | `page.locator('#css')`/`.$()` with CSS, `xpath=`/`//` selectors, raw selector strings in `page.click/fill/...`, `nth-child`/`.nth(n)` | | S2 no fixed sleeps | `waitForTimeout(...)`, `new Promise(... setTimeout ...)` | | S3 auto-waits | `force: true`, `expect(await x.isVisible())` style non-retrying assertions, `networkidle` | | S4 isolated data | hardcoded IDs like `'PO-12345'`, `'INV1001'`, `describe.serial` | | S5 traces | `playwright.config.*` missing `trace` / `screenshot` / JSON reporter; `retries` > 0 is flagged (team decision: retries 0, graph owns the retry). `retries: 0` is correct | | S6 secrets | literal `password/token/secret/api_key = '...'` | | S7 traceability | case ID not in title/tag/filename (shows up as "scripts without a matching case") | | S8 hygiene | `test.only`, `test.skip`/`fixme` left in | It also counts `getByRole/Label/Text/TestId/...` usage per file. A file with zero `getBy*` calls gets a manual look. 2. Manual review of every P1 script (strategy §2), plus a sample of the rest, for things a regex cannot see: - Each test seeds or reserves its own data through `tests/data-recipes/` with unique suffixes, and does not depend on another test's PO or invoice. - Assertions check business outcomes (status = "Approved", hold name, amount paid), not only that a page loaded. - Negative and role cases assert the *denial* (button absent/disabled, error message), not just the absence of a crash. - Credentials come from env vars only. Nothing that looks like real client data appears. 3. Flakiness check: run the suite at least twice (or `--repeat-each=3` on P1). Anything that changes outcome between runs is flaky (strategy §6) and goes back to Automation with the trace. ## Findings (9 Oct 2026) ### Static scan (`qa/audit.py` §5, all 69 specs plus `automation/src/*.ts`) | Rule | Result | |---|---| | S1 CSS/xpath/raw selectors/positional | **0** findings. Specs use `ui.*` helpers built on `getByRole`/`getByLabel`, plus `getByTestId` for read-only values | | S2 fixed sleeps | **0** (`waitForTimeout`, setTimeout sleeps) | | S3 force / non-retrying asserts / networkidle | **0** | | S4 hardcoded business IDs / serial mode | **0**. Document numbers come from `unique()` or are returned by `api.*` recipes. `workers: 1` with `/api/test/reset` before every test | | S5 config | `trace: 'on'`, `screenshot: 'on'`, `retries: 0`, JSON + JUnit + HTML reporters: **OK** | | S6 literal secrets | **0**. Personas are mock cookies or headers | | S7 traceability | **OK**. Every spec has `` in its title and an `@` tag. The smoke spec `P2P-SMOKE-001` is not a designed case (see below) | | S8 fixme/skip | **11 `test.fixme`, all P2**, each with a reason annotation saying the feature isn't modelled in the mock: APR-013, INT-010, INT-014, INT-015, INV-014, PO-007, PO-012, POC-001, RCV-006, SUP-001, SUP-007. **No P1 spec is fixme.** | ### Manual-style review of the 30 P1 specs I counted assertions per spec. Every P1 spec has 3–11 `expect` calls, and no assertions sit inside `if`/`try`. `toBeTruthy`/`not.toBeNull` appear only once, as a guard in INT-006. Most assertions are web-first `await expect(locator)...`. Read in full: INT-006, SEC-002, RCV-001 and APR-008, chosen as the weakest by the metrics. - **Assertions assert business outcomes.** Examples: RCV-001 checks QuantityReceived=10 and schedule status `CLOSED FOR RECEIVING` via REST. APR-008 checks `APPROVED` after the mail-link approval. SEC-002 checks that other-BU documents are invisible in UI and REST, **with a positive control** (a UK1 persona sees the same PO), so it can't pass vacuously. - **Finding R1 (medium), P2P-INT-006:** newly mandatory REST attributes (the typical patch break) are only *annotated* (`newly-required-fields`), not asserted, so the test passes even when one appears. The baseline is also a snapshot of the mock itself, which makes the check tautological on the mock. Suggestion: fail, or at least `expect.soft`, on non-empty `newlyRequired`, and take the baseline from a pre-patch pod run. - **Finding R2 (low):** 3 REST-only P1 specs (INT-001/002/003) run in 23–36 ms. Expected for API calls against an in-memory mock, and they assert status and body. Noted so the short durations aren't mistaken for no-ops. - **Finding R3 (low):** isolation depends on `workers: 1` plus a global reset. That's correct now, but parallel runs would need per-test namespaces. ### Stand-ins P2P-INV-006 and P2P-INT-009 (both now P2) are stand-ins, marked by a `@stand-in` tag/title and a `type: 'stand-in'` annotation. INV-006's tag comes from `caseTags()` at runtime, so the audit had been missing it statically. Fixed: `qa/audit.py` now reads annotations and treats result entries as authoritative. Both stand-ins passed. Neither counts as fully covered. ### Did the tests really run? Yes, verified directly from `results.json`: - 69 tests (58 `expected`, 11 `skipped`/fixme, 0 `unexpected`, 0 `flaky`), 0 run-level errors, `retries: 0`. - Every executed test has a duration > 0 (23 ms to 3.6 s), and start times run 16:51:24–16:52:26 IST. - At 16:53 IST, a trace.zip existed on disk for all 58 executed tests. - **Finding E1 (high, process):** at **16:55:21 IST**, another Playwright run (one test, P2P-PO-001, not QA's) used the default `outputDir` and **wiped `automation/results/artifacts/`**. The paths in results.json, and the Artifacts column of the go/no-go report, now point at missing files. The evidence survives in `automation/results/html-report/data/` (58 trace zips, 53 PNGs; the REST-only tests have no page screenshot). Fix for Automation: give ad-hoc and graph runs their own `--output` dir, or write per-run artifact dirs, and re-point the report's links. ### Flakiness: one independent rerun QA reran the full P1+P2 selection once, 16:54:02–16:55:07 IST, on mock port 3199 with JSON written to `/tmp/qa-rerun/`. I passed `--output` and `--reporter=json` so that the team's results, html-report and junit weren't touched; checksums were verified before and after. Result: 58 passed, 0 failed, 11 skipped, 0 errors. **All 69 outcomes are identical to the reported run.** `qa/audit.py --rerun` gives a flaky rate of **0.0% (0/58)**. That's two runs in total, a small sample. Keep tracking it on every cycle. ### Smoke spec `P2P-SMOKE-001` maps to no designed case. Under C1 it is **blocking only if it does not run**. It ran and passed in both runs, so it is non-blocking. It's listed as "script without a matching case" for traceability. --- ## Manual review: A2R, EXP, O2C, R2R, P2M, PPM, SCM and SCP (9 Oct 2026, about 18:32 IST) **Scope:** every spec in `automation/tests/cases/{a2r,exp,o2c,r2r,p2m,ppm,scm,scp}/`. That is 88 P1 specs (EXP's 11 include the tolerant EXP-AI-001) plus 4 O2C P2 specs (AR-002, CRD-001, CRD-002, SEC-003). I read each spec in full, with the helpers in `src/fixtures.ts`, `src/ui.ts` and `src/modules//*`. I checked the doubtful assertions against `mock-app/` behaviour. **Mock only:** nothing here was run against Oracle Fusion. **Files read are as of 18:32 IST.** Automation edited `o2c/O2C-ORC-001.spec.ts`, `p2m/P2M-WO-003.spec.ts`, `src/cases.ts`, `src/modules/o2c/ui.ts` and `src/modules/p2m/labels.ts` at 18:30–18:31 IST. That is **after** gate run `20261009-182335-301005` (started 18:23). The signed-off results therefore came from the earlier versions of these files. The next full run has to confirm the edited files. **Severity scale:** - **High:** the test can pass while the business outcome is wrong, on a P1 case. - **Medium:** weak or self-referential evidence, or a stand-in that is not labelled as one. - **Low:** fragility or a hygiene issue. - **Info:** worth knowing, no action needed. ### Cross-cutting (all 8 packs) | Area | Finding | Severity | |---|---|---| | Data isolation | The auto fixture `resetMock` (`src/fixtures.ts`) calls `/api/test/reset` before every test, with `workers: 1` and seeded data plus `unique()` names. Isolation is therefore **global reset plus serial execution**. This is sound on the mock. **It will not carry over to a shared test pod.** Many specs depend on fixed mock seed IDs and literals (for example A2R `DATA.assetA`/`assetInvoice`, SCM `'ZZ-COMP-A'`, R2R seeded system transactions). For a pod run, every pack needs pod-side data recipes, or at least `unique()`-scoped queries. | Medium (for a pod run); Info (mock) | | Waits | No `waitForTimeout` or sleeps in any of the 8 packs. Waits rely on web-first `expect` and the `expectOk` and `process()` helpers, which poll until SUCCEEDED. | Info (positive) | | Locators | Mostly role, label and testid locators taken from the `labels.ts` constants. The remaining positional selectors are column-index lookups `cell.nth(heads.indexOf(X))` with **no guard for -1**: A2R-AST-001:20-22,30; R2R-CLS-001:20; R2R-CLS-002:18,22. If a column is renamed, -1 makes `nth(-1)` pick the **last** cell. EXP avoids this by asserting the index is at least 0 in `EXPUi.cellAt`. Copy that guard. | Low | | Static S1 flags | The `qa/audit-report-o2c.md` and `-p2m.md` S1 flags for O2C-ORC-001:15-16 and P2M-WO-003:18-34 are **stale**. The files were rewritten at 18:30 to use role-filtered rows and named cells. Re-run `qa/audit.py --module all` to refresh. | Info | | Dummy asserts | `expect(tv(...)).toBeDefined()` only proves the test-value file loads: R2R-CLS-001:9, R2R-CLS-002:9, R2R-CM-002:12, R2R-SEC-003:10. These are harmless but do not count as checks. | Info | ### A2R (6 P1): verdict **sound** | # | Spec:line | Finding | Severity | |---|---|---|---| | A2R-1 | A2R-AST-001:20-22,30 | `nth(heads.indexOf(...))` with no -1 guard (see cross-cutting). | Low | | A2R-2 | A2R-AST-001 (DATA.assetA, assetInvoice) | Fixed seed IDs exist only on the mock, so a pod run needs a recipe. | Low | | A2R-3 | A2R-SEC-001:17 | Accepts 200 or 403. Checked: both outcomes are secure, because the follow-up check proves nothing changed. | Info | Positives: asset additions are checked for queue, cost and book. Retirement and depreciation check amounts, not just status. There are no stand-ins. ### EXP (11 P1 specs: 10 gating + EXP-AI-001 tolerant): verdict **acceptable, with 1 Medium** | # | Spec:line | Finding | Severity | |---|---|---|---| | EXP-1 | EXP-CHN-001:12 | Stand-in declared only by annotation; no `@stand-in` tag. The audit picks it up, but tag-based filters will not. | Low | | EXP-2 | EXP-CHN-001:23 | Asserts `Channel: 'MOBILE'` on a report created through the mock REST service. The mock's `createFromChannel` sets that label itself, so the check proves only the mock's mapping. It is not evidence for the mobile or email channel. | Medium | | EXP-3 | EXP-APR-001:15; EXP-RMB-001:15 | Literal amounts (45 / 180) sit alongside test-value totals. If the test values change, the test breaks for the wrong reason. | Low | | EXP-4 | EXP-SEC-002:22 | `not.toMatch(/\d{13,19}/)` on the whole page content could false-fail on a 13-digit epoch-ms timestamp or ID. Scope it to the card fields, or use a Luhn check. The masked-number check on line 21 is the real control. | Low | | EXP-5 | EXP-RMB-001:12 | Mock-boundary: the payment request is served by the mock EXP pack, not by Payables. This counts as full coverage (see `qa/stand-in-cases.md`). | Low | | EXP-6 | all EXP specs:10 | Unused imports kept alive with `void`. | Info | Positives: the POL-001 boundary test (at the limit and just over), the SEC-001 positive and negative controls, and the honest EXP-AI-001 `fixme` (tolerant suite). ### O2C (20 P1 + 4 P2): verdict **acceptable, with 1 Medium (stand-in)** | # | Spec:line | Finding | Severity | |---|---|---|---| | O2C-1 | O2C-INT-003:2-5,14 | The stand-in is **self-referential**. The mock defines both the extension inventory and the effects the test checks, so it proves only the loop. It is honestly labelled (`@stand-in`, POD-REQUIRED). It must not be read as extension coverage. | Medium | | O2C-2 | O2C-INT-002 | The contract check uses a hand-authored contract that has not been verified against the pod's REST description. | Low | | O2C-3 | O2C-OM-001:14-15 | Hard-coded `'120.00'` / `'12.00'` instead of values derived from the test values. | Low | | O2C-4 | O2C-AR-003:16-19; O2C-PRC-002 | Cells are matched by text without binding them to a column, so the same value in another column would satisfy the check. | Low | | O2C-5 | O2C-E2E-001:28; O2C-SHP-001:24 | `getByRole('link')` without a name relies on there being exactly one link in scope. | Low | | O2C-6 | O2C-E2E-001:55-57 | Accounting is checked only through the process log text, not the journal lines. ACC-001 covers the journal lines. | Low | | O2C-7 | O2C-SEC-003:26 (P2) | No REST check of the record after approval. | Low | | O2C-8 | O2C-CRD-001:11 (P2) | Literal `'Submit'` instead of the `BUTTON` constant. | Low | | O2C-9 | O2C-SEC-001 | No positive control inside the test. SEC-004 provides it. | Low | | O2C-10 | O2C-SEC-005:8 | SoD comes from the mock role model (ASSUMED, mock-boundary). It counts as full coverage. | Low | Positives: SHP-001 checks on-hand quantity after shipping, ACC-001 checks journal lines, SEC-002 and SEC-005 have controls, and the RCP-002 stand-in is honest. O2C-ORC-001 now uses role-filtered rows (edited 18:30, not yet run). ### R2R (20 P1): verdict **acceptable, with 1 Medium; 6 of 20 P1 are stand-in only** | # | Spec:line | Finding | Severity | |---|---|---|---| | R2R-1 | R2R-CLS-001:22-24 | The "newly opened period is enterable" step creates the journal in **`openPeriod`** (line 22), not the newly opened `nextPeriod`. Line 24 only checks that `nextPeriod` appears as an option. No journal is ever saved in the new period, so a failure to save there would not be caught. | Medium | | R2R-2 | R2R-CLS-001:20; R2R-CLS-002:18,22 | Unguarded `nth(indexOf)` (see cross-cutting). | Low/Medium | | R2R-3 | R2R-SEC-001:15 | `not.toHaveText('gl_manager')`. Checked against `mock-app/modules/r2r/store.js:101`: the approver field holds a persona ID, so the check **can** fail. It is still weak because it does not name the expected approver. Assert `toHaveText('gl_controller')` (ASSUMED). The no-approve-button check on line 17 is the real control. | Low | | R2R-4 | R2R-GL-004:20 | Matches the imported batch with `BatchName LIKE '%ZZ%'` instead of the group ID. This only works because the mock is reset. | Low | | R2R-5 | R2R-GL-003:11 | Stand-in declared only by annotation; no `@stand-in` tag. | Low | | R2R-6 | R2R-CM-001…004, GL-003, GL-004 | 6 of 20 P1 cases are stand-in only (synthetic files staged through the mock API). They are honestly labelled, but R2R P1 has only **14/20 full coverage**. | Info (coverage) | | R2R-7 | R2R-CM-003:12 | Reconciles against **seeded** O2C receipts and P2P payments, not transactions produced in the run. | Low | Positives: CM-003 (many-to-one) and CM-004 (tolerance at the limit and 0.01 over) are good boundary tests. GL-001 and GL-002 check balances, COA-001 and SLA-001 check accounting, and SEC-002 and RPT-002 have controls. ### P2M (8 P1): verdict **acceptable, with 1 Medium** | # | Spec:line | Finding | Severity | |---|---|---|---| | P2M-1 | P2M-WO-004:10 | The backflush (operation-pull) variant is **not tested**. It is marked only as `mock-boundary`, so this P1 case counts as full coverage. Either tag it as a partial stand-in or have the case owner accept the gap. | Medium | | P2M-2 | P2M-WO-001:34; P2M-MNT-002:43 | Literal quantities and prices. | Low | | P2M-3 | P2M-WO-003 | S1 flags are stale: the file was rewritten at 18:30 to use named rows and cells. **The edited version has not been run yet.** | Info | Positives: WO-004 and WO-005 check on-hand quantities after issue and completion, and SEC-001 has positive and negative controls. ### PPM (9 P1 scripts, 10 result entries): verdict **acceptable** | # | Spec:line | Finding | Severity | |---|---|---|---| | PPM-1 | PPM-SEC-001:29 | `toBeGreaterThanOrEqual(400)` lets a **500** server error pass as "refused". Assert 403 (or the documented 4xx). | Low/Medium | | PPM-2 | PPM-CST-002:22 | A second test, "negative control", has the same case tag and `@stand-in` but no annotation. This gives 10 result entries for 9 scripts. Use a distinct title or step, or fold it into the main test. | Low | | PPM-3 | PPM-CST-001:4 | Uses a synthetic payroll cost file instead of HCM costing output. This is stated in a comment only, not an annotation. | Low | Positives: ACC-001 checks cost distributions and CST-003 checks the project total is unchanged. ### SCM (8 P1): verdict **acceptable** | # | Spec:line | Finding | Severity | |---|---|---|---| | SCM-1 | SCM-SEC-001:34 | `not.toBe(200)` would accept 500 or 404. Assert 403. A positive control follows. | Low/Medium | | SCM-2 | SCM-WOC-001:13 | Literal `'ZZ-COMP-A'` mock item. | Low | | SCM-3 | SCM-CST-001:9 | The uncostable fix is done through the mock API (mock-boundary), and the case counts as full coverage. | Low | | SCM-4 | SCM-WOC-001:11 | The stand-in (work-order chain through the mock API, not the P2M UI) is honest. | Info | Positives: INV-002 and RCD-001 assert on-hand and received quantities. ### SCP (6 P1): verdict **weakest pack: 1 High and 1 Medium** | # | Spec:line | Finding | Severity | |---|---|---|---| | SCP-1 | SCP-INT-001:22,25 | The duration and SLA checks **cannot fail on the mock**. `submittedAt` and `completedAt` are taken back to back by the synchronous mock process runner (`mock-app/core/registry.js:67-70`), so durations are about 0 ms. The annotation admits this, but the case counts as **full** P1 coverage. The sequencing check (line 24) and the release check (line 26) are real. | High | | SCP-2 | SCP-SUP-001:22-23 | Planned orders are compared with `fixtures/baselines/scp-supply-plan.json`, a baseline captured from the mock itself. On the mock this is a self-comparison, so it detects only mock regressions. A pod run needs a pre-patch pod baseline. | Medium | | SCP-3 | SCP-SUP-002:9 | Transfer orders are held by the mock SCP pack (mock-boundary) and count as full coverage. | Low | Positives: the GOP-001 negative control, COL-001 count checks, and SEC-001 controls. ### Module verdicts (manual review; mock only) | Module | P1 specs | Verdict | High / Med / Low | Stand-in only | |---|---|---|---|---| | A2R | 6 | Sound | 0 / 0 / 2 | 0 | | EXP | 11 (10 gating) | Acceptable | 0 / 1 / 4 | 2 | | O2C | 20 (+4 P2) | Acceptable | 0 / 1 / 9 | 2 | | R2R | 20 | Acceptable; 14/20 full | 0 / 1 / 5 | 6 | | P2M | 8 | Acceptable | 0 / 1 / 1 | 0 | | PPM | 9 | Acceptable | 0 / 0 / 3 (1 Low/Med) | 1 | | SCM | 8 | Acceptable | 0 / 0 / 3 (1 Low/Med) | 1 | | SCP | 6 | Needs fixes (SCP-INT-001) | 1 / 1 / 1 | 0 (3 partial) | **Effect on sign-off:** none of these findings shows a wrong business outcome in run 182335. QA recommends three things before the next run: 1. Fix or relabel **SCP-INT-001** (make it a stand-in, or exclude the duration checks on the mock). 2. Fix **R2R-CLS-001**: save the journal in `nextPeriod`. 3. Decide on **P2M-WO-004** backflush. The full stand-in list is in `qa/stand-in-cases.md`: 22 cases (20 P1). That count includes the 8 partial substitutes, which the Chief of Staff ruled to be stand-ins at 18:34 IST. --- ## Re-check of the Medium/High findings on run 20261009-184008-330947 (9 Oct 2026, about 18:49 IST) **What I checked:** the current spec, helper and mock files, the promoted results (sha256 `01b1ea3f59c57737`, all P1 passed on the first attempt), and the SCP-INT-001 mutation runs. Every fix listed below was edited between 18:35 and 18:40 IST, before the run started (18:40:11 IST). | Finding | Was | Status now | Evidence | |---|---|---|---| | SCP-1 SCP-INT-001 SLA checks cannot fail | High | **Fixed. The case is a tagged stand-in.** | Durations come from the mock's simulated ESS clock (`mock-app/core/registry.js:71-77`, `mock-app/modules/scp/store.js:161-176`, ASSUMED minutes, overridable). Line 31 asserts a non-zero duration. Mutation run `183519-mutation-scp-int-001` failed at **line 40** ("Run Plan duration <= 30": received 2 700 000 ms). Run `183530-…-env` failed at **line 40** ("Collect Planning Data <= 20": received 1 500 000 ms). Both are later than the spec edit (18:35:05). The negative control is at lines 47-53. It passed in 184008 and in both extra runs | | SCP-2 SCP-SUP-001 compares with a mock self-baseline | Medium | **Downgraded to Low. The case is a tagged stand-in.** | It now compares with `fixtures/expected/scp-supply-plan.expected.json` (status UNVERIFIED, hand-authored). The orders equal the YAML arithmetic (demand 150 − on-hand 100 − PO 20 = buy 30; make 50; transfer 25) and the old mock baseline, so the expected values are traceable to the case. It is still not a pod baseline. Info: the file says "authored 18:40 IST", but its mtime is 18:36:06 | | R2R-1 R2R-CLS-001 never saves in the new period | Medium | **Fixed** | Lines 24-28: a journal is created in `nextPeriod`, and REST confirms `PeriodName = nextPeriod` with 10/10 totals | | EXP-2 EXP-CHN-001 asserts the mock's `Channel: 'MOBILE'` label | Medium | **Fixed** | The channel assertion has been removed (no `MOBILE` or `Channel` left in the spec). It now checks behaviour: the lines and total in the approval view, approval, and the REST amounts | | P2M-1 P2M-WO-004 backflush untested | Medium | **Resolved as a stand-in** (CoS 18:34) | `@stand-in` tag and annotation at `P2M-WO-004.spec.ts:11`. Backflush stays untested, and that is recorded in `qa/stand-in-cases.md` | | O2C-1 O2C-INT-003 self-referential stand-in | Medium | **Open (inherent)** | It is unchanged and honestly labelled. Only a pod inventory can close it (POD-REQUIRED) | | Isolation for a pod run (cross-cutting) | Medium (pod) | **Open** | The global reset, `workers: 1` and fixed seed IDs are unchanged. This does not affect the mock sign-off | | R2R-2 / A2R-1 unguarded `nth(indexOf)` | Low/Medium | **Fixed** | The new `cellByHeader` in `src/ui.ts:51-57` asserts that the column exists, and is used in A2R-AST-001:19-21,29, R2R-CLS-001:19 and R2R-CLS-002:17,21. No `nth(indexOf)` remains in the 8 packs | | PPM-1 PPM-SEC-001 `>= 400` | Low/Medium | **Fixed** | `expectDenied` (`src/api.ts:33-36`) requires 401 or 403 **and** a denial message. A 5xx, 404, 400 or 409 now fails the test | | SCM-1 SCM-SEC-001 `not.toBe(200)` | Low/Medium | **Fixed** | `expectDenied` is used. The route now exists (`mock-app/modules/scm/web.js:74`, edited 18:39). `approveCount` throws 403 SOD_VIOLATION (`scm/store.js:238`). The old check would have passed on a 404 from a missing route | | EXP-1 / R2R-5 stand-in only by annotation | Low | **Resolved in the results** | The results carry the `stand-in` tag through `caseTags()` from the YAML `stand_in`. The specs still have no literal `@stand-in`, which is cosmetic | **New or remaining Lows** | # | Spec:line | Finding | Severity | |---|---|---|---| | SCP-4 | SCP-INT-001:42 | The chain-order check (`start >= previous end`) cannot fail on the mock, because the simulated clock is monotonic (`registry.js:75`) and the test submits the steps in sequence. Only the SLA checks (40, 43) and the release check (44) are real | Low | | SCP-5 | SCP-INT-001:47-53 | The negative control exercises the `withinSla` helper, not the line-40 assertion itself. The mutation runs cover line 40 | Info | | R2R-3 | R2R-SEC-001:15 | Unchanged: still `not.toHaveText('gl_manager')`. It should name the expected approver | Low | | R2R-4 | R2R-GL-004:20 | Unchanged: still `BatchName LIKE '%ZZ%'` | Low | | others | see the 18:32 tables | EXP-3, EXP-4, O2C-2…9, P2M-2, PPM-2, PPM-3 (now tagged), SCM-2 and the dummy `toBeDefined()` asserts are unchanged | Low/Info | **Verdicts now (P1 fully covered / stand-in only):** - A2R: sound (6/0). - EXP: acceptable (7/3). - O2C: acceptable (17/3). - R2R: acceptable (14/6). - P2M: acceptable (7/1). - PPM: acceptable (7/2). - SCM: acceptable (6/2). - **SCP: acceptable (3/3).** The High is fixed and the case is tagged as a stand-in. Open Mediums: O2C-1 (inherent) and the pod-isolation item. --- ## Low-finding re-check on run 20261009-195128-382264 (9 Oct 2026, about 20:04 IST) **Claim checked:** Automation said the Low findings are closed, EXP-CHN-001 and R2R-GL-003 now carry a literal `@stand-in`, and the shared helpers no longer use `.last()`/`nth(1)`. I checked the current files; the specs that ran are byte-identical to the sources embedded in the run's traces, apart from annotation text in R2R-RCN-001/002. | Finding | Status | Evidence | |---|---|---| | EXP-1 / R2R-5: literal `@stand-in` | **Closed** | `EXP-CHN-001.spec.ts:12` and `R2R-GL-003.spec.ts:11` now include `'@stand-in'` | | Shared helpers: `.last()`, `.first()`, `nth(1)`, `nth(-1)` | **Closed** | None in `automation/src/**` (only a comment in `ui.ts:51`). None in any O2C/R2R spec either | | PPM-3: PPM-CST-001 synthetic payroll | Closed (since 184008) | Tagged and annotated as a stand-in | | SCP-4: SCP-INT-001:42 chain-order check cannot fail on the mock | **Open** | Unchanged | | R2R-3: R2R-SEC-001:15 `not.toHaveText('gl_manager')` | **Open** | Unchanged | | R2R-4: R2R-GL-004:20 `BatchName LIKE '%ZZ%'` | **Open** | Unchanged | | EXP-3: literal 45/180 in EXP-APR-001:15 and EXP-RMB-001:15 | **Open** | Unchanged | | EXP-4: EXP-SEC-002:22 `/\d{13,19}/` on the whole page | **Open** | Unchanged | | O2C-3: O2C-OM-001:14-15 literal `'120.00'`/`'12.00'` | **Open** | Unchanged | | O2C-5: `getByRole('link')` without a name | **Open, and spread** | O2C-E2E-001:28 and O2C-SHP-001:24, plus **O2C-SHP-003:25 (P2, new)** | | O2C-8: O2C-CRD-001:11 literal `'Submit'` | **Open** | Unchanged | | SCM-2: SCM-WOC-001:13 literal `'ZZ-COMP-A'` | **Open** | Unchanged | | PPM-2: PPM-CST-002 second test with the same case tag | **Open** | `PPM-CST-002.spec.ts:23` | | Dummy `expect(tv(...)).toBeDefined()` | **Open, and spread** | Now in 19 R2R specs (P1 and P2) and 35 specs in other packs, including the fixme bodies RPT-003, SLA-003, INT-005 and INT-006. They are harmless, but they are not checks | | O2C-2, O2C-4, O2C-6, O2C-7, O2C-9, P2M-2 | Not re-verified line by line; no edit to those specs since 18:55 | See the 18:32 tables | **Verdict:** the "Low findings closed" claim is **not true**. 3 are closed and 12 or more are still open. None of them changes a P1 outcome or sign-off. The Mediums still open are O2C-1 (O2C-INT-003 is self-referential; POD-REQUIRED) and pod-run isolation. **Not yet done:** - No manual review of the O2C P2 specs (32 in scope) or the R2R P2 specs (29). - The 5 mutation runs cover only O2C-PRC-003, O2C-COL-002, R2R-ICO-003, R2R-CM-006 and R2R-COA-002, all P2.