@davoodmehraban89 / Factor-easy / commits / 08afd9f
Fork 0

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

docs(phase0): record verified F0-08 source audit and guarded close candidates

davoodmehraban89 committed Oct 12, 2026 at 11:56 UTC 08afd9f69ca7af4408b0c5e6ba5c8a31a40adcd2
1 file changed +7
PROJECT_STATE.md
+7
@@ -355,3 +355,10 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
355 - **Initial finding:** Old PR #28 proposed correcting `docs/REQUEST_WORKFLOW_WAVE4B_VERIFICATION.md` to 'merged CI green / production migration NOT APPLIED'. However **live Supabase currently records** `20261002072526 request_wave4b_scheduler_outbox_delivery`, so blindly cherry-picking #28 would preserve a false production-not-applied claim. Current main document still says 'IMPLEMENTED ON BRANCH / CI PENDING' and requires reconciliation distinguishing *migration recorded* from *full D4c delivery consumers verified*. Audit rest of document and archive precise sources.
356 - **Candidate superseded PRs to independently confirm:** #28 (Wave4b documentation), #43 (heartbeat already in AGENTS), #49 (outdated live status), #57 (dark contrast delivered by #92), #80 (admin provisioning delivered by #84/#94). Retain #6 (financial), #39/#40 (RTL scroll physical behavior), #58 (multi-change identity/migration archive drift) pending evidence. No partial/automated merging. Classification may change on inspection.
357 - **Done criteria:** reconciliation doc and PROJECT_STATE change pass Quality/Security PR gates, merge to main, optionally close only fully superseded historical PRs with reference to surviving content and audit decision, verify post-merge CI. Exit F0-08 = disposition recorded, not blanket functional acceptance. Rollback: revert docs-only changes or reopen closed PRs, no DB or finance rollback.
358 +
359 +
360 +### 2026-10-12 F0-08 nine historical PR source audit — VERIFIED READ-ONLY / DOC PR GATES NEXT
361 +- Reconciled PR #6/#28/#39/#40/#43/#49/#57/#58/#80 against protected main `4595dafcb98185984894faacb97244cec2aa55e4`. Read changed filenames, relevant patches and current main. Detailed disposition and explicit risk boundaries in `docs/FINORA_PHASE0_F008_PR_RECONCILIATION_2026-10-12.md`.
362 +- **Important stale-fact correction:** current main `docs/REQUEST_WORKFLOW_WAVE4B_VERIFICATION.md` said `IMPLEMENTED ON BRANCH / CI PENDING`. Historical PR #28 described CI/merged PR #27 but said production migration NOT APPLIED. Independently read 82 Supabase migration rows and confirmed `20261002072526 request_wave4b_scheduler_outbox_delivery` **present**, and read-only pg_proc catalog confirms scheduler/outbox public/private RPCs; the original SQL explicitly says **D4c destination consumers remain disabled**. Corrected current main doc with merged historical CI, live migration presence and unverified real destination delivery, not blindly cherry-picking stale PR #28.
363 +- **Superseded candidates:** #28 historical QA docs (useful evidence now ported with current correction), #43 heartbeat already represented by AGENTS, #49 stale operating snapshot, #57 dark UX delivered better by #92/#95, #80 admin creation already delivered by #84/#94 with production identity bootstrap fix. Close only after this documentation PR is merged and read back; closures retain history and can be reopened. **Retain OPEN** #6 financial posted history; #39/#40 physical RTL wheel/scroll geometry; #58 phone-identity migration archive drift and privileged Auth/SMS issues.
364 +- F0-08 = **PRELIMINARY SOURCE RECONCILED**, final disposition depends on exact-head Quality/Security, merged doc and individually verified closure outcomes. Main runtime code unchanged by this slice; no customer data, ledger, DB, schema/RLS/Auth/roles, edge deployments or production scheduler dispatch mutated. **PHASE 0 OPEN** regardless of F0-08.