سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 17:00 UTC
docs: record WP0 handoff and verify exact migration archive bytes
JVK committed
Nov 2, 2026 at 08:58 UTC
213e85314a16da6859715fe31175c0b5b2ebaaa4
5 files changed
+14
-3
PROJECT_STATE.md
+1
@@ -236,3 +236,4 @@ Owner requests layer-by-layer click/functional testing of all controls and compa
236
- Latest attached master prompt is archived as docs/owner-prompts/FINORA_HARDENING_MASTER_2026-11-02_REV2.docx and extracted .txt; earlier version retained. Original DOCX SHA256: e626c8646ac22effacb101b75d9c76a00297f9463407d658df31703edf25e67e.
237
- Latest explicit scope: WP0 + WP1 only for this session, sequential baseline gate before financial changes; report before continuing WP2. Corrections:56 JS files,403 inline attributes; ledger-only constraint WHEN, no client-callable posting-authorization setter, intentionally RED PR164/167, PR162 missing sync-v2 prerequisite, and independent D2 / immediate deferred-constraint tests. These supersede earlier unlimited work-package continuation. Production G1–G5 holds remain.
238
- WP0 checkpoint: full211/211 Chromium PASS;52pre-browser/release commands and manifest mutation checks PASS; all3existing PostgreSQL17 jobs PASS(6/8/31commands). Exact source-derived disposable D1/D2 both REPRODUCED with independent balanced D2 fixture and immediate constraints; tenant-B read zero. This proves vulnerabilities, NOT a financial repair. Public QA4PASS/1FAIL(F-150 missing anti-clickjacking HTTP header); initial direct-request network failure excluded after normal proxy configuration. Report/evidence: docs/wp0/BASELINE_REPORT_FA.md.27openPR/201branch inventory recorded; no merges/closures. Runtime unchanged. WP1 NOT STARTED until baseline delivery; production G1 not requested/applied. Full schema parity, fresh PR CI and actual-account acceptance remain NOT VERIFIED.
239
+- Published WP0 as PR194, initialcommit7d4626e; Quality41416877875/Security41416877878 initiated, pending at this checkpoint. Phone archive body independently compared to server ledger MD5 a55b76eefbb3108c3058b9088d180019; remove archive-added final newline to preserve exact original statement bytes. Final exact-head checks belong in PR description. No financial fix/production migration/merge claimed.
docs/EXECUTION_STATUS.md
+2
@@ -1,3 +1,5 @@
1
+> **2026-11-02 — Current owner REV2 scope: WP0 + WP1.** WP0 baseline/report and disposable D1/D2 reproductions published in [PR194](https://github.com/davoodmehraban89/Factor-easy/pull/194); CI pending, public QA F-150 remains failed. Full local211browser and3existingDBjobs pass. Financial defects remain uncorrected; WP1 pending. See [Persian report](wp0/BASELINE_REPORT_FA.md). No production migration/data write. Earlier dated entries below remain historical.
2
+
3
# وضعیت اجرای فینورا
4
5
آخرین بهروزرسانی: ۲۰۲۶-۱۰-۳۱. مرجع تاریخچه و اختیار اجرا: [PROJECT_STATE](../PROJECT_STATE.md).
docs/wp0/PHONE_ARCHIVE_PROVENANCE.json
new
+9
@@ -0,0 +1,9 @@
1
+{
2
+ "version": "20261007165208",
3
+ "statement_count": 1,
4
+ "source": "read-only supabase_migrations.schema_migrations",
5
+ "observed_date": "2026-11-02",
6
+ "body_md5": "a55b76eefbb3108c3058b9088d180019",
7
+ "archive_prefix": "four comment/blank header lines; following body equals exact original statement bytes",
8
+ "production_applied_by_this_work": false
9
+}
supabase/migration-manifest.json
+1
-1
@@ -320,7 +320,7 @@
320
},
321
{
322
"file": "20261007165208_phone_identity_profile.sql",
323
- "sha256": "6ad16165c8039faf295f0353043941b7c8505731cac13e44f0f330899cbaff18"
323
+ "sha256": "7715be48c86ccb7a0f0ac6f6e811e4a451873acf6b51c0d64513702749c18918"
324
},
325
{
326
"file": "20261011174445_posted_source_idempotency_index.sql",
supabase/migrations/20261007165208_phone_identity_profile.sql
+1
-2
@@ -36,5 +36,4 @@ begin
36
update public.profiles set username=v_username,full_name=coalesce(nullif(trim(new_full_name),''),full_name) where id=v_uid;
37
end $$;
38
revoke all on function public.update_my_identity_profile(text,text) from public,anon;
39
-grant execute on function public.update_my_identity_profile(text,text) to authenticated;
40
-
39
+grant execute on function public.update_my_identity_profile(text,text) to authenticated;
\ No newline at end of file