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

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

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

Synced Dec 3, 14:30 UTC

docs: record passing 123 Chromium and security gates for duplicate-loader repair

davoodmehraban89 committed Oct 16, 2026 at 01:41 UTC e01707c19fa5bf5268d4a6a44fdfad5474008c07
1 file changed +1
PROJECT_STATE.md
+1
@@ -805,3 +805,4 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
805 - **Acceptance / rollback:** exact PR-head Quality (122+ Chromium, Golden, three disposable DB) and Security PASS; docs and test-only branch, no production writes. Restore by reverting isolated PR. Live first signed-out login on owner's impacted Chrome/ISP remains F0-01 P0 OPEN; no invoice persistence/real backup signoff.
806 - **First independent CI result on PR #158 head `926a44321daf56f989a595b74048145e155451cc`:** Security `38813224607` SUCCESS; Quality `38813224500` FAIL, **122/123 Chromium PASS**. The one new synthetic hardened-Pages test confirmed early login remains available during deliberately delayed bottom dynamic dispatcher, but detected a standalone `enterprise-iran.js` network request, contrary to expected bundling. Three disposable DB jobs, Golden and other financial invariants passed. Do not merge or deploy this test-only PR while failing. Next: capture request resource type + Chromium Network initiator on this isolated fixture to distinguish duplicate executed script, speculative preload, or diagnostic fetch. This is an actual test failure, not yet proven runtime financial corruption or a confirmed owner-ISP fix.
807 - **CDP root cause evidence / bounded implementation decision, before code edit:** PR #158 head `6dc91cddf403a2d482c30795f2b32e20cd6b82d2`, Quality `38814011317` 122/123 Chromium with same intentional test FAIL, Security `38814011321` PASS. Chromium `Network.requestWillBeSent` identifies a real **Script** request to `/_site/js/enterprise-iran.js`, initiator `finora-pages-foundation.js` line 565. Source mapping through ordered foundation bundle reveals `js/ui.js` line 218: a `DOMContentLoaded` listener injects a second `<script src=js/enterprise-iran.js>`. This duplicates the same ERP module already in the required accounting Pages bundle; raw development `index.html` also separately includes it statically at line 941. **Authorized narrow fix:** delete ONLY this dynamic redundant script insertion from `js/ui.js`, retain enterprise module in original static index and Pages accounting bundle and preserve module rail rendering; keep strict fail-closed gating and test full Chromium/Golden/DB/Security. Do not combine unrelated CSP handler files in this fix. Rollback by reverting ui.js one-line change.
808 +- **One-line repair controlled CI VERIFIED on PR #158 code HEAD `6dfdf41b7694ef6397c19bce8613f68cd6b724d4`:** [Quality `38814776887`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38814776887) SUCCESS; static job logs **123/123 Chromium PASS**, including the delayed CSP handler + no redundant source-script fetch regression; Golden sale→receipt→purchase→payment→reversal→trial balance→statements and accounting P0 invariants PASS; **three disposable DB jobs SUCCESS**. [Security `38814776751`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38814776751) SUCCESS. Production source change is only removal of redundant DOMContentLoaded dynamic load in `js/ui.js` (enterprise module remains in built accounting group). **PENDING:** after this evidence-only documentation append, recheck exact final PR head CI before merge; protected-main Release/Pages and actual owner-ISP cold login are NOT VERIFIED at this checkpoint. Phase 0/Issue #106 remain OPEN.