@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / 5e843c5
Fork 0

سامانه صدور فاکتور و حسابداری

Mirrored from https://github.com/davoodmehraban89/Factor-easy.git

Synced Dec 4, 13:00 UTC

docs(finora): record verified Issue223 Chromium RED markers and remaining CI boundaries

davoodmehraban89 committed Nov 23, 2026 at 12:22 UTC 5e843c5f4c193f0bb4e6c7c2ec19cdae6411b936
1 file changed +9
PROJECT_STATE.md
+9
@@ -812,3 +812,12 @@ Next action: run and inspect Quality on the latest PR212 head. If any browser te
812 - Tests assert exact currently known incorrect values **or** precise correct values, with all other states rejected. Four markers: `FINORA_ISSUE223_CROSS_COMPANY_EXPECTED_RED`, `FINORA_ISSUE223_DRAFT_EXPECTED_RED`, `FINORA_ISSUE223_OUTBOUND_SIGN_EXPECTED_RED`, `FINORA_ISSUE223_TRANSFER_NET_EXPECTED_RED`. Sign test uses posted opening 5/outbound 2 → Phase5 stock 3, current Kardex 7 vs required 3; transfer uses opening 8/transfer 3 → W1 stock 5/W2 stock 3 and Kardex current 11 vs required 8. No choice of UI representation of transfer rows is imposed; only aggregate net zero.
813 - Updated existing `docs/EXECUTION_STATUS.md` with task scope and acceptance markers. **No new local browser execution claimed**: repository clone unavailable in this session; actual Playwright proof and full CI await creation/check of an exact-head Draft QA PR. If a test fails due fixture assumptions, repair only the proven fixture, never relax company/status/sign acceptance. No financial application JS, SQL/migration, Auth/RLS/grants, main, posted history, production or release changed; Codex-main remains final reviewer.
814
815 +
816 +
817 +### 2026-11-23 — FIN-QA-223-MANUAL-KARDEX / executable browser proof and exact-SHA CI
818 +- **Actual executed QA proof:** candidate PR242 [Quality run 45140908309](https://github.com/davoodmehraban89/Factor-easy/actions/runs/45140908309) `COMPLETED SUCCESS` on tested code SHA `41330c222b9663563c0307f353bd86d981d72661`: four successful Quality jobs; `static-quality` shows **272/272 Chromium PASS (3.8m)** and **4/4 generated Pages PASS (2.4s)**. Four exact loaded-browser markers `FINORA_ISSUE223_CROSS_COMPANY_EXPECTED_RED`, `FINORA_ISSUE223_DRAFT_EXPECTED_RED`, `FINORA_ISSUE223_OUTBOUND_SIGN_EXPECTED_RED`, `FINORA_ISSUE223_TRANSFER_NET_EXPECTED_RED` are printed with their actual known-broken quantities and the required correct values remain strict. This is **product RED confirmed in synthetic browser, NOT fixed**. Source-level Issue223 has advanced to executed QA for the manual movement subset, but not to hosted DB/RLS exploitation or accounting acceptance.
819 +- **Observed defects:** company B posted adjustment +5 appears in company A Kardex despite A stock 0; A draft adjustment +3 appears despite posted stock 0; posted opening 5 and outbound 2 have Phase5 stock 3 but Kardex 7 instead of 3; posted opening 8 and internal transfer 3 have W1=5/W2=3 while company aggregate Kardex is 11 instead of 8. The transfer acceptance defines net company quantity zero and does not prescribe card-row presentation or warehouse-specific weighted-average method.
820 +- **Other exact-tested-code gates:** [Security 45140908544](https://github.com/davoodmehraban89/Factor-easy/actions/runs/45140908544) COMPLETED SUCCESS (optional Dependency Review SKIPPED); [WP2 real Auth JWT 45140908368](https://github.com/davoodmehraban89/Factor-easy/actions/runs/45140908368) COMPLETED SUCCESS (positive manual journal and credit purchase), but existing sale/credit-purchase non-approver `FINORA_ISSUE229_*EXPECTED_RED` P0 persists. [WP1 45140908538](https://github.com/davoodmehraban89/Factor-easy/actions/runs/45140908538) **IN PROGRESS** at this record, not passed/cancelled. No new real JWT manual inventory-tenant/stock-authority positive test was run.
821 +- **Diff verification:** before this after-verification append, PR240 base vs PR242 candidate was exactly 3 modified files (`PROJECT_STATE.md`, `docs/EXECUTION_STATUS.md`, `scripts/accounting-document-workflow.spec.js`), 4 commits ahead/0 behind, 112 lines added and **zero deleted**, no application runtime or SQL, migrations, Auth, RLS, main, production data, merges or deployment.
822 +- **Final-SHA rule:** appending this checkpoint and the existing execution-status evidence changes branch HEAD again; do **NOT** claim old code SHA's runs also tested the new docs-only SHA. Check all triggered workflows on the final SHA, preserve current evidence as *tested-code* proof only, and post precise CI results as PR comments. Keep Draft and Codex-main final review mandatory. Same six-phase managerial A90/B50/C20/D55/E53/F10 estimates (no increment).
823 +- **Exact next owner/test action:** Codex-main reviews [PR242](https://github.com/davoodmehraban89/Factor-easy/pull/242) and [Issue223](https://github.com/davoodmehraban89/Factor-easy/issues/223) together with PR221/240, then implements one shared company/status/sign/transfer recognition policy without reimplementing the existing transactional ledger. After real correction, rerun the four browser cases as normal PASS, the PR240 stock/cost cases, and independent real-JWT multi-company, approver, fiscal-lock, replay/rollback checks.