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

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

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

Synced Dec 4, 08:00 UTC

hardening/wp1-ledger-integrity-20261102
audit-remediation-wave3-4-20261002 audit-remediation-wave3-verify-20261002 audit-remediation-wave4-20261002 audit-remediation-wave4b-20261002 audit-remediation-wave5a-identity-20261002 audit-remediation-wave5b-offboarding-20261002 audit-remediation-wave5c-authorization-20261002 audit-security-intent-review-20261002 audit/finora-financial-core-20261115 audit/finora-master-prompt-phase0-20261016 audit/finora-stage3-legacy-source-readonly-20261023 audit/full-controls-20261030 audit/owner-live-state-reconcile-20261012 audit/owner-review-20261007 audit/phase1-live-permissions-readonly-20261013 audit/reconcile-live-state-20261006 audit/reconcile-state-20261002 audit/wp0-hardening-baseline-20261102 branding-login-favicon-20261002 c8-workflow-task1 c8-workflow-task2 c8-workflow-task3 chore/wave0-pages-gate-closeout claude-code-plugins-setup design/finora-c01-authoritative-source-draft-20261124 docs-wave4b-verified-20261002 docs/active-company-invoice-release-evidence-20261014 docs/agent-operating-model-20261114 docs/chart-taxpayer-release-evidence-20261004 docs/cloud-only-agent-orchestration-20261115 docs/confirm-finora-product-charter-20261115 docs/continuation-20261030 docs/d4a-verified docs/external-work-review-20261121 docs/finora-audit-continuity-20261014 docs/finora-backup-merge-evidence-20261014 docs/finora-ci-reconciliation-20261122 docs/finora-codex-master-prompt docs/finora-eight-phase-plan-20261011 docs/finora-f002-live-buyer-filter-verified-20261015 docs/finora-license-race-release-evidence-20261014 docs/finora-license-rollout-acceptance-20261015 docs/finora-phase0-repeat-and-pages-nav-verified-20261015 docs/finora-phase0-repeat-evidence-20261015 docs/finora-selectors-release-and-fixture-qa-20261015 docs/finora-stagea-pr240-ci-triage-20261123 docs/finora-test-license-live-pass-20261015 docs/finora-v2-m01-coverage-20261124 docs/handoff-charter-v2-20261124 docs/invoice-product-search-release-20261011 docs/invoice-workspace-release-20261007 docs/phase-status-20261031 docs/phase0-acceptance-release-evidence-20261012 docs/phase0-admin-provision-release-evidence-20261012 docs/phase0-core-bundle-owner-login-open-20261013 docs/phase0-duplicate-js-release-20261016 docs/phase0-f001-auth-rest-shared-timeout-20261013 docs/phase0-f001-owner-login-observed-20261013 docs/phase0-f001-second-device-fail-40s-20261013 docs/phase0-f003-release-verification-20261011 docs/phase0-f004-print-release-evidence-20261012 docs/phase0-f004-watermark-release-evidence-20261012 docs/phase0-f005-large-selector-release-20261012 docs/phase0-f005-release-evidence-20261012 docs/phase0-f006-dark-release-evidence-20261012 docs/phase0-f008-final-pr-closure-evidence-20261012 docs/phase0-f008-reconcile-stale-prs-20261012 docs/phase0-f107-production-evidence-20261012 docs/phase0-kavenegar-otp-preflight-release-20261012 docs/phase0-login-release-evidence-20261012 docs/phase0-login-rest-bootstrap-stage-release-20261012 docs/phase0-owner-app-assets-bundle-release-20261013 docs/phase0-owner-login-csp-release-20261012 docs/phase0-reconcile-postmerge-evidence-20261012 docs/phase0-site-probe-release-evidence-20261012 docs/phase0-startup-release-evidence-20261012 docs/phase3-treasury-release-evidence-20261014 docs/pilot-posted-correction-release-evidence-20261014 docs/pilot-purchase-correction-release-evidence-20261014 docs/print-persian-release-verification-20261011 docs/qa-ci-triage-218-20261122 docs/real-account-qa-20261030 docs/release-state-20261007 docs/seamless-amendment-release-20261014 docs/seamless-document-correction-release-20261014 docs/settings-login-release-20261025 docs/stripe-qa-deployment-evidence-20261011 docs/ux-f2-release-evidence-20261011 docs/ux-f2-release-verification-20261011 docs/wave0-closeout docs/wave2-closeout exec-phase1-architecture exec-phase1-implementation exec-phase1-qa exec-phase1-security-release exec-phase1-ux feat/accounting-document-draft-approval-20261011 feat/accounting-document-release-candidate-20261011 feat/active-company-strict-isolation-20261014 feat/admin-provisioning-reconciled-20261011 feat/admin-secure-user-provisioning-20261011 feat/admin-user-provisioning-merged-20261011 feat/d4a-request-work-queue feat/document-lifecycle-atf-20261118 feat/document-lifecycle-temp-permanent-atef feat/draft-first-attachment-lifecycle-216 feat/finora-offline-encrypted-backup-20261014 feat/finora-phase-a-navigation-20261023 feat/finora-stripe-sandbox-edge-gate feat/immutable-attachment-temporary-vouchers feat/iran-accounting-design-audit feat/journal-document-lifecycle-20261118 feat/journal-rpc-repository-adapter-20261117 feat/office-c7-fulltext-ocr-provenance feat/password-recovery-admin-reset-20261025 feat/pilot-expense-income-inplace-amendment-20261014 feat/pilot-journal-invoice-correction-20261014 feat/pilot-purchase-correction-20261014 feat/pilot-treasury-unallocated-correction-20261014 feat/retain-document-editor-after-save-20261014 feat/seamless-financial-document-correction-20261014 feat/slice-b-tenant-rbac feat/stripe-sandbox-invoice-probe feature/accounting-core-p0 feature/accounting-product-guidance feature/admin-identity-phone-auth feature/commercial-rnd feature/finora-phase1a-supabase-cli-20261016 feature/finora-stage2-manual-canary-20261017 feature/finora-stage3-commercial-payload-20261023 feature/finora-stage3-enforce-invoice-rpc-20261023 feature/finora-stage3-enforce-purchase-red-20261023 feature/invoice-workspace-cleanup feature/phase0-kavenegar-otp-preflight-20261012 feature/ux-commerce-settings-r2 fix-shell-scroll-live-cache-20261002 fix-shell-scrollbar-explicit-ownership-20261002 fix-shell-scrollbar-ownership-20261002 fix-shell-scrollbar-right-edge-20261002 fix/about-bug-report-20261114 fix/active-company-invoice-scope-20261014 fix/active-company-isolation-reconcile-20261014 fix/admin-central-password-reset-20261028 fix/auth-network-diagnostics fix/chart-taxpayer-reference-20261003 fix/combobox-enter-reliability fix/combobox-live-search fix/combobox-production-cache fix/combobox-release-asset-v2 fix/company-edit-action-20261028 fix/company-edit-pilot-delete-20261014 fix/company-form-action-state-20261014 fix/company-form-action-state-rebased-20261014 fix/contact-operational-balance-20261111 fix/dark-theme-contrast fix/financial-lifecycle-recovery-20261124 fix/finora-accounting-test-organization-readiness-20261015 fix/finora-b01-safe-org-switch-20261124 fix/finora-b02-sync-recovery-20261124 fix/finora-b03-conflict-review-20261124 fix/finora-org-license-bootstrap-race-20261014 fix/finora-stage3-posted-source-immutable-20261023 fix/finora-v2-b03-r2-qa-20261124 fix/finora-v2-b03-r3-readonly-20261124 fix/g01-asof-financial-position-20261128 fix/invoice-product-search-rehydrate-20261011 fix/invoice-search-cache-bust fix/issue229-linked-draft-status-20261122 fix/login-assets-retry-20261014 fix/login-inert-startup-20261110 fix/login-member-access-20261101 fix/login-resilience-20261017 fix/login-short-viewport-20261028 fix/login-startup-readiness-20261024 fix/navigation-utilities-placement-20261105 fix/office-c7-source-ref-binding fix/office-c7-source-ref-binding-v2 fix/owner-login-network-20261026 fix/password-recovery-invalid-cancel-20261026 fix/payment-amount-format-20261111 fix/phase0-admin-provision-seat-bootstrap-20261012 fix/phase0-auth-bundled-assets-for-unstable-isp-20261013 fix/phase0-auth-handler-binding-stalled-session-20261012 fix/phase0-login-context-stage-visibility-20261012 fix/phase0-login-single-local-bundle-20261013 fix/phase0-login-site-probe-clarity-20261012 fix/phase0-login-ui-ready-20261012 fix/phase0-modal-dashboard-drill-20261011 fix/phase0-pages-blocking-core-bundles-20261013 fix/phase0-print-no-draft-watermark-20261012 fix/phase0-startup-parallel-asset-load-20261012 fix/phase3-behavioral-verification fix/preserve-pending-edits-20261121 fix/print-persian-digit-consistency-20261011 fix/recovery-login-startup-20261027 fix/report-opening-balance-release-20261130 fix/settings-checkbox-persistence-20261024 fix/taxpayer-arithmetic-20261004 fix/ux-keyboard-search-f2-20261011 fix/wave2-request-input-integrity hardening/c01-source-draft-20261129 hardening/global-draft-conversion-20261113 hardening/wp1-ledger-integrity-20261102 integration/finora-execution-20261124 integration/issue229-ui-qa-20261122 integration/wp1-ledger-core-20261115 integration/wp2-manual-journal-rpc-20261116 main ops-heartbeat-v2-20261002 ops-progress-heartbeat-rule-20261002 ops/wave4-production-20261003 plan/financial-core-phase1-approval-20261016 qa/attachment-allocator-two-session-20261122 qa/draft-first-save-red-evidence-20261122 qa/finora-autopost-retry-identity-red-20261122 qa/finora-identity-rpc-security-tripwire-20261122 qa/finora-issue223-manual-kardex-browser-red-20261123 qa/finora-issue223-stock-real-jwt-20261123 qa/finora-issue238-inventory-count-browser-red-20261123 qa/finora-issue238-save-browser-red-20261122 qa/finora-login-cors-header-preflight-20261025 qa/finora-phase0-saved-session-repeat-20261015 qa/finora-phase5-posted-insert-jwt-red-20261123 qa/finora-stage3-ui-jwt-autopost-20261023 qa/finora-v2-g01-report-reconciliation-20261125 qa/free-supabase-local-wp2-20261116 qa/issue229-approval-boundary-jwt-20261122 qa/issue229-sale-save-linked-draft-red-20261122 qa/phase0-acceptance-start-20261012 qa/phase0-f005-account-project-contract-stress-20261012 qa/phase0-f005-selector-stress-20261012 qa/phase0-f006-dark-contrast-20261012 qa/post-wave4-verification-20261003 qa/posted-source-immutable-jwt-20261122 qa/pr219-wp1-disposable-dburl-proof-20261123 qa/purchase-source-jwt-20261122 qa/real-settings-acceptance-20261025 qa/recovery-mail-acceptance-20261026 qa/source-autopost-jwt-atomicity-20261122 qa/wave0-negative-gate-proof qa/wp2-auth-tenant-e2e-20261117 qa/wp2-authorized-journal-write-20261122 qa/wp2-financial-paths-reconciliation-20261122 qa/wp3-financial-tenant-isolation-20261117 remediation/wave0-liveqa-wave1 remediation/wave2-request-integrity staging/finora-stage22-free-20261022 state-scroll-verified-20261002 state-wave4b-production-20261002 state-wave5a-production-20261002 test/finora-accounting-boot-readiness-20261015 test/finora-f0-02-production-selectors-20261015 test/finora-pages-commerce-event-wiring-20261015 test/finora-pages-invoice-selectors-readonly-20261015 test/finora-stage3-jwt-source-post-20261023 test/phase0-invoice-fixture-bootstrap-20261016 test/phase0-invoice-persistence-20261011 test/phase0-pages-delayed-dispatcher-20261016 ux-scroll-ownership-20261002 work/finora-stage3-enforce-purchase-green-20261023 work/finora-stage3-enforce-sale-green-20261023 work/finora-stage3-payload-green-20261023
log 365 lines 20.3 KB
Raw
1 Migration archive manifest and known drift
2 PASS committed archive manifest: 94 files; body hashes verified.
3 UNRECONCILED migration ledger: 24 production-only / 36 repository-only versions. This is NOT schema parity or deployment approval.
4 Migration manifest mutation tests
5 PASS manifest mutations: changed body, missing file, added file, new production version rejected; known drift remains explicit.
6 Purchase correction server-mode guards
7 PASS purchase correction/cancel guards: enforce, transport, malformed mode, changed identity reject before mutation; off/audit/missing RPC retain legacy path.
8 Versioned sync compatibility and pending-edit protection
9 ✔ confirmed absent server uses legacy columns and legacy sync (6.725055ms)
10 ✔ present capability loads versions and uses versioned sync acknowledgement (5.858314ms)
11 ✔ transport probe errors preserve pending edits without a legacy write (1.542193ms)
12 ✔ partial server with no row version fails before write (1.484797ms)
13 ✔ account switch during probe cannot send old edits (1.313938ms)
14 ✔ old-organization write acknowledgement cannot overwrite new snapshot (1.361951ms)
15 ✔ incomplete upsert acknowledgement cannot mark pending changes saved (4.909859ms)
16 ✔ incomplete delete acknowledgement cannot erase snapshot (1.33524ms)
17 ✔ missing V2 write RPC never silently downgrades to legacy write (1.288128ms)
18 ✔ new server capability requires fresh versions without discarding pending edits (0.953442ms)
19 ✔ organization wrapper uses same capability and versioned protocol (2.301181ms)
20 ✔ late read cannot publish across identity switch (org wrapper false) (1.067485ms)
21 ✔ CAS conflict preserves edits without reload or retry (org wrapper false) (0.981324ms)
22 ✔ late read cannot publish across identity switch (org wrapper true) (1.659802ms)
23 ✔ CAS conflict preserves edits without reload or retry (org wrapper true) (1.069298ms)
24 ✔ malformed acknowledgement stays pending: {"upserts":[{"collection":"companies","id":"C","version":5},{"collection":"companies","id":"C","version":5}],"deletes":[]} (0.868514ms)
25 ✔ malformed acknowledgement stays pending: {"upserts":[{"collection":"companies","id":"C","version":4}],"deletes":[]} (1.028927ms)
26 ✔ malformed acknowledgement stays pending: {"upserts":[{"collection":"companies","id":"C","version":"5"}],"deletes":[]} (1.527911ms)
27 ✔ malformed acknowledgement stays pending: {"upserts":[{"collection":"companies","id":"other","version":5}],"deletes":[]} (1.423694ms)
28 ✔ malformed acknowledgement stays pending: {"upserts":[{"collection":"companies","id":"C","version":5}],"deletes":[{"collection":"companies","id":"C"}]} (1.06431ms)
29 ✔ malformed acknowledgement stays pending: null (0.76033ms)
30 ✔ positive version evidence prevents falling back when probe disappears (3.242636ms)
31 ✔ new record uses version zero and deletion acknowledges exact identity (1.049568ms)
32 ✔ edits made during write stay pending and use returned version on next batch (1.477435ms)
33 ✔ malformed guard mode cannot authorize a write (2.588006ms)
34 ✔ invalid persisted revision cannot downgrade to legacy: null (0.810567ms)
35 ✔ invalid persisted revision cannot downgrade to legacy: 0 (0.692708ms)
36 ✔ invalid persisted revision cannot downgrade to legacy: -1 (1.135338ms)
37 ✔ invalid persisted revision cannot downgrade to legacy: 1.5 (0.86588ms)
38 ✔ invalid persisted revision cannot downgrade to legacy: 4 (0.570253ms)
39 ✔ invalid persisted revision cannot downgrade to legacy: 9007199254740992 (0.744015ms)
40 ✔ late acknowledgement after same-tenant refresh cannot replace fresh revisions (1.300818ms)
41 ✔ nested edits during capability probe cannot mutate the captured write payload (1.199254ms)
42 ✔ stalled probe has a bounded failure and no late success (18.109028ms)
43 ✔ stalled write has a bounded failure and no late success (2.39246ms)
44 ✔ duplicate pending identifiers fail before any write (1.309441ms)
45 ✔ queued save resumes after stale tenant request releases sync lock (1.604557ms)
46 ✔ queued save resumes after stale identity request releases sync lock (1.471135ms)
47 ✔ same-context CAS rejection does not automatically retry queued edits (1.385206ms)
48 ✔ same user cannot dispatch old-organization edits while new organization is loading (4.116357ms)
49 ✔ direct same-user organization change cannot write before its own snapshot (0.873571ms)
50 ✔ identity refresh without queued save marks unconfirmed edits instead of endless saving (0.954033ms)
51 ✔ stale identity status preserves a newer save timer that has not fired (1.082849ms)
52 ℹ tests 43
53 ℹ suites 0
54 ℹ pass 43
55 ℹ fail 0
56 ℹ cancelled 0
57 ℹ skipped 0
58 ℹ todo 0
59 ℹ duration_ms 169.825908
60 JavaScript syntax
61 syntax ok: accounting-foundation-render.js
62 syntax ok: accounting-foundation-ui.js
63 syntax ok: accounting-foundation.js
64 syntax ok: accounting.js
65 syntax ok: admin.js
66 syntax ok: backup.js
67 syntax ok: bootstrap.js
68 syntax ok: cheques.js
69 syntax ok: commercial-rnd.js
70 syntax ok: companies.js
71 syntax ok: contacts.js
72 syntax ok: context-help.js
73 syntax ok: core.js
74 syntax ok: document-management.js
75 syntax ok: drilldown.js
76 syntax ok: enterprise-iran-v2.js
77 syntax ok: enterprise-iran.js
78 syntax ok: expenses.js
79 syntax ok: idle-and-reports.js
80 syntax ok: invoice-excel-import.js
81 syntax ok: invoices.js
82 syntax ok: journal-engine.js
83 syntax ok: journal-ui.js
84 syntax ok: login-connectivity.js
85 syntax ok: money-format.js
86 syntax ok: office-automation.js
87 syntax ok: office-mature.js
88 syntax ok: office-rbac.js
89 syntax ok: office-workflow.js
90 syntax ok: operations.js
91 syntax ok: organization-enterprise-ux.js
92 syntax ok: organization-invitations.js
93 syntax ok: organization-rbac.js
94 syntax ok: organization-shell.js
95 syntax ok: password-recovery.js
96 syntax ok: patches.js
97 syntax ok: payments.js
98 syntax ok: phase4-contracting.js
99 syntax ok: phase5-domain.js
100 syntax ok: phase5-enterprise.js
101 syntax ok: phase6-reporting.js
102 syntax ok: platform-modules.js
103 syntax ok: print.js
104 syntax ok: products.js
105 syntax ok: projects.js
106 syntax ok: purchases.js
107 syntax ok: request-workflow-d2.js
108 syntax ok: request-workflow-d3b.js
109 syntax ok: request-workflow-d3c.js
110 syntax ok: request-workflow-d4a.js
111 syntax ok: selfcheck.js
112 syntax ok: sync.js
113 syntax ok: taxpayer-print.js
114 syntax ok: ui.js
115 syntax ok: ux-hardening-r2.js
116 syntax ok: words.js
117 syntax ok: scripts/accounting-p0-check.mjs
118 syntax ok: scripts/accounting-product-guidance-check.mjs
119 syntax ok: scripts/admin-provisioning-contract.mjs
120 syntax ok: scripts/admin-recovery-handler.spec.mjs
121 syntax ok: scripts/branding-login-check.mjs
122 syntax ok: scripts/build-pages.mjs
123 syntax ok: scripts/chart-completeness-check.mjs
124 syntax ok: scripts/commercial-rnd-check.mjs
125 syntax ok: scripts/enterprise-behavior-check.mjs
126 syntax ok: scripts/enterprise-invitation-check.mjs
127 syntax ok: scripts/enterprise-license-check.mjs
128 syntax ok: scripts/enterprise-org-ux-check.mjs
129 syntax ok: scripts/enterprise-role-check.mjs
130 syntax ok: scripts/finance-integrity-audit-test.mjs
131 syntax ok: scripts/finance-integrity-audit.mjs
132 syntax ok: scripts/golden-accounting-core-check.mjs
133 syntax ok: scripts/identity-wave5a-check.mjs
134 syntax ok: scripts/identity-wave5b-check.mjs
135 syntax ok: scripts/identity-wave5c-check.mjs
136 syntax ok: scripts/kavenegar-otp-preflight-test.mjs
137 syntax ok: scripts/login-connectivity-check.mjs
138 syntax ok: scripts/migration-manifest-check.mjs
139 syntax ok: scripts/migration-manifest-test.mjs
140 syntax ok: scripts/office-c8-concurrency.mjs
141 syntax ok: scripts/office-slice-c1-check.mjs
142 syntax ok: scripts/office-slice-c2-check.mjs
143 syntax ok: scripts/office-slice-c3-check.mjs
144 syntax ok: scripts/office-slice-c4-check.mjs
145 syntax ok: scripts/office-slice-c5-check.mjs
146 syntax ok: scripts/office-slice-c6-check.mjs
147 syntax ok: scripts/office-slice-c7-check.mjs
148 syntax ok: scripts/office-slice-c8-check.mjs
149 syntax ok: scripts/pages-blocking-bundles.mjs
150 syntax ok: scripts/phase2-check.mjs
151 syntax ok: scripts/phase3-behavior-check.mjs
152 syntax ok: scripts/phase3-check.mjs
153 syntax ok: scripts/phase4-behavior-check.mjs
154 syntax ok: scripts/phase5-behavior-check.mjs
155 syntax ok: scripts/phase6-behavior-check.mjs
156 syntax ok: scripts/platform-office-check.mjs
157 syntax ok: scripts/posting-idempotency-check.mjs
158 syntax ok: scripts/public-qa-regression-check.mjs
159 syntax ok: scripts/quality-check.mjs
160 syntax ok: scripts/release-safety-check.mjs
161 syntax ok: scripts/request-workflow-d1-check.mjs
162 syntax ok: scripts/request-workflow-d1-security-check.mjs
163 syntax ok: scripts/request-workflow-d1-transition-check.mjs
164 syntax ok: scripts/request-workflow-d2-check.mjs
165 syntax ok: scripts/request-workflow-d3b-check.mjs
166 syntax ok: scripts/request-workflow-d3c-check.mjs
167 syntax ok: scripts/request-workflow-d4a-check.mjs
168 syntax ok: scripts/slice-b-rbac-check.mjs
169 syntax ok: scripts/stripe-edge-sandbox-test.mjs
170 syntax ok: scripts/stripe-sandbox-readonly-test.mjs
171 syntax ok: scripts/stripe-sandbox-readonly.mjs
172 syntax ok: scripts/syntax-check.mjs
173 syntax ok: scripts/ux-hardening-r2-check.mjs
174 syntax ok: scripts/wp0-ledger-harness.mjs
175 syntax ok: scripts/wp0-ledger-reproduce.mjs
176 syntax ok: scripts/wp1-client-capability-test.mjs
177 syntax ok: scripts/wp1-concurrency.mjs
178 syntax ok: scripts/wp1-correction-cycle.mjs
179 syntax ok: scripts/wp1-ledger-test.mjs
180 syntax ok: scripts/wp1-prerequisite-rollback.mjs
181 syntax ok: scripts/wp1-purchase-correction-guard-test.mjs
182 Syntax passed for 56 JavaScript modules and 65 MJS test scripts.
183 Generated Pages public regression (standalone suite)
184 Pages artifact built: 133 static + 270 runtime inline handlers externalized; diag.html intentionally excluded.
185 Public QA regression invariants: PASS
186 Offline encrypted backup safety contracts
187 test_age_failure_deletes_ciphertext_and_manifest (__main__.OfflineBackupContract.test_age_failure_deletes_ciphertext_and_manifest) ... ok
188 test_disposable_local_restore_pipeline (__main__.OfflineBackupContract.test_disposable_local_restore_pipeline) ... ok
189 test_dump_failure_deletes_ciphertext_and_manifest (__main__.OfflineBackupContract.test_dump_failure_deletes_ciphertext_and_manifest) ... ok
190 test_encrypted_archive_manifest_and_verify (__main__.OfflineBackupContract.test_encrypted_archive_manifest_and_verify) ... ok
191 test_integrity_tamper_detected (__main__.OfflineBackupContract.test_integrity_tamper_detected) ... ok
192 test_reject_checkout_storage_and_invalid_recipient (__main__.OfflineBackupContract.test_reject_checkout_storage_and_invalid_recipient) ... ok
193 test_restore_to_remote_or_ordinary_db_blocked (__main__.OfflineBackupContract.test_restore_to_remote_or_ordinary_db_blocked) ... ok
194
195 ----------------------------------------------------------------------
196 Ran 7 tests in 0.772s
197
198 OK
199 Application invariants
200 Static quality and security invariants passed for 56 JavaScript modules.
201 Independent accounting integrity fixture
202 PASS: valid records accepted; imbalance and duplicate invoice rejected
203 Stripe sandbox invoice read-only invariants
204 PASS: sandbox-only read adapter + positive and adversarial checks; no writes or live credentials
205 Finora Stripe sandbox Edge authorization and invariant gates
206 PASS: Finora Stripe Edge function tested with 26 sandbox access and adversarial cases; no production writes
207 Finora Kavenegar OTP offline signed-hook and provider safety checks
208 PASS: Finora Kavenegar OTP offline preflight: signed request, disabled default, provider errors, phone/token isolation, zero real SMS.
209 Commercial workspace and factory-reset invariants
210 Commercial R&D invariants passed.
211 UX commerce/settings R2 invariants
212 UX/commerce/settings R2 invariants passed.
213 Accounting, product coding and commercial workspace guidance invariants
214 Accounting/product guidance invariants passed.
215 Phase 2 accounting foundation invariants
216 Phase 2 accounting foundation invariants passed.
217 Chart completeness and history preservation
218 Chart completeness: all 8 templates, contra types, safe explicit upgrades, preview UI and rejection boundaries passed.
219 Phase 3 double-entry invariants
220 Phase 3 double-entry invariants passed.
221 Phase 3 behavioral accounting scenarios
222 Phase 3 behavioral accounting scenarios passed.
223 Accounting P0 dimensions and journal invariants
224 Accounting P0 invariants passed.
225 Phase 4 accounting invariants
226 Phase 4 accounting invariants passed.
227 Phase 5 complementary ERP invariants
228 Phase 5 behavioral/domain scenarios passed.
229 Phase 5 depreciation reversal semantics passed.
230 Phase 5 restore atomicity and posted-history protection passed.
231 Phase 5 financial sync conflict reconciliation passed.
232 Iran enterprise payroll and service-period behavior
233 Enterprise Iran behavior PASS
234 Phase 6 reporting and reconciliation scenarios
235 Phase 6 reporting/reconciliation scenarios passed.
236 Phase 6 20k-line reporting performance passed in 55ms.
237 Golden accounting core journey
238 Golden accounting core journey passed: sale -> receipt -> purchase -> payment -> expense/income -> reversal -> trial balance -> financial statements.
239 Modular ERP and office automation invariants
240 Platform/office foundation checks PASS: full-suite entitlement | server collection entitlement | office private storage | atomic registry allocation | module launcher | future modules disabled | office scan upload | configurable request fields | rbac boundary documented
241 Slice B tenant and RBAC invariants
242 Slice B tenant/RBAC invariants PASS (20260930031853_organization_membership_rbac_foundation.sql, 20260930031942_office_shared_rbac_and_referrals.sql, 20260930032615_slice_b_rbac_fk_indexes.sql, 20260930032654_harden_legacy_office_storage_member_writes.sql, 20260930033010_allow_member_core_read_context.sql)
243 Enterprise license seats and delegated admin invariants
244 ELI-1 database contract invariants: PASS
245 Reusable organization roles invariants
246 ELI-2 reusable role database contract: PASS
247 Secure organization invitation invariants
248 ELI-3 invitation database + runtime contract: PASS
249 Enterprise organization UX invariants
250 ELI-4 enterprise organization UX contract: PASS
251 Wave 5a identity/bootstrap invariants
252 Wave 5a identity/bootstrap invariants passed
253 Wave 5b offboarding/revocation invariants
254 Wave 5b offboarding/revocation invariants passed
255 Wave 5c privileged backup authorization invariants
256 Wave 5c privileged backup authorization invariants passed
257 Finora branding and login invariants
258 Finora branding/login invariants passed
259 Login connectivity diagnostics
260 PASS: login connectivity diagnostics are read-only, cache-versioned and credential-free
261 Office Slice C1 invariants
262 Office Slice C1 server + runtime contract: PASS
263 Office Slice C2 invariants
264 Office Slice C2 server + runtime contract: PASS
265 Office Slice C3 invariants
266 Office Slice C3 server + runtime contract: PASS
267 Office Slice C4 invariants
268 Office Slice C4 registration + template contract: PASS
269 Office Slice C5 invariants
270 Office Slice C5 internal approval contract: PASS
271 Office Slice C6 invariants
272 Office Slice C6 SLA contract: PASS
273 Office Slice C7 invariants
274 Office Slice C7 searchable archive contract: PASS
275 Office Slice C8 policy UI invariants
276 Office Slice C8 policy UI + SQL contract: PASS
277 Request Workflow Slice D1 foundation invariants
278 Slice D1 request workflow foundation invariants: OK
279 Request Workflow Slice D1 transition evidence invariants
280 Slice D1 transition evidence invariants: OK
281 Request Workflow Slice D1 RPC security invariants
282 Slice D1 RPC security invariants: OK
283 Request Workflow Slice D2 UI/read-model invariants
284 PASS D2 runtime is loaded after legacy office UI
285 PASS D2 reads server request definitions and immutable versions
286 PASS publishing uses the server-authorized D1 RPC
287 PASS runtime creation uses the server-authorized D1 RPC with idempotency
288 PASS configure actions are capability-gated
289 PASS published version and draft-change state are visible
290 PASS legacy record-store request writes are not used by D2
291 PASS stale revision has an explicit recoverable surface
292 PASS legacy cutover is traceable and non-destructive
293 Request Workflow D2 static contracts verified.
294 Request Workflow Slice D3b visual/condition/timeline invariants
295 Request Workflow D3b invariants: OK
296 Request Workflow Slice D3c operations invariants
297 Request Workflow D3c invariants: OK
298 Request Workflow Slice D4a work queue invariants
299 Request Workflow D4a static invariants: PASS
300 Posted-source uniqueness and draft safety contract
301 Financial draft/posted data safety invariants PASS
302 Secure admin provisioning contract
303 Admin server-only provisioning and credential reset contract PASS
304 Central admin credential and organization recovery controls
305 ✔ global administrator requests only the current verified Auth email and fixed callback (29.593972ms)
306 ✔ active organization owner may request recovery for an active same-organization Auth user (1.967197ms)
307 ✔ ordinary member and forged user metadata never grant recovery management (2.2079ms)
308 ✔ direct core configure permission authorizes the active member (1.877601ms)
309 ✔ existing full_suite configure permission authorizes the active member (1.484787ms)
310 ✔ module-specific configure and malformed capability strings do not manage recovery (1.51987ms)
311 ✔ active reusable role permission authorizes recovery without a new global role (1.043378ms)
312 ✔ system_admin role name without configure permission grants nothing (0.948335ms)
313 ✔ inactive assignment cannot authorize recovery (0.893923ms)
314 ✔ inactive role cannot authorize recovery (0.642433ms)
315 ✔ foreign assignment cannot authorize recovery (0.589512ms)
316 ✔ foreign role cannot authorize recovery (0.424282ms)
317 ✔ foreign permission cannot authorize recovery (1.337083ms)
318 ✔ suspended actor membership cannot send a recovery email (0.866572ms)
319 ✔ left actor membership cannot send a recovery email (0.347606ms)
320 ✔ suspended target membership cannot send a recovery email (0.306994ms)
321 ✔ left target membership cannot send a recovery email (0.261777ms)
322 ✔ cross-organization target and organization identifiers cannot escape caller scope (0.435088ms)
323 ✔ membership UUID is not an Auth-user UUID and cannot select a recipient (0.553498ms)
324 ✔ suspended organization and missing caller membership fail closed (0.870397ms)
325 ✔ profiles read error fails closed without sending mail (0.938841ms)
326 ✔ organizations read error fails closed without sending mail (0.689553ms)
327 ✔ organization_members read error fails closed without sending mail (0.302698ms)
328 ✔ member_module_permissions read error fails closed without sending mail (0.612667ms)
329 ✔ organization_member_roles read error fails closed without sending mail (0.425794ms)
330 ✔ organization_roles read error fails closed without sending mail (0.379153ms)
331 ✔ organization_role_permissions read error fails closed without sending mail (0.492806ms)
332 ✔ missing or unconfirmed email cannot be replaced by stale profile information (1.026994ms)
333 ✔ Auth target lookup failure returns no sensitive details and sends no email (0.838349ms)
334 ✔ untrusted recovery field email is rejected (0.647149ms)
335 ✔ untrusted recovery field redirectTo is rejected (0.896787ms)
336 ✔ untrusted recovery field password is rejected (1.292526ms)
337 ✔ untrusted recovery field role is rejected (0.267074ms)
338 ✔ untrusted recovery field is_owner is rejected (0.222076ms)
339 ✔ malformed target and organization identifiers are rejected before Auth target lookup (2.179864ms)
340 ✔ global platform admin can set a password through Auth Admin and receives only an outcome (1.365416ms)
341 ✔ organization owner and delegated managers cannot assign any global Auth password (0.658697ms)
342 ✔ malformed direct reset identifiers and unexpected fields are rejected without Auth lookup (1.894977ms)
343 ✔ weak assigned passwords fail server policy without Auth mutation (1.258684ms)
344 ✔ Auth password update failures are bounded and never log the submitted secret (1.740444ms)
345 ✔ rate limits remain distinguishable without leaking provider error text (1.512018ms)
346 ✔ email request rejection and network exception cannot claim success or expose a link (0.906272ms)
347 ✔ recovery response and audit contain only outcome and account identifiers (0.593127ms)
348 ✔ global-admin account creation contract remains unchanged (0.692778ms)
349 ✔ organization owner and delegated manager cannot provision a global account (0.688512ms)
350 ✔ weak initial passwords remain rejected and creation errors stay bounded (0.811719ms)
351 ✔ CORS and HTTP method handling preserve existing restrictions (0.585637ms)
352 ✔ missing or rejected bearer and missing server configuration never send mail (0.577554ms)
353 ✔ invalid, array and oversized JSON requests cannot trigger recovery (1.911648ms)
354 ℹ tests 49
355 ℹ suites 0
356 ℹ pass 49
357 ℹ fail 0
358 ℹ cancelled 0
359 ℹ skipped 0
360 ℹ todo 0
361 ℹ duration_ms 183.476673
362 Pages artifact built: 133 static + 270 runtime inline handlers externalized; diag.html intentionally excluded.
363 Public QA regression invariants: PASS
364 Release/QA safety invariants: PASS
365 {'commands': 55, 'failed': []}