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

audit: establish WP0 baseline and reproduce ledger integrity gaps

JVK committed Nov 2, 2026 at 08:57 UTC 7d4626e785fbd306944e35b803bcd4ef7e18edc5
30 files changed +28478 -5
.github/workflows/qa.yml
+1 -1
@@ -20,7 +20,7 @@ permissions:
20
21 jobs:
22 qa:
23 - runs-on: ubuntu-latest
23 + runs-on: ubuntu-24.04
24 timeout-minutes: 30
25 steps:
26 - uses: actions/setup-node@v4
.github/workflows/quality.yml
+8 -4
@@ -11,13 +11,17 @@ permissions:
11 contents: read
12 jobs:
13 static-quality:
14 - runs-on: ubuntu-latest
14 + runs-on: ubuntu-24.04
15 steps:
16 - uses: actions/checkout@v7
17 - uses: actions/setup-node@v7
18 with:
19 node-version: '22'
20 package-manager-cache: false
21 + - name: Migration archive manifest and known drift
22 + run: node scripts/migration-manifest-check.mjs
23 + - name: Migration manifest mutation tests
24 + run: node scripts/migration-manifest-test.mjs
25 - name: JavaScript syntax
26 run: node scripts/syntax-check.mjs
27 - name: Generated Pages public regression (standalone suite)
@@ -128,7 +132,7 @@ jobs:
132 npx playwright test scripts/commerce-route-types.spec.js scripts/workspace-access.spec.js scripts/password-recovery.spec.js scripts/password-admin-ui.spec.js scripts/login-auth-transport.spec.js scripts/login-startup-readiness.spec.js scripts/phase0-startup-performance.spec.js scripts/dom-smoke.spec.js scripts/platform-office.spec.js scripts/enterprise-license.spec.js scripts/enterprise-role.spec.js scripts/enterprise-invitation.spec.js scripts/enterprise-org-ux.spec.js scripts/identity-wave5a.spec.js scripts/identity-wave5b.spec.js scripts/identity-wave5c.spec.js scripts/branding-login.spec.js scripts/login-connectivity.spec.js scripts/shell-scroll-ownership.spec.js scripts/office-slice-c1.spec.js scripts/office-slice-c2.spec.js scripts/office-slice-c3.spec.js scripts/office-slice-c4.spec.js scripts/office-slice-c5.spec.js scripts/office-slice-c6.spec.js scripts/office-slice-c7.spec.js scripts/office-slice-c8.spec.js scripts/office-slice-c8-runtime.spec.js scripts/request-workflow-d2.spec.js scripts/request-workflow-d3b.spec.js scripts/request-workflow-d3c.spec.js scripts/request-workflow-d4a.spec.js scripts/taxpayer-print.spec.js scripts/chart-completeness.spec.js scripts/accounting-p0-journal.spec.js scripts/ux-hardening-r2.spec.js scripts/ux-keyboard-f2.spec.js scripts/phase0-dark-theme-contrast.spec.js scripts/phase0-selector-stress.spec.js scripts/phase0-invoice-persistence.spec.js scripts/phase0-modal-dashboard.spec.js scripts/accounting-document-workflow.spec.js scripts/admin-provisioning.spec.js scripts/pages-artifact.spec.js --reporter=line --workers=1
133
134 identity-wave5a-database:
131 - runs-on: ubuntu-latest
135 + runs-on: ubuntu-24.04
136 services:
137 postgres:
138 image: postgres:17-alpine
@@ -167,7 +171,7 @@ jobs:
171 run: psql -v ON_ERROR_STOP=1 -f supabase/tests/identity_bootstrap_seat_guard_behavior.sql
172
173 c8-policy-database:
170 - runs-on: ubuntu-latest
174 + runs-on: ubuntu-24.04
175 services:
176 postgres:
177 image: postgres:17-alpine
@@ -210,7 +214,7 @@ jobs:
214 run: psql -v ON_ERROR_STOP=1 -h 127.0.0.1 -U postgres -d finora_c8 -f supabase/tests/office_c8_runtime_security.sql
215
216 d1-request-database:
213 - runs-on: ubuntu-latest
217 + runs-on: ubuntu-24.04
218 services:
219 postgres:
220 image: postgres:17-alpine
PROJECT_STATE.md
+9
@@ -227,3 +227,12 @@ Owner requests layer-by-layer click/functional testing of all controls and compa
227 - Two commerce regressions observed RED→GREEN; focused commerce+existing invoice persistence7/7 PASS. Generated combined new scenarios8/8 PASS. First generated run failed because local HTTP server ended after steered user turn (connection refused); excluded, rerun with server lifetime bound to test succeeded. Static contracts updated to follow centralized existing authorization guard, not remove it; all pre-browser commands plus release-safety now PASS, including49server/Golden. Full211browser run ongoing. Independent reviewer agent unavailable due provider usage limit; root reviewing diff directly, no independent-review success claimed.
228 - Full local browser211 completed:210PASS, sole failure was shell-scroll-ownership hardcoded old ui.js cache URL. Updated expected URL to actual new version; no layout assertions changed. Exact d12da87 CI likewise failed Quality, Security and3DB passed. Follow-up final CI must pass before merge; do not treat previous failure as release acceptance. Root reviewed final diff and generated screenshots (synthetic only); accepted captures under docs/audits/2026-10-31/recovery.
229 - Release evidence location: PR191 description is the live ledger for final PR-head/full-browser outcome, protected merge SHA, exact-main CI/gate/Pages and public asset readback, because merge identifiers exist only after commit. Current local docs preserve findings/remaining real-account gaps rather than invent future IDs. Remaining About placeholders, broad control audit and subsequent phases remain open in docs/EXECUTION_STATUS.md.
230 +
231 +### 2026-11-02 — Owner hardening master prompt adopted
232 +- Uploaded FINORA Hardening & Completion Master Prompt is authoritative for WP0–WP9; original DOCX and extracted text archived under docs/owner-prompts. Execute sequential work-package gates with Persian evidence. Prior standing autonomy persists except explicit new G1production migrations/G2dashboard settings/G3backup secret/G4production test-data/G5paid-service gates, which require concrete final owner approval.
233 +- Begin WP0 on current main4416794: exact baseline gates, PR/branch inventory, read-only recovery/archive of already-applied phone migration, migration manifest ratchet, isolated PostgreSQL17 D1/D2 reproductions. No financial repair or production experiment. PR192phase report and193login/panel fixes remain open;193Quality failed because ubuntu-latest moved to26.04 unsupported by pinnedPlaywright1.55.0. This is a baseline infrastructure failure, not an app test result.
234 +
235 +### 2026-11-02 — Revised owner prompt received
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.
docs/owner-prompts/FINORA_HARDENING_MASTER_2026-11-02.docx
Binary files /dev/null and b/docs/owner-prompts/FINORA_HARDENING_MASTER_2026-11-02.docx differ
docs/owner-prompts/FINORA_HARDENING_MASTER_2026-11-02.txt new
+123
@@ -0,0 +1,123 @@
1 +FINORA — Hardening & Completion Master Prompt (for Codex)
2 +Paste this whole document into Codex as the task. Execute the work packages in order. Report to the owner in Persian. Code, commands, paths, URLs and identifiers stay in English.
3 +0. Mission and honesty contract
4 +You are the implementer of Finora (Persian/RTL ERP for Iran). Repo: davoodmehraban89/Factor-easy. Production Supabase project: hcsixhqbyuhpshfwqpjx. Live site: factoreasy.ir (GitHub Pages from main). The owner (Davood) is a non-developer who wants a product he can sell. He cannot pay for foreign services or buy a domain, so do not require paid or card-based services.
5 +Mission: close every deficiency listed in section 2 with evidence, without breaking what already works.
6 +Honesty contract (violations void the work):
7 +"Done" means: code merged or PR-ready, tests added that failed before the fix and pass after, all repo gates green, and evidence recorded. A menu, form or doc existing is not done.
8 +Never delete, skip, weaken or loosen a test or assertion to make a gate pass.
9 +Never claim production behaviour you did not observe. If you cannot observe something, write "NOT VERIFIED" and why.
10 +Never fabricate data, results, logs, approvals, or connections.
11 +Never print secrets, keys, tokens, connection strings or passwords in chat, logs, commits or docs.
12 +1. Verified baseline (re-verify each item yourself before relying on it)
13 +Independent read-only audit, 2026-11-01, main at 4416794:
14 +Repo: 1267 commits; 44 JS files in js/ (~890 KB, very long lines up to ~1200 chars); 81 migration files; 23 SQL tests; 124 docs; PROJECT_STATE.md ~88 KB.
15 +32 node-based gates (scripts/*-check.mjs, syntax-check, quality-check, etc.) all PASS locally. Playwright specs were not run in the audit.
16 +Production DB: 6 auth users, 1 admin, 777 records rows (20 invoices, 11 journalVouchers, 22 journalLines), 18 public tables all with RLS, 82 applied migrations, last 20261012075507.
17 +Tenant isolation PASSED a two-user negative test (user B could not read, insert, update, delete in A's organization, self-promote, extend license, call admin_set_license, or see other profiles/licenses/members).
18 +Ledger integrity FAILED: with a valid authenticated user, the server accepted (T2) a journalVouchers record with status='posted' whose journalLines were unbalanced (Dr 1000 / Cr 300), and (T3) a NEW journalLines row inserted into an already-posted voucher. Existing triggers finora_guard_posted_journal, finora_guard_posted_journal_children, finora_guard_posted_source_records fire only BEFORE UPDATE OR DELETE; no function in public/private references debit/credit balancing. Double-entry is enforced only in browser JS.
19 +Server-side financial core (Phase 1A, Stage 1-3, finora_sync_records_v2, posting RPCs) exists only on unmerged branches/PRs (#162-#173 chain) and is NOT on production.
20 +Migration drift: production ledger has 20261007165208 phone_identity_profile; main has no matching file (stale PR #58 has a different timestamp).
21 +CSP in index.html: script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net. ~339 inline onclick= handlers; ~107 window.x = function overrides; wrappers like js/patches.js wrap window.commitSaveInvoice.
22 +Supabase Auth: Leaked Password Protection OFF. Advisor: 21 SECURITY DEFINER RPCs callable by authenticated (all inspected ones check auth.uid()/is_admin()/org capability; none callable by anon); 3 private office-workflow tables have RLS but no policy; per docs/FINORA_PHASE1_SECURITY_READONLY_AUDIT_2026-10-13.md only 3/10 private tables have RLS.
23 +Not accepted per the repo's own registers: real-account acceptance, real printer, two concurrent users, owner-device login stability (Issue #106), real production backup + restore drill, purchase correct/cancel path under ENFORCE (returnPostedPurchaseAsDraft, cancelPostedPurchasePilot, purchaseSaveSeamless).
24 +Not implemented: real Moodian (Iran tax authority) API submission.
25 +2. Non-negotiable engineering rules
26 +Production is live with real data. Additive, backward-compatible migrations only (expand/contract). Never DROP/TRUNCATE/rewrite existing records. Never mutate posted history; corrections are reversal/adjustment documents.
27 +Every DB change is proven first on a disposable PostgreSQL 17 (the repo already does this in CI: see identity-wave5a-database in .github/workflows/quality.yml and supabase/tests/). Never run experiments on production. Never use live financial rows for tests.
28 +Shadow, then enforce. New strict guards ship first in shadow mode (log violations, do not block), driven by a server-side flag (e.g. a row in a locked settings table, changeable only by admin RPC). Audit existing production data in shadow mode, report violations, and only then enable enforcement.
29 +Frontend must never call a server capability that production lacks. main auto-deploys to GitHub Pages. Feature-detect (capability probe/flag) and fall back to current behaviour until the owner confirms the DB migration is applied.
30 +Keep existing security invariants: admin role is server-side only (profiles.role, no client path, not obtainable via username); email confirmation stays ON; RLS on every public table; no service_role key in client code.
31 +Git: one branch and one PR per work package, small reviewable commits, never force-push main, never rewrite published history, do not merge stale/conflicting PRs blindly. If AGENTS.md/PROJECT_STATE.md record standing owner merge authority, follow it; otherwise open the PR and ask.
32 +After every work package: update PROJECT_STATE.md (see WP9), keep it factual, mark anything unobserved as NOT VERIFIED.
33 +Owner gates (stop and ask in Persian, with a ready checklist, only for these)
34 +G1 applying any migration to production (after full proof + backup).
35 +G2 Supabase dashboard settings (Leaked Password Protection, SMTP/SMS provider secrets, URL config).
36 +G3 supplying a DB connection string for backup/restore drills (secret, via environment only).
37 +G4 creating any test account/data on production.
38 +G5 spending money or using a card-based service.
39 +Everything else: decide and proceed.
40 +3. Work packages (execute sequentially; do not start the next until the previous passes its gate)
41 +WP0 — Baseline, inventory, reconciliation (no behaviour change)
42 +Read AGENTS.md, AI_BOOTSTRAP.md, PROJECT_STATE.md, docs/CURRENT_WORK_REGISTER_2026-10-30.md, docs/NAVIGATION_RECOVERY_2026-10-31.md, docs/audits/2026-10-31/.
43 +Run all gates from .github/workflows/quality.yml, qa.yml, security.yml, release-gate.yml locally (including Playwright with npm install --no-save @playwright/test@1.55.0 pdf-lib@1.17.1 && npx playwright install --with-deps chromium). Record exact pass/fail counts. Any failure at baseline is reported first, not hidden.
44 +List every open PR/branch with: purpose, base, conflicts with main, tests status, whether it is a prerequisite of the financial-core chain. Output a table; recommend merge/rebase/close per item; do not merge yet.
45 +Migration drift: recover the exact executed SQL for 20261007165208 phone_identity_profile from the production migration ledger (read-only: select statements from supabase_migrations.schema_migrations where version='20261007165208') and archive it as supabase/migrations/20261007165208_phone_identity_profile.sql with a header comment that it is a post-hoc archive of an already-applied migration. Do NOT re-apply. Add a CI/check script that compares repo migration versions against a committed manifest so drift is detected.
46 +Reproduce deficiencies D1 and D2 (Appendix A) on a disposable DB before any fix and save the failing output as evidence.
47 +Gate: baseline report + reproduction evidence delivered in Persian.
48 +WP1 — Server-side ledger integrity (P0, highest priority)
49 +Goal: the database itself must make an unbalanced, mutable or inconsistent ledger impossible, regardless of which client writes.
50 +Start from the existing chain (PRs #162-#173, finora_sync_records_v2, posting RPCs, Stage 1-3 SQL/tests). Review it, rebase onto current main, reconcile conflicts. Do not merge it as-is; port what is correct.
51 +Implement, additive and shadow-first:
52 +posting RPC (e.g. finora_post_journal_voucher(p_organization_id, p_voucher_id)) executing in ONE transaction: validates ≥2 lines; every line has exactly one of debit/credit > 0; amounts are integers in the minor unit used by the app (rial: integer); no negatives; sum(debit)=sum(credit) exactly; all lines belong to the same organization/company/fiscal year as the voucher; account exists, is postable and active; fiscal period is open; assigns a gap-free per-company/per-year number under lock; sets status; writes audit event.
53 +A constraint-style trigger (DEFERRABLE INITIALLY DEFERRED constraint trigger) on public.records that, at commit, rejects any voucher with status in ('posted','reversed') whose lines are unbalanced or missing, and rejects direct client writes that set status='posted' without going through the posting RPC (e.g. RPC sets a transaction-local setting finora.posting=on; the trigger checks it). Apply the same principle to journalLineDimensions.
54 +Close D2: extend the existing guards so that INSERT of journalLines/journalLineDimensions into a voucher that is posted/reversed is rejected (today only UPDATE/DELETE is guarded).
55 +Reversal RPC: creates a counter-voucher atomically, links both, original stays immutable.
56 +Server-side idempotency (unique posted-source index already exists: keep it) and concurrency tests (parallel posting, duplicate numbers).
57 +Legacy audit (read-only) in shadow mode: query production-shaped data for existing posted vouchers that are unbalanced/orphaned/duplicated-numbered. Output a report (counts and ids only, no business content). Never auto-fix posted history; propose reversal/adjustment entries and ask the owner.
58 +Client: route posting/reversal through the RPC when the capability probe says it exists; otherwise keep the current path. No success toast unless the server confirmed. Show server rejection reasons in Persian.
59 +Resolve the known blocker: make returnPostedPurchaseAsDraft, cancelPostedPurchasePilot, purchaseSaveSeamless correct under ENFORCE, with negative tests, before enabling enforcement for purchases.
60 +Extend coverage source-by-source (sales invoices, purchase invoices, receipts/payments, cheques, expenses, opening/closing entries, COGS/inventory where modeled). For each source: automatic voucher, balanced by construction, reversible, tested. Anything not covered stays explicitly labelled "not yet server-enforced" in UI/docs.
61 +Provide DOWN scripts for every migration and prove UP/DOWN/UP on the disposable DB.
62 +Tests required (SQL in supabase/tests/, wired into CI with the disposable Postgres job; JS invariants in scripts/):
63 +D1/D2 reproductions from Appendix A that fail on current main and pass after.
64 +Balanced/unbalanced, single-sided, negative, zero-amount, rounding, multi-currency lines, closed period, wrong company/org, duplicate number under concurrency, reversal chain, immutable-after-post (insert/update/delete of lines and header), direct REST bypass attempt, idempotent re-post.
65 +1000-event journey with a final trial-balance equality check (repo already has related fixtures; extend them).
66 +Gate: all new tests red-then-green; UP/DOWN/UP proven; shadow report delivered; G1 package prepared (ordered SQL, backup step, verification queries, rollback) but NOT applied without owner approval.
67 +WP2 — Security hardening
68 +CSP and inline handlers: introduce a single delegated event system (data-action attributes + one registry) and migrate the ~339 inline onclick=/on*= handlers module by module. Add a ratchet check (scripts/ gate) that fails if the count of inline handlers increases, then reaches zero. Target CSP: script-src 'self' (and https://cdn.jsdelivr.net only if still required; prefer vendoring with pinned versions and SRI), remove 'unsafe-inline' from script-src. Keep a documented, tested exception list for style-src. Verify with Playwright that every menu, dialog, print path and login flow still works with the stricter CSP (zero CSP violations in console).
69 +Persistent two-user negative suite: convert the Appendix A isolation tests (T4-T14) into committed SQL tests run in CI on the disposable DB, plus tests for invitation, offboarding/revocation (revoked member's existing session must lose access), org-id spoofing in every one of the 21 authenticated-callable SECURITY DEFINER RPCs, and update_my_identity_profile cross-user mutation.
70 +Private schema: for the 7 private tables without RLS, either enable RLS (deny-by-default) or document and test why they are unreachable by anon/authenticated. Add policies or an explicit deny-by-design comment for the 3 workflow tables flagged rls_enabled_no_policy. Keep supabase/tests/phase1_permissions_readonly.sql green.
71 +Edge Functions (admin-user-management, finora-kavenegar-send-sms, finora-stripe-qa-read): review authn/authz, input validation, rate limiting, error leakage, secrets only via environment. Add negative tests. Remove or disable the Stripe QA function from production if it has no production purpose.
72 +G2 checklist for the owner (prepare, do not perform): enable Leaked Password Protection; confirm Site URL/redirect URLs; confirm Auth rate limits. Re-run the Supabase advisors afterwards and record the result.
73 +Auth reliability without paid email: the owner cannot buy a domain. Follow docs/FINORA_KAVENEGAR_OTP_PREPARATION_2026-10-12.md to finish the Iran-friendly SMS OTP path (Edge Function + signed hook + provider safety checks) up to the point where only owner-held secrets (G2/G5) are missing. Keep email OTP/password/Google working; show clear Persian errors for rate limits and network failures. Close or properly diagnose Issue #106 (intermittent login timeouts) with logs, not guesses.
74 +Gate: CSP without unsafe-inline for scripts, ratchet at zero, security suite green in CI, advisors re-run, Playwright green.
75 +WP3 — Code structure and maintainability (no big-bang rewrite)
76 +Format-only PR first: add Prettier/ESLint config; reformat js/*.js in a separate commit that changes no behaviour. Prove with all gates + Playwright + an AST/behaviour-equivalence spot check. Add ESLint (no-undef, no-unused-vars, no-redeclare) as a gate for new/changed code.
77 +Remove override chains: inventory every window.x = function / const old = window.x wrapper (e.g. js/patches.js, js/payments.js, js/purchases.js, js/ux-hardening-r2.js, js/idle-and-reports.js, js/commercial-rnd.js). Fold each wrapper's behaviour into the original function, delete the wrapper, keep tests green. Add a ratchet gate that fails if override-wrapper count increases. Delete patches.js when empty.
78 +Replace silent catch(_){} blocks that can hide data loss (sync, save, print, auth) with logged, user-visible handling; keep the rest.
79 +Write docs/ARCHITECTURE.md: module map, load order, global namespace contract, data flow (UI -> sync -> records -> RPCs), where each invariant is enforced (client vs server). Keep it under ~400 lines.
80 +Gate: behaviour unchanged (all gates + Playwright), ratchets in place.
81 +WP4 — Product focus and honest labelling
82 +Define the sellable core: parties, products/services, sales invoices, purchase invoices, receipts/payments, cheques, chart of accounts, manual and automatic journal, core financial reports, professional print (A4 official / A5 informal), backup/export. Everything else (HR/payroll, office automation, workflow, holding/consolidation, etc.) must be hidden behind license modules as beta, off by default for new customers, and clearly labelled in the UI. No feature freeze exceptions: do not add new modules until WP1, WP2, WP5 are accepted.
83 +Remove or relabel any UI that implies unimplemented capability (for example anything suggesting submission to the Taxpayer System without a real acknowledgment).
84 +Make financial-state UX unambiguous: draft / pending / posted / reversed, the allowed next action, and a plain Persian explanation for every disabled button. Save status must distinguish "saved in browser", "pending sync", "server confirmed" per document, with no false success.
85 +WP5 — Real acceptance (replace "mock passed" with observed behaviour)
86 +Playwright end-to-end suites against a dedicated test Supabase project or local stack (never production) for: login (password, email OTP, Google mocked at the boundary), create/save/reload/edit/print sales and purchase invoices, receipt/payment allocation, manual journal, report totals tying out to the ledger, two concurrent users on the same organization (conflict handling), license expiry (read-only access preserved, writes blocked), offboarding/revocation, settings persistence across logout/login, large-list performance (1,000 and 10,000 documents), RTL/keyboard/focus/320px/200% zoom checks.
87 +G4 checklist: a short, exact procedure for the owner to run the same acceptance on the real account (what to click, what result to expect, what to revert). Record results only if the owner reports them.
88 +Re-run the button/menu sweep (docs/audits/2026-10-31/tools/) and drive "controls without test reference" (457 at audit time) toward zero for the sellable core; report the number honestly.
89 +WP6 — Iran-specific correctness
90 +Jalali date tests: Tehran timezone boundaries, leap years, month-end, fiscal-year rollover, conversion round-trips. No UTC-day bugs.
91 +Rial formatting, Persian/Arabic digit input normalization, rounding rules, VAT/discount order, effective-dated tax rules (rates and thresholds are data with source + effective dates, never constants in journal logic).
92 +Moodian/Taxpayer System: deliver an adapter interface, payload builder, hash/immutability and status model, sandbox/mock implementation and tests. The UI may say "submitted" only after a real acknowledged response. Real API credentials are an owner gate (G2); do not invent endpoints or payload details you cannot source; cite sources in the doc.
93 +WP7 — Backup and recovery proof
94 +Follow docs/FINORA_OFFLINE_BACKUP_FA.md (pg_dump -> age, hash check, off-GitHub storage). G3: ask for the connection string via environment only. pg_dump is read-only; do not run anything else on production.
95 +Restore into a disposable Postgres 17, run scripts/finance-integrity-audit.mjs, row-count and trial-balance comparison. Save the evidence (counts, hashes, durations; no data).
96 +Document RPO/RTO honestly and add a monthly checklist.
97 +WP8 — Rollout (only after WP1-WP2 proofs)
98 +Prepare the production rollout package for G1: ordered migrations, pre-checks, backup confirmation, verification queries, shadow-mode report, enforce-flag flip procedure, rollback.
99 +After the owner confirms applying, run post-deploy verification queries (read-only), re-run the Supabase advisors, and record results. Flip enforcement per source only after its shadow report is clean.
100 +Smoke-test production behaviour only with owner-approved, clearly labelled, reversible test data (G4).
101 +WP9 — Continuity and documentation
102 +Consolidate the three overlapping roadmaps into one docs/ROADMAP_CURRENT.md with phase, status, evidence link, and exit criterion per item. Archive superseded files under docs/archive/ (no deletion of history).
103 +Shrink PROJECT_STATE.md to a current-state document (target <15 KB) with links to evidence; move history to the archive. Every claim carries a PR/commit/run link or is marked NOT VERIFIED.
104 +Close stale PRs only with a written reason; keep a table of decisions.
105 +Update README.md: remove obsolete setup text, state real known limitations.
106 +4. Definition of done (for the whole task)
107 +WP1: unbalanced and post-hoc-mutated ledgers are impossible through any client path; D1/D2 tests are green in CI; purchase correct/cancel path proven; production rollout package ready.
108 +WP2: no unsafe-inline in script-src; inline-handler count 0; persistent two-user suite green; advisors re-run; Edge Functions reviewed.
109 +WP3: formatter/ESLint gates active; override wrappers 0; docs/ARCHITECTURE.md exists.
110 +WP4-WP7: sellable core defined and labelled; Playwright acceptance green on a non-production stack; owner checklists delivered; Jalali/VAT tests; backup/restore evidence (or NOT VERIFIED with the missing gate named).
111 +All repo gates + Playwright green on the final commit; Pages artifact check passes; no secrets in repo.
112 +5. Reporting format (Persian, after every work package)
113 +وضعیت (انجام شد / ناقص / مسدود) with the exact reason.
114 +شواهد: PR/commit links, CI run links, test names with before/after results, SQL output (no secrets, no business data).
115 +تغییرات: files and migrations touched.
116 +ریسک‌های باقی‌مانده and what is NOT VERIFIED.
117 +اقدام لازم از مالک (only G1-G5 items), as short numbered steps for a beginner.
118 +گام بعدی.
119 +If blocked by something outside the gates, finish the independent parts, state exactly what is missing, and continue with the next independent package.
120 +Appendix A — Reproduction SQL (adapt to the disposable DB; run inside a transaction and roll back)
121 +The production-shaped table is public.records(owner_id uuid, collection text, id text, data jsonb, updated_at timestamptz, organization_id uuid). Creating a row in auth.users bootstraps profile, organization and license through the signup trigger. Authenticated context is simulated with set local role authenticated plus request.jwt.claims/request.jwt.claim.sub.
122 +do $$declare uA uuid := gen_random_uuid(); uB uuid := gen_random_uuid(); oA uuid; rep text := ''; n int;begin insert into auth.users (id,instance_id,aud,role,email,encrypted_password,email_confirmed_at,raw_app_meta_data,raw_user_meta_data,created_at,updated_at) values (uA,'00000000-0000-0000-0000-000000000000','authenticated','authenticated','zz.a@example.invalid','',now(),'{}','{}',now(),now()), (uB,'00000000-0000-0000-0000-000000000000','authenticated','authenticated','zz.b@example.invalid','',now(),'{}','{}',now(),now()); select id into oA from public.organizations where owner_user_id = uA; execute 'set local role authenticated'; perform set_config('request.jwt.claims', json_build_object('sub',uA,'role','authenticated')::text, true); perform set_config('request.jwt.claim.sub', uA::text, true); -- D1: unbalanced posted voucher must be REJECTED (currently ACCEPTED) begin insert into public.records(owner_id,collection,id,data,organization_id) values (uA,'journalVouchers','V1','{"id":"V1","status":"posted","companyId":"c","voucherNo":1}',oA); insert into public.records(owner_id,collection,id,data,organization_id) values (uA,'journalLines','L1','{"id":"L1","voucherId":"V1","lineNo":1,"accountId":"a","debit":1000,"credit":0}',oA), (uA,'journalLines','L2','{"id":"L2","voucherId":"V1","lineNo":2,"accountId":"b","debit":0,"credit":300}',oA); rep := rep || 'D1 FAIL: unbalanced posted voucher accepted' || E'\n'; exception when others then rep := rep || 'D1 PASS: rejected: ' || sqlerrm || E'\n'; end; -- D2: adding a NEW line to an already posted voucher must be REJECTED (currently ACCEPTED) begin insert into public.records(owner_id,collection,id,data,organization_id) values (uA,'journalLines','L3','{"id":"L3","voucherId":"V1","lineNo":3,"accountId":"c","debit":5000,"credit":0}',oA); rep := rep || 'D2 FAIL: line inserted into posted voucher' || E'\n'; exception when others then rep := rep || 'D2 PASS: rejected: ' || sqlerrm || E'\n'; end; -- Isolation (all currently PASS; must stay PASS). Now act as user B. perform set_config('request.jwt.claims', json_build_object('sub',uB,'role','authenticated')::text, true); perform set_config('request.jwt.claim.sub', uB::text, true); select count(*) into n from public.records where organization_id = oA; rep := rep || 'T4 read A rows=' || n || ' (expect 0)' || E'\n'; begin insert into public.records(owner_id,collection,id,data,organization_id) values (uB,'contacts','X1','{"id":"X1"}',oA); rep := rep || 'T5 FAIL insert into A org' || E'\n'; exception when others then rep := rep || 'T5 PASS blocked' || E'\n'; end; begin insert into public.records(owner_id,collection,id,data,organization_id) values (uA,'contacts','X2','{"id":"X2"}',oA); rep := rep || 'T6 FAIL spoofed owner insert' || E'\n'; exception when others then rep := rep || 'T6 PASS blocked' || E'\n'; end; update public.records set data='{"x":1}' where organization_id = oA; get diagnostics n = row_count; rep := rep || 'T7 update A rows=' || n || ' (expect 0)' || E'\n'; delete from public.records where organization_id = oA; get diagnostics n = row_count; rep := rep || 'T8 delete A rows=' || n || ' (expect 0)' || E'\n'; update public.profiles set role='admin' where id = uB; get diagnostics n = row_count; rep := rep || 'T9 self-promote rows=' || n || ' (expect 0)' || E'\n'; update public.licenses set plan='lifetime', ends_at='2099-01-01' where user_id = uB; get diagnostics n = row_count; rep := rep || 'T10 extend own license rows=' || n || ' (expect 0)' || E'\n'; begin perform public.admin_set_license(uB,'lifetime',3650,'active'); rep := rep || 'T11 FAIL admin_set_license allowed' || E'\n'; exception when others then rep := rep || 'T11 PASS forbidden' || E'\n'; end; select count(*) into n from public.profiles where id <> uB; rep := rep || 'T12 other profiles visible=' || n || ' (expect 0)' || E'\n'; select count(*) into n from public.licenses where user_id <> uB; rep := rep || 'T13 other licenses visible=' || n || ' (expect 0)' || E'\n'; select count(*) into n from public.organization_members where organization_id = oA; rep := rep || 'T14 A members visible=' || n || ' (expect 0)' || E'\n'; execute 'reset role'; raise exception E'REPORT\n%', rep; -- forces rollback and returns the reportend $$;
123 +Convert this into committed SQL tests that assert (not just print) and fail the CI job on any deviation. Add the extra cases listed in WP1/WP2.
\ No newline at end of file
docs/owner-prompts/FINORA_HARDENING_MASTER_2026-11-02_REV2.docx
Binary files /dev/null and b/docs/owner-prompts/FINORA_HARDENING_MASTER_2026-11-02_REV2.docx differ
docs/owner-prompts/FINORA_HARDENING_MASTER_2026-11-02_REV2.txt new
+123
@@ -0,0 +1,123 @@
1 +FINORA — Hardening & Completion Master Prompt (for Codex)
2 +Paste this whole document into Codex as the task, but run ONE work package per session: start with WP0 + WP1 only, read its report, then continue with the next. Execute the work packages in order. Report to the owner in Persian. Code, commands, paths, URLs and identifiers stay in English.
3 +0. Mission and honesty contract
4 +You are the implementer of Finora (Persian/RTL ERP for Iran). Repo: davoodmehraban89/Factor-easy. Production Supabase project: hcsixhqbyuhpshfwqpjx. Live site: factoreasy.ir (GitHub Pages from main). The owner (Davood) is a non-developer who wants a product he can sell. He cannot pay for foreign services or buy a domain, so do not require paid or card-based services.
5 +Mission: close every deficiency listed in section 1 with evidence, without breaking what already works.
6 +Honesty contract (violations void the work):
7 +"Done" means: code merged or PR-ready, tests added that failed before the fix and pass after, all repo gates green, and evidence recorded. A menu, form or doc existing is not done.
8 +Never delete, skip, weaken or loosen a test or assertion to make a gate pass.
9 +Never claim production behaviour you did not observe. If you cannot observe something, write "NOT VERIFIED" and why.
10 +Never fabricate data, results, logs, approvals, or connections.
11 +Never print secrets, keys, tokens, connection strings or passwords in chat, logs, commits or docs.
12 +1. Verified baseline (re-verify each item yourself before relying on it)
13 +Independent read-only audit, 2026-11-01, main at 4416794:
14 +Repo: 1267 commits; 56 JS files in js/ (~890 KB, very long lines up to ~1200 chars); 81 migration files; 23 SQL tests; 124 docs; PROJECT_STATE.md ~88 KB.
15 +32 node-based gates (scripts/*-check.mjs, syntax-check, quality-check, etc.) all PASS locally. Playwright specs were not run in the audit.
16 +Production DB: 6 auth users, 1 admin, 777 records rows (20 invoices, 11 journalVouchers, 22 journalLines), 18 public tables all with RLS, 82 applied migrations, last 20261012075507.
17 +Tenant isolation PASSED a two-user negative test (user B could not read, insert, update, delete in A's organization, self-promote, extend license, call admin_set_license, or see other profiles/licenses/members).
18 +Ledger integrity FAILED: with a valid authenticated user, the server accepted (T2) a journalVouchers record with status='posted' whose journalLines were unbalanced (Dr 1000 / Cr 300), and (T3) a NEW journalLines row inserted into an already-posted voucher. Existing triggers finora_guard_posted_journal, finora_guard_posted_journal_children, finora_guard_posted_source_records fire only BEFORE UPDATE OR DELETE; no function in public/private references debit/credit balancing. Double-entry is enforced only in browser JS.
19 +Server-side financial core (Phase 1A, Stage 1-3, finora_sync_records_v2, posting RPCs) exists only on unmerged branches/PRs (#162-#173 chain) and is NOT on production.
20 +Migration drift: production ledger has 20261007165208 phone_identity_profile; main has no matching file (stale PR #58 has a different timestamp).
21 +CSP in index.html: script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net. ~403 inline event-handler attributes, 339 of them onclick= handlers; ~107 window.x = function overrides; wrappers like js/patches.js wrap window.commitSaveInvoice.
22 +Supabase Auth: Leaked Password Protection OFF. Advisor: 21 SECURITY DEFINER RPCs callable by authenticated (all inspected ones check auth.uid()/is_admin()/org capability; none callable by anon); 3 private office-workflow tables have RLS but no policy; per docs/FINORA_PHASE1_SECURITY_READONLY_AUDIT_2026-10-13.md only 3/10 private tables have RLS.
23 +Not accepted per the repo's own registers: real-account acceptance, real printer, two concurrent users, owner-device login stability (Issue #106), real production backup + restore drill, purchase correct/cancel path under ENFORCE (returnPostedPurchaseAsDraft, cancelPostedPurchasePilot, purchaseSaveSeamless).
24 +Not implemented: real Moodian (Iran tax authority) API submission.
25 +2. Non-negotiable engineering rules
26 +Production is live with real data. Additive, backward-compatible migrations only (expand/contract). Never DROP/TRUNCATE/rewrite existing records. Never mutate posted history; corrections are reversal/adjustment documents.
27 +Every DB change is proven first on a disposable PostgreSQL 17 (the repo already does this in CI: see identity-wave5a-database in .github/workflows/quality.yml and supabase/tests/). Never run experiments on production. Never use live financial rows for tests.
28 +Shadow, then enforce. New strict guards ship first in shadow mode (log violations, do not block), driven by a server-side flag (e.g. a row in a locked settings table, changeable only by admin RPC). Audit existing production data in shadow mode, report violations, and only then enable enforcement.
29 +Frontend must never call a server capability that production lacks. main auto-deploys to GitHub Pages. Feature-detect (capability probe/flag) and fall back to current behaviour until the owner confirms the DB migration is applied.
30 +Keep existing security invariants: admin role is server-side only (profiles.role, no client path, not obtainable via username); email confirmation stays ON; RLS on every public table; no service_role key in client code.
31 +Git: one branch and one PR per work package, small reviewable commits, never force-push main, never rewrite published history, do not merge stale/conflicting PRs blindly. If AGENTS.md/PROJECT_STATE.md record standing owner merge authority, follow it; otherwise open the PR and ask.
32 +After every work package: update PROJECT_STATE.md (see WP9), keep it factual, mark anything unobserved as NOT VERIFIED.
33 +Owner gates (stop and ask in Persian, with a ready checklist, only for these)
34 +G1 applying any migration to production (after full proof + backup).
35 +G2 Supabase dashboard settings (Leaked Password Protection, SMTP/SMS provider secrets, URL config).
36 +G3 supplying a DB connection string for backup/restore drills (secret, via environment only).
37 +G4 creating any test account/data on production.
38 +G5 spending money or using a card-based service.
39 +Everything else: decide and proceed.
40 +3. Work packages (execute sequentially; do not start the next until the previous passes its gate)
41 +WP0 — Baseline, inventory, reconciliation (no behaviour change)
42 +Read AGENTS.md, AI_BOOTSTRAP.md, PROJECT_STATE.md, docs/CURRENT_WORK_REGISTER_2026-10-30.md, docs/NAVIGATION_RECOVERY_2026-10-31.md, docs/audits/2026-10-31/.
43 +Run all gates from .github/workflows/quality.yml, qa.yml, security.yml, release-gate.yml locally (including Playwright with npm install --no-save @playwright/test@1.55.0 pdf-lib@1.17.1 && npx playwright install --with-deps chromium). Record exact pass/fail counts. Any failure at baseline is reported first, not hidden.
44 +List every open PR/branch with: purpose, base, conflicts with main, tests status, whether it is a prerequisite of the financial-core chain. Output a table; recommend merge/rebase/close per item; do not merge yet.
45 +Migration drift: recover the exact executed SQL for 20261007165208 phone_identity_profile from the production migration ledger (read-only: select statements from supabase_migrations.schema_migrations where version='20261007165208') and archive it as supabase/migrations/20261007165208_phone_identity_profile.sql with a header comment that it is a post-hoc archive of an already-applied migration. Do NOT re-apply. Add a CI/check script that compares repo migration versions against a committed manifest so drift is detected.
46 +Reproduce deficiencies D1 and D2 (Appendix A) on a disposable DB before any fix and save the failing output as evidence.
47 +Gate: baseline report + reproduction evidence delivered in Persian.
48 +WP1 — Server-side ledger integrity (P0, highest priority)
49 +Goal: the database itself must make an unbalanced, mutable or inconsistent ledger impossible, regardless of which client writes. Restrict constraint triggers with a WHEN clause to the ledger collections so sync speed for other collections is unaffected, and make sure no client-callable function can set the posting flag.
50 +Start from the existing chain (PRs #162-#173, finora_sync_records_v2, posting RPCs, Stage 1-3 SQL/tests). Review it, rebase onto current main, reconcile conflicts. Do not merge it as-is; port what is correct. Per docs/CURRENT_WORK_REGISTER_2026-10-30.md, PR164 and PR167 hold intentionally RED tests (not release-ready), and PR162 depends on finora_sync_records_v2, which was missing on production at the last recorded check.
51 +Implement, additive and shadow-first:
52 +posting RPC (e.g. finora_post_journal_voucher(p_organization_id, p_voucher_id)) executing in ONE transaction: validates ≥2 lines; every line has exactly one of debit/credit > 0; amounts are integers in the minor unit used by the app (rial: integer); no negatives; sum(debit)=sum(credit) exactly; all lines belong to the same organization/company/fiscal year as the voucher; account exists, is postable and active; fiscal period is open; assigns a gap-free per-company/per-year number under lock; sets status; writes audit event.
53 +A constraint-style trigger (DEFERRABLE INITIALLY DEFERRED constraint trigger) on public.records that, at commit, rejects any voucher with status in ('posted','reversed') whose lines are unbalanced or missing, and rejects direct client writes that set status='posted' without going through the posting RPC (e.g. RPC sets a transaction-local setting finora.posting=on; the trigger checks it). Apply the same principle to journalLineDimensions.
54 +Close D2: extend the existing guards so that INSERT of journalLines/journalLineDimensions into a voucher that is posted/reversed is rejected (today only UPDATE/DELETE is guarded).
55 +Reversal RPC: creates a counter-voucher atomically, links both, original stays immutable.
56 +Server-side idempotency (unique posted-source index already exists: keep it) and concurrency tests (parallel posting, duplicate numbers).
57 +Legacy audit (read-only) in shadow mode: query production-shaped data for existing posted vouchers that are unbalanced/orphaned/duplicated-numbered. Output a report (counts and ids only, no business content). Never auto-fix posted history; propose reversal/adjustment entries and ask the owner.
58 +Client: route posting/reversal through the RPC when the capability probe says it exists; otherwise keep the current path. No success toast unless the server confirmed. Show server rejection reasons in Persian.
59 +Resolve the known blocker: make returnPostedPurchaseAsDraft, cancelPostedPurchasePilot, purchaseSaveSeamless correct under ENFORCE, with negative tests, before enabling enforcement for purchases.
60 +Extend coverage source-by-source (sales invoices, purchase invoices, receipts/payments, cheques, expenses, opening/closing entries, COGS/inventory where modeled). For each source: automatic voucher, balanced by construction, reversible, tested. Anything not covered stays explicitly labelled "not yet server-enforced" in UI/docs.
61 +Provide DOWN scripts for every migration and prove UP/DOWN/UP on the disposable DB.
62 +Tests required (SQL in supabase/tests/, wired into CI with the disposable Postgres job; JS invariants in scripts/):
63 +D1/D2 reproductions from Appendix A that fail on current main and pass after.
64 +Balanced/unbalanced, single-sided, negative, zero-amount, rounding, multi-currency lines, closed period, wrong company/org, duplicate number under concurrency, reversal chain, immutable-after-post (insert/update/delete of lines and header), direct REST bypass attempt, idempotent re-post.
65 +1000-event journey with a final trial-balance equality check (repo already has related fixtures; extend them).
66 +Gate: all new tests red-then-green; UP/DOWN/UP proven; shadow report delivered; G1 package prepared (ordered SQL, backup step, verification queries, rollback) but NOT applied without owner approval.
67 +WP2 — Security hardening
68 +CSP and inline handlers: introduce a single delegated event system (data-action attributes + one registry) and migrate the ~403 inline onclick=/on*= handlers module by module (also move any inline script blocks in index.html into files). Add a ratchet check (scripts/ gate) that fails if the count of inline handlers increases, then reaches zero. Target CSP: script-src 'self' (and https://cdn.jsdelivr.net only if still required; prefer vendoring with pinned versions and SRI), remove 'unsafe-inline' from script-src. Keep a documented, tested exception list for style-src. Verify with Playwright that every menu, dialog, print path and login flow still works with the stricter CSP (zero CSP violations in console).
69 +Persistent two-user negative suite: convert the Appendix A isolation tests (T4-T14) into committed SQL tests run in CI on the disposable DB, plus tests for invitation, offboarding/revocation (revoked member's existing session must lose access), org-id spoofing in every one of the 21 authenticated-callable SECURITY DEFINER RPCs, and update_my_identity_profile cross-user mutation.
70 +Private schema: for the 7 private tables without RLS, either enable RLS (deny-by-default) or document and test why they are unreachable by anon/authenticated. Add policies or an explicit deny-by-design comment for the 3 workflow tables flagged rls_enabled_no_policy. Keep supabase/tests/phase1_permissions_readonly.sql green.
71 +Edge Functions (admin-user-management, finora-kavenegar-send-sms, finora-stripe-qa-read): review authn/authz, input validation, rate limiting, error leakage, secrets only via environment. Add negative tests. Remove or disable the Stripe QA function from production if it has no production purpose.
72 +G2 checklist for the owner (prepare, do not perform): enable Leaked Password Protection; confirm Site URL/redirect URLs; confirm Auth rate limits. Re-run the Supabase advisors afterwards and record the result.
73 +Auth reliability without paid email: the owner cannot buy a domain. Follow docs/FINORA_KAVENEGAR_OTP_PREPARATION_2026-10-12.md to finish the Iran-friendly SMS OTP path (Edge Function + signed hook + provider safety checks) up to the point where only owner-held secrets (G2/G5) are missing. Keep email OTP/password/Google working; show clear Persian errors for rate limits and network failures. Close or properly diagnose Issue #106 (intermittent login timeouts) with logs, not guesses.
74 +Gate: CSP without unsafe-inline for scripts, ratchet at zero, security suite green in CI, advisors re-run, Playwright green.
75 +WP3 — Code structure and maintainability (no big-bang rewrite)
76 +Format-only PR first: add Prettier/ESLint config; reformat js/*.js in a separate commit that changes no behaviour. Prove with all gates + Playwright + an AST/behaviour-equivalence spot check. Add ESLint (no-undef, no-unused-vars, no-redeclare) as a gate for new/changed code.
77 +Remove override chains: inventory every window.x = function / const old = window.x wrapper (e.g. js/patches.js, js/payments.js, js/purchases.js, js/ux-hardening-r2.js, js/idle-and-reports.js, js/commercial-rnd.js). Fold each wrapper's behaviour into the original function, delete the wrapper, keep tests green. Add a ratchet gate that fails if override-wrapper count increases. Delete patches.js when empty.
78 +Replace silent catch(_){} blocks that can hide data loss (sync, save, print, auth) with logged, user-visible handling; keep the rest.
79 +Write docs/ARCHITECTURE.md: module map, load order, global namespace contract, data flow (UI -> sync -> records -> RPCs), where each invariant is enforced (client vs server). Keep it under ~400 lines.
80 +Gate: behaviour unchanged (all gates + Playwright), ratchets in place.
81 +WP4 — Product focus and honest labelling
82 +Define the sellable core: parties, products/services, sales invoices, purchase invoices, receipts/payments, cheques, chart of accounts, manual and automatic journal, core financial reports, professional print (A4 official / A5 informal), backup/export. Everything else (HR/payroll, office automation, workflow, holding/consolidation, etc.) must be hidden behind license modules as beta, off by default for new customers, and clearly labelled in the UI. No feature freeze exceptions: do not add new modules until WP1, WP2, WP5 are accepted.
83 +Remove or relabel any UI that implies unimplemented capability (for example anything suggesting submission to the Taxpayer System without a real acknowledgment).
84 +Make financial-state UX unambiguous: draft / pending / posted / reversed, the allowed next action, and a plain Persian explanation for every disabled button. Save status must distinguish "saved in browser", "pending sync", "server confirmed" per document, with no false success.
85 +WP5 — Real acceptance (replace "mock passed" with observed behaviour)
86 +Playwright end-to-end suites against a dedicated test Supabase project or local stack (never production) for: login (password, email OTP, Google mocked at the boundary), create/save/reload/edit/print sales and purchase invoices, receipt/payment allocation, manual journal, report totals tying out to the ledger, two concurrent users on the same organization (conflict handling), license expiry (read-only access preserved, writes blocked), offboarding/revocation, settings persistence across logout/login, large-list performance (1,000 and 10,000 documents), RTL/keyboard/focus/320px/200% zoom checks.
87 +G4 checklist: a short, exact procedure for the owner to run the same acceptance on the real account (what to click, what result to expect, what to revert). Record results only if the owner reports them.
88 +Re-run the button/menu sweep (docs/audits/2026-10-31/tools/) and drive "controls without test reference" (457 at audit time) toward zero for the sellable core; report the number honestly.
89 +WP6 — Iran-specific correctness
90 +Jalali date tests: Tehran timezone boundaries, leap years, month-end, fiscal-year rollover, conversion round-trips. No UTC-day bugs.
91 +Rial formatting, Persian/Arabic digit input normalization, rounding rules, VAT/discount order, effective-dated tax rules (rates and thresholds are data with source + effective dates, never constants in journal logic).
92 +Moodian/Taxpayer System: deliver an adapter interface, payload builder, hash/immutability and status model, sandbox/mock implementation and tests. The UI may say "submitted" only after a real acknowledged response. Real API credentials are an owner gate (G2); do not invent endpoints or payload details you cannot source; cite sources in the doc.
93 +WP7 — Backup and recovery proof
94 +Follow docs/FINORA_OFFLINE_BACKUP_FA.md (pg_dump -> age, hash check, off-GitHub storage). G3: ask for the connection string via environment only. pg_dump is read-only; do not run anything else on production.
95 +Restore into a disposable Postgres 17, run scripts/finance-integrity-audit.mjs, row-count and trial-balance comparison. Save the evidence (counts, hashes, durations; no data).
96 +Document RPO/RTO honestly and add a monthly checklist.
97 +WP8 — Rollout (only after WP1-WP2 proofs)
98 +Prepare the production rollout package for G1: ordered migrations, pre-checks, backup confirmation, verification queries, shadow-mode report, enforce-flag flip procedure, rollback.
99 +After the owner confirms applying, run post-deploy verification queries (read-only), re-run the Supabase advisors, and record results. Flip enforcement per source only after its shadow report is clean.
100 +Smoke-test production behaviour only with owner-approved, clearly labelled, reversible test data (G4).
101 +WP9 — Continuity and documentation
102 +Consolidate the three overlapping roadmaps into one docs/ROADMAP_CURRENT.md with phase, status, evidence link, and exit criterion per item. Archive superseded files under docs/archive/ (no deletion of history).
103 +Shrink PROJECT_STATE.md to a current-state document (target <15 KB) with links to evidence; move history to the archive. Every claim carries a PR/commit/run link or is marked NOT VERIFIED.
104 +Close stale PRs only with a written reason; keep a table of decisions.
105 +Update README.md: remove obsolete setup text, state real known limitations.
106 +4. Definition of done (for the whole task)
107 +WP1: unbalanced and post-hoc-mutated ledgers are impossible through any client path; D1/D2 tests are green in CI; purchase correct/cancel path proven; production rollout package ready.
108 +WP2: no unsafe-inline in script-src; inline-handler count 0; persistent two-user suite green; advisors re-run; Edge Functions reviewed.
109 +WP3: formatter/ESLint gates active; override wrappers 0; docs/ARCHITECTURE.md exists.
110 +WP4-WP7: sellable core defined and labelled; Playwright acceptance green on a non-production stack; owner checklists delivered; Jalali/VAT tests; backup/restore evidence (or NOT VERIFIED with the missing gate named).
111 +All repo gates + Playwright green on the final commit; Pages artifact check passes; no secrets in repo.
112 +5. Reporting format (Persian, after every work package)
113 +وضعیت (انجام شد / ناقص / مسدود) with the exact reason.
114 +شواهد: PR/commit links, CI run links, test names with before/after results, SQL output (no secrets, no business data).
115 +تغییرات: files and migrations touched.
116 +ریسک‌های باقی‌مانده and what is NOT VERIFIED.
117 +اقدام لازم از مالک (only G1-G5 items), as short numbered steps for a beginner.
118 +گام بعدی.
119 +If blocked by something outside the gates, finish the independent parts, state exactly what is missing, and continue with the next independent package.
120 +Appendix A — Reproduction SQL (adapt to the disposable DB; run inside a transaction and roll back)
121 +The production-shaped table is public.records(owner_id uuid, collection text, id text, data jsonb, updated_at timestamptz, organization_id uuid). Creating a row in auth.users bootstraps profile, organization and license through the signup trigger. Authenticated context is simulated with set local role authenticated plus request.jwt.claims/request.jwt.claim.sub.
122 +do $$declare uA uuid := gen_random_uuid(); uB uuid := gen_random_uuid(); oA uuid; rep text := ''; n int;begin insert into auth.users (id,instance_id,aud,role,email,encrypted_password,email_confirmed_at,raw_app_meta_data,raw_user_meta_data,created_at,updated_at) values (uA,'00000000-0000-0000-0000-000000000000','authenticated','authenticated','zz.a@example.invalid','',now(),'{}','{}',now(),now()), (uB,'00000000-0000-0000-0000-000000000000','authenticated','authenticated','zz.b@example.invalid','',now(),'{}','{}',now(),now()); select id into oA from public.organizations where owner_user_id = uA; execute 'set local role authenticated'; perform set_config('request.jwt.claims', json_build_object('sub',uA,'role','authenticated')::text, true); perform set_config('request.jwt.claim.sub', uA::text, true); -- D1: unbalanced posted voucher must be REJECTED (currently ACCEPTED) begin insert into public.records(owner_id,collection,id,data,organization_id) values (uA,'journalVouchers','V1','{"id":"V1","status":"posted","companyId":"c","voucherNo":1}',oA); insert into public.records(owner_id,collection,id,data,organization_id) values (uA,'journalLines','L1','{"id":"L1","voucherId":"V1","lineNo":1,"accountId":"a","debit":1000,"credit":0}',oA), (uA,'journalLines','L2','{"id":"L2","voucherId":"V1","lineNo":2,"accountId":"b","debit":0,"credit":300}',oA); rep := rep || 'D1 FAIL: unbalanced posted voucher accepted' || E'\n'; exception when others then rep := rep || 'D1 PASS: rejected: ' || sqlerrm || E'\n'; end; -- D2: adding a NEW line to an already posted voucher must be REJECTED (currently ACCEPTED) begin insert into public.records(owner_id,collection,id,data,organization_id) values (uA,'journalLines','L3','{"id":"L3","voucherId":"V1","lineNo":3,"accountId":"c","debit":5000,"credit":0}',oA); rep := rep || 'D2 FAIL: line inserted into posted voucher' || E'\n'; exception when others then rep := rep || 'D2 PASS: rejected: ' || sqlerrm || E'\n'; end; -- Isolation (all currently PASS; must stay PASS). Now act as user B. perform set_config('request.jwt.claims', json_build_object('sub',uB,'role','authenticated')::text, true); perform set_config('request.jwt.claim.sub', uB::text, true); select count(*) into n from public.records where organization_id = oA; rep := rep || 'T4 read A rows=' || n || ' (expect 0)' || E'\n'; begin insert into public.records(owner_id,collection,id,data,organization_id) values (uB,'contacts','X1','{"id":"X1"}',oA); rep := rep || 'T5 FAIL insert into A org' || E'\n'; exception when others then rep := rep || 'T5 PASS blocked' || E'\n'; end; begin insert into public.records(owner_id,collection,id,data,organization_id) values (uA,'contacts','X2','{"id":"X2"}',oA); rep := rep || 'T6 FAIL spoofed owner insert' || E'\n'; exception when others then rep := rep || 'T6 PASS blocked' || E'\n'; end; update public.records set data='{"x":1}' where organization_id = oA; get diagnostics n = row_count; rep := rep || 'T7 update A rows=' || n || ' (expect 0)' || E'\n'; delete from public.records where organization_id = oA; get diagnostics n = row_count; rep := rep || 'T8 delete A rows=' || n || ' (expect 0)' || E'\n'; update public.profiles set role='admin' where id = uB; get diagnostics n = row_count; rep := rep || 'T9 self-promote rows=' || n || ' (expect 0)' || E'\n'; update public.licenses set plan='lifetime', ends_at='2099-01-01' where user_id = uB; get diagnostics n = row_count; rep := rep || 'T10 extend own license rows=' || n || ' (expect 0)' || E'\n'; begin perform public.admin_set_license(uB,'lifetime',3650,'active'); rep := rep || 'T11 FAIL admin_set_license allowed' || E'\n'; exception when others then rep := rep || 'T11 PASS forbidden' || E'\n'; end; select count(*) into n from public.profiles where id <> uB; rep := rep || 'T12 other profiles visible=' || n || ' (expect 0)' || E'\n'; select count(*) into n from public.licenses where user_id <> uB; rep := rep || 'T13 other licenses visible=' || n || ' (expect 0)' || E'\n'; select count(*) into n from public.organization_members where organization_id = oA; rep := rep || 'T14 A members visible=' || n || ' (expect 0)' || E'\n'; execute 'reset role'; raise exception E'REPORT\n%', rep; -- forces rollback and returns the reportend $$;
123 +Convert this into committed SQL tests that assert (not just print) and fail the CI job on any deviation. Add the extra cases listed in WP1/WP2. Known limits of this reproduction: (1) D2 only runs meaningfully while D1 still succeeds, because a rejected V1 is rolled back by its exception block. After the fix, create the posted voucher through the posting RPC with a balanced pair of lines, then attempt the extra-line insert. (2) A deferred constraint trigger fires at commit, not per statement, and this block ends with a forced rollback, so run SET CONSTRAINTS ALL IMMEDIATE inside each block (or force a commit-time check) or the new guard will wrongly look like it accepts. (3) Replace the placeholder ids and numbers with the real shapes the final RPC and tables require.
\ No newline at end of file
docs/wp0/BASELINE_REPORT_FA.md new
+38
@@ -0,0 +1,38 @@
1 +# گزارش WP0 — ۲۰۲۶/۱۱/۰۲
2 +
3 +وضعیت: **گزارش خط مبنا و بازتولید تهیه شد؛ آمادگی انتشار کامل نیست.** مبنا `4416794682d29a17976c901d866d182627f63c29`؛ دستور جاری نسخه REV2 در `docs/owner-prompts/` است. دامنه این نوبت WP0 و WP1؛ نصب مهاجرت Production منوط به G1 است.
4 +
5 +## نتیجه قابل اتکا
6 +
7 +- ۵۲ فرمان محلی موجود/مانيفست، شامل Golden و ۴۹ آزمون تابع سروری، موفق؛ تست جهش مانيفست نیز افزودن، حذف، تغییر بدنه و نسخه ناشناخته سرور را رد کرد.
8 +- مجموعه کامل مرورگر Quality: **۲۱۱/۲۱۱ موفق**؛ Playwright1.55.0، Chromium سیستمی، Node24.19.0. محیط CI Node22 است؛ این اختلاف ثبت می‌شود. آزمون‌های synthetic، پذیرش حساب واقعی نیستند.
9 +- سه job موجود PostgreSQL17: identity شش فرمان، C8 هشت فرمان شامل آزمون دو نشست هم‌زمان، request سی‌ویک فرمان؛ همگی موفق. SQL اصلی و ترتیب workflow حفظ شد. bootstrapهای قدیمی جایگزین آزمون واقعی JWT/RLS نیستند.
10 +- public QA روی سایت فعلی: **۴ موفق،۱ ناموفق**؛ F-150 فقدان هدر HTTP ضد clickjacking. سایر بررسی‌های همین تست (CSP اسکریپت و SRI) خطایی نداشتند. تلاش اولیه درخواست Node به‌سبب استفاده نکردن از proxy محیط با ECONNREFUSED شکست خورد؛ اجرای ثبت‌شده با proxy استاندارد، TLS معتبر و همان assertions انجام شد. هیچ تستی تضعیف نشد.
11 +- QA احراز هویت‌شده/داده عملیاتی **NOT VERIFIED**: دسترسی معتبر حساب تست در این اجرا استفاده نشده و G4 برای داده آزمایشی Production لازم است. CodeQL و release promotion محلی اجراشدنی نیستند؛ نتیجه تازه exact-head CI باید جدا ثبت شود. Release safety محلی موفق است؛ Dependency Review مشروط را قبولی حساب نکنید.
12 +
13 +## دو نقص P0 دفتر مالی
14 +
15 +`node scripts/wp0-ledger-reproduce.mjs` روی PostgreSQL17 ایزوله با `--network none`، تعریف جدول/trigger/RLS برگرفته از 44 migration منتخب مخزن را اجرا می‌کند (تعداد و فهرست دقیق در evidence/ledger-baseline.json). زیرساخت حداقلی Auth/Storage شبیه‌سازی شده؛ این clone Production نیست. فقط خرابی حمل‌ونقلِ literal backslash+n انتهای ۱۵ آرشیو در حافظه نرمال شد؛ فایل‌های اصلی دست‌نخورده‌اند. مهاجرت‌های نامرتبط و اختلاف نسخه‌ها صریحاً ثبت شده‌اند.
16 +
17 +- **D1 بازتولید شد:** کاربر authenticated توانست سند posted با بدهکار۱۰۰۰/بستانکار۳۰۰ ثبت کند؛ اختلاف۷۰۰ با query مستقل تأیید شد.
18 +- **D2 بازتولید شد:** سند جداگانه با دو ردیف متوازن۱۰۰۰/۱۰۰۰ ساخته شد، سپس ردیف سوم بدهکار۵۰۰۰ پذیرفته شد. وابسته به سند معیوب D1 نیست.
19 +- `SET CONSTRAINTS ALL IMMEDIATE` اجرا شد؛ خطای غیرمنتظره باعث شکست runner می‌شود. خواندن همین fixtureها توسط tenant دیگر صفر بود. این تنها تست خواندن است و معادل کل T4–T14 نیست.
20 +- همه fixtureها rollback و container حذف شدند. موفقیت runner یعنی **وجود آسیب‌پذیری اثبات شد**، نه سالم بودن دفتر. WP1 باید تست‌های ردِ این عملیات را سبز کند.
21 +
22 +## مخزن، شاخه‌ها و سرور
23 +
24 +۵۶ JS،۸۹۰۷۶۱ بایت،۱۲۶۷ commit،۸۱ migration در main،۲۳ SQL test و۱۲۴ فایل docs تأیید شد. PROJECT_STATE مبنا۸۸۱۳۰بایت است. جدول کامل **۲۷ PR باز و۲۰۱ شاخه** با base/conflict/check/prerequisite در [inventory](PR_BRANCH_INVENTORY.md) است؛ هیچ‌کدام بسته یا ادغام نشد. PR164/167/172 عمداً RED؛166/168 نیز latest check ناموفق دارند. PR193 اصلاح ورود/پنل اعضا هنوز منتشر نشده و با Ubuntu26.04/Playwright1.55 در نصب مرورگر شکست خورده؛ مشکل محیط CI است، نه نتیجه تست برنامه.
25 +
26 +سرور فقط‌خواندنی:۶ حساب،۱ مدیر،۷۷۷رکورد،۲۰فاکتور،۱۱سند،۲۲ردیف؛۱۸جدول public و۱۸ RLS؛۸۲مهاجرت. ستون records.version و RPCهای جدید posting/sync-v2 وجود ندارند. هیچ اطلاعات تجاری سطرها استخراج نشد.
27 +
28 +SQL مفقود `20261007165208_phone_identity_profile.sql` از ledger اصلی بازیابی و با توضیح post-hoc آرشیو شد؛ **دوباره اجرا نشد**. پس از آن شمار فایل‌ها۸۲ شد ولی **۲۴ شناسه فقط در سرور و۲۴ شناسه فقط در مخزن** وجود دارد؛ برابری تعداد به معنی برابری schema/SQL نیست. manifest بدنه‌ها و این اختلاف شناخته‌شده را ثبت می‌کند؛ برابری محتوا هنوز NOT VERIFIED.
29 +
30 +## تغییرات و ادامه
31 +
32 +تغییرات WP0: اسناد/شواهد، اصل دو نسخه DOCX، archive مهاجرت، manifest و تستش، runnerهای disposable و pin محیط Quality/QA به Ubuntu24.04 سازگار با Playwright فعلی. کد رفتار برنامه و پایگاه عملیاتی تغییر نکردند.
33 +
34 +WP1: ابتدا بازبینی و انتقال بخش‌های درست زنجیره162–173 به شاخه مستقل بر مبنای جدید؛ کنترل‌های ledger-only، مجوز posting غیرقابل جعل، D1/D2 مستقل، برگشت اتمی، هم‌زمانی/شماره‌گذاری،۱۰۰۰رویداد، UP/DOWN/UP و مسیر اصلاح/ابطال خرید زیر ENFORCE. تا تکمیل شواهد، هیچ ادعای رفع نقص مالی یا آمادگی G1 معتبر نیست.
35 +
36 +موارد باز: F-150؛ CI تازه؛ تطبیق محتوای migrationها؛ پایداری ورود Issue106؛ حساب واقعی/چاپگر/دوکاربره؛ بکاپ واقعی و restore؛ تمام WP1. اکنون اقدامی از مالک لازم نیست؛ چک‌لیست G1 پس از آماده‌شدن بسته واقعی ارائه می‌شود.
37 +
38 +شواهد اجرای محلی در `evidence/`؛ خروجی محدود به fixture مصنوعی، تعدادها و schema است. نتیجه قبولی سایت عملیاتی از این شواهد استنتاج نشود.
docs/wp0/EXISTING_DATABASE_RESULTS.json new
+17
@@ -0,0 +1,17 @@
1 +[
2 + {
3 + "job": "identity-wave5a-database",
4 + "result": "PASS",
5 + "commands": 6
6 + },
7 + {
8 + "job": "c8-policy-database",
9 + "result": "PASS",
10 + "commands": 8
11 + },
12 + {
13 + "job": "d1-request-database",
14 + "result": "PASS",
15 + "commands": 31
16 + }
17 +]
docs/wp0/PRODUCTION_MIGRATIONS_2026-11-02.json new
+335
@@ -0,0 +1,335 @@
1 +{
2 + "observed_at": "2026-11-02",
3 + "project_id": "hcsixhqbyuhpshfwqpjx",
4 + "source": "read-only supabase_migrations.schema_migrations",
5 + "migrations": [
6 + {
7 + "version": "20260921082958",
8 + "name": "finora_core_schema_auth_licenses_rls"
9 + },
10 + {
11 + "version": "20260921083540",
12 + "name": "finora_records_store_replace_relational"
13 + },
14 + {
15 + "version": "20260921083829",
16 + "name": "finora_admin_license_rpcs_cancel_and_extend"
17 + },
18 + {
19 + "version": "20260922035848",
20 + "name": "decouple_profile_email_add_email_col"
21 + },
22 + {
23 + "version": "20260922035916",
24 + "name": "drop_username_unique_and_format_constraints"
25 + },
26 + {
27 + "version": "20260923210625",
28 + "name": "add_full_name_to_profiles"
29 + },
30 + {
31 + "version": "20260928025331",
32 + "name": "allow_purchases_collection"
33 + },
34 + {
35 + "version": "20260928113755",
36 + "name": "allow_payment_settlement_records"
37 + },
38 + {
39 + "version": "20260928115233",
40 + "name": "repair_legacy_invoice_contact_ids"
41 + },
42 + {
43 + "version": "20260928115616",
44 + "name": "restrict_internal_license_helpers"
45 + },
46 + {
47 + "version": "20260928141512",
48 + "name": "allow_accounting_foundation_collections"
49 + },
50 + {
51 + "version": "20260928145306",
52 + "name": "allow_phase3_double_entry_collections"
53 + },
54 + {
55 + "version": "20260929083130",
56 + "name": "phase3_hardening_atomic_sync_and_ledger_guards"
57 + },
58 + {
59 + "version": "20260929091743",
60 + "name": "phase4_contracting_collections"
61 + },
62 + {
63 + "version": "20260929172129",
64 + "name": "phase5_complementary_erp_collections"
65 + },
66 + {
67 + "version": "20260929193348",
68 + "name": "posted_source_immutability_guard"
69 + },
70 + {
71 + "version": "20260929193357",
72 + "name": "accounting_master_uniqueness"
73 + },
74 + {
75 + "version": "20260929220543",
76 + "name": "license_company_capacity"
77 + },
78 + {
79 + "version": "20260929220613",
80 + "name": "restrict_company_limit_rpc"
81 + },
82 + {
83 + "version": "20260929221252",
84 + "name": "iran_enterprise_foundation_collections"
85 + },
86 + {
87 + "version": "20260929221754",
88 + "name": "iran_enterprise_financial_controls"
89 + },
90 + {
91 + "version": "20260930025546",
92 + "name": "modular_entitlements_office_automation_foundation"
93 + },
94 + {
95 + "version": "20260930025647",
96 + "name": "office_secretariat_atomic_registration"
97 + },
98 + {
99 + "version": "20260930030314",
100 + "name": "preserve_readonly_access_after_license_expiry"
101 + },
102 + {
103 + "version": "20260930031853",
104 + "name": "organization_membership_rbac_foundation"
105 + },
106 + {
107 + "version": "20260930031942",
108 + "name": "office_shared_rbac_and_referrals"
109 + },
110 + {
111 + "version": "20260930032615",
112 + "name": "slice_b_rbac_fk_indexes"
113 + },
114 + {
115 + "version": "20260930032654",
116 + "name": "harden_legacy_office_storage_member_writes"
117 + },
118 + {
119 + "version": "20260930033010",
120 + "name": "allow_member_core_read_context"
121 + },
122 + {
123 + "version": "20260930041735",
124 + "name": "harden_public_security_definer_rpc_grants_search_path"
125 + },
126 + {
127 + "version": "20260930045827",
128 + "name": "enterprise_license_seats_delegated_admin"
129 + },
130 + {
131 + "version": "20260930050542",
132 + "name": "enterprise_reusable_roles"
133 + },
134 + {
135 + "version": "20260930050904",
136 + "name": "eli2_role_tenant_hardening"
137 + },
138 + {
139 + "version": "20260930051849",
140 + "name": "enterprise_invitations"
141 + },
142 + {
143 + "version": "20260930052909",
144 + "name": "eli3_fk_index_hardening"
145 + },
146 + {
147 + "version": "20260930053652",
148 + "name": "enterprise_organization_ux"
149 + },
150 + {
151 + "version": "20260930054352",
152 + "name": "office_registered_history_read_evidence"
153 + },
154 + {
155 + "version": "20260930152500",
156 + "name": "office_slice_c2_actionable_referrals_sla"
157 + },
158 + {
159 + "version": "20260930153000",
160 + "name": "office_evidence_insert_hardening"
161 + },
162 + {
163 + "version": "20260930154625",
164 + "name": "office_slice_c3_related_archive"
165 + },
166 + {
167 + "version": "20260930154720",
168 + "name": "office_c3_event_time_ordering"
169 + },
170 + {
171 + "version": "20260930202526",
172 + "name": "office_registration_tenant_repair"
173 + },
174 + {
175 + "version": "20260930202701",
176 + "name": "office_slice_c4_versioned_templates"
177 + },
178 + {
179 + "version": "20260930203456",
180 + "name": "office_slice_c5_internal_approval"
181 + },
182 + {
183 + "version": "20260930203620",
184 + "name": "office_slice_c5_internal_approval"
185 + },
186 + {
187 + "version": "20260930203709",
188 + "name": "office_c5_decision_event_order_fix"
189 + },
190 + {
191 + "version": "20260930203839",
192 + "name": "office_c5_content_digest_hardening"
193 + },
194 + {
195 + "version": "20260930204536",
196 + "name": "office_slice_c6_sla_reminder_escalation"
197 + },
198 + {
199 + "version": "20260930205309",
200 + "name": "office_slice_c7_fulltext_ocr_provenance"
201 + },
202 + {
203 + "version": "20260930205325",
204 + "name": "office_slice_c7_searchable_archive_ocr_provenance"
205 + },
206 + {
207 + "version": "20260930205347",
208 + "name": "office_c7_search_input_guard"
209 + },
210 + {
211 + "version": "20260930205753",
212 + "name": "office_c7_remove_abandoned_duplicate_api"
213 + },
214 + {
215 + "version": "20260930205919",
216 + "name": "office_c7_bind_ocr_source_attachment"
217 + },
218 + {
219 + "version": "20261001173917",
220 + "name": "office_slice_c8_workflow_policy"
221 + },
222 + {
223 + "version": "20261001180610",
224 + "name": "office_slice_c8_workflow_runtime"
225 + },
226 + {
227 + "version": "20261001180949",
228 + "name": "office_c8_policy_publisher_fk_index"
229 + },
230 + {
231 + "version": "20261001184454",
232 + "name": "request_workflow_d1_foundation"
233 + },
234 + {
235 + "version": "20261001184503",
236 + "name": "request_workflow_d1_transition_evidence"
237 + },
238 + {
239 + "version": "20261001184545",
240 + "name": "request_workflow_d1_rpc_security"
241 + },
242 + {
243 + "version": "20261001185325",
244 + "name": "request_workflow_d1_revision_qualification"
245 + },
246 + {
247 + "version": "20261001190938",
248 + "name": "request_workflow_d2_legacy_cutover"
249 + },
250 + {
251 + "version": "20261001191221",
252 + "name": "request_workflow_d2_fk_indexes"
253 + },
254 + {
255 + "version": "20261001192215",
256 + "name": "request_workflow_d3a_step_runtime"
257 + },
258 + {
259 + "version": "20261001192230",
260 + "name": "request_workflow_d3a_security_hardening"
261 + },
262 + {
263 + "version": "20261001193827",
264 + "name": "request_workflow_d3b_conditions_timeline"
265 + },
266 + {
267 + "version": "20261001195413",
268 + "name": "request_workflow_d3c_operations"
269 + },
270 + {
271 + "version": "20261001195424",
272 + "name": "request_workflow_d3c_escalation_conflict_fix"
273 + },
274 + {
275 + "version": "20261001195459",
276 + "name": "request_delegation_to_user_fk_index"
277 + },
278 + {
279 + "version": "20261001215549",
280 + "name": "request_wave1_legacy_transition_guard"
281 + },
282 + {
283 + "version": "20261001215557",
284 + "name": "request_wave1_legacy_transition_guard"
285 + },
286 + {
287 + "version": "20261001225044",
288 + "name": "request_wave2_integrity_hardening"
289 + },
290 + {
291 + "version": "20261002034311",
292 + "name": "request_workflow_d4a_work_queue"
293 + },
294 + {
295 + "version": "20261002063121",
296 + "name": "request_wave2_duplicate_code_guard"
297 + },
298 + {
299 + "version": "20261002063123",
300 + "name": "request_wave3_decision_idempotency"
301 + },
302 + {
303 + "version": "20261002063523",
304 + "name": "request_wave2_duplicate_code_guard"
305 + },
306 + {
307 + "version": "20261002063530",
308 + "name": "request_wave3_decision_idempotency"
309 + },
310 + {
311 + "version": "20261002072526",
312 + "name": "request_wave4b_scheduler_outbox_delivery"
313 + },
314 + {
315 + "version": "20261002075156",
316 + "name": "identity_wave5a_bootstrap"
317 + },
318 + {
319 + "version": "20261003033540",
320 + "name": "request_wave4_operational_integrity"
321 + },
322 + {
323 + "version": "20261007165208",
324 + "name": "phone_identity_profile"
325 + },
326 + {
327 + "version": "20261011174445",
328 + "name": "posted_source_idempotency_index"
329 + },
330 + {
331 + "version": "20261012075507",
332 + "name": "fix_identity_bootstrap_license_before_membership"
333 + }
334 + ]
335 +}
docs/wp0/PR_BRANCH_INVENTORY.json new
+24333
@@ -0,0 +1,24333 @@
1 +{
2 + "observed_at_utc": "2026-11-02T03:57:03.079219+00:00",
3 + "repo": "davoodmehraban89/Factor-easy",
4 + "main_sha": "4416794682d29a17976c901d866d182627f63c29",
5 + "open_prs": [
6 + {
7 + "baseRefName": "main",
8 + "headRefName": "fix/login-member-access-20261101",
9 + "headRefOid": "bcf9391e4695b03bd3fe72c95ad4ffccc3d51b96",
10 + "isDraft": false,
11 + "mergeStateStatus": "BLOCKED",
12 + "mergeable": "MERGEABLE",
13 + "number": 193,
14 + "statusCheckRollup": [
15 + {
16 + "__typename": "CheckRun",
17 + "completedAt": "2026-11-01T17:26:16Z",
18 + "conclusion": "FAILURE",
19 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41331418452/job/124922150203",
20 + "name": "static-quality",
21 + "startedAt": "2026-11-01T17:25:53Z",
22 + "status": "COMPLETED",
23 + "workflowName": "Quality checks"
24 + },
25 + {
26 + "__typename": "CheckRun",
27 + "completedAt": "2026-11-01T17:25:57Z",
28 + "conclusion": "SUCCESS",
29 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41331418426/job/124922150121",
30 + "name": "Release and QA safety invariants",
31 + "startedAt": "2026-11-01T17:25:52Z",
32 + "status": "COMPLETED",
33 + "workflowName": "Security checks"
34 + },
35 + {
36 + "__typename": "CheckRun",
37 + "completedAt": "2026-11-01T17:26:18Z",
38 + "conclusion": "SUCCESS",
39 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41331418452/job/124922150518",
40 + "name": "identity-wave5a-database",
41 + "startedAt": "2026-11-01T17:25:53Z",
42 + "status": "COMPLETED",
43 + "workflowName": "Quality checks"
44 + },
45 + {
46 + "__typename": "CheckRun",
47 + "completedAt": "2026-11-01T17:26:50Z",
48 + "conclusion": "SUCCESS",
49 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41331418426/job/124922150410",
50 + "name": "CodeQL JavaScript",
51 + "startedAt": "2026-11-01T17:25:53Z",
52 + "status": "COMPLETED",
53 + "workflowName": "Security checks"
54 + },
55 + {
56 + "__typename": "CheckRun",
57 + "completedAt": "2026-11-01T17:25:50Z",
58 + "conclusion": "SKIPPED",
59 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41331418426/job/124922151428",
60 + "name": "Dependency review",
61 + "startedAt": "2026-11-01T17:25:50Z",
62 + "status": "COMPLETED",
63 + "workflowName": "Security checks"
64 + },
65 + {
66 + "__typename": "CheckRun",
67 + "completedAt": "2026-11-01T17:26:19Z",
68 + "conclusion": "SUCCESS",
69 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41331418452/job/124922150583",
70 + "name": "c8-policy-database",
71 + "startedAt": "2026-11-01T17:25:53Z",
72 + "status": "COMPLETED",
73 + "workflowName": "Quality checks"
74 + },
75 + {
76 + "__typename": "CheckRun",
77 + "completedAt": "2026-11-01T17:26:22Z",
78 + "conclusion": "SUCCESS",
79 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41331418452/job/124922150375",
80 + "name": "d1-request-database",
81 + "startedAt": "2026-11-01T17:25:53Z",
82 + "status": "COMPLETED",
83 + "workflowName": "Quality checks"
84 + },
85 + {
86 + "__typename": "CheckRun",
87 + "completedAt": "2026-11-01T17:26:16Z",
88 + "conclusion": "SKIPPED",
89 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/settings/integrations",
90 + "name": "Supabase Preview",
91 + "startedAt": "2026-11-01T17:26:16Z",
92 + "status": "COMPLETED",
93 + "workflowName": ""
94 + },
95 + {
96 + "__typename": "CheckRun",
97 + "completedAt": "2026-11-01T17:26:43Z",
98 + "conclusion": "SUCCESS",
99 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/124922362793",
100 + "name": "CodeQL",
101 + "startedAt": "2026-11-01T17:26:41Z",
102 + "status": "COMPLETED",
103 + "workflowName": ""
104 + }
105 + ],
106 + "title": "Fix organization panel read failures and clarify login account errors",
107 + "updatedAt": "2026-11-01T17:25:46Z",
108 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/193"
109 + },
110 + {
111 + "baseRefName": "main",
112 + "headRefName": "docs/phase-status-20261031",
113 + "headRefOid": "5d340e066386863f511a6ae6af278b42aafb4006",
114 + "isDraft": false,
115 + "mergeStateStatus": "CLEAN",
116 + "mergeable": "MERGEABLE",
117 + "number": 192,
118 + "statusCheckRollup": [
119 + {
120 + "__typename": "CheckRun",
121 + "completedAt": "2026-10-31T20:30:44Z",
122 + "conclusion": "SUCCESS",
123 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41238879915/job/124648367445",
124 + "name": "static-quality",
125 + "startedAt": "2026-10-31T20:26:04Z",
126 + "status": "COMPLETED",
127 + "workflowName": "Quality checks"
128 + },
129 + {
130 + "__typename": "CheckRun",
131 + "completedAt": "2026-10-31T20:26:11Z",
132 + "conclusion": "SUCCESS",
133 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41238879952/job/124648367818",
134 + "name": "Release and QA safety invariants",
135 + "startedAt": "2026-10-31T20:26:05Z",
136 + "status": "COMPLETED",
137 + "workflowName": "Security checks"
138 + },
139 + {
140 + "__typename": "CheckRun",
141 + "completedAt": "2026-10-31T20:26:33Z",
142 + "conclusion": "SUCCESS",
143 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41238879915/job/124648367740",
144 + "name": "identity-wave5a-database",
145 + "startedAt": "2026-10-31T20:26:05Z",
146 + "status": "COMPLETED",
147 + "workflowName": "Quality checks"
148 + },
149 + {
150 + "__typename": "CheckRun",
151 + "completedAt": "2026-10-31T20:27:13Z",
152 + "conclusion": "SUCCESS",
153 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41238879952/job/124648367647",
154 + "name": "CodeQL JavaScript",
155 + "startedAt": "2026-10-31T20:26:05Z",
156 + "status": "COMPLETED",
157 + "workflowName": "Security checks"
158 + },
159 + {
160 + "__typename": "CheckRun",
161 + "completedAt": "2026-10-31T20:26:02Z",
162 + "conclusion": "SKIPPED",
163 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41238879952/job/124648368507",
164 + "name": "Dependency review",
165 + "startedAt": "2026-10-31T20:26:02Z",
166 + "status": "COMPLETED",
167 + "workflowName": "Security checks"
168 + },
169 + {
170 + "__typename": "CheckRun",
171 + "completedAt": "2026-10-31T20:26:30Z",
172 + "conclusion": "SUCCESS",
173 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41238879915/job/124648367608",
174 + "name": "c8-policy-database",
175 + "startedAt": "2026-10-31T20:26:04Z",
176 + "status": "COMPLETED",
177 + "workflowName": "Quality checks"
178 + },
179 + {
180 + "__typename": "CheckRun",
181 + "completedAt": "2026-10-31T20:26:41Z",
182 + "conclusion": "SUCCESS",
183 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41238879915/job/124648367757",
184 + "name": "d1-request-database",
185 + "startedAt": "2026-10-31T20:26:05Z",
186 + "status": "COMPLETED",
187 + "workflowName": "Quality checks"
188 + },
189 + {
190 + "__typename": "CheckRun",
191 + "completedAt": "2026-10-31T20:25:50Z",
192 + "conclusion": "SKIPPED",
193 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
194 + "name": "Supabase Preview",
195 + "startedAt": "2026-10-31T20:25:50Z",
196 + "status": "COMPLETED",
197 + "workflowName": ""
198 + },
199 + {
200 + "__typename": "CheckRun",
201 + "completedAt": "2026-10-31T20:27:06Z",
202 + "conclusion": "SUCCESS",
203 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/124648600053",
204 + "name": "CodeQL",
205 + "startedAt": "2026-10-31T20:27:03Z",
206 + "status": "COMPLETED",
207 + "workflowName": ""
208 + }
209 + ],
210 + "title": "docs: reconcile phase completion and remaining acceptance gates",
211 + "updatedAt": "2026-10-31T20:25:58Z",
212 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/192"
213 + },
214 + {
215 + "baseRefName": "main",
216 + "headRefName": "docs/real-account-qa-20261030",
217 + "headRefOid": "d999d7288767e41b3094eaccc3723e0fa4661d1a",
218 + "isDraft": false,
219 + "mergeStateStatus": "UNKNOWN",
220 + "mergeable": "UNKNOWN",
221 + "number": 190,
222 + "statusCheckRollup": [
223 + {
224 + "__typename": "CheckRun",
225 + "completedAt": "2026-10-30T19:18:28Z",
226 + "conclusion": "SUCCESS",
227 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41113652750/job/124262183825",
228 + "name": "static-quality",
229 + "startedAt": "2026-10-30T19:14:50Z",
230 + "status": "COMPLETED",
231 + "workflowName": "Quality checks"
232 + },
233 + {
234 + "__typename": "CheckRun",
235 + "completedAt": "2026-10-30T19:14:57Z",
236 + "conclusion": "SUCCESS",
237 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41113652640/job/124262175432",
238 + "name": "Release and QA safety invariants",
239 + "startedAt": "2026-10-30T19:14:50Z",
240 + "status": "COMPLETED",
241 + "workflowName": "Security checks"
242 + },
243 + {
244 + "__typename": "CheckRun",
245 + "completedAt": "2026-10-30T19:15:20Z",
246 + "conclusion": "SUCCESS",
247 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41113652750/job/124262183412",
248 + "name": "identity-wave5a-database",
249 + "startedAt": "2026-10-30T19:14:51Z",
250 + "status": "COMPLETED",
251 + "workflowName": "Quality checks"
252 + },
253 + {
254 + "__typename": "CheckRun",
255 + "completedAt": "2026-10-30T19:15:53Z",
256 + "conclusion": "SUCCESS",
257 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41113652640/job/124262175347",
258 + "name": "CodeQL JavaScript",
259 + "startedAt": "2026-10-30T19:14:50Z",
260 + "status": "COMPLETED",
261 + "workflowName": "Security checks"
262 + },
263 + {
264 + "__typename": "CheckRun",
265 + "completedAt": "2026-10-30T19:14:47Z",
266 + "conclusion": "SKIPPED",
267 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41113652640/job/124262177403",
268 + "name": "Dependency review",
269 + "startedAt": "2026-10-30T19:14:47Z",
270 + "status": "COMPLETED",
271 + "workflowName": "Security checks"
272 + },
273 + {
274 + "__typename": "CheckRun",
275 + "completedAt": "2026-10-30T19:15:21Z",
276 + "conclusion": "SUCCESS",
277 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41113652750/job/124262183939",
278 + "name": "c8-policy-database",
279 + "startedAt": "2026-10-30T19:14:51Z",
280 + "status": "COMPLETED",
281 + "workflowName": "Quality checks"
282 + },
283 + {
284 + "__typename": "CheckRun",
285 + "completedAt": "2026-10-30T19:15:25Z",
286 + "conclusion": "SUCCESS",
287 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41113652750/job/124262183777",
288 + "name": "d1-request-database",
289 + "startedAt": "2026-10-30T19:14:51Z",
290 + "status": "COMPLETED",
291 + "workflowName": "Quality checks"
292 + },
293 + {
294 + "__typename": "CheckRun",
295 + "completedAt": "2026-10-30T19:14:47Z",
296 + "conclusion": "SKIPPED",
297 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/settings/integrations",
298 + "name": "Supabase Preview",
299 + "startedAt": "2026-10-30T19:14:47Z",
300 + "status": "COMPLETED",
301 + "workflowName": ""
302 + },
303 + {
304 + "__typename": "CheckRun",
305 + "completedAt": "2026-10-30T19:15:46Z",
306 + "conclusion": "SUCCESS",
307 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/124262625727",
308 + "name": "CodeQL",
309 + "startedAt": "2026-10-30T19:15:43Z",
310 + "status": "COMPLETED",
311 + "workflowName": ""
312 + }
313 + ],
314 + "title": "docs: record real company Edit acceptance and settings QA limits",
315 + "updatedAt": "2026-10-30T19:14:42Z",
316 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/190"
317 + },
318 + {
319 + "baseRefName": "main",
320 + "headRefName": "qa/finora-login-cors-header-preflight-20261025",
321 + "headRefOid": "f41f1c5adbfcbb6e3989d27df93e6c08edafc17d",
322 + "isDraft": true,
323 + "mergeStateStatus": "UNKNOWN",
324 + "mergeable": "UNKNOWN",
325 + "number": 180,
326 + "statusCheckRollup": [
327 + {
328 + "__typename": "CheckRun",
329 + "completedAt": "2026-10-25T18:03:06Z",
330 + "conclusion": "SUCCESS",
331 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40219376738/job/121247404345",
332 + "name": "gateway-readonly",
333 + "startedAt": "2026-10-25T18:03:00Z",
334 + "status": "COMPLETED",
335 + "workflowName": "FINORA login Auth/REST CORS readonly network probe"
336 + },
337 + {
338 + "__typename": "CheckRun",
339 + "completedAt": "2026-10-25T18:08:19Z",
340 + "conclusion": "SUCCESS",
341 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40219493067/job/121247751107",
342 + "name": "static-quality",
343 + "startedAt": "2026-10-25T18:04:32Z",
344 + "status": "COMPLETED",
345 + "workflowName": "Quality checks"
346 + },
347 + {
348 + "__typename": "CheckRun",
349 + "completedAt": "2026-10-25T18:04:46Z",
350 + "conclusion": "SUCCESS",
351 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40219493076/job/121247750917",
352 + "name": "Release and QA safety invariants",
353 + "startedAt": "2026-10-25T18:04:33Z",
354 + "status": "COMPLETED",
355 + "workflowName": "Security checks"
356 + },
357 + {
358 + "__typename": "CheckRun",
359 + "completedAt": "2026-10-25T18:05:16Z",
360 + "conclusion": "SUCCESS",
361 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40219493067/job/121247751103",
362 + "name": "identity-wave5a-database",
363 + "startedAt": "2026-10-25T18:04:30Z",
364 + "status": "COMPLETED",
365 + "workflowName": "Quality checks"
366 + },
367 + {
368 + "__typename": "CheckRun",
369 + "completedAt": "2026-10-25T18:05:34Z",
370 + "conclusion": "SUCCESS",
371 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40219493076/job/121247751124",
372 + "name": "CodeQL JavaScript",
373 + "startedAt": "2026-10-25T18:04:30Z",
374 + "status": "COMPLETED",
375 + "workflowName": "Security checks"
376 + },
377 + {
378 + "__typename": "CheckRun",
379 + "completedAt": "2026-10-25T18:04:23Z",
380 + "conclusion": "SKIPPED",
381 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40219493076/job/121247751804",
382 + "name": "Dependency review",
383 + "startedAt": "2026-10-25T18:04:23Z",
384 + "status": "COMPLETED",
385 + "workflowName": "Security checks"
386 + },
387 + {
388 + "__typename": "CheckRun",
389 + "completedAt": "2026-10-25T18:05:07Z",
390 + "conclusion": "SUCCESS",
391 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40219493067/job/121247750885",
392 + "name": "c8-policy-database",
393 + "startedAt": "2026-10-25T18:04:25Z",
394 + "status": "COMPLETED",
395 + "workflowName": "Quality checks"
396 + },
397 + {
398 + "__typename": "CheckRun",
399 + "completedAt": "2026-10-25T18:05:02Z",
400 + "conclusion": "SUCCESS",
401 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40219493067/job/121247751152",
402 + "name": "d1-request-database",
403 + "startedAt": "2026-10-25T18:04:28Z",
404 + "status": "COMPLETED",
405 + "workflowName": "Quality checks"
406 + },
407 + {
408 + "__typename": "CheckRun",
409 + "completedAt": "2026-10-25T18:04:22Z",
410 + "conclusion": "SKIPPED",
411 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/settings/integrations",
412 + "name": "Supabase Preview",
413 + "startedAt": "2026-10-25T18:04:22Z",
414 + "status": "COMPLETED",
415 + "workflowName": ""
416 + },
417 + {
418 + "__typename": "CheckRun",
419 + "completedAt": "2026-10-25T18:05:26Z",
420 + "conclusion": "SUCCESS",
421 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/121248000350",
422 + "name": "CodeQL",
423 + "startedAt": "2026-10-25T18:05:24Z",
424 + "status": "COMPLETED",
425 + "workflowName": ""
426 + }
427 + ],
428 + "title": "[QA ONLY / DO NOT MERGE] Diagnose browser CORS and Iranian login timeouts",
429 + "updatedAt": "2026-10-25T18:04:19Z",
430 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/180"
431 + },
432 + {
433 + "baseRefName": "main",
434 + "headRefName": "qa/real-settings-acceptance-20261025",
435 + "headRefOid": "bad7f747883f69993a7c33039787fc5271d00b90",
436 + "isDraft": true,
437 + "mergeStateStatus": "UNKNOWN",
438 + "mergeable": "UNKNOWN",
439 + "number": 178,
440 + "statusCheckRollup": [
441 + {
442 + "__typename": "CheckRun",
443 + "completedAt": "2026-10-25T03:35:34Z",
444 + "conclusion": "SUCCESS",
445 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40158541584/job/121064993751",
446 + "name": "static-quality",
447 + "startedAt": "2026-10-25T03:31:44Z",
448 + "status": "COMPLETED",
449 + "workflowName": "Quality checks"
450 + },
451 + {
452 + "__typename": "CheckRun",
453 + "completedAt": "2026-10-25T03:31:52Z",
454 + "conclusion": "SUCCESS",
455 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40158541530/job/121064993227",
456 + "name": "Release and QA safety invariants",
457 + "startedAt": "2026-10-25T03:31:44Z",
458 + "status": "COMPLETED",
459 + "workflowName": "Security checks"
460 + },
461 + {
462 + "__typename": "CheckRun",
463 + "completedAt": "2026-10-25T03:32:10Z",
464 + "conclusion": "SUCCESS",
465 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40158541584/job/121064993616",
466 + "name": "identity-wave5a-database",
467 + "startedAt": "2026-10-25T03:31:44Z",
468 + "status": "COMPLETED",
469 + "workflowName": "Quality checks"
470 + },
471 + {
472 + "__typename": "CheckRun",
473 + "completedAt": "2026-10-25T03:32:57Z",
474 + "conclusion": "SUCCESS",
475 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40158541530/job/121064993067",
476 + "name": "CodeQL JavaScript",
477 + "startedAt": "2026-10-25T03:31:44Z",
478 + "status": "COMPLETED",
479 + "workflowName": "Security checks"
480 + },
481 + {
482 + "__typename": "CheckRun",
483 + "completedAt": "2026-10-25T03:31:41Z",
484 + "conclusion": "SKIPPED",
485 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40158541530/job/121064994396",
486 + "name": "Dependency review",
487 + "startedAt": "2026-10-25T03:31:42Z",
488 + "status": "COMPLETED",
489 + "workflowName": "Security checks"
490 + },
491 + {
492 + "__typename": "CheckRun",
493 + "completedAt": "2026-10-25T03:32:15Z",
494 + "conclusion": "SUCCESS",
495 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40158541584/job/121064993293",
496 + "name": "c8-policy-database",
497 + "startedAt": "2026-10-25T03:31:44Z",
498 + "status": "COMPLETED",
499 + "workflowName": "Quality checks"
500 + },
501 + {
502 + "__typename": "CheckRun",
503 + "completedAt": "2026-10-25T03:32:21Z",
504 + "conclusion": "SUCCESS",
505 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/40158541584/job/121064993617",
506 + "name": "d1-request-database",
507 + "startedAt": "2026-10-25T03:31:44Z",
508 + "status": "COMPLETED",
509 + "workflowName": "Quality checks"
510 + },
511 + {
512 + "__typename": "CheckRun",
513 + "completedAt": "2026-10-25T03:31:41Z",
514 + "conclusion": "SKIPPED",
515 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/settings/integrations",
516 + "name": "Supabase Preview",
517 + "startedAt": "2026-10-25T03:31:41Z",
518 + "status": "COMPLETED",
519 + "workflowName": ""
520 + },
521 + {
522 + "__typename": "CheckRun",
523 + "completedAt": "2026-10-25T03:32:49Z",
524 + "conclusion": "SUCCESS",
525 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/121065199844",
526 + "name": "CodeQL",
527 + "startedAt": "2026-10-25T03:32:47Z",
528 + "status": "COMPLETED",
529 + "workflowName": ""
530 + }
531 + ],
532 + "title": "docs: record real-account QA evidence and pending secure re-entry",
533 + "updatedAt": "2026-10-25T03:31:37Z",
534 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/178"
535 + },
536 + {
537 + "baseRefName": "feature/finora-stage3-enforce-purchase-red-20261023",
538 + "headRefName": "work/finora-stage3-enforce-purchase-green-20261023",
539 + "headRefOid": "4374aa78b8c7bc345160c9481ff0cf98b51d0432",
540 + "isDraft": true,
541 + "mergeStateStatus": "CLEAN",
542 + "mergeable": "MERGEABLE",
543 + "number": 173,
544 + "statusCheckRollup": [
545 + {
546 + "__typename": "CheckRun",
547 + "completedAt": "2026-10-23T11:49:21Z",
548 + "conclusion": "SUCCESS",
549 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948426150/job/120396906271",
550 + "name": "stage22-real-stack (NOT harness)",
551 + "startedAt": "2026-10-23T11:46:55Z",
552 + "status": "COMPLETED",
553 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
554 + },
555 + {
556 + "__typename": "CheckRun",
557 + "completedAt": "2026-10-23T11:49:32Z",
558 + "conclusion": "SUCCESS",
559 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948433604/job/120396702417",
560 + "name": "static-quality",
561 + "startedAt": "2026-10-23T11:46:24Z",
562 + "status": "COMPLETED",
563 + "workflowName": "Quality checks"
564 + },
565 + {
566 + "__typename": "CheckRun",
567 + "completedAt": "2026-10-23T11:46:43Z",
568 + "conclusion": "SUCCESS",
569 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948433598/job/120396782628",
570 + "name": "Release and QA safety invariants",
571 + "startedAt": "2026-10-23T11:46:36Z",
572 + "status": "COMPLETED",
573 + "workflowName": "Security checks"
574 + },
575 + {
576 + "__typename": "CheckRun",
577 + "completedAt": "2026-10-23T12:00:03Z",
578 + "conclusion": "SUCCESS",
579 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948426150/job/120396906167",
580 + "name": "client-compat-positive-stage2",
581 + "startedAt": "2026-10-23T11:46:56Z",
582 + "status": "COMPLETED",
583 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
584 + },
585 + {
586 + "__typename": "CheckRun",
587 + "completedAt": "2026-10-23T11:46:57Z",
588 + "conclusion": "SUCCESS",
589 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948433604/job/120396702405",
590 + "name": "identity-wave5a-database",
591 + "startedAt": "2026-10-23T11:46:24Z",
592 + "status": "COMPLETED",
593 + "workflowName": "Quality checks"
594 + },
595 + {
596 + "__typename": "CheckRun",
597 + "completedAt": "2026-10-23T11:47:44Z",
598 + "conclusion": "SUCCESS",
599 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948433598/job/120396783012",
600 + "name": "CodeQL JavaScript",
601 + "startedAt": "2026-10-23T11:46:36Z",
602 + "status": "COMPLETED",
603 + "workflowName": "Security checks"
604 + },
605 + {
606 + "__typename": "CheckRun",
607 + "completedAt": "2026-10-23T11:46:33Z",
608 + "conclusion": "SKIPPED",
609 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948433598/job/120396784584",
610 + "name": "Dependency review",
611 + "startedAt": "2026-10-23T11:46:34Z",
612 + "status": "COMPLETED",
613 + "workflowName": "Security checks"
614 + },
615 + {
616 + "__typename": "CheckRun",
617 + "completedAt": "2026-10-23T11:48:51Z",
618 + "conclusion": "SUCCESS",
619 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948426150/job/120396906410",
620 + "name": "stage22-exact-head-parity (snapshot NOT live Production)",
621 + "startedAt": "2026-10-23T11:46:56Z",
622 + "status": "COMPLETED",
623 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
624 + },
625 + {
626 + "__typename": "CheckRun",
627 + "completedAt": "2026-10-23T11:46:56Z",
628 + "conclusion": "SUCCESS",
629 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948433604/job/120396702218",
630 + "name": "c8-policy-database",
631 + "startedAt": "2026-10-23T11:46:24Z",
632 + "status": "COMPLETED",
633 + "workflowName": "Quality checks"
634 + },
635 + {
636 + "__typename": "CheckRun",
637 + "completedAt": "2026-10-23T11:48:40Z",
638 + "conclusion": "SUCCESS",
639 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948426150/job/120396906475",
640 + "name": "Stage 1 local UP-DOWN-UP preserves versions/data (NOT Production rollback)",
641 + "startedAt": "2026-10-23T11:46:55Z",
642 + "status": "COMPLETED",
643 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
644 + },
645 + {
646 + "__typename": "CheckRun",
647 + "completedAt": "2026-10-23T11:47:07Z",
648 + "conclusion": "SUCCESS",
649 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948433604/job/120396702430",
650 + "name": "d1-request-database",
651 + "startedAt": "2026-10-23T11:46:24Z",
652 + "status": "COMPLETED",
653 + "workflowName": "Quality checks"
654 + },
655 + {
656 + "__typename": "CheckRun",
657 + "completedAt": "2026-10-23T11:49:15Z",
658 + "conclusion": "SUCCESS",
659 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39948426150/job/120396906235",
660 + "name": "Real UI sale-purchase payload vs independent SQL-v1",
661 + "startedAt": "2026-10-23T11:46:55Z",
662 + "status": "COMPLETED",
663 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
664 + },
665 + {
666 + "__typename": "CheckRun",
667 + "completedAt": "2026-10-23T11:46:16Z",
668 + "conclusion": "SKIPPED",
669 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
670 + "name": "Supabase Preview",
671 + "startedAt": "2026-10-23T11:46:16Z",
672 + "status": "COMPLETED",
673 + "workflowName": ""
674 + },
675 + {
676 + "__typename": "CheckRun",
677 + "completedAt": "2026-10-23T11:47:38Z",
678 + "conclusion": "SUCCESS",
679 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120397182853",
680 + "name": "CodeQL",
681 + "startedAt": "2026-10-23T11:47:35Z",
682 + "status": "COMPLETED",
683 + "workflowName": ""
684 + }
685 + ],
686 + "title": "[STAGE 3.3 GREEN / DO NOT MERGE] Server-owned new purchase finalization under ENFORCE",
687 + "updatedAt": "2026-10-23T11:55:35Z",
688 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/173"
689 + },
690 + {
691 + "baseRefName": "fix/finora-stage3-posted-source-immutable-20261023",
692 + "headRefName": "feature/finora-stage3-enforce-purchase-red-20261023",
693 + "headRefOid": "d36950f3016bfada3ac8acf6a5d5a7673ef0d999",
694 + "isDraft": true,
695 + "mergeStateStatus": "UNSTABLE",
696 + "mergeable": "MERGEABLE",
697 + "number": 172,
698 + "statusCheckRollup": [
699 + {
700 + "__typename": "CheckRun",
701 + "completedAt": "2026-10-23T11:38:57Z",
702 + "conclusion": "FAILURE",
703 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39947087556/job/120392273197",
704 + "name": "static-quality",
705 + "startedAt": "2026-10-23T11:35:03Z",
706 + "status": "COMPLETED",
707 + "workflowName": "Quality checks"
708 + },
709 + {
710 + "__typename": "CheckRun",
711 + "completedAt": "2026-10-23T11:35:09Z",
712 + "conclusion": "SUCCESS",
713 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39947087491/job/120392272740",
714 + "name": "Release and QA safety invariants",
715 + "startedAt": "2026-10-23T11:35:03Z",
716 + "status": "COMPLETED",
717 + "workflowName": "Security checks"
718 + },
719 + {
720 + "__typename": "CheckRun",
721 + "completedAt": "2026-10-23T11:35:43Z",
722 + "conclusion": "SUCCESS",
723 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39947087556/job/120392273157",
724 + "name": "identity-wave5a-database",
725 + "startedAt": "2026-10-23T11:35:03Z",
726 + "status": "COMPLETED",
727 + "workflowName": "Quality checks"
728 + },
729 + {
730 + "__typename": "CheckRun",
731 + "completedAt": "2026-10-23T11:36:09Z",
732 + "conclusion": "SUCCESS",
733 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39947087491/job/120392272746",
734 + "name": "CodeQL JavaScript",
735 + "startedAt": "2026-10-23T11:35:02Z",
736 + "status": "COMPLETED",
737 + "workflowName": "Security checks"
738 + },
739 + {
740 + "__typename": "CheckRun",
741 + "completedAt": "2026-10-23T11:35:00Z",
742 + "conclusion": "SKIPPED",
743 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39947087491/job/120392274640",
744 + "name": "Dependency review",
745 + "startedAt": "2026-10-23T11:35:00Z",
746 + "status": "COMPLETED",
747 + "workflowName": "Security checks"
748 + },
749 + {
750 + "__typename": "CheckRun",
751 + "completedAt": "2026-10-23T11:35:40Z",
752 + "conclusion": "SUCCESS",
753 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39947087556/job/120392273115",
754 + "name": "c8-policy-database",
755 + "startedAt": "2026-10-23T11:35:03Z",
756 + "status": "COMPLETED",
757 + "workflowName": "Quality checks"
758 + },
759 + {
760 + "__typename": "CheckRun",
761 + "completedAt": "2026-10-23T11:35:35Z",
762 + "conclusion": "SUCCESS",
763 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39947087556/job/120392272681",
764 + "name": "d1-request-database",
765 + "startedAt": "2026-10-23T11:35:03Z",
766 + "status": "COMPLETED",
767 + "workflowName": "Quality checks"
768 + },
769 + {
770 + "__typename": "CheckRun",
771 + "completedAt": "2026-10-23T11:38:53Z",
772 + "conclusion": "SKIPPED",
773 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
774 + "name": "Supabase Preview",
775 + "startedAt": "2026-10-23T11:38:53Z",
776 + "status": "COMPLETED",
777 + "workflowName": ""
778 + },
779 + {
780 + "__typename": "CheckRun",
781 + "completedAt": "2026-10-23T11:36:03Z",
782 + "conclusion": "SUCCESS",
783 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120392656074",
784 + "name": "CodeQL",
785 + "startedAt": "2026-10-23T11:35:59Z",
786 + "status": "COMPLETED",
787 + "workflowName": ""
788 + }
789 + ],
790 + "title": "[STAGE 3.3 RED / DO NOT MERGE] Explicit server-only purchase finalization",
791 + "updatedAt": "2026-10-23T11:39:33Z",
792 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/172"
793 + },
794 + {
795 + "baseRefName": "work/finora-stage3-enforce-sale-green-20261023",
796 + "headRefName": "fix/finora-stage3-posted-source-immutable-20261023",
797 + "headRefOid": "463a40c99b05adcb18071ab4dcb9d4f487f26b98",
798 + "isDraft": true,
799 + "mergeStateStatus": "CLEAN",
800 + "mergeable": "MERGEABLE",
801 + "number": 171,
802 + "statusCheckRollup": [
803 + {
804 + "__typename": "CheckRun",
805 + "completedAt": "2026-10-23T11:29:10Z",
806 + "conclusion": "SUCCESS",
807 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946109750/job/120389059712",
808 + "name": "stage22-real-stack (NOT harness)",
809 + "startedAt": "2026-10-23T11:26:44Z",
810 + "status": "COMPLETED",
811 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
812 + },
813 + {
814 + "__typename": "CheckRun",
815 + "completedAt": "2026-10-23T11:31:07Z",
816 + "conclusion": "SUCCESS",
817 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946116593/job/120389411511",
818 + "name": "static-quality",
819 + "startedAt": "2026-10-23T11:27:39Z",
820 + "status": "COMPLETED",
821 + "workflowName": "Quality checks"
822 + },
823 + {
824 + "__typename": "CheckRun",
825 + "completedAt": "2026-10-23T11:26:55Z",
826 + "conclusion": "SUCCESS",
827 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946116539/job/120389079982",
828 + "name": "Release and QA safety invariants",
829 + "startedAt": "2026-10-23T11:26:48Z",
830 + "status": "COMPLETED",
831 + "workflowName": "Security checks"
832 + },
833 + {
834 + "__typename": "CheckRun",
835 + "completedAt": "2026-10-23T11:36:07Z",
836 + "conclusion": "SUCCESS",
837 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946109750/job/120389059677",
838 + "name": "client-compat-positive-stage2",
839 + "startedAt": "2026-10-23T11:26:45Z",
840 + "status": "COMPLETED",
841 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
842 + },
843 + {
844 + "__typename": "CheckRun",
845 + "completedAt": "2026-10-23T11:28:05Z",
846 + "conclusion": "SUCCESS",
847 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946116593/job/120389411724",
848 + "name": "identity-wave5a-database",
849 + "startedAt": "2026-10-23T11:27:39Z",
850 + "status": "COMPLETED",
851 + "workflowName": "Quality checks"
852 + },
853 + {
854 + "__typename": "CheckRun",
855 + "completedAt": "2026-10-23T11:28:00Z",
856 + "conclusion": "SUCCESS",
857 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946116539/job/120389080118",
858 + "name": "CodeQL JavaScript",
859 + "startedAt": "2026-10-23T11:26:48Z",
860 + "status": "COMPLETED",
861 + "workflowName": "Security checks"
862 + },
863 + {
864 + "__typename": "CheckRun",
865 + "completedAt": "2026-10-23T11:26:45Z",
866 + "conclusion": "SKIPPED",
867 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946116539/job/120389081258",
868 + "name": "Dependency review",
869 + "startedAt": "2026-10-23T11:26:45Z",
870 + "status": "COMPLETED",
871 + "workflowName": "Security checks"
872 + },
873 + {
874 + "__typename": "CheckRun",
875 + "completedAt": "2026-10-23T11:28:28Z",
876 + "conclusion": "SUCCESS",
877 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946109750/job/120389059696",
878 + "name": "stage22-exact-head-parity (snapshot NOT live Production)",
879 + "startedAt": "2026-10-23T11:26:44Z",
880 + "status": "COMPLETED",
881 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
882 + },
883 + {
884 + "__typename": "CheckRun",
885 + "completedAt": "2026-10-23T11:28:06Z",
886 + "conclusion": "SUCCESS",
887 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946116593/job/120389411676",
888 + "name": "c8-policy-database",
889 + "startedAt": "2026-10-23T11:27:39Z",
890 + "status": "COMPLETED",
891 + "workflowName": "Quality checks"
892 + },
893 + {
894 + "__typename": "CheckRun",
895 + "completedAt": "2026-10-23T11:28:28Z",
896 + "conclusion": "SUCCESS",
897 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946109750/job/120389059755",
898 + "name": "Stage 1 local UP-DOWN-UP preserves versions/data (NOT Production rollback)",
899 + "startedAt": "2026-10-23T11:26:45Z",
900 + "status": "COMPLETED",
901 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
902 + },
903 + {
904 + "__typename": "CheckRun",
905 + "completedAt": "2026-10-23T11:28:17Z",
906 + "conclusion": "SUCCESS",
907 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946116593/job/120389411778",
908 + "name": "d1-request-database",
909 + "startedAt": "2026-10-23T11:27:39Z",
910 + "status": "COMPLETED",
911 + "workflowName": "Quality checks"
912 + },
913 + {
914 + "__typename": "CheckRun",
915 + "completedAt": "2026-10-23T11:29:12Z",
916 + "conclusion": "SUCCESS",
917 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39946109750/job/120389059669",
918 + "name": "Real UI sale-purchase payload vs independent SQL-v1",
919 + "startedAt": "2026-10-23T11:26:44Z",
920 + "status": "COMPLETED",
921 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
922 + },
923 + {
924 + "__typename": "CheckRun",
925 + "completedAt": "2026-10-23T11:33:36Z",
926 + "conclusion": "SKIPPED",
927 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
928 + "name": "Supabase Preview",
929 + "startedAt": "2026-10-23T11:33:36Z",
930 + "status": "COMPLETED",
931 + "workflowName": ""
932 + },
933 + {
934 + "__typename": "CheckRun",
935 + "completedAt": "2026-10-23T11:27:52Z",
936 + "conclusion": "SUCCESS",
937 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120389495559",
938 + "name": "CodeQL",
939 + "startedAt": "2026-10-23T11:27:49Z",
940 + "status": "COMPLETED",
941 + "workflowName": ""
942 + }
943 + ],
944 + "title": "[SECURITY HOLD / DO NOT MERGE] Freeze posted source records under ENFORCE",
945 + "updatedAt": "2026-10-23T11:37:06Z",
946 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/171"
947 + },
948 + {
949 + "baseRefName": "work/finora-stage3-payload-green-20261023",
950 + "headRefName": "audit/finora-stage3-legacy-source-readonly-20261023",
951 + "headRefOid": "283af3e2e65ca6511b08ded9dac6774c35a54798",
952 + "isDraft": true,
953 + "mergeStateStatus": "CLEAN",
954 + "mergeable": "MERGEABLE",
955 + "number": 170,
956 + "statusCheckRollup": [
957 + {
958 + "__typename": "CheckRun",
959 + "completedAt": "2026-10-23T07:53:18Z",
960 + "conclusion": "SUCCESS",
961 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920782208/job/120305205678",
962 + "name": "legacy-source-contract-audit",
963 + "startedAt": "2026-10-23T07:53:13Z",
964 + "status": "COMPLETED",
965 + "workflowName": "FINORA Stage3 legacy read-only source readiness"
966 + },
967 + {
968 + "__typename": "CheckRun",
969 + "completedAt": "2026-10-23T07:56:19Z",
970 + "conclusion": "SUCCESS",
971 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787979/job/120305225173",
972 + "name": "static-quality",
973 + "startedAt": "2026-10-23T07:53:17Z",
974 + "status": "COMPLETED",
975 + "workflowName": "Quality checks"
976 + },
977 + {
978 + "__typename": "CheckRun",
979 + "completedAt": "2026-10-23T07:53:24Z",
980 + "conclusion": "SUCCESS",
981 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787932/job/120305224637",
982 + "name": "Release and QA safety invariants",
983 + "startedAt": "2026-10-23T07:53:17Z",
984 + "status": "COMPLETED",
985 + "workflowName": "Security checks"
986 + },
987 + {
988 + "__typename": "CheckRun",
989 + "completedAt": "2026-10-23T07:53:50Z",
990 + "conclusion": "SUCCESS",
991 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787979/job/120305225613",
992 + "name": "identity-wave5a-database",
993 + "startedAt": "2026-10-23T07:53:17Z",
994 + "status": "COMPLETED",
995 + "workflowName": "Quality checks"
996 + },
997 + {
998 + "__typename": "CheckRun",
999 + "completedAt": "2026-10-23T07:54:24Z",
1000 + "conclusion": "SUCCESS",
1001 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787932/job/120305225005",
1002 + "name": "CodeQL JavaScript",
1003 + "startedAt": "2026-10-23T07:53:17Z",
1004 + "status": "COMPLETED",
1005 + "workflowName": "Security checks"
1006 + },
1007 + {
1008 + "__typename": "CheckRun",
1009 + "completedAt": "2026-10-23T07:53:14Z",
1010 + "conclusion": "SKIPPED",
1011 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787932/job/120305227033",
1012 + "name": "Dependency review",
1013 + "startedAt": "2026-10-23T07:53:14Z",
1014 + "status": "COMPLETED",
1015 + "workflowName": "Security checks"
1016 + },
1017 + {
1018 + "__typename": "CheckRun",
1019 + "completedAt": "2026-10-23T07:53:47Z",
1020 + "conclusion": "SUCCESS",
1021 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787979/job/120305225604",
1022 + "name": "c8-policy-database",
1023 + "startedAt": "2026-10-23T07:53:17Z",
1024 + "status": "COMPLETED",
1025 + "workflowName": "Quality checks"
1026 + },
1027 + {
1028 + "__typename": "CheckRun",
1029 + "completedAt": "2026-10-23T07:53:55Z",
1030 + "conclusion": "SUCCESS",
1031 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787979/job/120305225656",
1032 + "name": "d1-request-database",
1033 + "startedAt": "2026-10-23T07:53:17Z",
1034 + "status": "COMPLETED",
1035 + "workflowName": "Quality checks"
1036 + },
1037 + {
1038 + "__typename": "CheckRun",
1039 + "completedAt": "2026-10-23T07:53:10Z",
1040 + "conclusion": "SKIPPED",
1041 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
1042 + "name": "Supabase Preview",
1043 + "startedAt": "2026-10-23T07:53:10Z",
1044 + "status": "COMPLETED",
1045 + "workflowName": ""
1046 + },
1047 + {
1048 + "__typename": "CheckRun",
1049 + "completedAt": "2026-10-23T07:54:17Z",
1050 + "conclusion": "SUCCESS",
1051 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120305586211",
1052 + "name": "CodeQL",
1053 + "startedAt": "2026-10-23T07:54:14Z",
1054 + "status": "COMPLETED",
1055 + "workflowName": ""
1056 + }
1057 + ],
1058 + "title": "[READ-ONLY / DO NOT MERGE] Stage3 historical source VAT/currency reconciliation gate",
1059 + "updatedAt": "2026-10-23T07:53:09Z",
1060 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/170"
1061 + },
1062 + {
1063 + "baseRefName": "work/finora-stage3-payload-green-20261023",
1064 + "headRefName": "test/finora-stage3-jwt-source-post-20261023",
1065 + "headRefOid": "72549ca8928fb1a97acca68b6ed5a029c9974578",
1066 + "isDraft": true,
1067 + "mergeStateStatus": "CLEAN",
1068 + "mergeable": "MERGEABLE",
1069 + "number": 169,
1070 + "statusCheckRollup": [
1071 + {
1072 + "__typename": "CheckRun",
1073 + "completedAt": "2026-10-23T07:36:58Z",
1074 + "conclusion": "SUCCESS",
1075 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918693639/job/120298364483",
1076 + "name": "stage22-real-stack (NOT harness)",
1077 + "startedAt": "2026-10-23T07:34:47Z",
1078 + "status": "COMPLETED",
1079 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1080 + },
1081 + {
1082 + "__typename": "CheckRun",
1083 + "completedAt": "2026-10-23T07:38:21Z",
1084 + "conclusion": "SUCCESS",
1085 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918699755/job/120298385108",
1086 + "name": "static-quality",
1087 + "startedAt": "2026-10-23T07:34:49Z",
1088 + "status": "COMPLETED",
1089 + "workflowName": "Quality checks"
1090 + },
1091 + {
1092 + "__typename": "CheckRun",
1093 + "completedAt": "2026-10-23T07:34:54Z",
1094 + "conclusion": "SUCCESS",
1095 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918699766/job/120298384244",
1096 + "name": "Release and QA safety invariants",
1097 + "startedAt": "2026-10-23T07:34:49Z",
1098 + "status": "COMPLETED",
1099 + "workflowName": "Security checks"
1100 + },
1101 + {
1102 + "__typename": "CheckRun",
1103 + "completedAt": "2026-10-23T07:45:24Z",
1104 + "conclusion": "SUCCESS",
1105 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918693639/job/120298364504",
1106 + "name": "client-compat-positive-stage2",
1107 + "startedAt": "2026-10-23T07:34:46Z",
1108 + "status": "COMPLETED",
1109 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1110 + },
1111 + {
1112 + "__typename": "CheckRun",
1113 + "completedAt": "2026-10-23T07:35:18Z",
1114 + "conclusion": "SUCCESS",
1115 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918699755/job/120298384734",
1116 + "name": "identity-wave5a-database",
1117 + "startedAt": "2026-10-23T07:34:50Z",
1118 + "status": "COMPLETED",
1119 + "workflowName": "Quality checks"
1120 + },
1121 + {
1122 + "__typename": "CheckRun",
1123 + "completedAt": "2026-10-23T07:35:56Z",
1124 + "conclusion": "SUCCESS",
1125 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918699766/job/120298384615",
1126 + "name": "CodeQL JavaScript",
1127 + "startedAt": "2026-10-23T07:34:50Z",
1128 + "status": "COMPLETED",
1129 + "workflowName": "Security checks"
1130 + },
1131 + {
1132 + "__typename": "CheckRun",
1133 + "completedAt": "2026-10-23T07:34:47Z",
1134 + "conclusion": "SKIPPED",
1135 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918699766/job/120298386339",
1136 + "name": "Dependency review",
1137 + "startedAt": "2026-10-23T07:34:47Z",
1138 + "status": "COMPLETED",
1139 + "workflowName": "Security checks"
1140 + },
1141 + {
1142 + "__typename": "CheckRun",
1143 + "completedAt": "2026-10-23T07:36:37Z",
1144 + "conclusion": "SUCCESS",
1145 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918693639/job/120298364235",
1146 + "name": "stage22-exact-head-parity (snapshot NOT live Production)",
1147 + "startedAt": "2026-10-23T07:34:46Z",
1148 + "status": "COMPLETED",
1149 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1150 + },
1151 + {
1152 + "__typename": "CheckRun",
1153 + "completedAt": "2026-10-23T07:35:24Z",
1154 + "conclusion": "SUCCESS",
1155 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918699755/job/120298385008",
1156 + "name": "c8-policy-database",
1157 + "startedAt": "2026-10-23T07:34:50Z",
1158 + "status": "COMPLETED",
1159 + "workflowName": "Quality checks"
1160 + },
1161 + {
1162 + "__typename": "CheckRun",
1163 + "completedAt": "2026-10-23T07:36:25Z",
1164 + "conclusion": "SUCCESS",
1165 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918693639/job/120298364454",
1166 + "name": "Stage 1 local UP-DOWN-UP preserves versions/data (NOT Production rollback)",
1167 + "startedAt": "2026-10-23T07:34:46Z",
1168 + "status": "COMPLETED",
1169 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1170 + },
1171 + {
1172 + "__typename": "CheckRun",
1173 + "completedAt": "2026-10-23T07:35:23Z",
1174 + "conclusion": "SUCCESS",
1175 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918699755/job/120298385167",
1176 + "name": "d1-request-database",
1177 + "startedAt": "2026-10-23T07:34:50Z",
1178 + "status": "COMPLETED",
1179 + "workflowName": "Quality checks"
1180 + },
1181 + {
1182 + "__typename": "CheckRun",
1183 + "completedAt": "2026-10-23T07:37:16Z",
1184 + "conclusion": "SUCCESS",
1185 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39918693639/job/120298364430",
1186 + "name": "Real UI sale-purchase payload vs independent SQL-v1",
1187 + "startedAt": "2026-10-23T07:34:46Z",
1188 + "status": "COMPLETED",
1189 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1190 + },
1191 + {
1192 + "__typename": "CheckRun",
1193 + "completedAt": "2026-10-23T07:34:42Z",
1194 + "conclusion": "SKIPPED",
1195 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
1196 + "name": "Supabase Preview",
1197 + "startedAt": "2026-10-23T07:34:42Z",
1198 + "status": "COMPLETED",
1199 + "workflowName": ""
1200 + },
1201 + {
1202 + "__typename": "CheckRun",
1203 + "completedAt": "2026-10-23T07:35:48Z",
1204 + "conclusion": "SUCCESS",
1205 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120298749415",
1206 + "name": "CodeQL",
1207 + "startedAt": "2026-10-23T07:35:46Z",
1208 + "status": "COMPLETED",
1209 + "workflowName": ""
1210 + }
1211 + ],
1212 + "title": "[CI ONLY / DO NOT MERGE] Stage3 genuine JWT source-post acceptance gate",
1213 + "updatedAt": "2026-10-23T07:45:49Z",
1214 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/169"
1215 + },
1216 + {
1217 + "baseRefName": "feature/finora-stage3-enforce-invoice-rpc-20261023",
1218 + "headRefName": "work/finora-stage3-enforce-sale-green-20261023",
1219 + "headRefOid": "16f339802bf7c564e28e901cf6b4bdec76df3ca4",
1220 + "isDraft": true,
1221 + "mergeStateStatus": "UNSTABLE",
1222 + "mergeable": "MERGEABLE",
1223 + "number": 168,
1224 + "statusCheckRollup": [
1225 + {
1226 + "__typename": "CheckRun",
1227 + "completedAt": "2026-10-22T23:59:40Z",
1228 + "conclusion": "FAILURE",
1229 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874878306/job/120158113750",
1230 + "name": "static-quality",
1231 + "startedAt": "2026-10-22T23:55:46Z",
1232 + "status": "COMPLETED",
1233 + "workflowName": "Quality checks"
1234 + },
1235 + {
1236 + "__typename": "CheckRun",
1237 + "completedAt": "2026-10-23T00:04:52Z",
1238 + "conclusion": "SUCCESS",
1239 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874873446/job/120157913019",
1240 + "name": "stage22-real-stack (NOT harness)",
1241 + "startedAt": "2026-10-22T23:55:11Z",
1242 + "status": "COMPLETED",
1243 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1244 + },
1245 + {
1246 + "__typename": "CheckRun",
1247 + "completedAt": "2026-10-22T23:55:39Z",
1248 + "conclusion": "SUCCESS",
1249 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874878246/job/120158023675",
1250 + "name": "Release and QA safety invariants",
1251 + "startedAt": "2026-10-22T23:55:30Z",
1252 + "status": "COMPLETED",
1253 + "workflowName": "Security checks"
1254 + },
1255 + {
1256 + "__typename": "CheckRun",
1257 + "completedAt": "2026-10-22T23:57:46Z",
1258 + "conclusion": "SUCCESS",
1259 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874873446/job/120157913008",
1260 + "name": "client-compat-positive-stage2",
1261 + "startedAt": "2026-10-22T23:55:10Z",
1262 + "status": "COMPLETED",
1263 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1264 + },
1265 + {
1266 + "__typename": "CheckRun",
1267 + "completedAt": "2026-10-22T23:56:10Z",
1268 + "conclusion": "SUCCESS",
1269 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874878306/job/120158113674",
1270 + "name": "identity-wave5a-database",
1271 + "startedAt": "2026-10-22T23:55:46Z",
1272 + "status": "COMPLETED",
1273 + "workflowName": "Quality checks"
1274 + },
1275 + {
1276 + "__typename": "CheckRun",
1277 + "completedAt": "2026-10-22T23:56:42Z",
1278 + "conclusion": "SUCCESS",
1279 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874878246/job/120158023419",
1280 + "name": "CodeQL JavaScript",
1281 + "startedAt": "2026-10-22T23:55:30Z",
1282 + "status": "COMPLETED",
1283 + "workflowName": "Security checks"
1284 + },
1285 + {
1286 + "__typename": "CheckRun",
1287 + "completedAt": "2026-10-22T23:55:27Z",
1288 + "conclusion": "SKIPPED",
1289 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874878246/job/120158025337",
1290 + "name": "Dependency review",
1291 + "startedAt": "2026-10-22T23:55:27Z",
1292 + "status": "COMPLETED",
1293 + "workflowName": "Security checks"
1294 + },
1295 + {
1296 + "__typename": "CheckRun",
1297 + "completedAt": "2026-10-22T23:56:58Z",
1298 + "conclusion": "SUCCESS",
1299 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874873446/job/120157912819",
1300 + "name": "stage22-exact-head-parity (snapshot NOT live Production)",
1301 + "startedAt": "2026-10-22T23:55:10Z",
1302 + "status": "COMPLETED",
1303 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1304 + },
1305 + {
1306 + "__typename": "CheckRun",
1307 + "completedAt": "2026-10-22T23:56:41Z",
1308 + "conclusion": "SUCCESS",
1309 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874878306/job/120158113663",
1310 + "name": "c8-policy-database",
1311 + "startedAt": "2026-10-22T23:55:46Z",
1312 + "status": "COMPLETED",
1313 + "workflowName": "Quality checks"
1314 + },
1315 + {
1316 + "__typename": "CheckRun",
1317 + "completedAt": "2026-10-22T23:57:02Z",
1318 + "conclusion": "SUCCESS",
1319 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874873446/job/120157912600",
1320 + "name": "Stage 1 local UP-DOWN-UP preserves versions/data (NOT Production rollback)",
1321 + "startedAt": "2026-10-22T23:55:10Z",
1322 + "status": "COMPLETED",
1323 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1324 + },
1325 + {
1326 + "__typename": "CheckRun",
1327 + "completedAt": "2026-10-22T23:56:23Z",
1328 + "conclusion": "SUCCESS",
1329 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874878306/job/120158113458",
1330 + "name": "d1-request-database",
1331 + "startedAt": "2026-10-22T23:55:46Z",
1332 + "status": "COMPLETED",
1333 + "workflowName": "Quality checks"
1334 + },
1335 + {
1336 + "__typename": "CheckRun",
1337 + "completedAt": "2026-10-22T23:57:32Z",
1338 + "conclusion": "FAILURE",
1339 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874873446/job/120157912883",
1340 + "name": "Real UI sale-purchase payload vs independent SQL-v1",
1341 + "startedAt": "2026-10-22T23:55:10Z",
1342 + "status": "COMPLETED",
1343 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1344 + },
1345 + {
1346 + "__typename": "CheckRun",
1347 + "completedAt": "2026-10-23T11:17:18Z",
1348 + "conclusion": "SKIPPED",
1349 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
1350 + "name": "Supabase Preview",
1351 + "startedAt": "2026-10-23T11:17:18Z",
1352 + "status": "COMPLETED",
1353 + "workflowName": ""
1354 + },
1355 + {
1356 + "__typename": "CheckRun",
1357 + "completedAt": "2026-10-22T23:56:33Z",
1358 + "conclusion": "SUCCESS",
1359 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120158382055",
1360 + "name": "CodeQL",
1361 + "startedAt": "2026-10-22T23:56:31Z",
1362 + "status": "COMPLETED",
1363 + "workflowName": ""
1364 + }
1365 + ],
1366 + "title": "[STAGE 3.2 IMPLEMENTATION / DO NOT MERGE] Sale finalize guard ENFORCE → server RPC",
1367 + "updatedAt": "2026-10-22T23:55:06Z",
1368 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/168"
1369 + },
1370 + {
1371 + "baseRefName": "qa/finora-stage3-ui-jwt-autopost-20261023",
1372 + "headRefName": "feature/finora-stage3-enforce-invoice-rpc-20261023",
1373 + "headRefOid": "a71cefd97467a8c85bbc4c88c5a6ddd0b67ec980",
1374 + "isDraft": true,
1375 + "mergeStateStatus": "UNSTABLE",
1376 + "mergeable": "MERGEABLE",
1377 + "number": 167,
1378 + "statusCheckRollup": [
1379 + {
1380 + "__typename": "CheckRun",
1381 + "completedAt": "2026-10-22T23:53:40Z",
1382 + "conclusion": "FAILURE",
1383 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874389144/job/120156311646",
1384 + "name": "static-quality",
1385 + "startedAt": "2026-10-22T23:50:32Z",
1386 + "status": "COMPLETED",
1387 + "workflowName": "Quality checks"
1388 + },
1389 + {
1390 + "__typename": "CheckRun",
1391 + "completedAt": "2026-10-22T23:50:36Z",
1392 + "conclusion": "SUCCESS",
1393 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874389386/job/120156311410",
1394 + "name": "Release and QA safety invariants",
1395 + "startedAt": "2026-10-22T23:50:32Z",
1396 + "status": "COMPLETED",
1397 + "workflowName": "Security checks"
1398 + },
1399 + {
1400 + "__typename": "CheckRun",
1401 + "completedAt": "2026-10-22T23:51:05Z",
1402 + "conclusion": "SUCCESS",
1403 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874389144/job/120156311633",
1404 + "name": "identity-wave5a-database",
1405 + "startedAt": "2026-10-22T23:50:32Z",
1406 + "status": "COMPLETED",
1407 + "workflowName": "Quality checks"
1408 + },
1409 + {
1410 + "__typename": "CheckRun",
1411 + "completedAt": "2026-10-22T23:51:38Z",
1412 + "conclusion": "SUCCESS",
1413 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874389386/job/120156311690",
1414 + "name": "CodeQL JavaScript",
1415 + "startedAt": "2026-10-22T23:50:32Z",
1416 + "status": "COMPLETED",
1417 + "workflowName": "Security checks"
1418 + },
1419 + {
1420 + "__typename": "CheckRun",
1421 + "completedAt": "2026-10-22T23:50:29Z",
1422 + "conclusion": "SKIPPED",
1423 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874389386/job/120156312918",
1424 + "name": "Dependency review",
1425 + "startedAt": "2026-10-22T23:50:29Z",
1426 + "status": "COMPLETED",
1427 + "workflowName": "Security checks"
1428 + },
1429 + {
1430 + "__typename": "CheckRun",
1431 + "completedAt": "2026-10-22T23:51:01Z",
1432 + "conclusion": "SUCCESS",
1433 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874389144/job/120156311618",
1434 + "name": "c8-policy-database",
1435 + "startedAt": "2026-10-22T23:50:32Z",
1436 + "status": "COMPLETED",
1437 + "workflowName": "Quality checks"
1438 + },
1439 + {
1440 + "__typename": "CheckRun",
1441 + "completedAt": "2026-10-22T23:51:12Z",
1442 + "conclusion": "SUCCESS",
1443 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39874389144/job/120156311348",
1444 + "name": "d1-request-database",
1445 + "startedAt": "2026-10-22T23:50:32Z",
1446 + "status": "COMPLETED",
1447 + "workflowName": "Quality checks"
1448 + },
1449 + {
1450 + "__typename": "CheckRun",
1451 + "completedAt": "2026-10-22T23:51:23Z",
1452 + "conclusion": "SKIPPED",
1453 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
1454 + "name": "Supabase Preview",
1455 + "startedAt": "2026-10-22T23:51:23Z",
1456 + "status": "COMPLETED",
1457 + "workflowName": ""
1458 + },
1459 + {
1460 + "__typename": "CheckRun",
1461 + "completedAt": "2026-10-22T23:51:32Z",
1462 + "conclusion": "SUCCESS",
1463 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120156653871",
1464 + "name": "CodeQL",
1465 + "startedAt": "2026-10-22T23:51:29Z",
1466 + "status": "COMPLETED",
1467 + "workflowName": ""
1468 + }
1469 + ],
1470 + "title": "[STAGE 3.2 / DO NOT MERGE] Guarded sale invoice server source-post cutover",
1471 + "updatedAt": "2026-10-22T23:50:26Z",
1472 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/167"
1473 + },
1474 + {
1475 + "baseRefName": "work/finora-stage3-payload-green-20261023",
1476 + "headRefName": "qa/finora-stage3-ui-jwt-autopost-20261023",
1477 + "headRefOid": "beed004490e377317930a5946020cf82835e6215",
1478 + "isDraft": true,
1479 + "mergeStateStatus": "UNSTABLE",
1480 + "mergeable": "MERGEABLE",
1481 + "number": 166,
1482 + "statusCheckRollup": [
1483 + {
1484 + "__typename": "CheckRun",
1485 + "completedAt": "2026-10-22T23:48:10Z",
1486 + "conclusion": "SUCCESS",
1487 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873762170/job/120154608140",
1488 + "name": "stage22-real-stack (NOT harness)",
1489 + "startedAt": "2026-10-22T23:45:38Z",
1490 + "status": "COMPLETED",
1491 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1492 + },
1493 + {
1494 + "__typename": "CheckRun",
1495 + "completedAt": "2026-10-22T23:49:18Z",
1496 + "conclusion": "SUCCESS",
1497 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873765736/job/120154611936",
1498 + "name": "static-quality",
1499 + "startedAt": "2026-10-22T23:45:38Z",
1500 + "status": "COMPLETED",
1501 + "workflowName": "Quality checks"
1502 + },
1503 + {
1504 + "__typename": "CheckRun",
1505 + "completedAt": "2026-10-22T23:44:40Z",
1506 + "conclusion": "SUCCESS",
1507 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873765710/job/120154237770",
1508 + "name": "Release and QA safety invariants",
1509 + "startedAt": "2026-10-22T23:44:35Z",
1510 + "status": "COMPLETED",
1511 + "workflowName": "Security checks"
1512 + },
1513 + {
1514 + "__typename": "CheckRun",
1515 + "completedAt": "2026-10-22T23:47:57Z",
1516 + "conclusion": "SUCCESS",
1517 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873762170/job/120154608218",
1518 + "name": "client-compat-positive-stage2",
1519 + "startedAt": "2026-10-22T23:45:38Z",
1520 + "status": "COMPLETED",
1521 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1522 + },
1523 + {
1524 + "__typename": "CheckRun",
1525 + "completedAt": "2026-10-22T23:46:56Z",
1526 + "conclusion": "SUCCESS",
1527 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873765736/job/120154611509",
1528 + "name": "identity-wave5a-database",
1529 + "startedAt": "2026-10-22T23:45:39Z",
1530 + "status": "COMPLETED",
1531 + "workflowName": "Quality checks"
1532 + },
1533 + {
1534 + "__typename": "CheckRun",
1535 + "completedAt": "2026-10-22T23:45:44Z",
1536 + "conclusion": "SUCCESS",
1537 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873765710/job/120154237466",
1538 + "name": "CodeQL JavaScript",
1539 + "startedAt": "2026-10-22T23:44:35Z",
1540 + "status": "COMPLETED",
1541 + "workflowName": "Security checks"
1542 + },
1543 + {
1544 + "__typename": "CheckRun",
1545 + "completedAt": "2026-10-22T23:44:32Z",
1546 + "conclusion": "SKIPPED",
1547 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873765710/job/120154238856",
1548 + "name": "Dependency review",
1549 + "startedAt": "2026-10-22T23:44:32Z",
1550 + "status": "COMPLETED",
1551 + "workflowName": "Security checks"
1552 + },
1553 + {
1554 + "__typename": "CheckRun",
1555 + "completedAt": "2026-10-22T23:47:30Z",
1556 + "conclusion": "SUCCESS",
1557 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873762170/job/120154608130",
1558 + "name": "stage22-exact-head-parity (snapshot NOT live Production)",
1559 + "startedAt": "2026-10-22T23:45:38Z",
1560 + "status": "COMPLETED",
1561 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1562 + },
1563 + {
1564 + "__typename": "CheckRun",
1565 + "completedAt": "2026-10-22T23:46:13Z",
1566 + "conclusion": "SUCCESS",
1567 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873765736/job/120154611730",
1568 + "name": "c8-policy-database",
1569 + "startedAt": "2026-10-22T23:45:39Z",
1570 + "status": "COMPLETED",
1571 + "workflowName": "Quality checks"
1572 + },
1573 + {
1574 + "__typename": "CheckRun",
1575 + "completedAt": "2026-10-22T23:47:38Z",
1576 + "conclusion": "SUCCESS",
1577 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873762170/job/120154607955",
1578 + "name": "Stage 1 local UP-DOWN-UP preserves versions/data (NOT Production rollback)",
1579 + "startedAt": "2026-10-22T23:45:38Z",
1580 + "status": "COMPLETED",
1581 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1582 + },
1583 + {
1584 + "__typename": "CheckRun",
1585 + "completedAt": "2026-10-22T23:46:46Z",
1586 + "conclusion": "SUCCESS",
1587 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873765736/job/120154611840",
1588 + "name": "d1-request-database",
1589 + "startedAt": "2026-10-22T23:45:39Z",
1590 + "status": "COMPLETED",
1591 + "workflowName": "Quality checks"
1592 + },
1593 + {
1594 + "__typename": "CheckRun",
1595 + "completedAt": "2026-10-22T23:47:56Z",
1596 + "conclusion": "FAILURE",
1597 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39873762170/job/120154608122",
1598 + "name": "Real UI sale-purchase payload vs independent SQL-v1",
1599 + "startedAt": "2026-10-22T23:45:38Z",
1600 + "status": "COMPLETED",
1601 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1602 + },
1603 + {
1604 + "__typename": "CheckRun",
1605 + "completedAt": "2026-10-22T23:47:24Z",
1606 + "conclusion": "SKIPPED",
1607 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
1608 + "name": "Supabase Preview",
1609 + "startedAt": "2026-10-22T23:47:24Z",
1610 + "status": "COMPLETED",
1611 + "workflowName": ""
1612 + },
1613 + {
1614 + "__typename": "CheckRun",
1615 + "completedAt": "2026-10-22T23:45:37Z",
1616 + "conclusion": "SUCCESS",
1617 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120154599386",
1618 + "name": "CodeQL",
1619 + "startedAt": "2026-10-22T23:45:34Z",
1620 + "status": "COMPLETED",
1621 + "workflowName": ""
1622 + }
1623 + ],
1624 + "title": "[STAGE 3 QA / DO NOT MERGE] Real JWT source-post E2E on synthetic UI records",
1625 + "updatedAt": "2026-10-22T23:44:28Z",
1626 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/166"
1627 + },
1628 + {
1629 + "baseRefName": "feature/finora-stage2-manual-canary-20261017",
1630 + "headRefName": "work/finora-stage3-payload-green-20261023",
1631 + "headRefOid": "b1d290f1ce4d80c2ffaf84508062999bd2edfcfd",
1632 + "isDraft": true,
1633 + "mergeStateStatus": "CLEAN",
1634 + "mergeable": "MERGEABLE",
1635 + "number": 165,
1636 + "statusCheckRollup": [
1637 + {
1638 + "__typename": "CheckRun",
1639 + "completedAt": "2026-10-22T23:30:43Z",
1640 + "conclusion": "SUCCESS",
1641 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872017215/job/120148464359",
1642 + "name": "stage22-real-stack (NOT harness)",
1643 + "startedAt": "2026-10-22T23:28:35Z",
1644 + "status": "COMPLETED",
1645 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1646 + },
1647 + {
1648 + "__typename": "CheckRun",
1649 + "completedAt": "2026-10-22T23:32:22Z",
1650 + "conclusion": "SUCCESS",
1651 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872024703/job/120148489562",
1652 + "name": "static-quality",
1653 + "startedAt": "2026-10-22T23:28:40Z",
1654 + "status": "COMPLETED",
1655 + "workflowName": "Quality checks"
1656 + },
1657 + {
1658 + "__typename": "CheckRun",
1659 + "completedAt": "2026-10-22T23:28:47Z",
1660 + "conclusion": "SUCCESS",
1661 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872024736/job/120148489935",
1662 + "name": "Release and QA safety invariants",
1663 + "startedAt": "2026-10-22T23:28:39Z",
1664 + "status": "COMPLETED",
1665 + "workflowName": "Security checks"
1666 + },
1667 + {
1668 + "__typename": "CheckRun",
1669 + "completedAt": "2026-10-22T23:30:46Z",
1670 + "conclusion": "SUCCESS",
1671 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872017215/job/120148464233",
1672 + "name": "client-compat-positive-stage2",
1673 + "startedAt": "2026-10-22T23:28:35Z",
1674 + "status": "COMPLETED",
1675 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1676 + },
1677 + {
1678 + "__typename": "CheckRun",
1679 + "completedAt": "2026-10-22T23:29:18Z",
1680 + "conclusion": "SUCCESS",
1681 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872024703/job/120148489235",
1682 + "name": "identity-wave5a-database",
1683 + "startedAt": "2026-10-22T23:28:39Z",
1684 + "status": "COMPLETED",
1685 + "workflowName": "Quality checks"
1686 + },
1687 + {
1688 + "__typename": "CheckRun",
1689 + "completedAt": "2026-10-22T23:29:51Z",
1690 + "conclusion": "SUCCESS",
1691 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872024736/job/120148490376",
1692 + "name": "CodeQL JavaScript",
1693 + "startedAt": "2026-10-22T23:28:39Z",
1694 + "status": "COMPLETED",
1695 + "workflowName": "Security checks"
1696 + },
1697 + {
1698 + "__typename": "CheckRun",
1699 + "completedAt": "2026-10-22T23:28:36Z",
1700 + "conclusion": "SKIPPED",
1701 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872024736/job/120148491406",
1702 + "name": "Dependency review",
1703 + "startedAt": "2026-10-22T23:28:37Z",
1704 + "status": "COMPLETED",
1705 + "workflowName": "Security checks"
1706 + },
1707 + {
1708 + "__typename": "CheckRun",
1709 + "completedAt": "2026-10-22T23:30:26Z",
1710 + "conclusion": "SUCCESS",
1711 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872017215/job/120148464422",
1712 + "name": "stage22-exact-head-parity (snapshot NOT live Production)",
1713 + "startedAt": "2026-10-22T23:28:35Z",
1714 + "status": "COMPLETED",
1715 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1716 + },
1717 + {
1718 + "__typename": "CheckRun",
1719 + "completedAt": "2026-10-22T23:29:06Z",
1720 + "conclusion": "SUCCESS",
1721 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872024703/job/120148489077",
1722 + "name": "c8-policy-database",
1723 + "startedAt": "2026-10-22T23:28:39Z",
1724 + "status": "COMPLETED",
1725 + "workflowName": "Quality checks"
1726 + },
1727 + {
1728 + "__typename": "CheckRun",
1729 + "completedAt": "2026-10-22T23:30:20Z",
1730 + "conclusion": "SUCCESS",
1731 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872017215/job/120148464400",
1732 + "name": "Stage 1 local UP-DOWN-UP preserves versions/data (NOT Production rollback)",
1733 + "startedAt": "2026-10-22T23:28:35Z",
1734 + "status": "COMPLETED",
1735 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1736 + },
1737 + {
1738 + "__typename": "CheckRun",
1739 + "completedAt": "2026-10-22T23:29:17Z",
1740 + "conclusion": "SUCCESS",
1741 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872024703/job/120148488960",
1742 + "name": "d1-request-database",
1743 + "startedAt": "2026-10-22T23:28:39Z",
1744 + "status": "COMPLETED",
1745 + "workflowName": "Quality checks"
1746 + },
1747 + {
1748 + "__typename": "CheckRun",
1749 + "completedAt": "2026-10-22T23:30:52Z",
1750 + "conclusion": "SUCCESS",
1751 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39872017215/job/120148464034",
1752 + "name": "Real UI sale-purchase payload vs independent SQL-v1",
1753 + "startedAt": "2026-10-22T23:28:35Z",
1754 + "status": "COMPLETED",
1755 + "workflowName": "FINORA Stage3 payload regression - disposable Supabase"
1756 + },
1757 + {
1758 + "__typename": "CheckRun",
1759 + "completedAt": "2026-10-23T07:38:29Z",
1760 + "conclusion": "SKIPPED",
1761 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
1762 + "name": "Supabase Preview",
1763 + "startedAt": "2026-10-23T07:38:29Z",
1764 + "status": "COMPLETED",
1765 + "workflowName": ""
1766 + },
1767 + {
1768 + "__typename": "CheckRun",
1769 + "completedAt": "2026-10-22T23:29:45Z",
1770 + "conclusion": "SUCCESS",
1771 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120148898927",
1772 + "name": "CodeQL",
1773 + "startedAt": "2026-10-22T23:29:42Z",
1774 + "status": "COMPLETED",
1775 + "workflowName": ""
1776 + }
1777 + ],
1778 + "title": "[STAGE 3 / DO NOT MERGE] Canonical new-source VAT and discount metadata",
1779 + "updatedAt": "2026-10-23T07:51:56Z",
1780 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/165"
1781 + },
1782 + {
1783 + "baseRefName": "feature/finora-stage2-manual-canary-20261017",
1784 + "headRefName": "feature/finora-stage3-commercial-payload-20261023",
1785 + "headRefOid": "69dae3ec7165e30bf8cbdfcc7cebc9f0848c76ad",
1786 + "isDraft": true,
1787 + "mergeStateStatus": "UNSTABLE",
1788 + "mergeable": "MERGEABLE",
1789 + "number": 164,
1790 + "statusCheckRollup": [
1791 + {
1792 + "__typename": "CheckRun",
1793 + "completedAt": "2026-10-22T23:08:55Z",
1794 + "conclusion": "FAILURE",
1795 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39868877199/job/120137969928",
1796 + "name": "static-quality",
1797 + "startedAt": "2026-10-22T23:00:19Z",
1798 + "status": "COMPLETED",
1799 + "workflowName": "Quality checks"
1800 + },
1801 + {
1802 + "__typename": "CheckRun",
1803 + "completedAt": "2026-10-22T23:00:25Z",
1804 + "conclusion": "SUCCESS",
1805 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39868877495/job/120137970670",
1806 + "name": "Release and QA safety invariants",
1807 + "startedAt": "2026-10-22T23:00:19Z",
1808 + "status": "COMPLETED",
1809 + "workflowName": "Security checks"
1810 + },
1811 + {
1812 + "__typename": "CheckRun",
1813 + "completedAt": "2026-10-22T23:00:46Z",
1814 + "conclusion": "SUCCESS",
1815 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39868877199/job/120137969939",
1816 + "name": "identity-wave5a-database",
1817 + "startedAt": "2026-10-22T23:00:19Z",
1818 + "status": "COMPLETED",
1819 + "workflowName": "Quality checks"
1820 + },
1821 + {
1822 + "__typename": "CheckRun",
1823 + "completedAt": "2026-10-22T23:01:37Z",
1824 + "conclusion": "SUCCESS",
1825 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39868877495/job/120137970841",
1826 + "name": "CodeQL JavaScript",
1827 + "startedAt": "2026-10-22T23:00:19Z",
1828 + "status": "COMPLETED",
1829 + "workflowName": "Security checks"
1830 + },
1831 + {
1832 + "__typename": "CheckRun",
1833 + "completedAt": "2026-10-22T23:00:16Z",
1834 + "conclusion": "SKIPPED",
1835 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39868877495/job/120137972322",
1836 + "name": "Dependency review",
1837 + "startedAt": "2026-10-22T23:00:17Z",
1838 + "status": "COMPLETED",
1839 + "workflowName": "Security checks"
1840 + },
1841 + {
1842 + "__typename": "CheckRun",
1843 + "completedAt": "2026-10-22T23:00:48Z",
1844 + "conclusion": "SUCCESS",
1845 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39868877199/job/120137970778",
1846 + "name": "c8-policy-database",
1847 + "startedAt": "2026-10-22T23:00:20Z",
1848 + "status": "COMPLETED",
1849 + "workflowName": "Quality checks"
1850 + },
1851 + {
1852 + "__typename": "CheckRun",
1853 + "completedAt": "2026-10-22T23:00:59Z",
1854 + "conclusion": "SUCCESS",
1855 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39868877199/job/120137969641",
1856 + "name": "d1-request-database",
1857 + "startedAt": "2026-10-22T23:00:19Z",
1858 + "status": "COMPLETED",
1859 + "workflowName": "Quality checks"
1860 + },
1861 + {
1862 + "__typename": "CheckRun",
1863 + "completedAt": "2026-10-22T23:02:33Z",
1864 + "conclusion": "SKIPPED",
1865 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
1866 + "name": "Supabase Preview",
1867 + "startedAt": "2026-10-22T23:02:33Z",
1868 + "status": "COMPLETED",
1869 + "workflowName": ""
1870 + },
1871 + {
1872 + "__typename": "CheckRun",
1873 + "completedAt": "2026-10-22T23:01:29Z",
1874 + "conclusion": "SUCCESS",
1875 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120138430184",
1876 + "name": "CodeQL",
1877 + "startedAt": "2026-10-22T23:01:27Z",
1878 + "status": "COMPLETED",
1879 + "workflowName": ""
1880 + }
1881 + ],
1882 + "title": "[STAGE 3 QA ONLY / DO NOT MERGE] Sale-purchase source contract parity",
1883 + "updatedAt": "2026-10-22T23:10:58Z",
1884 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/164"
1885 + },
1886 + {
1887 + "baseRefName": "feature/finora-stage2-manual-canary-20261017",
1888 + "headRefName": "staging/finora-stage22-free-20261022",
1889 + "headRefOid": "43db17ef3c11d9a81d526d0a1d6068ef58b79d8e",
1890 + "isDraft": true,
1891 + "mergeStateStatus": "CLEAN",
1892 + "mergeable": "MERGEABLE",
1893 + "number": 163,
1894 + "statusCheckRollup": [
1895 + {
1896 + "__typename": "CheckRun",
1897 + "completedAt": "2026-10-22T19:59:34Z",
1898 + "conclusion": "SUCCESS",
1899 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844467860/job/120054329943",
1900 + "name": "stage22-real-stack (NOT harness)",
1901 + "startedAt": "2026-10-22T19:57:11Z",
1902 + "status": "COMPLETED",
1903 + "workflowName": "FINORA free ephemeral Staging (CI-local only)"
1904 + },
1905 + {
1906 + "__typename": "CheckRun",
1907 + "completedAt": "2026-10-22T20:06:36Z",
1908 + "conclusion": "SUCCESS",
1909 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844477242/job/120054333806",
1910 + "name": "static-quality",
1911 + "startedAt": "2026-10-22T19:57:12Z",
1912 + "status": "COMPLETED",
1913 + "workflowName": "Quality checks"
1914 + },
1915 + {
1916 + "__typename": "CheckRun",
1917 + "completedAt": "2026-10-22T19:56:39Z",
1918 + "conclusion": "SUCCESS",
1919 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844477248/job/120054006492",
1920 + "name": "Release and QA safety invariants",
1921 + "startedAt": "2026-10-22T19:56:32Z",
1922 + "status": "COMPLETED",
1923 + "workflowName": "Security checks"
1924 + },
1925 + {
1926 + "__typename": "CheckRun",
1927 + "completedAt": "2026-10-22T19:59:42Z",
1928 + "conclusion": "SUCCESS",
1929 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844467860/job/120054330311",
1930 + "name": "client-compat-positive-stage2",
1931 + "startedAt": "2026-10-22T19:57:11Z",
1932 + "status": "COMPLETED",
1933 + "workflowName": "FINORA free ephemeral Staging (CI-local only)"
1934 + },
1935 + {
1936 + "__typename": "CheckRun",
1937 + "completedAt": "2026-10-22T19:57:45Z",
1938 + "conclusion": "SUCCESS",
1939 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844477242/job/120054334115",
1940 + "name": "identity-wave5a-database",
1941 + "startedAt": "2026-10-22T19:57:12Z",
1942 + "status": "COMPLETED",
1943 + "workflowName": "Quality checks"
1944 + },
1945 + {
1946 + "__typename": "CheckRun",
1947 + "completedAt": "2026-10-22T19:57:45Z",
1948 + "conclusion": "SUCCESS",
1949 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844477248/job/120054005970",
1950 + "name": "CodeQL JavaScript",
1951 + "startedAt": "2026-10-22T19:56:32Z",
1952 + "status": "COMPLETED",
1953 + "workflowName": "Security checks"
1954 + },
1955 + {
1956 + "__typename": "CheckRun",
1957 + "completedAt": "2026-10-22T19:56:29Z",
1958 + "conclusion": "SKIPPED",
1959 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844477248/job/120054007664",
1960 + "name": "Dependency review",
1961 + "startedAt": "2026-10-22T19:56:30Z",
1962 + "status": "COMPLETED",
1963 + "workflowName": "Security checks"
1964 + },
1965 + {
1966 + "__typename": "CheckRun",
1967 + "completedAt": "2026-10-22T19:59:20Z",
1968 + "conclusion": "SUCCESS",
1969 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844467860/job/120054330315",
1970 + "name": "stage22-exact-head-parity (snapshot NOT live Production)",
1971 + "startedAt": "2026-10-22T19:57:11Z",
1972 + "status": "COMPLETED",
1973 + "workflowName": "FINORA free ephemeral Staging (CI-local only)"
1974 + },
1975 + {
1976 + "__typename": "CheckRun",
1977 + "completedAt": "2026-10-22T19:57:36Z",
1978 + "conclusion": "SUCCESS",
1979 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844477242/job/120054333588",
1980 + "name": "c8-policy-database",
1981 + "startedAt": "2026-10-22T19:57:12Z",
1982 + "status": "COMPLETED",
1983 + "workflowName": "Quality checks"
1984 + },
1985 + {
1986 + "__typename": "CheckRun",
1987 + "completedAt": "2026-10-22T19:59:00Z",
1988 + "conclusion": "SUCCESS",
1989 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844467860/job/120054330386",
1990 + "name": "Stage 1 local UP-DOWN-UP preserves versions/data (NOT Production rollback)",
1991 + "startedAt": "2026-10-22T19:57:12Z",
1992 + "status": "COMPLETED",
1993 + "workflowName": "FINORA free ephemeral Staging (CI-local only)"
1994 + },
1995 + {
1996 + "__typename": "CheckRun",
1997 + "completedAt": "2026-10-22T19:57:59Z",
1998 + "conclusion": "SUCCESS",
1999 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39844477242/job/120054334263",
2000 + "name": "d1-request-database",
2001 + "startedAt": "2026-10-22T19:57:12Z",
2002 + "status": "COMPLETED",
2003 + "workflowName": "Quality checks"
2004 + },
2005 + {
2006 + "__typename": "CheckRun",
2007 + "completedAt": "2026-10-22T19:56:24Z",
2008 + "conclusion": "SKIPPED",
2009 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
2010 + "name": "Supabase Preview",
2011 + "startedAt": "2026-10-22T19:56:24Z",
2012 + "status": "COMPLETED",
2013 + "workflowName": ""
2014 + },
2015 + {
2016 + "__typename": "CheckRun",
2017 + "completedAt": "2026-10-22T19:57:39Z",
2018 + "conclusion": "SUCCESS",
2019 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/120054554753",
2020 + "name": "CodeQL",
2021 + "startedAt": "2026-10-22T19:57:35Z",
2022 + "status": "COMPLETED",
2023 + "workflowName": ""
2024 + }
2025 + ],
2026 + "title": "[STAGING ONLY / DO NOT MERGE] Zero-cost ephemeral Stage 2.2 CI QA",
2027 + "updatedAt": "2026-10-22T20:07:42Z",
2028 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/163"
2029 + },
2030 + {
2031 + "baseRefName": "main",
2032 + "headRefName": "feature/finora-stage2-manual-canary-20261017",
2033 + "headRefOid": "3c4efef047da58f150b8e39fa066f79b7d5b54e8",
2034 + "isDraft": true,
2035 + "mergeStateStatus": "UNKNOWN",
2036 + "mergeable": "UNKNOWN",
2037 + "number": 162,
2038 + "statusCheckRollup": [
2039 + {
2040 + "__typename": "CheckRun",
2041 + "completedAt": "2026-10-20T05:29:43Z",
2042 + "conclusion": "SUCCESS",
2043 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375014342/job/118471097759",
2044 + "name": "stage22-exact-head-parity (snapshot NOT live Production)",
2045 + "startedAt": "2026-10-20T05:27:46Z",
2046 + "status": "COMPLETED",
2047 + "workflowName": "FINORA Stage 2.2 exact-head baseline parity (local ONLY)"
2048 + },
2049 + {
2050 + "__typename": "CheckRun",
2051 + "completedAt": "2026-10-20T05:30:03Z",
2052 + "conclusion": "SUCCESS",
2053 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375014354/job/118471097818",
2054 + "name": "client-compat-positive-stage2",
2055 + "startedAt": "2026-10-20T05:27:46Z",
2056 + "status": "COMPLETED",
2057 + "workflowName": "FINORA Stage 2.2 manual local-only CI"
2058 + },
2059 + {
2060 + "__typename": "CheckRun",
2061 + "completedAt": "2026-10-20T05:30:17Z",
2062 + "conclusion": "SUCCESS",
2063 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375014344/job/118471097756",
2064 + "name": "stage22-real-stack (NOT harness)",
2065 + "startedAt": "2026-10-20T05:27:46Z",
2066 + "status": "COMPLETED",
2067 + "workflowName": "FINORA Stage 2.2 real-stack local Auth and REST"
2068 + },
2069 + {
2070 + "__typename": "CheckRun",
2071 + "completedAt": "2026-10-20T05:27:52Z",
2072 + "conclusion": "SUCCESS",
2073 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375014349/job/118471098244",
2074 + "name": "stage21-target-canary",
2075 + "startedAt": "2026-10-20T05:27:47Z",
2076 + "status": "COMPLETED",
2077 + "workflowName": "Finora Stage 2.1 isolated canaries (NO PROD)"
2078 + },
2079 + {
2080 + "__typename": "CheckRun",
2081 + "completedAt": "2026-10-20T05:36:22Z",
2082 + "conclusion": "SUCCESS",
2083 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375019724/job/118472541249",
2084 + "name": "static-quality",
2085 + "startedAt": "2026-10-20T05:32:59Z",
2086 + "status": "COMPLETED",
2087 + "workflowName": "Quality checks"
2088 + },
2089 + {
2090 + "__typename": "CheckRun",
2091 + "completedAt": "2026-10-20T05:27:56Z",
2092 + "conclusion": "SUCCESS",
2093 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375019732/job/118471114668",
2094 + "name": "Release and QA safety invariants",
2095 + "startedAt": "2026-10-20T05:27:50Z",
2096 + "status": "COMPLETED",
2097 + "workflowName": "Security checks"
2098 + },
2099 + {
2100 + "__typename": "CheckRun",
2101 + "completedAt": "2026-10-20T05:29:44Z",
2102 + "conclusion": "SUCCESS",
2103 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375014349/job/118471097923",
2104 + "name": "stage21-status-canary",
2105 + "startedAt": "2026-10-20T05:27:47Z",
2106 + "status": "COMPLETED",
2107 + "workflowName": "Finora Stage 2.1 isolated canaries (NO PROD)"
2108 + },
2109 + {
2110 + "__typename": "CheckRun",
2111 + "completedAt": "2026-10-20T05:28:18Z",
2112 + "conclusion": "SUCCESS",
2113 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375019724/job/118472542526",
2114 + "name": "identity-wave5a-database",
2115 + "startedAt": "2026-10-20T05:27:51Z",
2116 + "status": "COMPLETED",
2117 + "workflowName": "Quality checks"
2118 + },
2119 + {
2120 + "__typename": "CheckRun",
2121 + "completedAt": "2026-10-20T05:28:55Z",
2122 + "conclusion": "SUCCESS",
2123 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375019732/job/118471114542",
2124 + "name": "CodeQL JavaScript",
2125 + "startedAt": "2026-10-20T05:27:50Z",
2126 + "status": "COMPLETED",
2127 + "workflowName": "Security checks"
2128 + },
2129 + {
2130 + "__typename": "CheckRun",
2131 + "completedAt": "2026-10-20T05:27:48Z",
2132 + "conclusion": "SKIPPED",
2133 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375019732/job/118471115665",
2134 + "name": "Dependency review",
2135 + "startedAt": "2026-10-20T05:27:48Z",
2136 + "status": "COMPLETED",
2137 + "workflowName": "Security checks"
2138 + },
2139 + {
2140 + "__typename": "CheckRun",
2141 + "completedAt": "2026-10-20T05:28:31Z",
2142 + "conclusion": "SUCCESS",
2143 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375019724/job/118472542283",
2144 + "name": "c8-policy-database",
2145 + "startedAt": "2026-10-20T05:27:50Z",
2146 + "status": "COMPLETED",
2147 + "workflowName": "Quality checks"
2148 + },
2149 + {
2150 + "__typename": "CheckRun",
2151 + "completedAt": "2026-10-20T05:28:25Z",
2152 + "conclusion": "SUCCESS",
2153 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39375019724/job/118472578931",
2154 + "name": "d1-request-database",
2155 + "startedAt": "2026-10-20T05:27:51Z",
2156 + "status": "COMPLETED",
2157 + "workflowName": "Quality checks"
2158 + },
2159 + {
2160 + "__typename": "CheckRun",
2161 + "completedAt": "2026-10-22T22:58:15Z",
2162 + "conclusion": "SKIPPED",
2163 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
2164 + "name": "Supabase Preview",
2165 + "startedAt": "2026-10-22T22:58:15Z",
2166 + "status": "COMPLETED",
2167 + "workflowName": ""
2168 + },
2169 + {
2170 + "__typename": "CheckRun",
2171 + "completedAt": "2026-10-20T05:28:49Z",
2172 + "conclusion": "SUCCESS",
2173 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/118471387065",
2174 + "name": "CodeQL",
2175 + "startedAt": "2026-10-20T05:28:46Z",
2176 + "status": "COMPLETED",
2177 + "workflowName": ""
2178 + }
2179 + ],
2180 + "title": "[DO NOT MERGE] FINORA Stage 2.1–2.2 manual journal local QA only",
2181 + "updatedAt": "2026-10-21T05:09:47Z",
2182 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/162"
2183 + },
2184 + {
2185 + "baseRefName": "main",
2186 + "headRefName": "docs/finora-phase0-repeat-evidence-20261015",
2187 + "headRefOid": "40fd0d832266713772f2280dcb115a20677d4b3c",
2188 + "isDraft": false,
2189 + "mergeStateStatus": "UNKNOWN",
2190 + "mergeable": "UNKNOWN",
2191 + "number": 149,
2192 + "statusCheckRollup": [
2193 + {
2194 + "__typename": "CheckRun",
2195 + "completedAt": "2026-10-15T17:27:05Z",
2196 + "conclusion": "SUCCESS",
2197 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38776967515/job/116567014314",
2198 + "name": "static-quality",
2199 + "startedAt": "2026-10-15T17:23:46Z",
2200 + "status": "COMPLETED",
2201 + "workflowName": "Quality checks"
2202 + },
2203 + {
2204 + "__typename": "CheckRun",
2205 + "completedAt": "2026-10-15T17:23:55Z",
2206 + "conclusion": "SUCCESS",
2207 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38776967529/job/116567019624",
2208 + "name": "Release and QA safety invariants",
2209 + "startedAt": "2026-10-15T17:23:48Z",
2210 + "status": "COMPLETED",
2211 + "workflowName": "Security checks"
2212 + },
2213 + {
2214 + "__typename": "CheckRun",
2215 + "completedAt": "2026-10-15T17:24:16Z",
2216 + "conclusion": "SUCCESS",
2217 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38776967515/job/116567014802",
2218 + "name": "identity-wave5a-database",
2219 + "startedAt": "2026-10-15T17:23:47Z",
2220 + "status": "COMPLETED",
2221 + "workflowName": "Quality checks"
2222 + },
2223 + {
2224 + "__typename": "CheckRun",
2225 + "completedAt": "2026-10-15T17:24:50Z",
2226 + "conclusion": "SUCCESS",
2227 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38776967529/job/116567019396",
2228 + "name": "CodeQL JavaScript",
2229 + "startedAt": "2026-10-15T17:23:47Z",
2230 + "status": "COMPLETED",
2231 + "workflowName": "Security checks"
2232 + },
2233 + {
2234 + "__typename": "CheckRun",
2235 + "completedAt": "2026-10-15T17:23:44Z",
2236 + "conclusion": "SKIPPED",
2237 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38776967529/job/116567021463",
2238 + "name": "Dependency review",
2239 + "startedAt": "2026-10-15T17:23:45Z",
2240 + "status": "COMPLETED",
2241 + "workflowName": "Security checks"
2242 + },
2243 + {
2244 + "__typename": "CheckRun",
2245 + "completedAt": "2026-10-15T17:24:23Z",
2246 + "conclusion": "SUCCESS",
2247 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38776967515/job/116567014771",
2248 + "name": "c8-policy-database",
2249 + "startedAt": "2026-10-15T17:23:46Z",
2250 + "status": "COMPLETED",
2251 + "workflowName": "Quality checks"
2252 + },
2253 + {
2254 + "__typename": "CheckRun",
2255 + "completedAt": "2026-10-15T17:24:24Z",
2256 + "conclusion": "SUCCESS",
2257 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38776967515/job/116567014719",
2258 + "name": "d1-request-database",
2259 + "startedAt": "2026-10-15T17:23:47Z",
2260 + "status": "COMPLETED",
2261 + "workflowName": "Quality checks"
2262 + },
2263 + {
2264 + "__typename": "CheckRun",
2265 + "completedAt": "2026-10-15T17:23:43Z",
2266 + "conclusion": "SKIPPED",
2267 + "detailsUrl": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/settings/integrations",
2268 + "name": "Supabase Preview",
2269 + "startedAt": "2026-10-15T17:23:43Z",
2270 + "status": "COMPLETED",
2271 + "workflowName": ""
2272 + },
2273 + {
2274 + "__typename": "CheckRun",
2275 + "completedAt": "2026-10-15T17:24:43Z",
2276 + "conclusion": "SUCCESS",
2277 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/116567454602",
2278 + "name": "CodeQL",
2279 + "startedAt": "2026-10-15T17:24:39Z",
2280 + "status": "COMPLETED",
2281 + "workflowName": ""
2282 + }
2283 + ],
2284 + "title": "docs: finalize exact-main Phase 0 reload and Commerce navigation verification",
2285 + "updatedAt": "2026-10-15T17:23:40Z",
2286 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/149"
2287 + },
2288 + {
2289 + "baseRefName": "main",
2290 + "headRefName": "fix/active-company-isolation-reconcile-20261014",
2291 + "headRefOid": "0e67e56da212e604426682ce3b2d501e1193cdfc",
2292 + "isDraft": true,
2293 + "mergeStateStatus": "DIRTY",
2294 + "mergeable": "CONFLICTING",
2295 + "number": 137,
2296 + "statusCheckRollup": [
2297 + {
2298 + "__typename": "CheckRun",
2299 + "completedAt": "2026-10-14T10:16:57Z",
2300 + "conclusion": "FAILURE",
2301 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38548054459/job/115798920651",
2302 + "name": "static-quality",
2303 + "startedAt": "2026-10-14T10:13:33Z",
2304 + "status": "COMPLETED",
2305 + "workflowName": "Quality checks"
2306 + },
2307 + {
2308 + "__typename": "CheckRun",
2309 + "completedAt": "2026-10-14T10:13:46Z",
2310 + "conclusion": "SUCCESS",
2311 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38548054651/job/115798921885",
2312 + "name": "Release and QA safety invariants",
2313 + "startedAt": "2026-10-14T10:13:33Z",
2314 + "status": "COMPLETED",
2315 + "workflowName": "Security checks"
2316 + },
2317 + {
2318 + "__typename": "CheckRun",
2319 + "completedAt": "2026-10-14T10:14:05Z",
2320 + "conclusion": "SUCCESS",
2321 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38548054459/job/115798920969",
2322 + "name": "identity-wave5a-database",
2323 + "startedAt": "2026-10-14T10:13:34Z",
2324 + "status": "COMPLETED",
2325 + "workflowName": "Quality checks"
2326 + },
2327 + {
2328 + "__typename": "CheckRun",
2329 + "completedAt": "2026-10-14T10:14:53Z",
2330 + "conclusion": "SUCCESS",
2331 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38548054651/job/115798922161",
2332 + "name": "CodeQL JavaScript",
2333 + "startedAt": "2026-10-14T10:13:34Z",
2334 + "status": "COMPLETED",
2335 + "workflowName": "Security checks"
2336 + },
2337 + {
2338 + "__typename": "CheckRun",
2339 + "completedAt": "2026-10-14T10:13:30Z",
2340 + "conclusion": "SKIPPED",
2341 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38548054651/job/115798923307",
2342 + "name": "Dependency review",
2343 + "startedAt": "2026-10-14T10:13:31Z",
2344 + "status": "COMPLETED",
2345 + "workflowName": "Security checks"
2346 + },
2347 + {
2348 + "__typename": "CheckRun",
2349 + "completedAt": "2026-10-14T10:14:00Z",
2350 + "conclusion": "SUCCESS",
2351 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38548054459/job/115798920345",
2352 + "name": "c8-policy-database",
2353 + "startedAt": "2026-10-14T10:13:33Z",
2354 + "status": "COMPLETED",
2355 + "workflowName": "Quality checks"
2356 + },
2357 + {
2358 + "__typename": "CheckRun",
2359 + "completedAt": "2026-10-14T10:14:09Z",
2360 + "conclusion": "SUCCESS",
2361 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38548054459/job/115798920954",
2362 + "name": "d1-request-database",
2363 + "startedAt": "2026-10-14T10:13:34Z",
2364 + "status": "COMPLETED",
2365 + "workflowName": "Quality checks"
2366 + },
2367 + {
2368 + "__typename": "CheckRun",
2369 + "completedAt": "2026-10-14T10:14:46Z",
2370 + "conclusion": "SUCCESS",
2371 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/115799391740",
2372 + "name": "CodeQL",
2373 + "startedAt": "2026-10-14T10:14:42Z",
2374 + "status": "COMPLETED",
2375 + "workflowName": ""
2376 + }
2377 + ],
2378 + "title": "fix(company): reconcile strict active-company isolation and opt-in holding overview",
2379 + "updatedAt": "2026-10-14T10:13:24Z",
2380 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/137"
2381 + },
2382 + {
2383 + "baseRefName": "main",
2384 + "headRefName": "docs/active-company-invoice-release-evidence-20261014",
2385 + "headRefOid": "2b0b59fc176d005ef4fbd06bba6d59a723eef149",
2386 + "isDraft": false,
2387 + "mergeStateStatus": "UNKNOWN",
2388 + "mergeable": "UNKNOWN",
2389 + "number": 136,
2390 + "statusCheckRollup": [
2391 + {
2392 + "__typename": "CheckRun",
2393 + "completedAt": "2026-10-14T09:26:48Z",
2394 + "conclusion": "SUCCESS",
2395 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38541369469/job/115778720961",
2396 + "name": "static-quality",
2397 + "startedAt": "2026-10-14T09:23:30Z",
2398 + "status": "COMPLETED",
2399 + "workflowName": "Quality checks"
2400 + },
2401 + {
2402 + "__typename": "CheckRun",
2403 + "completedAt": "2026-10-14T09:18:30Z",
2404 + "conclusion": "SUCCESS",
2405 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38541369404/job/115776668108",
2406 + "name": "Release and QA safety invariants",
2407 + "startedAt": "2026-10-14T09:18:25Z",
2408 + "status": "COMPLETED",
2409 + "workflowName": "Security checks"
2410 + },
2411 + {
2412 + "__typename": "CheckRun",
2413 + "completedAt": "2026-10-14T09:18:59Z",
2414 + "conclusion": "SUCCESS",
2415 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38541369469/job/115778783721",
2416 + "name": "identity-wave5a-database",
2417 + "startedAt": "2026-10-14T09:18:26Z",
2418 + "status": "COMPLETED",
2419 + "workflowName": "Quality checks"
2420 + },
2421 + {
2422 + "__typename": "CheckRun",
2423 + "completedAt": "2026-10-14T09:19:23Z",
2424 + "conclusion": "SUCCESS",
2425 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38541369404/job/115776667689",
2426 + "name": "CodeQL JavaScript",
2427 + "startedAt": "2026-10-14T09:18:25Z",
2428 + "status": "COMPLETED",
2429 + "workflowName": "Security checks"
2430 + },
2431 + {
2432 + "__typename": "CheckRun",
2433 + "completedAt": "2026-10-14T09:18:22Z",
2434 + "conclusion": "SKIPPED",
2435 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38541369404/job/115776669737",
2436 + "name": "Dependency review",
2437 + "startedAt": "2026-10-14T09:18:23Z",
2438 + "status": "COMPLETED",
2439 + "workflowName": "Security checks"
2440 + },
2441 + {
2442 + "__typename": "CheckRun",
2443 + "completedAt": "2026-10-14T09:18:55Z",
2444 + "conclusion": "SUCCESS",
2445 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38541369469/job/115778767486",
2446 + "name": "c8-policy-database",
2447 + "startedAt": "2026-10-14T09:18:26Z",
2448 + "status": "COMPLETED",
2449 + "workflowName": "Quality checks"
2450 + },
2451 + {
2452 + "__typename": "CheckRun",
2453 + "completedAt": "2026-10-14T09:19:02Z",
2454 + "conclusion": "SUCCESS",
2455 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38541369469/job/115778723170",
2456 + "name": "d1-request-database",
2457 + "startedAt": "2026-10-14T09:18:26Z",
2458 + "status": "COMPLETED",
2459 + "workflowName": "Quality checks"
2460 + },
2461 + {
2462 + "__typename": "CheckRun",
2463 + "completedAt": "2026-10-14T09:19:15Z",
2464 + "conclusion": "SUCCESS",
2465 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/115777008146",
2466 + "name": "CodeQL",
2467 + "startedAt": "2026-10-14T09:19:12Z",
2468 + "status": "COMPLETED",
2469 + "workflowName": ""
2470 + }
2471 + ],
2472 + "title": "docs(multicompany): record active-company invoice isolation release and acceptance",
2473 + "updatedAt": "2026-10-14T09:18:18Z",
2474 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/136"
2475 + },
2476 + {
2477 + "baseRefName": "main",
2478 + "headRefName": "feat/pilot-expense-income-inplace-amendment-20261014",
2479 + "headRefOid": "cedb45f058b2b6c39d9c6512a781c2b87595aee0",
2480 + "isDraft": false,
2481 + "mergeStateStatus": "DIRTY",
2482 + "mergeable": "CONFLICTING",
2483 + "number": 134,
2484 + "statusCheckRollup": [
2485 + {
2486 + "__typename": "CheckRun",
2487 + "completedAt": "2026-10-14T08:44:08Z",
2488 + "conclusion": "SUCCESS",
2489 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38536805390/job/115761551211",
2490 + "name": "static-quality",
2491 + "startedAt": "2026-10-14T08:40:42Z",
2492 + "status": "COMPLETED",
2493 + "workflowName": "Quality checks"
2494 + },
2495 + {
2496 + "__typename": "CheckRun",
2497 + "completedAt": "2026-10-14T08:41:16Z",
2498 + "conclusion": "SUCCESS",
2499 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38536805433/job/115761701090",
2500 + "name": "Release and QA safety invariants",
2501 + "startedAt": "2026-10-14T08:41:05Z",
2502 + "status": "COMPLETED",
2503 + "workflowName": "Security checks"
2504 + },
2505 + {
2506 + "__typename": "CheckRun",
2507 + "completedAt": "2026-10-14T08:41:18Z",
2508 + "conclusion": "SUCCESS",
2509 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38536805390/job/115761551331",
2510 + "name": "identity-wave5a-database",
2511 + "startedAt": "2026-10-14T08:40:42Z",
2512 + "status": "COMPLETED",
2513 + "workflowName": "Quality checks"
2514 + },
2515 + {
2516 + "__typename": "CheckRun",
2517 + "completedAt": "2026-10-14T08:42:05Z",
2518 + "conclusion": "SUCCESS",
2519 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38536805433/job/115761700683",
2520 + "name": "CodeQL JavaScript",
2521 + "startedAt": "2026-10-14T08:41:04Z",
2522 + "status": "COMPLETED",
2523 + "workflowName": "Security checks"
2524 + },
2525 + {
2526 + "__typename": "CheckRun",
2527 + "completedAt": "2026-10-14T08:41:02Z",
2528 + "conclusion": "SKIPPED",
2529 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38536805433/job/115761702397",
2530 + "name": "Dependency review",
2531 + "startedAt": "2026-10-14T08:41:02Z",
2532 + "status": "COMPLETED",
2533 + "workflowName": "Security checks"
2534 + },
2535 + {
2536 + "__typename": "CheckRun",
2537 + "completedAt": "2026-10-14T08:41:17Z",
2538 + "conclusion": "SUCCESS",
2539 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38536805390/job/115761550956",
2540 + "name": "c8-policy-database",
2541 + "startedAt": "2026-10-14T08:40:41Z",
2542 + "status": "COMPLETED",
2543 + "workflowName": "Quality checks"
2544 + },
2545 + {
2546 + "__typename": "CheckRun",
2547 + "completedAt": "2026-10-14T08:41:27Z",
2548 + "conclusion": "SUCCESS",
2549 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38536805390/job/115761551326",
2550 + "name": "d1-request-database",
2551 + "startedAt": "2026-10-14T08:40:42Z",
2552 + "status": "COMPLETED",
2553 + "workflowName": "Quality checks"
2554 + },
2555 + {
2556 + "__typename": "CheckRun",
2557 + "completedAt": "2026-10-14T08:41:58Z",
2558 + "conclusion": "SUCCESS",
2559 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/115762051216",
2560 + "name": "CodeQL",
2561 + "startedAt": "2026-10-14T08:41:55Z",
2562 + "status": "COMPLETED",
2563 + "workflowName": ""
2564 + }
2565 + ],
2566 + "title": "feat(pilot): in-place posted expense and income corrections",
2567 + "updatedAt": "2026-10-14T08:40:34Z",
2568 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/134"
2569 + },
2570 + {
2571 + "baseRefName": "main",
2572 + "headRefName": "feat/active-company-strict-isolation-20261014",
2573 + "headRefOid": "2364a645293e0e98a9491a21b13f5b5659fb71d9",
2574 + "isDraft": false,
2575 + "mergeStateStatus": "UNKNOWN",
2576 + "mergeable": "UNKNOWN",
2577 + "number": 133,
2578 + "statusCheckRollup": [
2579 + {
2580 + "__typename": "CheckRun",
2581 + "completedAt": "2026-10-14T08:33:29Z",
2582 + "conclusion": "SUCCESS",
2583 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38535482681/job/115757355214",
2584 + "name": "static-quality",
2585 + "startedAt": "2026-10-14T08:29:59Z",
2586 + "status": "COMPLETED",
2587 + "workflowName": "Quality checks"
2588 + },
2589 + {
2590 + "__typename": "CheckRun",
2591 + "completedAt": "2026-10-14T08:29:47Z",
2592 + "conclusion": "SUCCESS",
2593 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38535482809/job/115757223136",
2594 + "name": "Release and QA safety invariants",
2595 + "startedAt": "2026-10-14T08:29:39Z",
2596 + "status": "COMPLETED",
2597 + "workflowName": "Security checks"
2598 + },
2599 + {
2600 + "__typename": "CheckRun",
2601 + "completedAt": "2026-10-14T08:30:42Z",
2602 + "conclusion": "SUCCESS",
2603 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38535482681/job/115757355850",
2604 + "name": "identity-wave5a-database",
2605 + "startedAt": "2026-10-14T08:30:00Z",
2606 + "status": "COMPLETED",
2607 + "workflowName": "Quality checks"
2608 + },
2609 + {
2610 + "__typename": "CheckRun",
2611 + "completedAt": "2026-10-14T08:30:49Z",
2612 + "conclusion": "SUCCESS",
2613 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38535482809/job/115757223529",
2614 + "name": "CodeQL JavaScript",
2615 + "startedAt": "2026-10-14T08:29:40Z",
2616 + "status": "COMPLETED",
2617 + "workflowName": "Security checks"
2618 + },
2619 + {
2620 + "__typename": "CheckRun",
2621 + "completedAt": "2026-10-14T08:29:37Z",
2622 + "conclusion": "SKIPPED",
2623 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38535482809/job/115757225170",
2624 + "name": "Dependency review",
2625 + "startedAt": "2026-10-14T08:29:37Z",
2626 + "status": "COMPLETED",
2627 + "workflowName": "Security checks"
2628 + },
2629 + {
2630 + "__typename": "CheckRun",
2631 + "completedAt": "2026-10-14T08:30:50Z",
2632 + "conclusion": "SUCCESS",
2633 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38535482681/job/115757355095",
2634 + "name": "c8-policy-database",
2635 + "startedAt": "2026-10-14T08:30:00Z",
2636 + "status": "COMPLETED",
2637 + "workflowName": "Quality checks"
2638 + },
2639 + {
2640 + "__typename": "CheckRun",
2641 + "completedAt": "2026-10-14T08:30:50Z",
2642 + "conclusion": "SUCCESS",
2643 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38535482681/job/115757355388",
2644 + "name": "d1-request-database",
2645 + "startedAt": "2026-10-14T08:30:00Z",
2646 + "status": "COMPLETED",
2647 + "workflowName": "Quality checks"
2648 + },
2649 + {
2650 + "__typename": "CheckRun",
2651 + "completedAt": "2026-10-14T08:30:42Z",
2652 + "conclusion": "SUCCESS",
2653 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/115757639669",
2654 + "name": "CodeQL",
2655 + "startedAt": "2026-10-14T08:30:39Z",
2656 + "status": "COMPLETED",
2657 + "workflowName": ""
2658 + }
2659 + ],
2660 + "title": "fix(company): strictly scope all ERP modules to active company with opt-in holding overview",
2661 + "updatedAt": "2026-10-14T08:29:33Z",
2662 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/133"
2663 + },
2664 + {
2665 + "baseRefName": "main",
2666 + "headRefName": "docs/seamless-document-correction-release-20261014",
2667 + "headRefOid": "3ae0ea6d5daf1e9aebf9e770549de6303b644603",
2668 + "isDraft": false,
2669 + "mergeStateStatus": "UNKNOWN",
2670 + "mergeable": "UNKNOWN",
2671 + "number": 129,
2672 + "statusCheckRollup": [
2673 + {
2674 + "__typename": "CheckRun",
2675 + "completedAt": "2026-10-14T06:44:47Z",
2676 + "conclusion": "SUCCESS",
2677 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38523707239/job/115719033145",
2678 + "name": "static-quality",
2679 + "startedAt": "2026-10-14T06:41:40Z",
2680 + "status": "COMPLETED",
2681 + "workflowName": "Quality checks"
2682 + },
2683 + {
2684 + "__typename": "CheckRun",
2685 + "completedAt": "2026-10-14T06:41:47Z",
2686 + "conclusion": "SUCCESS",
2687 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38523707409/job/115719033513",
2688 + "name": "Release and QA safety invariants",
2689 + "startedAt": "2026-10-14T06:41:41Z",
2690 + "status": "COMPLETED",
2691 + "workflowName": "Security checks"
2692 + },
2693 + {
2694 + "__typename": "CheckRun",
2695 + "completedAt": "2026-10-14T06:42:09Z",
2696 + "conclusion": "SUCCESS",
2697 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38523707239/job/115719033133",
2698 + "name": "identity-wave5a-database",
2699 + "startedAt": "2026-10-14T06:41:41Z",
2700 + "status": "COMPLETED",
2701 + "workflowName": "Quality checks"
2702 + },
2703 + {
2704 + "__typename": "CheckRun",
2705 + "completedAt": "2026-10-14T06:42:38Z",
2706 + "conclusion": "SUCCESS",
2707 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38523707409/job/115719033756",
2708 + "name": "CodeQL JavaScript",
2709 + "startedAt": "2026-10-14T06:41:41Z",
2710 + "status": "COMPLETED",
2711 + "workflowName": "Security checks"
2712 + },
2713 + {
2714 + "__typename": "CheckRun",
2715 + "completedAt": "2026-10-14T06:41:38Z",
2716 + "conclusion": "SKIPPED",
2717 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38523707409/job/115719035003",
2718 + "name": "Dependency review",
2719 + "startedAt": "2026-10-14T06:41:38Z",
2720 + "status": "COMPLETED",
2721 + "workflowName": "Security checks"
2722 + },
2723 + {
2724 + "__typename": "CheckRun",
2725 + "completedAt": "2026-10-14T06:42:06Z",
2726 + "conclusion": "SUCCESS",
2727 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38523707239/job/115719033141",
2728 + "name": "c8-policy-database",
2729 + "startedAt": "2026-10-14T06:41:41Z",
2730 + "status": "COMPLETED",
2731 + "workflowName": "Quality checks"
2732 + },
2733 + {
2734 + "__typename": "CheckRun",
2735 + "completedAt": "2026-10-14T06:42:30Z",
2736 + "conclusion": "SUCCESS",
2737 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38523707239/job/115719033008",
2738 + "name": "d1-request-database",
2739 + "startedAt": "2026-10-14T06:41:41Z",
2740 + "status": "COMPLETED",
2741 + "workflowName": "Quality checks"
2742 + },
2743 + {
2744 + "__typename": "CheckRun",
2745 + "completedAt": "2026-10-14T06:42:31Z",
2746 + "conclusion": "SUCCESS",
2747 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/115719295590",
2748 + "name": "CodeQL",
2749 + "startedAt": "2026-10-14T06:42:28Z",
2750 + "status": "COMPLETED",
2751 + "workflowName": ""
2752 + }
2753 + ],
2754 + "title": "docs(ux): persist released same-document correction behavior and exact acceptance gates",
2755 + "updatedAt": "2026-10-14T06:41:34Z",
2756 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/129"
2757 + },
2758 + {
2759 + "baseRefName": "main",
2760 + "headRefName": "feature/admin-identity-phone-auth",
2761 + "headRefOid": "03c33187299b40aa3d40bc485f6232d6fd11e3e6",
2762 + "isDraft": false,
2763 + "mergeStateStatus": "UNKNOWN",
2764 + "mergeable": "UNKNOWN",
2765 + "number": 58,
2766 + "statusCheckRollup": [
2767 + {
2768 + "__typename": "CheckRun",
2769 + "completedAt": "2026-10-07T19:36:21Z",
2770 + "conclusion": "SUCCESS",
2771 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37675447826/job/112978163450",
2772 + "name": "static-quality",
2773 + "startedAt": "2026-10-07T19:35:15Z",
2774 + "status": "COMPLETED",
2775 + "workflowName": "Quality checks"
2776 + },
2777 + {
2778 + "__typename": "CheckRun",
2779 + "completedAt": "2026-10-07T19:34:14Z",
2780 + "conclusion": "SUCCESS",
2781 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37675447806/job/112977644774",
2782 + "name": "Release and QA safety invariants",
2783 + "startedAt": "2026-10-07T19:34:05Z",
2784 + "status": "COMPLETED",
2785 + "workflowName": "Security checks"
2786 + },
2787 + {
2788 + "__typename": "CheckRun",
2789 + "completedAt": "2026-10-07T19:35:43Z",
2790 + "conclusion": "SUCCESS",
2791 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37675447826/job/112978162945",
2792 + "name": "identity-wave5a-database",
2793 + "startedAt": "2026-10-07T19:35:14Z",
2794 + "status": "COMPLETED",
2795 + "workflowName": "Quality checks"
2796 + },
2797 + {
2798 + "__typename": "CheckRun",
2799 + "completedAt": "2026-10-07T19:34:54Z",
2800 + "conclusion": "SUCCESS",
2801 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37675447806/job/112977644563",
2802 + "name": "CodeQL JavaScript",
2803 + "startedAt": "2026-10-07T19:34:04Z",
2804 + "status": "COMPLETED",
2805 + "workflowName": "Security checks"
2806 + },
2807 + {
2808 + "__typename": "CheckRun",
2809 + "completedAt": "2026-10-07T19:34:01Z",
2810 + "conclusion": "SKIPPED",
2811 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37675447806/job/112977646838",
2812 + "name": "Dependency review",
2813 + "startedAt": "2026-10-07T19:34:02Z",
2814 + "status": "COMPLETED",
2815 + "workflowName": "Security checks"
2816 + },
2817 + {
2818 + "__typename": "CheckRun",
2819 + "completedAt": "2026-10-07T19:35:46Z",
2820 + "conclusion": "SUCCESS",
2821 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37675447826/job/112978163488",
2822 + "name": "c8-policy-database",
2823 + "startedAt": "2026-10-07T19:35:15Z",
2824 + "status": "COMPLETED",
2825 + "workflowName": "Quality checks"
2826 + },
2827 + {
2828 + "__typename": "CheckRun",
2829 + "completedAt": "2026-10-07T19:36:56Z",
2830 + "conclusion": "SUCCESS",
2831 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37675447826/job/112978163255",
2832 + "name": "d1-request-database",
2833 + "startedAt": "2026-10-07T19:35:15Z",
2834 + "status": "COMPLETED",
2835 + "workflowName": "Quality checks"
2836 + },
2837 + {
2838 + "__typename": "CheckRun",
2839 + "completedAt": "2026-10-07T19:34:49Z",
2840 + "conclusion": "SUCCESS",
2841 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/112977970599",
2842 + "name": "CodeQL",
2843 + "startedAt": "2026-10-07T19:34:45Z",
2844 + "status": "COMPLETED",
2845 + "workflowName": ""
2846 + }
2847 + ],
2848 + "title": "feat: admin identity controls, phone auth and dark-mode contrast",
2849 + "updatedAt": "2026-10-07T19:33:56Z",
2850 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/58"
2851 + },
2852 + {
2853 + "baseRefName": "main",
2854 + "headRefName": "fix-shell-scrollbar-explicit-ownership-20261002",
2855 + "headRefOid": "d4dde369e4b01f5fc1ac609ab74a6d512ce2e7de",
2856 + "isDraft": false,
2857 + "mergeStateStatus": "UNKNOWN",
2858 + "mergeable": "UNKNOWN",
2859 + "number": 40,
2860 + "statusCheckRollup": [
2861 + {
2862 + "__typename": "CheckRun",
2863 + "completedAt": "2026-10-02T09:09:31Z",
2864 + "conclusion": "FAILURE",
2865 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36988049471/job/110777494447",
2866 + "name": "static-quality",
2867 + "startedAt": "2026-10-02T09:08:23Z",
2868 + "status": "COMPLETED",
2869 + "workflowName": "Quality checks"
2870 + },
2871 + {
2872 + "__typename": "CheckRun",
2873 + "completedAt": "2026-10-02T09:08:30Z",
2874 + "conclusion": "SUCCESS",
2875 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36988049544/job/110777494779",
2876 + "name": "Release and QA safety invariants",
2877 + "startedAt": "2026-10-02T09:08:23Z",
2878 + "status": "COMPLETED",
2879 + "workflowName": "Security checks"
2880 + },
2881 + {
2882 + "__typename": "CheckRun",
2883 + "completedAt": "2026-10-02T09:08:50Z",
2884 + "conclusion": "SUCCESS",
2885 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36988049471/job/110777494561",
2886 + "name": "identity-wave5a-database",
2887 + "startedAt": "2026-10-02T09:08:24Z",
2888 + "status": "COMPLETED",
2889 + "workflowName": "Quality checks"
2890 + },
2891 + {
2892 + "__typename": "CheckRun",
2893 + "completedAt": "2026-10-02T09:09:21Z",
2894 + "conclusion": "SUCCESS",
2895 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36988049544/job/110777494476",
2896 + "name": "CodeQL JavaScript",
2897 + "startedAt": "2026-10-02T09:08:23Z",
2898 + "status": "COMPLETED",
2899 + "workflowName": "Security checks"
2900 + },
2901 + {
2902 + "__typename": "CheckRun",
2903 + "completedAt": "2026-10-02T09:08:20Z",
2904 + "conclusion": "SKIPPED",
2905 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36988049544/job/110777495757",
2906 + "name": "Dependency review",
2907 + "startedAt": "2026-10-02T09:08:20Z",
2908 + "status": "COMPLETED",
2909 + "workflowName": "Security checks"
2910 + },
2911 + {
2912 + "__typename": "CheckRun",
2913 + "completedAt": "2026-10-02T09:08:51Z",
2914 + "conclusion": "SUCCESS",
2915 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36988049471/job/110777494755",
2916 + "name": "c8-policy-database",
2917 + "startedAt": "2026-10-02T09:08:23Z",
2918 + "status": "COMPLETED",
2919 + "workflowName": "Quality checks"
2920 + },
2921 + {
2922 + "__typename": "CheckRun",
2923 + "completedAt": "2026-10-02T09:08:53Z",
2924 + "conclusion": "SUCCESS",
2925 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36988049471/job/110777494742",
2926 + "name": "d1-request-database",
2927 + "startedAt": "2026-10-02T09:08:23Z",
2928 + "status": "COMPLETED",
2929 + "workflowName": "Quality checks"
2930 + },
2931 + {
2932 + "__typename": "CheckRun",
2933 + "completedAt": "2026-10-02T09:09:15Z",
2934 + "conclusion": "SUCCESS",
2935 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/110777755225",
2936 + "name": "CodeQL",
2937 + "startedAt": "2026-10-02T09:09:12Z",
2938 + "status": "COMPLETED",
2939 + "workflowName": ""
2940 + }
2941 + ],
2942 + "title": "UI: structurally bind each scrollbar to its visual layer",
2943 + "updatedAt": "2026-10-02T09:08:16Z",
2944 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/40"
2945 + },
2946 + {
2947 + "baseRefName": "main",
2948 + "headRefName": "fix-shell-scrollbar-right-edge-20261002",
2949 + "headRefOid": "de9da02b1789532b68899e0e5918b98a7e82f1a8",
2950 + "isDraft": false,
2951 + "mergeStateStatus": "UNKNOWN",
2952 + "mergeable": "UNKNOWN",
2953 + "number": 39,
2954 + "statusCheckRollup": [
2955 + {
2956 + "__typename": "CheckRun",
2957 + "completedAt": "2026-10-02T08:58:32Z",
2958 + "conclusion": "SUCCESS",
2959 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36986988205/job/110774152497",
2960 + "name": "static-quality",
2961 + "startedAt": "2026-10-02T08:57:21Z",
2962 + "status": "COMPLETED",
2963 + "workflowName": "Quality checks"
2964 + },
2965 + {
2966 + "__typename": "CheckRun",
2967 + "completedAt": "2026-10-02T08:57:27Z",
2968 + "conclusion": "SUCCESS",
2969 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36986988148/job/110774151872",
2970 + "name": "Release and QA safety invariants",
2971 + "startedAt": "2026-10-02T08:57:21Z",
2972 + "status": "COMPLETED",
2973 + "workflowName": "Security checks"
2974 + },
2975 + {
2976 + "__typename": "CheckRun",
2977 + "completedAt": "2026-10-02T08:57:56Z",
2978 + "conclusion": "SUCCESS",
2979 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36986988205/job/110774152591",
2980 + "name": "identity-wave5a-database",
2981 + "startedAt": "2026-10-02T08:57:22Z",
2982 + "status": "COMPLETED",
2983 + "workflowName": "Quality checks"
2984 + },
2985 + {
2986 + "__typename": "CheckRun",
2987 + "completedAt": "2026-10-02T08:58:13Z",
2988 + "conclusion": "SUCCESS",
2989 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36986988148/job/110774151734",
2990 + "name": "CodeQL JavaScript",
2991 + "startedAt": "2026-10-02T08:57:21Z",
2992 + "status": "COMPLETED",
2993 + "workflowName": "Security checks"
2994 + },
2995 + {
2996 + "__typename": "CheckRun",
2997 + "completedAt": "2026-10-02T08:57:19Z",
2998 + "conclusion": "SKIPPED",
2999 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36986988148/job/110774153542",
3000 + "name": "Dependency review",
3001 + "startedAt": "2026-10-02T08:57:19Z",
3002 + "status": "COMPLETED",
3003 + "workflowName": "Security checks"
3004 + },
3005 + {
3006 + "__typename": "CheckRun",
3007 + "completedAt": "2026-10-02T08:58:05Z",
3008 + "conclusion": "SUCCESS",
3009 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36986988205/job/110774152454",
3010 + "name": "c8-policy-database",
3011 + "startedAt": "2026-10-02T08:57:22Z",
3012 + "status": "COMPLETED",
3013 + "workflowName": "Quality checks"
3014 + },
3015 + {
3016 + "__typename": "CheckRun",
3017 + "completedAt": "2026-10-02T08:57:56Z",
3018 + "conclusion": "SUCCESS",
3019 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36986988205/job/110774152171",
3020 + "name": "d1-request-database",
3021 + "startedAt": "2026-10-02T08:57:22Z",
3022 + "status": "COMPLETED",
3023 + "workflowName": "Quality checks"
3024 + },
3025 + {
3026 + "__typename": "CheckRun",
3027 + "completedAt": "2026-10-02T08:58:06Z",
3028 + "conclusion": "SUCCESS",
3029 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/110774368989",
3030 + "name": "CodeQL",
3031 + "startedAt": "2026-10-02T08:58:03Z",
3032 + "status": "COMPLETED",
3033 + "workflowName": ""
3034 + }
3035 + ],
3036 + "title": "UI: correct native scrollbar side from live video",
3037 + "updatedAt": "2026-10-02T08:57:15Z",
3038 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/39"
3039 + },
3040 + {
3041 + "baseRefName": "main",
3042 + "headRefName": "fix/phase3-behavioral-verification",
3043 + "headRefOid": "4e9f12e891887ccf2c33b251c5cbed9bdfd46689",
3044 + "isDraft": true,
3045 + "mergeStateStatus": "UNKNOWN",
3046 + "mergeable": "UNKNOWN",
3047 + "number": 6,
3048 + "statusCheckRollup": [
3049 + {
3050 + "__typename": "CheckRun",
3051 + "completedAt": "2026-09-28T16:52:05Z",
3052 + "conclusion": "SUCCESS",
3053 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36454085072/job/109035863890",
3054 + "name": "static-quality",
3055 + "startedAt": "2026-09-28T16:51:58Z",
3056 + "status": "COMPLETED",
3057 + "workflowName": "Quality checks"
3058 + },
3059 + {
3060 + "__typename": "CheckRun",
3061 + "completedAt": "2026-09-28T16:53:02Z",
3062 + "conclusion": "SUCCESS",
3063 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36454085281/job/109035865843",
3064 + "name": "CodeQL JavaScript",
3065 + "startedAt": "2026-09-28T16:51:58Z",
3066 + "status": "COMPLETED",
3067 + "workflowName": "Security checks"
3068 + },
3069 + {
3070 + "__typename": "CheckRun",
3071 + "completedAt": "2026-09-28T16:52:06Z",
3072 + "conclusion": "FAILURE",
3073 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36454085281/job/109035866376",
3074 + "name": "Dependency review",
3075 + "startedAt": "2026-09-28T16:51:58Z",
3076 + "status": "COMPLETED",
3077 + "workflowName": "Security checks"
3078 + },
3079 + {
3080 + "__typename": "CheckRun",
3081 + "completedAt": "2026-09-28T16:52:55Z",
3082 + "conclusion": "SUCCESS",
3083 + "detailsUrl": "https://github.com/davoodmehraban89/Factor-easy/runs/109036250867",
3084 + "name": "CodeQL",
3085 + "startedAt": "2026-09-28T16:52:52Z",
3086 + "status": "COMPLETED",
3087 + "workflowName": ""
3088 + }
3089 + ],
3090 + "title": "Phase 3 recovery: fix accounting behavior and reopen acceptance",
3091 + "updatedAt": "2026-09-28T16:53:46Z",
3092 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/6"
3093 + }
3094 + ],
3095 + "branches": [
3096 + {
3097 + "name": "audit/finora-master-prompt-phase0-20261016",
3098 + "sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa",
3099 + "protected": false,
3100 + "prs": [
3101 + {
3102 + "number": 160,
3103 + "title": "Phase 0: audit financial events, classify/run tests, archive project continuity",
3104 + "base": "main",
3105 + "state": "closed",
3106 + "merged_at": "2026-10-16T07:36:42Z",
3107 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/160",
3108 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3109 + }
3110 + ],
3111 + "ancestor_of_main": false,
3112 + "main_ancestor": false,
3113 + "merge_base": "612998edb51274ac1e6136a31265cd17b9abd265",
3114 + "ahead_behind_main": [
3115 + "47",
3116 + "12"
3117 + ],
3118 + "last_subject": "docs: scope phase-zero change to audit and extended CI-only test coverage",
3119 + "conflict_with_main": "CONFLICTING",
3120 + "conflict_paths": [
3121 + "PROJECT_STATE.md"
3122 + ],
3123 + "check_runs_total_count": 9,
3124 + "checks": [
3125 + {
3126 + "name": "CodeQL",
3127 + "status": "completed",
3128 + "conclusion": "success",
3129 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/116864822481",
3130 + "started_at": "2026-10-16T07:32:41Z",
3131 + "completed_at": "2026-10-16T07:32:44Z",
3132 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3133 + },
3134 + {
3135 + "name": "d1-request-database",
3136 + "status": "completed",
3137 + "conclusion": "success",
3138 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38867730181/job/116864787817",
3139 + "started_at": "2026-10-16T07:32:37Z",
3140 + "completed_at": "2026-10-16T07:33:06Z",
3141 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3142 + },
3143 + {
3144 + "name": "static-quality",
3145 + "status": "completed",
3146 + "conclusion": "success",
3147 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38867730181/job/116864787758",
3148 + "started_at": "2026-10-16T07:32:37Z",
3149 + "completed_at": "2026-10-16T07:35:57Z",
3150 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3151 + },
3152 + {
3153 + "name": "identity-wave5a-database",
3154 + "status": "completed",
3155 + "conclusion": "success",
3156 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38867730181/job/116864787715",
3157 + "started_at": "2026-10-16T07:32:38Z",
3158 + "completed_at": "2026-10-16T07:33:07Z",
3159 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3160 + },
3161 + {
3162 + "name": "c8-policy-database",
3163 + "status": "completed",
3164 + "conclusion": "success",
3165 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38867730181/job/116864787548",
3166 + "started_at": "2026-10-16T07:32:37Z",
3167 + "completed_at": "2026-10-16T07:33:07Z",
3168 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3169 + },
3170 + {
3171 + "name": "Dependency review",
3172 + "status": "completed",
3173 + "conclusion": "skipped",
3174 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38867730191/job/116864545428",
3175 + "started_at": "2026-10-16T07:31:53Z",
3176 + "completed_at": "2026-10-16T07:31:52Z",
3177 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3178 + },
3179 + {
3180 + "name": "Release and QA safety invariants",
3181 + "status": "completed",
3182 + "conclusion": "success",
3183 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38867730191/job/116864544672",
3184 + "started_at": "2026-10-16T07:31:56Z",
3185 + "completed_at": "2026-10-16T07:32:03Z",
3186 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3187 + },
3188 + {
3189 + "name": "CodeQL JavaScript",
3190 + "status": "completed",
3191 + "conclusion": "success",
3192 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38867730191/job/116864544480",
3193 + "started_at": "2026-10-16T07:31:55Z",
3194 + "completed_at": "2026-10-16T07:32:52Z",
3195 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3196 + },
3197 + {
3198 + "name": "Supabase Preview",
3199 + "status": "completed",
3200 + "conclusion": "skipped",
3201 + "details_url": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
3202 + "started_at": "2026-10-16T07:31:09Z",
3203 + "completed_at": "2026-10-16T07:31:09Z",
3204 + "head_sha": "cdb360101cb2abd1d770c6e688f0ba6f66375aaa"
3205 + }
3206 + ]
3207 + },
3208 + {
3209 + "name": "audit/finora-stage3-legacy-source-readonly-20261023",
3210 + "sha": "283af3e2e65ca6511b08ded9dac6774c35a54798",
3211 + "protected": false,
3212 + "prs": [
3213 + {
3214 + "number": 170,
3215 + "title": "[READ-ONLY / DO NOT MERGE] Stage3 historical source VAT/currency reconciliation gate",
3216 + "base": "work/finora-stage3-payload-green-20261023",
3217 + "state": "open",
3218 + "merged_at": null,
3219 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/170",
3220 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3221 + }
3222 + ],
3223 + "ancestor_of_main": false,
3224 + "main_ancestor": false,
3225 + "merge_base": "bccd474433b4188e43aae345773498ea6fc65209",
3226 + "ahead_behind_main": [
3227 + "45",
3228 + "152"
3229 + ],
3230 + "last_subject": "docs(stage3 audit): checkpoint measured 15-row legacy gap and exact-head red-green QA",
3231 + "conflict_with_main": "CONFLICTING",
3232 + "conflict_paths": [
3233 + "PROJECT_STATE.md"
3234 + ],
3235 + "check_runs_total_count": 10,
3236 + "checks": [
3237 + {
3238 + "name": "CodeQL",
3239 + "status": "completed",
3240 + "conclusion": "success",
3241 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/120305586211",
3242 + "started_at": "2026-10-23T07:54:14Z",
3243 + "completed_at": "2026-10-23T07:54:17Z",
3244 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3245 + },
3246 + {
3247 + "name": "Dependency review",
3248 + "status": "completed",
3249 + "conclusion": "skipped",
3250 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787932/job/120305227033",
3251 + "started_at": "2026-10-23T07:53:14Z",
3252 + "completed_at": "2026-10-23T07:53:14Z",
3253 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3254 + },
3255 + {
3256 + "name": "d1-request-database",
3257 + "status": "completed",
3258 + "conclusion": "success",
3259 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787979/job/120305225656",
3260 + "started_at": "2026-10-23T07:53:17Z",
3261 + "completed_at": "2026-10-23T07:53:55Z",
3262 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3263 + },
3264 + {
3265 + "name": "identity-wave5a-database",
3266 + "status": "completed",
3267 + "conclusion": "success",
3268 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787979/job/120305225613",
3269 + "started_at": "2026-10-23T07:53:17Z",
3270 + "completed_at": "2026-10-23T07:53:50Z",
3271 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3272 + },
3273 + {
3274 + "name": "c8-policy-database",
3275 + "status": "completed",
3276 + "conclusion": "success",
3277 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787979/job/120305225604",
3278 + "started_at": "2026-10-23T07:53:17Z",
3279 + "completed_at": "2026-10-23T07:53:47Z",
3280 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3281 + },
3282 + {
3283 + "name": "static-quality",
3284 + "status": "completed",
3285 + "conclusion": "success",
3286 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787979/job/120305225173",
3287 + "started_at": "2026-10-23T07:53:17Z",
3288 + "completed_at": "2026-10-23T07:56:19Z",
3289 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3290 + },
3291 + {
3292 + "name": "CodeQL JavaScript",
3293 + "status": "completed",
3294 + "conclusion": "success",
3295 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787932/job/120305225005",
3296 + "started_at": "2026-10-23T07:53:17Z",
3297 + "completed_at": "2026-10-23T07:54:24Z",
3298 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3299 + },
3300 + {
3301 + "name": "Release and QA safety invariants",
3302 + "status": "completed",
3303 + "conclusion": "success",
3304 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920787932/job/120305224637",
3305 + "started_at": "2026-10-23T07:53:17Z",
3306 + "completed_at": "2026-10-23T07:53:24Z",
3307 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3308 + },
3309 + {
3310 + "name": "legacy-source-contract-audit",
3311 + "status": "completed",
3312 + "conclusion": "success",
3313 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/39920782208/job/120305205678",
3314 + "started_at": "2026-10-23T07:53:13Z",
3315 + "completed_at": "2026-10-23T07:53:18Z",
3316 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3317 + },
3318 + {
3319 + "name": "Supabase Preview",
3320 + "status": "completed",
3321 + "conclusion": "skipped",
3322 + "details_url": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
3323 + "started_at": "2026-10-23T07:53:10Z",
3324 + "completed_at": "2026-10-23T07:53:10Z",
3325 + "head_sha": "283af3e2e65ca6511b08ded9dac6774c35a54798"
3326 + }
3327 + ]
3328 + },
3329 + {
3330 + "name": "audit/full-controls-20261030",
3331 + "sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464",
3332 + "protected": false,
3333 + "prs": [
3334 + {
3335 + "number": 191,
3336 + "title": "Fix commerce types and restore organization navigation with control audit",
3337 + "base": "main",
3338 + "state": "closed",
3339 + "merged_at": "2026-10-31T14:43:56Z",
3340 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/191",
3341 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3342 + }
3343 + ],
3344 + "ancestor_of_main": true,
3345 + "main_ancestor": false,
3346 + "merge_base": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464",
3347 + "ahead_behind_main": [
3348 + "1",
3349 + "0"
3350 + ],
3351 + "last_subject": "Record recovery evidence and align scroll regression with new asset version",
3352 + "conflict_with_main": "ALREADY_REACHABLE",
3353 + "check_runs_total_count": 9,
3354 + "checks": [
3355 + {
3356 + "name": "CodeQL",
3357 + "status": "completed",
3358 + "conclusion": "success",
3359 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/124566519032",
3360 + "started_at": "2026-10-31T14:40:45Z",
3361 + "completed_at": "2026-10-31T14:40:48Z",
3362 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3363 + },
3364 + {
3365 + "name": "Dependency review",
3366 + "status": "completed",
3367 + "conclusion": "skipped",
3368 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41211179231/job/124566329820",
3369 + "started_at": "2026-10-31T14:39:58Z",
3370 + "completed_at": "2026-10-31T14:39:57Z",
3371 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3372 + },
3373 + {
3374 + "name": "identity-wave5a-database",
3375 + "status": "completed",
3376 + "conclusion": "success",
3377 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41211179382/job/124566329448",
3378 + "started_at": "2026-10-31T14:40:00Z",
3379 + "completed_at": "2026-10-31T14:40:25Z",
3380 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3381 + },
3382 + {
3383 + "name": "static-quality",
3384 + "status": "completed",
3385 + "conclusion": "success",
3386 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41211179382/job/124566329362",
3387 + "started_at": "2026-10-31T14:40:00Z",
3388 + "completed_at": "2026-10-31T14:43:40Z",
3389 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3390 + },
3391 + {
3392 + "name": "c8-policy-database",
3393 + "status": "completed",
3394 + "conclusion": "success",
3395 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41211179382/job/124566329300",
3396 + "started_at": "2026-10-31T14:40:05Z",
3397 + "completed_at": "2026-10-31T14:40:32Z",
3398 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3399 + },
3400 + {
3401 + "name": "d1-request-database",
3402 + "status": "completed",
3403 + "conclusion": "success",
3404 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41211179382/job/124566329262",
3405 + "started_at": "2026-10-31T14:40:00Z",
3406 + "completed_at": "2026-10-31T14:40:48Z",
3407 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3408 + },
3409 + {
3410 + "name": "Release and QA safety invariants",
3411 + "status": "completed",
3412 + "conclusion": "success",
3413 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41211179231/job/124566329017",
3414 + "started_at": "2026-10-31T14:40:00Z",
3415 + "completed_at": "2026-10-31T14:40:08Z",
3416 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3417 + },
3418 + {
3419 + "name": "CodeQL JavaScript",
3420 + "status": "completed",
3421 + "conclusion": "success",
3422 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/41211179231/job/124566328752",
3423 + "started_at": "2026-10-31T14:40:00Z",
3424 + "completed_at": "2026-10-31T14:40:54Z",
3425 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3426 + },
3427 + {
3428 + "name": "Supabase Preview",
3429 + "status": "completed",
3430 + "conclusion": "skipped",
3431 + "details_url": "https://supabase.com/dashboard/project/hcsixhqbyuhpshfwqpjx/branches",
3432 + "started_at": "2026-10-31T14:39:53Z",
3433 + "completed_at": "2026-10-31T14:39:53Z",
3434 + "head_sha": "c29770ab84b2f52659c54b3ecfb0df6cb44bb464"
3435 + }
3436 + ]
3437 + },
3438 + {
3439 + "name": "audit/owner-live-state-reconcile-20261012",
3440 + "sha": "a053d2e3627105566c09d82475ff916fcd5e804e",
3441 + "protected": false,
3442 + "prs": [
3443 + {
3444 + "number": 102,
3445 + "title": "docs(state): reconcile live GitHub/Supabase evidence and owner QA gates",
3446 + "base": "main",
3447 + "state": "closed",
3448 + "merged_at": "2026-10-12T14:33:20Z",
3449 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/102",
3450 + "head_sha": "a053d2e3627105566c09d82475ff916fcd5e804e"
3451 + }
3452 + ],
3453 + "ancestor_of_main": false,
3454 + "main_ancestor": false,
3455 + "merge_base": "cc1c2cfddcff3a1f27302c027b9467fafa8b29f8",
3456 + "ahead_behind_main": [
3457 + "92",
3458 + "1"
3459 + ],
3460 + "last_subject": "docs(state): reconcile 2026-10-12 GitHub CI and Supabase evidence without scope expansion",
3461 + "conflict_with_main": "CONFLICTING",
3462 + "conflict_paths": [
3463 + "PROJECT_STATE.md"
3464 + ],
3465 + "check_runs_total_count": 8,
3466 + "checks": [
3467 + {
3468 + "name": "CodeQL",
3469 + "status": "completed",
3470 + "conclusion": "success",
3471 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/114859724342",
3472 + "started_at": "2026-10-12T14:31:07Z",
3473 + "completed_at": "2026-10-12T14:31:16Z",
3474 + "head_sha": "a053d2e3627105566c09d82475ff916fcd5e804e"
3475 + },
3476 + {
3477 + "name": "Dependency review",
3478 + "status": "completed",
3479 + "conclusion": "skipped",
3480 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38263379761/job/114859324783",
3481 + "started_at": "2026-10-12T14:30:12Z",
3482 + "completed_at": "2026-10-12T14:30:11Z",
3483 + "head_sha": "a053d2e3627105566c09d82475ff916fcd5e804e"
3484 + },
3485 + {
3486 + "name": "d1-request-database",
3487 + "status": "completed",
3488 + "conclusion": "success",
3489 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38263379525/job/114859323233",
3490 + "started_at": "2026-10-12T14:30:14Z",
3491 + "completed_at": "2026-10-12T14:31:00Z",
3492 + "head_sha": "a053d2e3627105566c09d82475ff916fcd5e804e"
3493 + },
3494 + {
3495 + "name": "c8-policy-database",
3496 + "status": "completed",
3497 + "conclusion": "success",
3498 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38263379525/job/114859323040",
3499 + "started_at": "2026-10-12T14:30:14Z",
3500 + "completed_at": "2026-10-12T14:30:52Z",
3501 + "head_sha": "a053d2e3627105566c09d82475ff916fcd5e804e"
3502 + },
3503 + {
3504 + "name": "static-quality",
3505 + "status": "completed",
3506 + "conclusion": "success",
3507 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38263379525/job/114859322898",
3508 + "started_at": "2026-10-12T14:30:15Z",
3509 + "completed_at": "2026-10-12T14:31:51Z",
3510 + "head_sha": "a053d2e3627105566c09d82475ff916fcd5e804e"
3511 + },
3512 + {
3513 + "name": "identity-wave5a-database",
3514 + "status": "completed",
3515 + "conclusion": "success",
3516 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38263379525/job/114859322415",
3517 + "started_at": "2026-10-12T14:30:15Z",
3518 + "completed_at": "2026-10-12T14:30:53Z",
3519 + "head_sha": "a053d2e3627105566c09d82475ff916fcd5e804e"
3520 + },
3521 + {
3522 + "name": "CodeQL JavaScript",
3523 + "status": "completed",
3524 + "conclusion": "success",
3525 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38263379761/job/114859321621",
3526 + "started_at": "2026-10-12T14:30:14Z",
3527 + "completed_at": "2026-10-12T14:31:16Z",
3528 + "head_sha": "a053d2e3627105566c09d82475ff916fcd5e804e"
3529 + },
3530 + {
3531 + "name": "Release and QA safety invariants",
3532 + "status": "completed",
3533 + "conclusion": "success",
3534 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38263379761/job/114859321310",
3535 + "started_at": "2026-10-12T14:30:14Z",
3536 + "completed_at": "2026-10-12T14:30:25Z",
3537 + "head_sha": "a053d2e3627105566c09d82475ff916fcd5e804e"
3538 + }
3539 + ]
3540 + },
3541 + {
3542 + "name": "audit/owner-review-20261007",
3543 + "sha": "94e9cea2951a1b8e0ca6ebb494d353a53ba960c2",
3544 + "protected": false,
3545 + "prs": [],
3546 + "ancestor_of_main": false,
3547 + "main_ancestor": false,
3548 + "merge_base": "7e58c75f7d754f378d94ca3f356c1ae580aa7ee3",
3549 + "ahead_behind_main": [
3550 + "256",
3551 + "1"
3552 + ],
3553 + "last_subject": "docs: record owner audit and reconcile live state",
3554 + "conflict_with_main": "CONFLICTING",
3555 + "conflict_paths": [
3556 + "PROJECT_STATE.md"
3557 + ],
3558 + "check_runs_total_count": 0,
3559 + "checks": []
3560 + },
3561 + {
3562 + "name": "audit/phase1-live-permissions-readonly-20261013",
3563 + "sha": "a62ca110dad7051e3fcac405f0a19a033404df90",
3564 + "protected": false,
3565 + "prs": [
3566 + {
3567 + "number": 123,
3568 + "title": "audit(phase1): add executed read-only permission gates and historic signup guard review",
3569 + "base": "main",
3570 + "state": "closed",
3571 + "merged_at": "2026-10-13T09:37:43Z",
3572 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/123",
3573 + "head_sha": "a62ca110dad7051e3fcac405f0a19a033404df90"
3574 + }
3575 + ],
3576 + "ancestor_of_main": false,
3577 + "main_ancestor": false,
3578 + "merge_base": "1fa5cf99be9eb790d1192b7597d2dbf65cc9d3fa",
3579 + "ahead_behind_main": [
3580 + "73",
3581 + "4"
3582 + ],
3583 + "last_subject": "docs(phase1): record validated 4-pass live permission checks and stale PR #58 hazard",
3584 + "conflict_with_main": "CONFLICTING",
3585 + "conflict_paths": [
3586 + "PROJECT_STATE.md"
3587 + ],
3588 + "check_runs_total_count": 8,
3589 + "checks": [
3590 + {
3591 + "name": "CodeQL",
3592 + "status": "completed",
3593 + "conclusion": "success",
3594 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/115229146256",
3595 + "started_at": "2026-10-13T09:35:27Z",
3596 + "completed_at": "2026-10-13T09:35:39Z",
3597 + "head_sha": "a62ca110dad7051e3fcac405f0a19a033404df90"
3598 + },
3599 + {
3600 + "name": "Dependency review",
3601 + "status": "completed",
3602 + "conclusion": "skipped",
3603 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38377299987/job/115228794081",
3604 + "started_at": "2026-10-13T09:34:34Z",
3605 + "completed_at": "2026-10-13T09:34:34Z",
3606 + "head_sha": "a62ca110dad7051e3fcac405f0a19a033404df90"
3607 + },
3608 + {
3609 + "name": "static-quality",
3610 + "status": "completed",
3611 + "conclusion": "success",
3612 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38377300000/job/115228792594",
3613 + "started_at": "2026-10-13T09:34:37Z",
3614 + "completed_at": "2026-10-13T09:37:24Z",
3615 + "head_sha": "a62ca110dad7051e3fcac405f0a19a033404df90"
3616 + },
3617 + {
3618 + "name": "d1-request-database",
3619 + "status": "completed",
3620 + "conclusion": "success",
3621 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38377300000/job/115228792448",
3622 + "started_at": "2026-10-13T09:34:37Z",
3623 + "completed_at": "2026-10-13T09:35:18Z",
3624 + "head_sha": "a62ca110dad7051e3fcac405f0a19a033404df90"
3625 + },
3626 + {
3627 + "name": "c8-policy-database",
3628 + "status": "completed",
3629 + "conclusion": "success",
3630 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38377300000/job/115228792361",
3631 + "started_at": "2026-10-13T09:34:37Z",
3632 + "completed_at": "2026-10-13T09:35:20Z",
3633 + "head_sha": "a62ca110dad7051e3fcac405f0a19a033404df90"
3634 + },
3635 + {
3636 + "name": "identity-wave5a-database",
3637 + "status": "completed",
3638 + "conclusion": "success",
3639 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38377300000/job/115228792270",
3640 + "started_at": "2026-10-13T09:34:37Z",
3641 + "completed_at": "2026-10-13T09:35:12Z",
3642 + "head_sha": "a62ca110dad7051e3fcac405f0a19a033404df90"
3643 + },
3644 + {
3645 + "name": "Release and QA safety invariants",
3646 + "status": "completed",
3647 + "conclusion": "success",
3648 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38377299987/job/115228791744",
3649 + "started_at": "2026-10-13T09:34:37Z",
3650 + "completed_at": "2026-10-13T09:34:44Z",
3651 + "head_sha": "a62ca110dad7051e3fcac405f0a19a033404df90"
3652 + },
3653 + {
3654 + "name": "CodeQL JavaScript",
3655 + "status": "completed",
3656 + "conclusion": "success",
3657 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/38377299987/job/115228791636",
3658 + "started_at": "2026-10-13T09:34:37Z",
3659 + "completed_at": "2026-10-13T09:35:48Z",
3660 + "head_sha": "a62ca110dad7051e3fcac405f0a19a033404df90"
3661 + }
3662 + ]
3663 + },
3664 + {
3665 + "name": "audit/reconcile-live-state-20261006",
3666 + "sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d",
3667 + "protected": false,
3668 + "prs": [
3669 + {
3670 + "number": 49,
3671 + "title": "docs: reconcile live operating state",
3672 + "base": "main",
3673 + "state": "closed",
3674 + "merged_at": null,
3675 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/49",
3676 + "head_sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d"
3677 + }
3678 + ],
3679 + "ancestor_of_main": false,
3680 + "main_ancestor": false,
3681 + "merge_base": "dfaa4d65918ea3bca14be2c4737af734c9328083",
3682 + "ahead_behind_main": [
3683 + "263",
3684 + "1"
3685 + ],
3686 + "last_subject": "docs: reconcile live operating state",
3687 + "conflict_with_main": "CONFLICTING",
3688 + "conflict_paths": [
3689 + "PROJECT_STATE.md"
3690 + ],
3691 + "check_runs_total_count": 8,
3692 + "checks": [
3693 + {
3694 + "name": "CodeQL",
3695 + "status": "completed",
3696 + "conclusion": "success",
3697 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/112471084367",
3698 + "started_at": "2026-10-06T19:55:01Z",
3699 + "completed_at": "2026-10-06T19:55:03Z",
3700 + "head_sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d"
3701 + },
3702 + {
3703 + "name": "Dependency review",
3704 + "status": "completed",
3705 + "conclusion": "skipped",
3706 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37522346675/job/112470675409",
3707 + "started_at": "2026-10-06T19:54:04Z",
3708 + "completed_at": "2026-10-06T19:54:04Z",
3709 + "head_sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d"
3710 + },
3711 + {
3712 + "name": "CodeQL JavaScript",
3713 + "status": "completed",
3714 + "conclusion": "success",
3715 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37522346675/job/112470674056",
3716 + "started_at": "2026-10-06T19:54:07Z",
3717 + "completed_at": "2026-10-06T19:55:10Z",
3718 + "head_sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d"
3719 + },
3720 + {
3721 + "name": "Release and QA safety invariants",
3722 + "status": "completed",
3723 + "conclusion": "success",
3724 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37522346675/job/112470673681",
3725 + "started_at": "2026-10-06T19:54:07Z",
3726 + "completed_at": "2026-10-06T19:54:12Z",
3727 + "head_sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d"
3728 + },
3729 + {
3730 + "name": "d1-request-database",
3731 + "status": "completed",
3732 + "conclusion": "success",
3733 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37522346599/job/112470673657",
3734 + "started_at": "2026-10-06T19:54:07Z",
3735 + "completed_at": "2026-10-06T19:54:37Z",
3736 + "head_sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d"
3737 + },
3738 + {
3739 + "name": "c8-policy-database",
3740 + "status": "completed",
3741 + "conclusion": "success",
3742 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37522346599/job/112470673329",
3743 + "started_at": "2026-10-06T19:54:06Z",
3744 + "completed_at": "2026-10-06T19:54:34Z",
3745 + "head_sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d"
3746 + },
3747 + {
3748 + "name": "identity-wave5a-database",
3749 + "status": "completed",
3750 + "conclusion": "success",
3751 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37522346599/job/112470673265",
3752 + "started_at": "2026-10-06T19:54:06Z",
3753 + "completed_at": "2026-10-06T19:54:37Z",
3754 + "head_sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d"
3755 + },
3756 + {
3757 + "name": "static-quality",
3758 + "status": "completed",
3759 + "conclusion": "success",
3760 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/37522346599/job/112470672927",
3761 + "started_at": "2026-10-06T19:54:06Z",
3762 + "completed_at": "2026-10-06T19:55:09Z",
3763 + "head_sha": "01477d04dfeeb7dc454f3d53bbeab600305b9f2d"
3764 + }
3765 + ]
3766 + },
3767 + {
3768 + "name": "audit/reconcile-state-20261002",
3769 + "sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e",
3770 + "protected": false,
3771 + "prs": [
3772 + {
3773 + "number": 44,
3774 + "title": "docs: reconcile live verification and missing Wave 4 production migration",
3775 + "base": "main",
3776 + "state": "closed",
3777 + "merged_at": "2026-10-02T10:16:15Z",
3778 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/44",
3779 + "head_sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e"
3780 + }
3781 + ],
3782 + "ancestor_of_main": false,
3783 + "main_ancestor": false,
3784 + "merge_base": "d70e7d02ecebe5aa75f05b71c0d9a18ad316e7e5",
3785 + "ahead_behind_main": [
3786 + "268",
3787 + "2"
3788 + ],
3789 + "last_subject": "docs: reconcile verified tests and missing production Wave 4 migration",
3790 + "conflict_with_main": "CONFLICTING",
3791 + "conflict_paths": [
3792 + "PROJECT_STATE.md"
3793 + ],
3794 + "check_runs_total_count": 8,
3795 + "checks": [
3796 + {
3797 + "name": "CodeQL",
3798 + "status": "completed",
3799 + "conclusion": "success",
3800 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110797870458",
3801 + "started_at": "2026-10-02T10:15:26Z",
3802 + "completed_at": "2026-10-02T10:15:29Z",
3803 + "head_sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e"
3804 + },
3805 + {
3806 + "name": "Dependency review",
3807 + "status": "completed",
3808 + "conclusion": "skipped",
3809 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36994391599/job/110797661127",
3810 + "started_at": "2026-10-02T10:14:43Z",
3811 + "completed_at": "2026-10-02T10:14:43Z",
3812 + "head_sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e"
3813 + },
3814 + {
3815 + "name": "CodeQL JavaScript",
3816 + "status": "completed",
3817 + "conclusion": "success",
3818 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36994391599/job/110797658502",
3819 + "started_at": "2026-10-02T10:14:46Z",
3820 + "completed_at": "2026-10-02T10:15:35Z",
3821 + "head_sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e"
3822 + },
3823 + {
3824 + "name": "d1-request-database",
3825 + "status": "completed",
3826 + "conclusion": "success",
3827 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36994391586/job/110797658412",
3828 + "started_at": "2026-10-02T10:14:46Z",
3829 + "completed_at": "2026-10-02T10:15:13Z",
3830 + "head_sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e"
3831 + },
3832 + {
3833 + "name": "Release and QA safety invariants",
3834 + "status": "completed",
3835 + "conclusion": "success",
3836 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36994391599/job/110797658326",
3837 + "started_at": "2026-10-02T10:14:46Z",
3838 + "completed_at": "2026-10-02T10:14:53Z",
3839 + "head_sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e"
3840 + },
3841 + {
3842 + "name": "c8-policy-database",
3843 + "status": "completed",
3844 + "conclusion": "success",
3845 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36994391586/job/110797658317",
3846 + "started_at": "2026-10-02T10:14:46Z",
3847 + "completed_at": "2026-10-02T10:15:19Z",
3848 + "head_sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e"
3849 + },
3850 + {
3851 + "name": "static-quality",
3852 + "status": "completed",
3853 + "conclusion": "success",
3854 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36994391586/job/110797658259",
3855 + "started_at": "2026-10-02T10:14:46Z",
3856 + "completed_at": "2026-10-02T10:15:54Z",
3857 + "head_sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e"
3858 + },
3859 + {
3860 + "name": "identity-wave5a-database",
3861 + "status": "completed",
3862 + "conclusion": "success",
3863 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36994391586/job/110797658141",
3864 + "started_at": "2026-10-02T10:14:45Z",
3865 + "completed_at": "2026-10-02T10:15:18Z",
3866 + "head_sha": "7752d2a3718ab355d18a804a1e15d9c0bc3aa80e"
3867 + }
3868 + ]
3869 + },
3870 + {
3871 + "name": "audit-remediation-wave3-4-20261002",
3872 + "sha": "9e5ebce19d7071cc9fa6502a7e4b4af9968f7912",
3873 + "protected": false,
3874 + "prs": [
3875 + {
3876 + "number": 23,
3877 + "title": "Requests: close F-412 and harden Wave 3 replay",
3878 + "base": "main",
3879 + "state": "closed",
3880 + "merged_at": "2026-10-02T06:29:18Z",
3881 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/23",
3882 + "head_sha": "9e5ebce19d7071cc9fa6502a7e4b4af9968f7912"
3883 + }
3884 + ],
3885 + "ancestor_of_main": false,
3886 + "main_ancestor": false,
3887 + "merge_base": "42331fe78fc7807386b7c1031956ed788b34ff81",
3888 + "ahead_behind_main": [
3889 + "284",
3890 + "2"
3891 + ],
3892 + "last_subject": "Requests: close F-412 and harden Wave 3 replay",
3893 + "conflict_with_main": "CONFLICTING",
3894 + "conflict_paths": [
3895 + ".github/workflows/quality.yml",
3896 + "PROJECT_STATE.md"
3897 + ],
3898 + "check_runs_total_count": 7,
3899 + "checks": [
3900 + {
3901 + "name": "CodeQL",
3902 + "status": "completed",
3903 + "conclusion": "success",
3904 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110733031307",
3905 + "started_at": "2026-10-02T06:28:59Z",
3906 + "completed_at": "2026-10-02T06:29:01Z",
3907 + "head_sha": "9e5ebce19d7071cc9fa6502a7e4b4af9968f7912"
3908 + },
3909 + {
3910 + "name": "d1-request-database",
3911 + "status": "completed",
3912 + "conclusion": "success",
3913 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36973677458/job/110732811683",
3914 + "started_at": "2026-10-02T06:28:05Z",
3915 + "completed_at": "2026-10-02T06:28:39Z",
3916 + "head_sha": "9e5ebce19d7071cc9fa6502a7e4b4af9968f7912"
3917 + },
3918 + {
3919 + "name": "c8-policy-database",
3920 + "status": "completed",
3921 + "conclusion": "success",
3922 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36973677458/job/110732811654",
3923 + "started_at": "2026-10-02T06:28:06Z",
3924 + "completed_at": "2026-10-02T06:28:30Z",
3925 + "head_sha": "9e5ebce19d7071cc9fa6502a7e4b4af9968f7912"
3926 + },
3927 + {
3928 + "name": "static-quality",
3929 + "status": "completed",
3930 + "conclusion": "success",
3931 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36973677458/job/110732811395",
3932 + "started_at": "2026-10-02T06:28:05Z",
3933 + "completed_at": "2026-10-02T06:29:01Z",
3934 + "head_sha": "9e5ebce19d7071cc9fa6502a7e4b4af9968f7912"
3935 + },
3936 + {
3937 + "name": "Release and QA safety invariants",
3938 + "status": "completed",
3939 + "conclusion": "success",
3940 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36973677327/job/110732811351",
3941 + "started_at": "2026-10-02T06:28:05Z",
3942 + "completed_at": "2026-10-02T06:28:12Z",
3943 + "head_sha": "9e5ebce19d7071cc9fa6502a7e4b4af9968f7912"
3944 + },
3945 + {
3946 + "name": "Dependency review",
3947 + "status": "completed",
3948 + "conclusion": "failure",
3949 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36973677327/job/110732811325",
3950 + "started_at": "2026-10-02T06:28:05Z",
3951 + "completed_at": "2026-10-02T06:28:12Z",
3952 + "head_sha": "9e5ebce19d7071cc9fa6502a7e4b4af9968f7912"
3953 + },
3954 + {
3955 + "name": "CodeQL JavaScript",
3956 + "status": "completed",
3957 + "conclusion": "success",
3958 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36973677327/job/110732811090",
3959 + "started_at": "2026-10-02T06:28:05Z",
3960 + "completed_at": "2026-10-02T06:29:08Z",
3961 + "head_sha": "9e5ebce19d7071cc9fa6502a7e4b4af9968f7912"
3962 + }
3963 + ]
3964 + },
3965 + {
3966 + "name": "audit-remediation-wave3-verify-20261002",
3967 + "sha": "6395569724000454840dd4f499bdd1a99941ca30",
3968 + "protected": false,
3969 + "prs": [
3970 + {
3971 + "number": 24,
3972 + "title": "Docs: verify F-412 and Wave 3 production evidence",
3973 + "base": "main",
3974 + "state": "closed",
3975 + "merged_at": "2026-10-02T06:33:53Z",
3976 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/24",
3977 + "head_sha": "6395569724000454840dd4f499bdd1a99941ca30"
3978 + }
3979 + ],
3980 + "ancestor_of_main": false,
3981 + "main_ancestor": false,
3982 + "merge_base": "d13498f3af03f544c05168727b440f053de1d733",
3983 + "ahead_behind_main": [
3984 + "283",
3985 + "1"
3986 + ],
3987 + "last_subject": "Docs: verify F-412 and Wave 3 production evidence",
3988 + "conflict_with_main": "CONFLICTING",
3989 + "conflict_paths": [
3990 + "PROJECT_STATE.md"
3991 + ],
3992 + "check_runs_total_count": 7,
3993 + "checks": [
3994 + {
3995 + "name": "CodeQL",
3996 + "status": "completed",
3997 + "conclusion": "success",
3998 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110734121994",
3999 + "started_at": "2026-10-02T06:33:25Z",
4000 + "completed_at": "2026-10-02T06:33:28Z",
4001 + "head_sha": "6395569724000454840dd4f499bdd1a99941ca30"
4002 + },
4003 + {
4004 + "name": "Dependency review",
4005 + "status": "completed",
4006 + "conclusion": "failure",
4007 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974041425/job/110733902638",
4008 + "started_at": "2026-10-02T06:32:34Z",
4009 + "completed_at": "2026-10-02T06:32:41Z",
4010 + "head_sha": "6395569724000454840dd4f499bdd1a99941ca30"
4011 + },
4012 + {
4013 + "name": "CodeQL JavaScript",
4014 + "status": "completed",
4015 + "conclusion": "success",
4016 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974041425/job/110733902607",
4017 + "started_at": "2026-10-02T06:32:34Z",
4018 + "completed_at": "2026-10-02T06:33:34Z",
4019 + "head_sha": "6395569724000454840dd4f499bdd1a99941ca30"
4020 + },
4021 + {
4022 + "name": "Release and QA safety invariants",
4023 + "status": "completed",
4024 + "conclusion": "success",
4025 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974041425/job/110733902462",
4026 + "started_at": "2026-10-02T06:32:35Z",
4027 + "completed_at": "2026-10-02T06:32:40Z",
4028 + "head_sha": "6395569724000454840dd4f499bdd1a99941ca30"
4029 + },
4030 + {
4031 + "name": "d1-request-database",
4032 + "status": "completed",
4033 + "conclusion": "success",
4034 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974041411/job/110733902274",
4035 + "started_at": "2026-10-02T06:32:33Z",
4036 + "completed_at": "2026-10-02T06:33:04Z",
4037 + "head_sha": "6395569724000454840dd4f499bdd1a99941ca30"
4038 + },
4039 + {
4040 + "name": "c8-policy-database",
4041 + "status": "completed",
4042 + "conclusion": "success",
4043 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974041411/job/110733902264",
4044 + "started_at": "2026-10-02T06:32:34Z",
4045 + "completed_at": "2026-10-02T06:33:07Z",
4046 + "head_sha": "6395569724000454840dd4f499bdd1a99941ca30"
4047 + },
4048 + {
4049 + "name": "static-quality",
4050 + "status": "completed",
4051 + "conclusion": "success",
4052 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974041411/job/110733901991",
4053 + "started_at": "2026-10-02T06:32:34Z",
4054 + "completed_at": "2026-10-02T06:33:35Z",
4055 + "head_sha": "6395569724000454840dd4f499bdd1a99941ca30"
4056 + }
4057 + ]
4058 + },
4059 + {
4060 + "name": "audit-remediation-wave4-20261002",
4061 + "sha": "dc3db8d906429d3febee45f2c7455daec8604988",
4062 + "protected": false,
4063 + "prs": [
4064 + {
4065 + "number": 26,
4066 + "title": "Requests: harden Wave 4 operational identities",
4067 + "base": "main",
4068 + "state": "closed",
4069 + "merged_at": "2026-10-02T06:46:37Z",
4070 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/26",
4071 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4072 + },
4073 + {
4074 + "number": 25,
4075 + "title": "Requests: remediate Wave 4 operational integrity",
4076 + "base": "main",
4077 + "state": "closed",
4078 + "merged_at": "2026-10-02T06:45:26Z",
4079 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/25",
4080 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4081 + }
4082 + ],
4083 + "ancestor_of_main": false,
4084 + "main_ancestor": false,
4085 + "merge_base": "45f28f4dde23461ac86bc57575e5d4ec64096b7b",
4086 + "ahead_behind_main": [
4087 + "282",
4088 + "3"
4089 + ],
4090 + "last_subject": "State: reconcile environment handoff and live targets",
4091 + "conflict_with_main": "CONFLICTING",
4092 + "conflict_paths": [
4093 + ".github/workflows/quality.yml",
4094 + "PROJECT_STATE.md"
4095 + ],
4096 + "check_runs_total_count": 13,
4097 + "checks": [
4098 + {
4099 + "name": "CodeQL",
4100 + "status": "completed",
4101 + "conclusion": "success",
4102 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110736977107",
4103 + "started_at": "2026-10-02T06:45:03Z",
4104 + "completed_at": "2026-10-02T06:45:05Z",
4105 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4106 + },
4107 + {
4108 + "name": "static-quality",
4109 + "status": "completed",
4110 + "conclusion": "success",
4111 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974992392/job/110736773204",
4112 + "started_at": "2026-10-02T06:44:14Z",
4113 + "completed_at": "2026-10-02T06:45:08Z",
4114 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4115 + },
4116 + {
4117 + "name": "c8-policy-database",
4118 + "status": "completed",
4119 + "conclusion": "success",
4120 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974992392/job/110736773193",
4121 + "started_at": "2026-10-02T06:44:14Z",
4122 + "completed_at": "2026-10-02T06:44:43Z",
4123 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4124 + },
4125 + {
4126 + "name": "d1-request-database",
4127 + "status": "completed",
4128 + "conclusion": "success",
4129 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974992392/job/110736773075",
4130 + "started_at": "2026-10-02T06:44:14Z",
4131 + "completed_at": "2026-10-02T06:44:46Z",
4132 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4133 + },
4134 + {
4135 + "name": "Release and QA safety invariants",
4136 + "status": "completed",
4137 + "conclusion": "success",
4138 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974992354/job/110736772224",
4139 + "started_at": "2026-10-02T06:44:15Z",
4140 + "completed_at": "2026-10-02T06:44:23Z",
4141 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4142 + },
4143 + {
4144 + "name": "CodeQL JavaScript",
4145 + "status": "completed",
4146 + "conclusion": "success",
4147 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974992354/job/110736772216",
4148 + "started_at": "2026-10-02T06:44:14Z",
4149 + "completed_at": "2026-10-02T06:45:13Z",
4150 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4151 + },
4152 + {
4153 + "name": "Dependency review",
4154 + "status": "completed",
4155 + "conclusion": "failure",
4156 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974992354/job/110736772068",
4157 + "started_at": "2026-10-02T06:44:15Z",
4158 + "completed_at": "2026-10-02T06:44:21Z",
4159 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4160 + },
4161 + {
4162 + "name": "d1-request-database",
4163 + "status": "completed",
4164 + "conclusion": "success",
4165 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974991809/job/110736771199",
4166 + "started_at": "2026-10-02T06:44:14Z",
4167 + "completed_at": "2026-10-02T06:44:55Z",
4168 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4169 + },
4170 + {
4171 + "name": "c8-policy-database",
4172 + "status": "completed",
4173 + "conclusion": "success",
4174 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974991809/job/110736771125",
4175 + "started_at": "2026-10-02T06:44:14Z",
4176 + "completed_at": "2026-10-02T06:44:43Z",
4177 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4178 + },
4179 + {
4180 + "name": "static-quality",
4181 + "status": "completed",
4182 + "conclusion": "success",
4183 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974991809/job/110736770944",
4184 + "started_at": "2026-10-02T06:44:14Z",
4185 + "completed_at": "2026-10-02T06:45:16Z",
4186 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4187 + },
4188 + {
4189 + "name": "CodeQL JavaScript",
4190 + "status": "completed",
4191 + "conclusion": "success",
4192 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974991700/job/110736770589",
4193 + "started_at": "2026-10-02T06:44:15Z",
4194 + "completed_at": "2026-10-02T06:45:16Z",
4195 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4196 + },
4197 + {
4198 + "name": "Release and QA safety invariants",
4199 + "status": "completed",
4200 + "conclusion": "success",
4201 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974991700/job/110736770540",
4202 + "started_at": "2026-10-02T06:44:14Z",
4203 + "completed_at": "2026-10-02T06:44:20Z",
4204 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4205 + },
4206 + {
4207 + "name": "Dependency review",
4208 + "status": "completed",
4209 + "conclusion": "failure",
4210 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36974991700/job/110736770408",
4211 + "started_at": "2026-10-02T06:44:14Z",
4212 + "completed_at": "2026-10-02T06:44:19Z",
4213 + "head_sha": "dc3db8d906429d3febee45f2c7455daec8604988"
4214 + }
4215 + ]
4216 + },
4217 + {
4218 + "name": "audit-remediation-wave4b-20261002",
4219 + "sha": "6bb22aa485ffeb850d1f5329714b8248beae79ec",
4220 + "protected": false,
4221 + "prs": [
4222 + {
4223 + "number": 27,
4224 + "title": "Requests: harden Wave 4 scheduler and outbox delivery boundary",
4225 + "base": "main",
4226 + "state": "closed",
4227 + "merged_at": "2026-10-02T06:56:09Z",
4228 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/27",
4229 + "head_sha": "6bb22aa485ffeb850d1f5329714b8248beae79ec"
4230 + }
4231 + ],
4232 + "ancestor_of_main": false,
4233 + "main_ancestor": false,
4234 + "merge_base": "35a70a0b435f111deda7c3c957b9dfafe0071a8d",
4235 + "ahead_behind_main": [
4236 + "280",
4237 + "6"
4238 + ],
4239 + "last_subject": "Tests: preserve PL/pgSQL dollar quote literally",
4240 + "conflict_with_main": "CONFLICTING",
4241 + "conflict_paths": [
4242 + "PROJECT_STATE.md",
4243 + "docs/REQUEST_WORKFLOW_WAVE4B_VERIFICATION.md"
4244 + ],
4245 + "check_runs_total_count": 7,
4246 + "checks": [
4247 + {
4248 + "name": "CodeQL",
4249 + "status": "completed",
4250 + "conclusion": "success",
4251 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110739631161",
4252 + "started_at": "2026-10-02T06:55:43Z",
4253 + "completed_at": "2026-10-02T06:55:46Z",
4254 + "head_sha": "6bb22aa485ffeb850d1f5329714b8248beae79ec"
4255 + },
4256 + {
4257 + "name": "d1-request-database",
4258 + "status": "completed",
4259 + "conclusion": "success",
4260 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36975854976/job/110739410054",
4261 + "started_at": "2026-10-02T06:54:54Z",
4262 + "completed_at": "2026-10-02T06:55:33Z",
4263 + "head_sha": "6bb22aa485ffeb850d1f5329714b8248beae79ec"
4264 + },
4265 + {
4266 + "name": "c8-policy-database",
4267 + "status": "completed",
4268 + "conclusion": "success",
4269 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36975854976/job/110739409990",
4270 + "started_at": "2026-10-02T06:54:55Z",
4271 + "completed_at": "2026-10-02T06:55:24Z",
4272 + "head_sha": "6bb22aa485ffeb850d1f5329714b8248beae79ec"
4273 + },
4274 + {
4275 + "name": "CodeQL JavaScript",
4276 + "status": "completed",
4277 + "conclusion": "success",
4278 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36975855052/job/110739409929",
4279 + "started_at": "2026-10-02T06:54:54Z",
4280 + "completed_at": "2026-10-02T06:55:51Z",
4281 + "head_sha": "6bb22aa485ffeb850d1f5329714b8248beae79ec"
4282 + },
4283 + {
4284 + "name": "Dependency review",
4285 + "status": "completed",
4286 + "conclusion": "failure",
4287 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36975855052/job/110739409885",
4288 + "started_at": "2026-10-02T06:54:54Z",
4289 + "completed_at": "2026-10-02T06:55:01Z",
4290 + "head_sha": "6bb22aa485ffeb850d1f5329714b8248beae79ec"
4291 + },
4292 + {
4293 + "name": "static-quality",
4294 + "status": "completed",
4295 + "conclusion": "success",
4296 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36975854976/job/110739409810",
4297 + "started_at": "2026-10-02T06:54:53Z",
4298 + "completed_at": "2026-10-02T06:55:46Z",
4299 + "head_sha": "6bb22aa485ffeb850d1f5329714b8248beae79ec"
4300 + },
4301 + {
4302 + "name": "Release and QA safety invariants",
4303 + "status": "completed",
4304 + "conclusion": "success",
4305 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36975855052/job/110739409791",
4306 + "started_at": "2026-10-02T06:54:54Z",
4307 + "completed_at": "2026-10-02T06:55:00Z",
4308 + "head_sha": "6bb22aa485ffeb850d1f5329714b8248beae79ec"
4309 + }
4310 + ]
4311 + },
4312 + {
4313 + "name": "audit-remediation-wave5a-identity-20261002",
4314 + "sha": "1365039439e70d95b7aa676538fabd49cd6a5171",
4315 + "protected": false,
4316 + "prs": [
4317 + {
4318 + "number": 30,
4319 + "title": "Identity: harden signup and seat-member bootstrap",
4320 + "base": "main",
4321 + "state": "closed",
4322 + "merged_at": "2026-10-02T07:49:58Z",
4323 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/30",
4324 + "head_sha": "1365039439e70d95b7aa676538fabd49cd6a5171"
4325 + }
4326 + ],
4327 + "ancestor_of_main": false,
4328 + "main_ancestor": false,
4329 + "merge_base": "4170cb7e33d1c88dd6eedb60aa3843b537646f4b",
4330 + "ahead_behind_main": [
4331 + "278",
4332 + "9"
4333 + ],
4334 + "last_subject": "State: enforce zero-cost infrastructure constraint",
4335 + "conflict_with_main": "CONFLICTING",
4336 + "conflict_paths": [
4337 + ".github/workflows/quality.yml",
4338 + "PROJECT_STATE.md",
4339 + "index.html",
4340 + "js/core.js",
4341 + "supabase/tests/identity_wave5a_behavior.sql",
4342 + "supabase/tests/identity_wave5a_bootstrap.sql"
4343 + ],
4344 + "check_runs_total_count": 8,
4345 + "checks": [
4346 + {
4347 + "name": "CodeQL",
4348 + "status": "completed",
4349 + "conclusion": "success",
4350 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110754067057",
4351 + "started_at": "2026-10-02T07:49:34Z",
4352 + "completed_at": "2026-10-02T07:49:37Z",
4353 + "head_sha": "1365039439e70d95b7aa676538fabd49cd6a5171"
4354 + },
4355 + {
4356 + "name": "Dependency review",
4357 + "status": "completed",
4358 + "conclusion": "skipped",
4359 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36980536499/job/110753814552",
4360 + "started_at": "2026-10-02T07:48:39Z",
4361 + "completed_at": "2026-10-02T07:48:39Z",
4362 + "head_sha": "1365039439e70d95b7aa676538fabd49cd6a5171"
4363 + },
4364 + {
4365 + "name": "c8-policy-database",
4366 + "status": "completed",
4367 + "conclusion": "success",
4368 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36980536591/job/110753814086",
4369 + "started_at": "2026-10-02T07:48:42Z",
4370 + "completed_at": "2026-10-02T07:49:11Z",
4371 + "head_sha": "1365039439e70d95b7aa676538fabd49cd6a5171"
4372 + },
4373 + {
4374 + "name": "static-quality",
4375 + "status": "completed",
4376 + "conclusion": "success",
4377 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36980536591/job/110753814011",
4378 + "started_at": "2026-10-02T07:48:42Z",
4379 + "completed_at": "2026-10-02T07:49:38Z",
4380 + "head_sha": "1365039439e70d95b7aa676538fabd49cd6a5171"
4381 + },
4382 + {
4383 + "name": "d1-request-database",
4384 + "status": "completed",
4385 + "conclusion": "success",
4386 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36980536591/job/110753814000",
4387 + "started_at": "2026-10-02T07:48:42Z",
4388 + "completed_at": "2026-10-02T07:49:12Z",
4389 + "head_sha": "1365039439e70d95b7aa676538fabd49cd6a5171"
4390 + },
4391 + {
4392 + "name": "identity-wave5a-database",
4393 + "status": "completed",
4394 + "conclusion": "success",
4395 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36980536591/job/110753813966",
4396 + "started_at": "2026-10-02T07:48:42Z",
4397 + "completed_at": "2026-10-02T07:49:08Z",
4398 + "head_sha": "1365039439e70d95b7aa676538fabd49cd6a5171"
4399 + },
4400 + {
4401 + "name": "CodeQL JavaScript",
4402 + "status": "completed",
4403 + "conclusion": "success",
4404 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36980536499/job/110753813765",
4405 + "started_at": "2026-10-02T07:48:42Z",
4406 + "completed_at": "2026-10-02T07:49:44Z",
4407 + "head_sha": "1365039439e70d95b7aa676538fabd49cd6a5171"
4408 + },
4409 + {
4410 + "name": "Release and QA safety invariants",
4411 + "status": "completed",
4412 + "conclusion": "success",
4413 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36980536499/job/110753813504",
4414 + "started_at": "2026-10-02T07:48:41Z",
4415 + "completed_at": "2026-10-02T07:48:46Z",
4416 + "head_sha": "1365039439e70d95b7aa676538fabd49cd6a5171"
4417 + }
4418 + ]
4419 + },
4420 + {
4421 + "name": "audit-remediation-wave5b-offboarding-20261002",
4422 + "sha": "31bedf3e38132a390b437278d544267fd9987e2a",
4423 + "protected": false,
4424 + "prs": [
4425 + {
4426 + "number": 32,
4427 + "title": "Identity: fail closed on membership revocation",
4428 + "base": "main",
4429 + "state": "closed",
4430 + "merged_at": "2026-10-02T08:08:50Z",
4431 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/32",
4432 + "head_sha": "31bedf3e38132a390b437278d544267fd9987e2a"
4433 + }
4434 + ],
4435 + "ancestor_of_main": false,
4436 + "main_ancestor": false,
4437 + "merge_base": "cb47a40693aafe994fb43f9f610b29841dd59cfb",
4438 + "ahead_behind_main": [
4439 + "276",
4440 + "1"
4441 + ],
4442 + "last_subject": "Identity: fail closed on membership revocation",
4443 + "conflict_with_main": "CONFLICTING",
4444 + "conflict_paths": [
4445 + ".github/workflows/quality.yml",
4446 + "PROJECT_STATE.md",
4447 + "js/backup.js",
4448 + "js/organization-rbac.js"
4449 + ],
4450 + "check_runs_total_count": 8,
4451 + "checks": [
4452 + {
4453 + "name": "CodeQL",
4454 + "status": "completed",
4455 + "conclusion": "success",
4456 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110757051815",
4457 + "started_at": "2026-10-02T08:00:09Z",
4458 + "completed_at": "2026-10-02T08:00:11Z",
4459 + "head_sha": "31bedf3e38132a390b437278d544267fd9987e2a"
4460 + },
4461 + {
4462 + "name": "Dependency review",
4463 + "status": "completed",
4464 + "conclusion": "skipped",
4465 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36981477377/job/110756767650",
4466 + "started_at": "2026-10-02T07:59:08Z",
4467 + "completed_at": "2026-10-02T07:59:08Z",
4468 + "head_sha": "31bedf3e38132a390b437278d544267fd9987e2a"
4469 + },
4470 + {
4471 + "name": "Release and QA safety invariants",
4472 + "status": "completed",
4473 + "conclusion": "success",
4474 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36981477377/job/110756766724",
4475 + "started_at": "2026-10-02T07:59:11Z",
4476 + "completed_at": "2026-10-02T07:59:20Z",
4477 + "head_sha": "31bedf3e38132a390b437278d544267fd9987e2a"
4478 + },
4479 + {
4480 + "name": "CodeQL JavaScript",
4481 + "status": "completed",
4482 + "conclusion": "success",
4483 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36981477377/job/110756766462",
4484 + "started_at": "2026-10-02T07:59:11Z",
4485 + "completed_at": "2026-10-02T08:00:19Z",
4486 + "head_sha": "31bedf3e38132a390b437278d544267fd9987e2a"
4487 + },
4488 + {
4489 + "name": "c8-policy-database",
4490 + "status": "completed",
4491 + "conclusion": "success",
4492 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36981477187/job/110756766055",
4493 + "started_at": "2026-10-02T07:59:10Z",
4494 + "completed_at": "2026-10-02T07:59:40Z",
4495 + "head_sha": "31bedf3e38132a390b437278d544267fd9987e2a"
4496 + },
4497 + {
4498 + "name": "identity-wave5a-database",
4499 + "status": "completed",
4500 + "conclusion": "success",
4501 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36981477187/job/110756766027",
4502 + "started_at": "2026-10-02T07:59:10Z",
4503 + "completed_at": "2026-10-02T07:59:35Z",
4504 + "head_sha": "31bedf3e38132a390b437278d544267fd9987e2a"
4505 + },
4506 + {
4507 + "name": "d1-request-database",
4508 + "status": "completed",
4509 + "conclusion": "success",
4510 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36981477187/job/110756766013",
4511 + "started_at": "2026-10-02T07:59:11Z",
4512 + "completed_at": "2026-10-02T07:59:53Z",
4513 + "head_sha": "31bedf3e38132a390b437278d544267fd9987e2a"
4514 + },
4515 + {
4516 + "name": "static-quality",
4517 + "status": "completed",
4518 + "conclusion": "success",
4519 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36981477187/job/110756765949",
4520 + "started_at": "2026-10-02T07:59:11Z",
4521 + "completed_at": "2026-10-02T08:00:25Z",
4522 + "head_sha": "31bedf3e38132a390b437278d544267fd9987e2a"
4523 + }
4524 + ]
4525 + },
4526 + {
4527 + "name": "audit-remediation-wave5c-authorization-20261002",
4528 + "sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79",
4529 + "protected": false,
4530 + "prs": [
4531 + {
4532 + "number": 34,
4533 + "title": "Identity: authorize privileged backup operations",
4534 + "base": "main",
4535 + "state": "closed",
4536 + "merged_at": "2026-10-02T08:16:42Z",
4537 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/34",
4538 + "head_sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79"
4539 + }
4540 + ],
4541 + "ancestor_of_main": false,
4542 + "main_ancestor": false,
4543 + "merge_base": "56ec0b042a573711dcf8bd18cc7545280462f610",
4544 + "ahead_behind_main": [
4545 + "274",
4546 + "1"
4547 + ],
4548 + "last_subject": "Identity: authorize privileged backup operations",
4549 + "conflict_with_main": "CONFLICTING",
4550 + "conflict_paths": [
4551 + ".github/workflows/quality.yml",
4552 + "PROJECT_STATE.md"
4553 + ],
4554 + "check_runs_total_count": 8,
4555 + "checks": [
4556 + {
4557 + "name": "CodeQL",
4558 + "status": "completed",
4559 + "conclusion": "success",
4560 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110761824901",
4561 + "started_at": "2026-10-02T08:16:10Z",
4562 + "completed_at": "2026-10-02T08:16:13Z",
4563 + "head_sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79"
4564 + },
4565 + {
4566 + "name": "Dependency review",
4567 + "status": "completed",
4568 + "conclusion": "skipped",
4569 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982982227/job/110761516160",
4570 + "started_at": "2026-10-02T08:15:08Z",
4571 + "completed_at": "2026-10-02T08:15:08Z",
4572 + "head_sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79"
4573 + },
4574 + {
4575 + "name": "CodeQL JavaScript",
4576 + "status": "completed",
4577 + "conclusion": "success",
4578 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982982227/job/110761514810",
4579 + "started_at": "2026-10-02T08:15:11Z",
4580 + "completed_at": "2026-10-02T08:16:20Z",
4581 + "head_sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79"
4582 + },
4583 + {
4584 + "name": "d1-request-database",
4585 + "status": "completed",
4586 + "conclusion": "success",
4587 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982982220/job/110761514665",
4588 + "started_at": "2026-10-02T08:15:11Z",
4589 + "completed_at": "2026-10-02T08:15:45Z",
4590 + "head_sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79"
4591 + },
4592 + {
4593 + "name": "identity-wave5a-database",
4594 + "status": "completed",
4595 + "conclusion": "success",
4596 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982982220/job/110761514608",
4597 + "started_at": "2026-10-02T08:15:11Z",
4598 + "completed_at": "2026-10-02T08:15:46Z",
4599 + "head_sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79"
4600 + },
4601 + {
4602 + "name": "Release and QA safety invariants",
4603 + "status": "completed",
4604 + "conclusion": "success",
4605 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982982227/job/110761514600",
4606 + "started_at": "2026-10-02T08:15:11Z",
4607 + "completed_at": "2026-10-02T08:15:21Z",
4608 + "head_sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79"
4609 + },
4610 + {
4611 + "name": "c8-policy-database",
4612 + "status": "completed",
4613 + "conclusion": "success",
4614 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982982220/job/110761514558",
4615 + "started_at": "2026-10-02T08:15:11Z",
4616 + "completed_at": "2026-10-02T08:15:52Z",
4617 + "head_sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79"
4618 + },
4619 + {
4620 + "name": "static-quality",
4621 + "status": "completed",
4622 + "conclusion": "success",
4623 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982982220/job/110761514382",
4624 + "started_at": "2026-10-02T08:15:11Z",
4625 + "completed_at": "2026-10-02T08:16:01Z",
4626 + "head_sha": "228e1133414d74d8b234e9de0d494a23ab1f3c79"
4627 + }
4628 + ]
4629 + },
4630 + {
4631 + "name": "audit-security-intent-review-20261002",
4632 + "sha": "867116879ec96de5f989f59a0f9dbb5622856850",
4633 + "protected": false,
4634 + "prs": [
4635 + {
4636 + "number": 33,
4637 + "title": "Security: record Supabase privileged RPC intent review",
4638 + "base": "main",
4639 + "state": "closed",
4640 + "merged_at": "2026-10-02T08:13:23Z",
4641 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/33",
4642 + "head_sha": "867116879ec96de5f989f59a0f9dbb5622856850"
4643 + }
4644 + ],
4645 + "ancestor_of_main": false,
4646 + "main_ancestor": false,
4647 + "merge_base": "e9831e4d23fceae3a30359fe2eca8743087bb6b5",
4648 + "ahead_behind_main": [
4649 + "275",
4650 + "2"
4651 + ],
4652 + "last_subject": "State: verify Wave 5b protected-main rollout",
4653 + "conflict_with_main": "CONFLICTING",
4654 + "conflict_paths": [
4655 + "PROJECT_STATE.md"
4656 + ],
4657 + "check_runs_total_count": 8,
4658 + "checks": [
4659 + {
4660 + "name": "CodeQL",
4661 + "status": "completed",
4662 + "conclusion": "success",
4663 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110760862166",
4664 + "started_at": "2026-10-02T08:12:57Z",
4665 + "completed_at": "2026-10-02T08:13:00Z",
4666 + "head_sha": "867116879ec96de5f989f59a0f9dbb5622856850"
4667 + },
4668 + {
4669 + "name": "Dependency review",
4670 + "status": "completed",
4671 + "conclusion": "skipped",
4672 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982681775/job/110760598814",
4673 + "started_at": "2026-10-02T08:12:06Z",
4674 + "completed_at": "2026-10-02T08:12:05Z",
4675 + "head_sha": "867116879ec96de5f989f59a0f9dbb5622856850"
4676 + },
4677 + {
4678 + "name": "Release and QA safety invariants",
4679 + "status": "completed",
4680 + "conclusion": "success",
4681 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982681775/job/110760597901",
4682 + "started_at": "2026-10-02T08:12:09Z",
4683 + "completed_at": "2026-10-02T08:12:16Z",
4684 + "head_sha": "867116879ec96de5f989f59a0f9dbb5622856850"
4685 + },
4686 + {
4687 + "name": "CodeQL JavaScript",
4688 + "status": "completed",
4689 + "conclusion": "success",
4690 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982681775/job/110760597750",
4691 + "started_at": "2026-10-02T08:12:08Z",
4692 + "completed_at": "2026-10-02T08:13:06Z",
4693 + "head_sha": "867116879ec96de5f989f59a0f9dbb5622856850"
4694 + },
4695 + {
4696 + "name": "c8-policy-database",
4697 + "status": "completed",
4698 + "conclusion": "success",
4699 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982681770/job/110760583567",
4700 + "started_at": "2026-10-02T08:12:06Z",
4701 + "completed_at": "2026-10-02T08:12:38Z",
4702 + "head_sha": "867116879ec96de5f989f59a0f9dbb5622856850"
4703 + },
4704 + {
4705 + "name": "identity-wave5a-database",
4706 + "status": "completed",
4707 + "conclusion": "success",
4708 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982681770/job/110760583519",
4709 + "started_at": "2026-10-02T08:12:05Z",
4710 + "completed_at": "2026-10-02T08:12:30Z",
4711 + "head_sha": "867116879ec96de5f989f59a0f9dbb5622856850"
4712 + },
4713 + {
4714 + "name": "static-quality",
4715 + "status": "completed",
4716 + "conclusion": "success",
4717 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982681770/job/110760583329",
4718 + "started_at": "2026-10-02T08:12:06Z",
4719 + "completed_at": "2026-10-02T08:13:04Z",
4720 + "head_sha": "867116879ec96de5f989f59a0f9dbb5622856850"
4721 + },
4722 + {
4723 + "name": "d1-request-database",
4724 + "status": "completed",
4725 + "conclusion": "success",
4726 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36982681770/job/110760583184",
4727 + "started_at": "2026-10-02T08:12:06Z",
4728 + "completed_at": "2026-10-02T08:12:41Z",
4729 + "head_sha": "867116879ec96de5f989f59a0f9dbb5622856850"
4730 + }
4731 + ]
4732 + },
4733 + {
4734 + "name": "branding-login-favicon-20261002",
4735 + "sha": "47384229cfad29cb169edcbce0c668a13d295e67",
4736 + "protected": false,
4737 + "prs": [
4738 + {
4739 + "number": 41,
4740 + "title": "Branding: Finora ERP login and real app icon",
4741 + "base": "main",
4742 + "state": "closed",
4743 + "merged_at": "2026-10-02T09:27:47Z",
4744 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/41",
4745 + "head_sha": "47384229cfad29cb169edcbce0c668a13d295e67"
4746 + }
4747 + ],
4748 + "ancestor_of_main": false,
4749 + "main_ancestor": false,
4750 + "merge_base": "a55933c421eb1ea75a863fadd5d51f3bb29d6b8d",
4751 + "ahead_behind_main": [
4752 + "270",
4753 + "5"
4754 + ],
4755 + "last_subject": "State: reconcile deployed scrollbar cache hotfix",
4756 + "conflict_with_main": "CONFLICTING",
4757 + "conflict_paths": [
4758 + ".github/workflows/quality.yml",
4759 + "PROJECT_STATE.md",
4760 + "README.md",
4761 + "index.html",
4762 + "scripts/branding-login.spec.js"
4763 + ],
4764 + "check_runs_total_count": 8,
4765 + "checks": [
4766 + {
4767 + "name": "CodeQL",
4768 + "status": "completed",
4769 + "conclusion": "success",
4770 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110783001863",
4771 + "started_at": "2026-10-02T09:26:20Z",
4772 + "completed_at": "2026-10-02T09:26:24Z",
4773 + "head_sha": "47384229cfad29cb169edcbce0c668a13d295e67"
4774 + },
4775 + {
4776 + "name": "c8-policy-database",
4777 + "status": "completed",
4778 + "conclusion": "success",
4779 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36989645433/job/110782919492",
4780 + "started_at": "2026-10-02T09:26:07Z",
4781 + "completed_at": "2026-10-02T09:26:37Z",
4782 + "head_sha": "47384229cfad29cb169edcbce0c668a13d295e67"
4783 + },
4784 + {
4785 + "name": "static-quality",
4786 + "status": "completed",
4787 + "conclusion": "success",
4788 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36989645433/job/110782919484",
4789 + "started_at": "2026-10-02T09:26:08Z",
4790 + "completed_at": "2026-10-02T09:27:13Z",
4791 + "head_sha": "47384229cfad29cb169edcbce0c668a13d295e67"
4792 + },
4793 + {
4794 + "name": "identity-wave5a-database",
4795 + "status": "completed",
4796 + "conclusion": "success",
4797 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36989645433/job/110782919470",
4798 + "started_at": "2026-10-02T09:26:07Z",
4799 + "completed_at": "2026-10-02T09:26:36Z",
4800 + "head_sha": "47384229cfad29cb169edcbce0c668a13d295e67"
4801 + },
4802 + {
4803 + "name": "d1-request-database",
4804 + "status": "completed",
4805 + "conclusion": "success",
4806 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36989645433/job/110782919340",
4807 + "started_at": "2026-10-02T09:26:07Z",
4808 + "completed_at": "2026-10-02T09:26:42Z",
4809 + "head_sha": "47384229cfad29cb169edcbce0c668a13d295e67"
4810 + },
4811 + {
4812 + "name": "Dependency review",
4813 + "status": "completed",
4814 + "conclusion": "skipped",
4815 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36989645454/job/110782764872",
4816 + "started_at": "2026-10-02T09:25:34Z",
4817 + "completed_at": "2026-10-02T09:25:34Z",
4818 + "head_sha": "47384229cfad29cb169edcbce0c668a13d295e67"
4819 + },
4820 + {
4821 + "name": "CodeQL JavaScript",
4822 + "status": "completed",
4823 + "conclusion": "success",
4824 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36989645454/job/110782764005",
4825 + "started_at": "2026-10-02T09:25:37Z",
4826 + "completed_at": "2026-10-02T09:26:30Z",
4827 + "head_sha": "47384229cfad29cb169edcbce0c668a13d295e67"
4828 + },
4829 + {
4830 + "name": "Release and QA safety invariants",
4831 + "status": "completed",
4832 + "conclusion": "success",
4833 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36989645454/job/110782763777",
4834 + "started_at": "2026-10-02T09:25:37Z",
4835 + "completed_at": "2026-10-02T09:25:43Z",
4836 + "head_sha": "47384229cfad29cb169edcbce0c668a13d295e67"
4837 + }
4838 + ]
4839 + },
4840 + {
4841 + "name": "c8-workflow-task1",
4842 + "sha": "6004a1985705a0086b67735bdf61493a8eb74e94",
4843 + "protected": false,
4844 + "prs": [
4845 + {
4846 + "number": 11,
4847 + "title": "C8 workflow policy database slice",
4848 + "base": "main",
4849 + "state": "closed",
4850 + "merged_at": "2026-10-01T17:38:51Z",
4851 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/11",
4852 + "head_sha": "6004a1985705a0086b67735bdf61493a8eb74e94"
4853 + }
4854 + ],
4855 + "ancestor_of_main": true,
4856 + "main_ancestor": false,
4857 + "merge_base": "6004a1985705a0086b67735bdf61493a8eb74e94",
4858 + "ahead_behind_main": [
4859 + "389",
4860 + "0"
4861 + ],
4862 + "last_subject": "ci: execute C8 policy SQL in disposable PostgreSQL",
4863 + "conflict_with_main": "ALREADY_REACHABLE",
4864 + "check_runs_total_count": 5,
4865 + "checks": [
4866 + {
4867 + "name": "CodeQL",
4868 + "status": "completed",
4869 + "conclusion": "success",
4870 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110499305367",
4871 + "started_at": "2026-10-01T17:38:17Z",
4872 + "completed_at": "2026-10-01T17:38:19Z",
4873 + "head_sha": "6004a1985705a0086b67735bdf61493a8eb74e94"
4874 + },
4875 + {
4876 + "name": "c8-policy-database",
4877 + "status": "completed",
4878 + "conclusion": "success",
4879 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36900700757/job/110499108827",
4880 + "started_at": "2026-10-01T17:37:51Z",
4881 + "completed_at": "2026-10-01T17:38:17Z",
4882 + "head_sha": "6004a1985705a0086b67735bdf61493a8eb74e94"
4883 + },
4884 + {
4885 + "name": "static-quality",
4886 + "status": "completed",
4887 + "conclusion": "success",
4888 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36900700757/job/110499108790",
4889 + "started_at": "2026-10-01T17:37:52Z",
4890 + "completed_at": "2026-10-01T17:38:29Z",
4891 + "head_sha": "6004a1985705a0086b67735bdf61493a8eb74e94"
4892 + },
4893 + {
4894 + "name": "Dependency review",
4895 + "status": "completed",
4896 + "conclusion": "success",
4897 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36900700778/job/110498906154",
4898 + "started_at": "2026-10-01T17:37:21Z",
4899 + "completed_at": "2026-10-01T17:37:30Z",
4900 + "head_sha": "6004a1985705a0086b67735bdf61493a8eb74e94"
4901 + },
4902 + {
4903 + "name": "CodeQL JavaScript",
4904 + "status": "completed",
4905 + "conclusion": "success",
4906 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36900700778/job/110498905724",
4907 + "started_at": "2026-10-01T17:37:22Z",
4908 + "completed_at": "2026-10-01T17:38:27Z",
4909 + "head_sha": "6004a1985705a0086b67735bdf61493a8eb74e94"
4910 + }
4911 + ]
4912 + },
4913 + {
4914 + "name": "c8-workflow-task2",
4915 + "sha": "b5ea7a23110ea3c22e252c2ea1dc0cae915e36eb",
4916 + "protected": false,
4917 + "prs": [
4918 + {
4919 + "number": 12,
4920 + "title": "C8 workflow runtime transactional slice",
4921 + "base": "main",
4922 + "state": "closed",
4923 + "merged_at": "2026-10-01T18:14:56Z",
4924 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/12",
4925 + "head_sha": "b5ea7a23110ea3c22e252c2ea1dc0cae915e36eb"
4926 + }
4927 + ],
4928 + "ancestor_of_main": true,
4929 + "main_ancestor": false,
4930 + "merge_base": "b5ea7a23110ea3c22e252c2ea1dc0cae915e36eb",
4931 + "ahead_behind_main": [
4932 + "356",
4933 + "0"
4934 + ],
4935 + "last_subject": "docs: record C8 production rollback verification",
4936 + "conflict_with_main": "ALREADY_REACHABLE",
4937 + "check_runs_total_count": 5,
4938 + "checks": [
4939 + {
4940 + "name": "CodeQL",
4941 + "status": "completed",
4942 + "conclusion": "success",
4943 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/runs/110513918393",
4944 + "started_at": "2026-10-01T18:13:19Z",
4945 + "completed_at": "2026-10-01T18:13:23Z",
4946 + "head_sha": "b5ea7a23110ea3c22e252c2ea1dc0cae915e36eb"
4947 + },
4948 + {
4949 + "name": "c8-policy-database",
4950 + "status": "completed",
4951 + "conclusion": "success",
4952 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36905076425/job/110513913188",
4953 + "started_at": "2026-10-01T18:13:22Z",
4954 + "completed_at": "2026-10-01T18:13:56Z",
4955 + "head_sha": "b5ea7a23110ea3c22e252c2ea1dc0cae915e36eb"
4956 + },
4957 + {
4958 + "name": "static-quality",
4959 + "status": "completed",
4960 + "conclusion": "success",
4961 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36905076425/job/110513912888",
4962 + "started_at": "2026-10-01T18:13:21Z",
4963 + "completed_at": "2026-10-01T18:14:11Z",
4964 + "head_sha": "b5ea7a23110ea3c22e252c2ea1dc0cae915e36eb"
4965 + },
4966 + {
4967 + "name": "Dependency review",
4968 + "status": "completed",
4969 + "conclusion": "success",
4970 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36905076452/job/110513530929",
4971 + "started_at": "2026-10-01T18:12:29Z",
4972 + "completed_at": "2026-10-01T18:12:35Z",
4973 + "head_sha": "b5ea7a23110ea3c22e252c2ea1dc0cae915e36eb"
4974 + },
4975 + {
4976 + "name": "CodeQL JavaScript",
4977 + "status": "completed",
4978 + "conclusion": "success",
4979 + "details_url": "https://github.com/davoodmehraban89/Factor-easy/actions/runs/36905076452/job/110513530309",
4980 + "started_at": "2026-10-01T18:12:27Z",
4981 + "completed_at": "2026-10-01T18:13:29Z",
4982 + "head_sha": "b5ea7a23110ea3c22e252c2ea1dc0cae915e36eb"
4983 + }
4984 + ]
4985 + },
4986 + {
4987 + "name": "c8-workflow-task3",
4988 + "sha": "5e57bb622509ff6193775c7651ca70dc9fa3aef0",
4989 + "protected": false,
4990 + "prs": [
4991 + {
4992 + "number": 13,
4993 + "title": "C8 workflow runtime UI integration",
4994 + "base": "main",
4995 + "state": "closed",
4996 + "merged_at": "2026-10-01T18:30:14Z",
4997 + "url": "https://github.com/davoodmehraban89/Factor-easy/pull/13",
4998 + "head_sha": "5e57bb622509ff6193775c7651ca70dc9fa3aef0"
4999 + }

This file is too large to show in full.

docs/wp0/PR_BRANCH_INVENTORY.md new
+243
@@ -0,0 +1,243 @@
1 +# WP0 — PR / branch inventory
2 +
3 +Observed 2026-11-02T03:57:03.079219+00:00; main `4416794682d29a17976c901d866d182627f63c29`. 27 open PRs; 201 remote branches. Read-only; no PR closed or merged.
4 +
5 +## Open PRs
6 +
7 +| PR / purpose | Base | Head | GitHub mergeability | Checks at exact head | Recommendation / prerequisite |
8 +|---|---|---|---|---|---|
9 +| [#6](https://github.com/davoodmehraban89/Factor-easy/pull/6) Phase 3 recovery: fix accounting behavior and reopen acceptance | `main` | `4e9f12e89188` | UNKNOWN | FAIL: Dependency review | Review/rebase individually; no blind merge |
10 +| [#39](https://github.com/davoodmehraban89/Factor-easy/pull/39) UI: correct native scrollbar side from live video | `main` | `de9da02b1789` | UNKNOWN | see JSON exact-head checks | Review/rebase individually; no blind merge |
11 +| [#40](https://github.com/davoodmehraban89/Factor-easy/pull/40) UI: structurally bind each scrollbar to its visual layer | `main` | `d4dde369e4b0` | UNKNOWN | FAIL: static-quality | Review/rebase individually; no blind merge |
12 +| [#58](https://github.com/davoodmehraban89/Factor-easy/pull/58) feat: admin identity controls, phone auth and dark-mode contrast | `main` | `03c33187299b` | UNKNOWN | see JSON exact-head checks | Review/rebase individually; no blind merge |
13 +| [#129](https://github.com/davoodmehraban89/Factor-easy/pull/129) docs(ux): persist released same-document correction behavior and exact acceptance gates | `main` | `3ae0ea6d5daf` | UNKNOWN | see JSON exact-head checks | Review/rebase individually; no blind merge |
14 +| [#133](https://github.com/davoodmehraban89/Factor-easy/pull/133) fix(company): strictly scope all ERP modules to active company with opt-in holding overview | `main` | `2364a645293e` | UNKNOWN | see JSON exact-head checks | Review/rebase individually; no blind merge |
15 +| [#134](https://github.com/davoodmehraban89/Factor-easy/pull/134) feat(pilot): in-place posted expense and income corrections | `main` | `cedb45f058b2` | CONFLICTING | see JSON exact-head checks | Review/rebase individually; no blind merge |
16 +| [#136](https://github.com/davoodmehraban89/Factor-easy/pull/136) docs(multicompany): record active-company invoice isolation release and acceptance | `main` | `2b0b59fc176d` | UNKNOWN | see JSON exact-head checks | Review/rebase individually; no blind merge |
17 +| [#137](https://github.com/davoodmehraban89/Factor-easy/pull/137) fix(company): reconcile strict active-company isolation and opt-in holding overview | `main` | `0e67e56da212` | CONFLICTING | FAIL: static-quality | Review/rebase individually; no blind merge |
18 +| [#149](https://github.com/davoodmehraban89/Factor-easy/pull/149) docs: finalize exact-main Phase 0 reload and Commerce navigation verification | `main` | `40fd0d832266` | UNKNOWN | see JSON exact-head checks | Review/rebase individually; no blind merge |
19 +| [#162](https://github.com/davoodmehraban89/Factor-easy/pull/162) [DO NOT MERGE] FINORA Stage 2.1–2.2 manual journal local QA only | `main` | `3c4efef047da` | UNKNOWN | see JSON exact-head checks | Port reviewed financial changes into WP1; sync-v2 + source guard171 + purchase correction proof required; no production approval |
20 +| [#163](https://github.com/davoodmehraban89/Factor-easy/pull/163) [STAGING ONLY / DO NOT MERGE] Zero-cost ephemeral Stage 2.2 CI QA | `feature/finora-stage2-manual-canary-20261017` | `43db17ef3c11` | MERGEABLE | see JSON exact-head checks | Port reviewed financial changes into WP1; sync-v2 + source guard171 + purchase correction proof required; no production approval |
21 +| [#164](https://github.com/davoodmehraban89/Factor-easy/pull/164) [STAGE 3 QA ONLY / DO NOT MERGE] Sale-purchase source contract parity | `feature/finora-stage2-manual-canary-20261017` | `69dae3ec7165` | MERGEABLE | FAIL: static-quality | Keep as RED evidence; do not release |
22 +| [#165](https://github.com/davoodmehraban89/Factor-easy/pull/165) [STAGE 3 / DO NOT MERGE] Canonical new-source VAT and discount metadata | `feature/finora-stage2-manual-canary-20261017` | `b1d290f1ce4d` | MERGEABLE | see JSON exact-head checks | Port reviewed financial changes into WP1; sync-v2 + source guard171 + purchase correction proof required; no production approval |
23 +| [#166](https://github.com/davoodmehraban89/Factor-easy/pull/166) [STAGE 3 QA / DO NOT MERGE] Real JWT source-post E2E on synthetic UI records | `work/finora-stage3-payload-green-20261023` | `beed004490e3` | MERGEABLE | FAIL: Real UI sale-purchase payload vs independent SQL-v1 | Port reviewed financial changes into WP1; sync-v2 + source guard171 + purchase correction proof required; no production approval |
24 +| [#167](https://github.com/davoodmehraban89/Factor-easy/pull/167) [STAGE 3.2 / DO NOT MERGE] Guarded sale invoice server source-post cutover | `qa/finora-stage3-ui-jwt-autopost-20261023` | `a71cefd97467` | MERGEABLE | FAIL: static-quality | Keep as RED evidence; do not release |
25 +| [#168](https://github.com/davoodmehraban89/Factor-easy/pull/168) [STAGE 3.2 IMPLEMENTATION / DO NOT MERGE] Sale finalize guard ENFORCE → server RPC | `feature/finora-stage3-enforce-invoice-rpc-20261023` | `16f339802bf7` | MERGEABLE | FAIL: static-quality,Real UI sale-purchase payload vs independent SQL-v1 | Port reviewed financial changes into WP1; sync-v2 + source guard171 + purchase correction proof required; no production approval |
26 +| [#169](https://github.com/davoodmehraban89/Factor-easy/pull/169) [CI ONLY / DO NOT MERGE] Stage3 genuine JWT source-post acceptance gate | `work/finora-stage3-payload-green-20261023` | `72549ca8928f` | MERGEABLE | see JSON exact-head checks | Port reviewed financial changes into WP1; sync-v2 + source guard171 + purchase correction proof required; no production approval |
27 +| [#170](https://github.com/davoodmehraban89/Factor-easy/pull/170) [READ-ONLY / DO NOT MERGE] Stage3 historical source VAT/currency reconciliation gate | `work/finora-stage3-payload-green-20261023` | `283af3e2e65c` | MERGEABLE | see JSON exact-head checks | Port reviewed financial changes into WP1; sync-v2 + source guard171 + purchase correction proof required; no production approval |
28 +| [#171](https://github.com/davoodmehraban89/Factor-easy/pull/171) [SECURITY HOLD / DO NOT MERGE] Freeze posted source records under ENFORCE | `work/finora-stage3-enforce-sale-green-20261023` | `463a40c99b05` | MERGEABLE | see JSON exact-head checks | Port reviewed financial changes into WP1; sync-v2 + source guard171 + purchase correction proof required; no production approval |
29 +| [#172](https://github.com/davoodmehraban89/Factor-easy/pull/172) [STAGE 3.3 RED / DO NOT MERGE] Explicit server-only purchase finalization | `fix/finora-stage3-posted-source-immutable-20261023` | `d36950f3016b` | MERGEABLE | FAIL: static-quality | Keep as RED evidence; do not release |
30 +| [#173](https://github.com/davoodmehraban89/Factor-easy/pull/173) [STAGE 3.3 GREEN / DO NOT MERGE] Server-owned new purchase finalization under ENFORCE | `feature/finora-stage3-enforce-purchase-red-20261023` | `4374aa78b8c7` | MERGEABLE | see JSON exact-head checks | Port reviewed financial changes into WP1; sync-v2 + source guard171 + purchase correction proof required; no production approval |
31 +| [#178](https://github.com/davoodmehraban89/Factor-easy/pull/178) docs: record real-account QA evidence and pending secure re-entry | `main` | `bad7f747883f` | UNKNOWN | see JSON exact-head checks | Review/rebase individually; no blind merge |
32 +| [#180](https://github.com/davoodmehraban89/Factor-easy/pull/180) [QA ONLY / DO NOT MERGE] Diagnose browser CORS and Iranian login timeouts | `main` | `f41f1c5adbfc` | UNKNOWN | see JSON exact-head checks | Review/rebase individually; no blind merge |
33 +| [#190](https://github.com/davoodmehraban89/Factor-easy/pull/190) docs: record real company Edit acceptance and settings QA limits | `main` | `d999d7288767` | UNKNOWN | see JSON exact-head checks | Review/rebase individually; no blind merge |
34 +| [#192](https://github.com/davoodmehraban89/Factor-easy/pull/192) docs: reconcile phase completion and remaining acceptance gates | `main` | `5d340e066386` | MERGEABLE | see JSON exact-head checks | Reconcile phase-status documentation with new WP plan |
35 +| [#193](https://github.com/davoodmehraban89/Factor-easy/pull/193) Fix organization panel read failures and clarify login account errors | `main` | `bcf9391e4695` | MERGEABLE | FAIL: static-quality | Keep login/member repair; repair runner baseline before rerun; real owner acceptance NOT VERIFIED |
36 +
37 +## Every remote branch
38 +
39 +Conflict is computed against current main; merged PR branches can conflict because squash history is not ancestry. Historical checks do not test a new merge tree. Financial prerequisite above applies to every finance/stage/phase1 branch. For closed/merged branches preserve history; archive/delete decision requires separate evidence, no automatic deletion.
40 +
41 +| Branch / purpose | SHA / merge base | Compared with main | PR mapping | Exact-head checks | Decision |
42 +|---|---|---|---|---|---|
43 +| audit/finora-master-prompt-phase0-20261016 — docs: scope phase-zero change to audit and extended CI-only test coverage | cdb360101cb2 / 612998edb512 | CONFLICTING PROJECT_STATE.md | #160 merged | Recorded in JSON | Preserve / review; no blind merge |
44 +| audit/finora-stage3-legacy-source-readonly-20261023 — docs(stage3 audit): checkpoint measured 15-row legacy gap and exact-head red-green QA | 283af3e2e65c / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #170 open | Recorded in JSON | Preserve / review; no blind merge |
45 +| audit/full-controls-20261030 — Record recovery evidence and align scroll regression with new asset version | c29770ab84b2 / c29770ab84b2 | ALREADY_REACHABLE | #191 merged | Recorded in JSON | Preserve / review; no blind merge |
46 +| audit/owner-live-state-reconcile-20261012 — docs(state): reconcile 2026-10-12 GitHub CI and Supabase evidence without scope expansion | a053d2e36271 / cc1c2cfddcff | CONFLICTING PROJECT_STATE.md | #102 merged | Recorded in JSON | Preserve / review; no blind merge |
47 +| audit/owner-review-20261007 — docs: record owner audit and reconcile live state | 94e9cea2951a / 7e58c75f7d75 | CONFLICTING PROJECT_STATE.md | No mapped PR | NOT VERIFIED | Preserve / review; no blind merge |
48 +| audit/phase1-live-permissions-readonly-20261013 — docs(phase1): record validated 4-pass live permission checks and stale PR #58 hazard | a62ca110dad7 / 1fa5cf99be9e | CONFLICTING PROJECT_STATE.md | #123 merged | Recorded in JSON | Preserve / review; no blind merge |
49 +| audit/reconcile-live-state-20261006 — docs: reconcile live operating state | 01477d04dfee / dfaa4d65918e | CONFLICTING PROJECT_STATE.md | #49 closed | Recorded in JSON | Preserve / review; no blind merge |
50 +| audit/reconcile-state-20261002 — docs: reconcile verified tests and missing production Wave 4 migration | 7752d2a3718a / d70e7d02eceb | CONFLICTING PROJECT_STATE.md | #44 merged | Recorded in JSON | Preserve / review; no blind merge |
51 +| audit-remediation-wave3-4-20261002 — Requests: close F-412 and harden Wave 3 replay | 9e5ebce19d70 / 42331fe78fc7 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md | #23 merged | FAIL Dependency review | Preserve / review; no blind merge |
52 +| audit-remediation-wave3-verify-20261002 — Docs: verify F-412 and Wave 3 production evidence | 639556972400 / d13498f3af03 | CONFLICTING PROJECT_STATE.md | #24 merged | FAIL Dependency review | Preserve / review; no blind merge |
53 +| audit-remediation-wave4-20261002 — State: reconcile environment handoff and live targets | dc3db8d90642 / 45f28f4dde23 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md | #26 merged,#25 merged | FAIL Dependency review,Dependency review | Preserve / review; no blind merge |
54 +| audit-remediation-wave4b-20261002 — Tests: preserve PL/pgSQL dollar quote literally | 6bb22aa485ff / 35a70a0b435f | CONFLICTING PROJECT_STATE.md,docs/REQUEST_WORKFLOW_WAVE4B_VERIFICATION.md | #27 merged | FAIL Dependency review | Preserve / review; no blind merge |
55 +| audit-remediation-wave5a-identity-20261002 — State: enforce zero-cost infrastructure constraint | 1365039439e7 / 4170cb7e33d1 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,index.html,js/core.js,supabase/tests/identity_wave5a_behavior.sql,supabase/tests/identity_wave5a_bootstrap.sql | #30 merged | Recorded in JSON | Preserve / review; no blind merge |
56 +| audit-remediation-wave5b-offboarding-20261002 — Identity: fail closed on membership revocation | 31bedf3e3813 / cb47a40693aa | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,js/backup.js,js/organization-rbac.js | #32 merged | Recorded in JSON | Preserve / review; no blind merge |
57 +| audit-remediation-wave5c-authorization-20261002 — Identity: authorize privileged backup operations | 228e1133414d / 56ec0b042a57 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md | #34 merged | Recorded in JSON | Preserve / review; no blind merge |
58 +| audit-security-intent-review-20261002 — State: verify Wave 5b protected-main rollout | 867116879ec9 / e9831e4d23fc | CONFLICTING PROJECT_STATE.md | #33 merged | Recorded in JSON | Preserve / review; no blind merge |
59 +| branding-login-favicon-20261002 — State: reconcile deployed scrollbar cache hotfix | 47384229cfad / a55933c421eb | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,README.md,index.html,scripts/branding-login.spec.js | #41 merged | Recorded in JSON | Preserve / review; no blind merge |
60 +| c8-workflow-task1 — ci: execute C8 policy SQL in disposable PostgreSQL | 6004a1985705 / 6004a1985705 | ALREADY_REACHABLE | #11 merged | Recorded in JSON | Preserve / review; no blind merge |
61 +| c8-workflow-task2 — docs: record C8 production rollback verification | b5ea7a23110e / b5ea7a23110e | ALREADY_REACHABLE | #12 merged | Recorded in JSON | Preserve / review; no blind merge |
62 +| c8-workflow-task3 — docs: record C8 runtime UI verification | 5e57bb622509 / 7b79b078b799 | CONFLICTING .github/workflows/quality.yml,js/bootstrap.js | #13 merged | Recorded in JSON | Preserve / review; no blind merge |
63 +| chore/wave0-pages-gate-closeout — docs: record Wave 0 negative gate proof and Pages source change | 38259b7041dd / 74f6521fe53d | CONFLICTING PROJECT_STATE.md | #16 merged | FAIL Dependency review | Preserve / review; no blind merge |
64 +| claude-code-plugins-setup — chore: enable claude-code-setup plugin for Claude Code sessions | 6d7163402c9b / 6d7163402c9b | ALREADY_REACHABLE | #184 merged | Recorded in JSON | Preserve / review; no blind merge |
65 +| docs/active-company-invoice-release-evidence-20261014 — docs(multicompany): record shipped invoice isolation and exact browser/release evidence | 2b0b59fc176d / c160da3c23d6 | CONFLICTING PROJECT_STATE.md | #136 open | Recorded in JSON | Preserve / review; no blind merge |
66 +| docs/chart-taxpayer-release-evidence-20261004 — docs: reconcile merged chart and taxpayer release evidence | 5952f5a3f4a4 / b2e1fbf89fb5 | CONFLICTING PROJECT_STATE.md | #48 merged | Recorded in JSON | Preserve / review; no blind merge |
67 +| docs/continuation-20261030 — Reconcile continuity with merged Phase A navigation | 0cd48e886cef / 0cd48e886cef | ALREADY_REACHABLE | #189 merged | Recorded in JSON | Preserve / review; no blind merge |
68 +| docs/d4a-verified — State: close D4a with production evidence | 4eebf55f8bf5 / 4583703396a7 | CONFLICTING PROJECT_STATE.md | #22 merged | FAIL Dependency review | Preserve / review; no blind merge |
69 +| docs/finora-audit-continuity-20261014 — docs: record merged PR 141 exact QA evidence and outstanding acceptance | 23acfde590cf / 9693b3426709 | CONFLICTING PROJECT_STATE.md | #142 closed | Recorded in JSON | Preserve / review; no blind merge |
70 +| docs/finora-backup-merge-evidence-20261014 — docs: record merged card-free backup code, verified CI and real recovery blockers | 1de689955b20 / ae008ee6b273 | CONFLICTING PROJECT_STATE.md | #144 merged | Recorded in JSON | Preserve / review; no blind merge |
71 +| docs/finora-codex-master-prompt — Replace stub with the full Finora Codex master prompt | a7261182407f / bccd474433b4 | CLEAN | No mapped PR | Recorded in JSON | Preserve / review; no blind merge |
72 +| docs/finora-eight-phase-plan-20261011 — docs: mark approved roadmap written and Phase 0 read-only smoke verified | 3754c67c7812 / 3754c67c7812 | ALREADY_REACHABLE | #73 merged | Recorded in JSON | Preserve / review; no blind merge |
73 +| docs/finora-f002-live-buyer-filter-verified-20261015 — docs: certify read-only real buyer filter and product filter acceptance for Finora test account | e3c5e251ca3c / ac14127081aa | CONFLICTING PROJECT_STATE.md | #157 merged | Recorded in JSON | Preserve / review; no blind merge |
74 +| docs/finora-license-race-release-evidence-20261014 — Fix test-account lifetime license mislabel caused by async organization bootstrap (#145) | 4288e4a0473f / 4288e4a0473f | ALREADY_REACHABLE | No mapped PR | FAIL Exact SHA promotion gate | Preserve / review; no blind merge |
75 +| docs/finora-license-rollout-acceptance-20261015 — docs: record verified lifetime-license release and missing authenticated production acceptance | cf3c41d4f740 / 4288e4a0473f | CONFLICTING PROJECT_STATE.md | #146 merged | Recorded in JSON | Preserve / review; no blind merge |
76 +| docs/finora-phase0-repeat-and-pages-nav-verified-20261015 — docs: record exact-sha Phase 0 reload and Pages navigation release evidence and remaining gates | 72347467e49a / 928493f695ee | CONFLICTING PROJECT_STATE.md | #151 merged | Recorded in JSON | Preserve / review; no blind merge |
77 +| docs/finora-phase0-repeat-evidence-20261015 — docs: finalize exact-main Phase 0 repeat-login and commerce navigation QA evidence | 40fd0d832266 / e544127a8a4f | CONFLICTING PROJECT_STATE.md | #149 open | Recorded in JSON | Preserve / review; no blind merge |
78 +| docs/finora-selectors-release-and-fixture-qa-20261015 — docs: record exact-main selectors release, treasury test fix and unverified live gates | a032c9a5d65c / 5f4ca4a67465 | CONFLICTING PROJECT_STATE.md | #156 merged | Recorded in JSON | Preserve / review; no blind merge |
79 +| docs/finora-test-license-live-pass-20261015 — docs: close observed test-account lifetime badge issue after authenticated live TinyFish pass | 0bdbbcc37d30 / 609f7499de34 | CONFLICTING PROJECT_STATE.md | #147 merged | Recorded in JSON | Preserve / review; no blind merge |
80 +| docs/invoice-product-search-release-20261011 — docs: record verified invoice product search main release and live-session test boundary | 6530b4afa461 / 6530b4afa461 | ALREADY_REACHABLE | #70 merged | Recorded in JSON | Preserve / review; no blind merge |
81 +| docs/invoice-workspace-release-20261007 — docs: record invoice workspace release evidence | 1e921fec54e0 / 6e7fa6e861eb | CONFLICTING PROJECT_STATE.md | #55 merged | Recorded in JSON | Preserve / review; no blind merge |
82 +| docs/phase0-acceptance-release-evidence-20261012 — docs(phase0): archive verified main acceptance-register promotion and pending owner gates | 62058a51094f / 5c2a5bf263f7 | CONFLICTING PROJECT_STATE.md | #89 merged | Recorded in JSON | Preserve / review; no blind merge |
83 +| docs/phase0-admin-provision-release-evidence-20261012 — docs(qa): record F0-06 contrast test race and required retest without relaxing WCAG gate | 0a6240682f98 / e664e8fdbc77 | CONFLICTING PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md,scripts/phase0-dark-theme-contrast.spec.js | #95 merged | Recorded in JSON | Preserve / review; no blind merge |
84 +| docs/phase0-core-bundle-owner-login-open-20261013 — docs(state): record verified 38-script bundle release and owner sign-in still open | 028046c68ba1 / 192c04a7e4c6 | CONFLICTING PROJECT_STATE.md | #119 merged | Recorded in JSON | Preserve / review; no blind merge |
85 +| docs/phase0-duplicate-js-release-20261016 — docs: pin exact-SHA duplicate JS removal release and owner acceptance gate | 2afb96cff854 / 612998edb512 | CONFLICTING PROJECT_STATE.md | #159 closed | Recorded in JSON | Preserve / review; no blind merge |
86 +| docs/phase0-f001-auth-rest-shared-timeout-20261013 — docs(phase0): classify second-device Auth and REST shared diagnostic timeouts | cb47da0244f0 / 167fbcb1e5bb | CONFLICTING PROJECT_STATE.md | #122 merged | Recorded in JSON | Preserve / review; no blind merge |
87 +| docs/phase0-f001-owner-login-observed-20261013 — docs(phase0): record owner Chrome login success and keep repeatability gate open | b34162ec4003 / 47b2aa7a70f4 | CONFLICTING PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md | #120 merged | Recorded in JSON | Preserve / review; no blind merge |
88 +| docs/phase0-f001-second-device-fail-40s-20261013 — docs(phase0): record second-device 40s login failure without guessing cause | cbde91bb0bec / 6ac8d68ae669 | CONFLICTING PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md | #121 merged | Recorded in JSON | Preserve / review; no blind merge |
89 +| docs/phase0-f003-release-verification-20261011 — docs: finalize F0-03 exact-sha quality security release deploy and remaining owner-session gate | e746f87fe355 / e746f87fe355 | ALREADY_REACHABLE | #75 merged | Recorded in JSON | Preserve / review; no blind merge |
90 +| docs/phase0-f004-print-release-evidence-20261012 — docs(phase0): archive exact-SHA F0-04 release and open real-print gate | 4049f1cbea55 / 8a0023c53f0c | CONFLICTING PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md | No mapped PR | NOT VERIFIED | Preserve / review; no blind merge |
91 +| docs/phase0-f004-watermark-release-evidence-20261012 — docs(phase0): persist F0-04 exact main release proof and next acceptance gates | 1bf2c5b6916d / 8a0023c53f0c | CONFLICTING PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md | #91 merged | Recorded in JSON | Preserve / review; no blind merge |
92 +| docs/phase0-f005-large-selector-release-20261012 — docs(phase0): record PR #98 exact protected-main gates and released selector QA | 2c7bf33e7876 / 20cca7e4cf5a | CONFLICTING PROJECT_STATE.md | #99 merged | Recorded in JSON | Preserve / review; no blind merge |
93 +| docs/phase0-f005-release-evidence-20261012 — docs(phase0): record exact-SHA F0-05 main CI, release and QA results | 490b1763bb40 / a3c7dac165d1 | CONFLICTING PROJECT_STATE.md | #87 merged | Recorded in JSON | Preserve / review; no blind merge |
94 +| docs/phase0-f006-dark-release-evidence-20261012 — docs(phase0): update F0-06 row with verified main gates and live asset | 7ed7f983af28 / 745bdc847a3c | CONFLICTING PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md | #93 merged | Recorded in JSON | Preserve / review; no blind merge |
95 +| docs/phase0-f008-final-pr-closure-evidence-20261012 — docs(phase0): record verified PR closures and F0-08 audit closure with open phase gates | 47bd88925a68 / 2a4d637d0145 | CONFLICTING PROJECT_STATE.md | #97 merged | Recorded in JSON | Preserve / review; no blind merge |
96 +| docs/phase0-f008-reconcile-stale-prs-20261012 — docs(phase0): record verified F0-08 source audit and guarded close candidates | 08afd9f69ca7 / 4595dafcb981 | CONFLICTING PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md,docs/FINORA_PHASE0_F008_PR_RECONCILIATION_2026-10-12.md | #96 merged | Recorded in JSON | Preserve / review; no blind merge |
97 +| docs/phase0-f107-production-evidence-20261012 — docs(state): record final tested login repair, deployment, live parity and owner gate | dcf08743e7bb / 23c5f5426bc2 | CONFLICTING PROJECT_STATE.md | #109 closed | Recorded in JSON | Preserve / review; no blind merge |
98 +| docs/phase0-kavenegar-otp-preflight-release-20261012 — docs(state): verify disabled OTP code merge, same-SHA QA, release, and no live SMS | 68fdbf073f9c / 6d0882810ca6 | CONFLICTING PROJECT_STATE.md | #111 merged | Recorded in JSON | Preserve / review; no blind merge |
99 +| docs/phase0-login-release-evidence-20261012 — docs(state): record exact-sha login release, domain parity, remaining F0-01 gate | 75a838084ee6 / 8217f7ebb3cb | CONFLICTING PROJECT_STATE.md | #105 merged | Recorded in JSON | Preserve / review; no blind merge |
100 +| docs/phase0-login-rest-bootstrap-stage-release-20261012 — docs(state): preserve owner login timeout, exact staged diagnostic release and open ISP gate | 774cdab3ce7f / bead02fbc48f | CONFLICTING PROJECT_STATE.md | #115 merged | Recorded in JSON | Preserve / review; no blind merge |
101 +| docs/phase0-owner-app-assets-bundle-release-20261013 — docs(state): record verified bundled extension release and open owner ISP acceptance | 05dc94196703 / c72a83981860 | CONFLICTING PROJECT_STATE.md | #117 merged | Recorded in JSON | Preserve / review; no blind merge |
102 +| docs/phase0-owner-login-csp-release-20261012 — docs(state): record proven P0 login listener race, tenant abort fix and release evidence | 099931029bbd / 23c5f5426bc2 | CONFLICTING PROJECT_STATE.md | #108 merged | Recorded in JSON | Preserve / review; no blind merge |
103 +| docs/phase0-reconcile-postmerge-evidence-20261012 — docs(state): close out reconciled PR #102 with verified test evidence | 07e6227f03c5 / 4be48f74a4ad | CONFLICTING PROJECT_STATE.md | #103 merged | Recorded in JSON | Preserve / review; no blind merge |
104 +| docs/phase0-site-probe-release-evidence-20261012 — docs(state): record exact-sha network probe release and remaining affected ISP gate | 80d3b08de30e / 86913c74a1ab | CONFLICTING PROJECT_STATE.md | #113 merged | Recorded in JSON | Preserve / review; no blind merge |
105 +| docs/phase0-startup-release-evidence-20261012 — docs(phase0): record exact-SHA deployed startup optimization and pending owner latency check | e073d37926da / a67c07a717bf | CONFLICTING PROJECT_STATE.md | #101 merged | Recorded in JSON | Preserve / review; no blind merge |
106 +| docs/phase3-treasury-release-evidence-20261014 — docs(phase3): record released treasury correction, exact gate results and remaining invariants | bc6d17bcf6d2 / e32a540b863d | CONFLICTING PROJECT_STATE.md | #132 merged | Recorded in JSON | Preserve / review; no blind merge |
107 +| docs/phase-status-20261031 — Reconcile phase status with released navigation and staged financial core | 5d340e066386 / 4416794682d2 | CLEAN_FF | #192 open | Recorded in JSON | Preserve / review; no blind merge |
108 +| docs/pilot-posted-correction-release-evidence-20261014 — docs(pilot): record exact correction feature QA/release and remaining coverage | 93e5f2b1b8e2 / e66cbfe4e2a5 | CONFLICTING PROJECT_STATE.md | #125 merged | Recorded in JSON | Preserve / review; no blind merge |
109 +| docs/pilot-purchase-correction-release-evidence-20261014 — docs(pilot): record shipped purchase correction and exact-SHA QA/release evidence | 89bd6641a6dc / 07de4f974916 | CONFLICTING PROJECT_STATE.md | #127 merged | Recorded in JSON | Preserve / review; no blind merge |
110 +| docs/print-persian-release-verification-20261011 — docs: record exact Persian invoice print release and verified production-domain browser evidence | 4b6a29315528 / 4b6a29315528 | ALREADY_REACHABLE | #72 merged | Recorded in JSON | Preserve / review; no blind merge |
111 +| docs/real-account-qa-20261030 — Record real company Edit acceptance and bounded settings QA evidence | d999d7288767 / 357cfb2edaa0 | CONFLICTING PROJECT_STATE.md | #190 open | Recorded in JSON | Preserve / review; no blind merge |
112 +| docs/release-state-20261007 — docs: record commerce release evidence | ffa57b50c1b0 / 5ae9117c776a | CONFLICTING PROJECT_STATE.md | #51 merged | Recorded in JSON | Preserve / review; no blind merge |
113 +| docs/seamless-amendment-release-20261014 — docs(ux): record released same-form correction, exact CI gates and owner-acceptance caveats | c7390bb19a6c / 635db7de4e71 | CONFLICTING PROJECT_STATE.md | #130 merged | Recorded in JSON | Preserve / review; no blind merge |
114 +| docs/seamless-document-correction-release-20261014 — docs(ux): archive shipped same-form correction gates and unresolved financial boundaries | 3ae0ea6d5daf / 635db7de4e71 | CONFLICTING PROJECT_STATE.md | #129 open | Recorded in JSON | Preserve / review; no blind merge |
115 +| docs/settings-login-release-20261025 — docs: record deployed settings and login repair evidence | 8808b41a7435 / 8808b41a7435 | ALREADY_REACHABLE | #177 merged | Recorded in JSON | Preserve / review; no blind merge |
116 +| docs/stripe-qa-deployment-evidence-20261011 — docs: record Stripe sandbox Edge deployment evidence and remaining gates | 4088607989db / 4088607989db | ALREADY_REACHABLE | #67 merged | Recorded in JSON | Preserve / review; no blind merge |
117 +| docs/ux-f2-release-evidence-20261011 — docs: record F2 keyboard search exact-SHA Chromium/CI/Pages/live deployment verification | 15a1680a2ef9 / 15a1680a2ef9 | ALREADY_REACHABLE | #84 merged | Recorded in JSON | Preserve / review; no blind merge |
118 +| docs/ux-f2-release-verification-20261011 — docs: record exact-sha F2 keyboard search release, QA evidence and owner-session caveat | 0d5ca9b9ee1e / 641b68669057 | CONFLICTING PROJECT_STATE.md | #85 closed | Recorded in JSON | Preserve / review; no blind merge |
119 +| docs/wave0-closeout — Wave 0: trigger gated Pages positive control | 229b19e9c05f / 150ff54d938a | CONFLICTING PROJECT_STATE.md | #18 closed,#17 merged | NOT VERIFIED | Preserve / review; no blind merge |
120 +| docs/wave2-closeout — Finalize Wave 2 deployment evidence | 128d1f74f5cc / 7346910638b6 | CONFLICTING PROJECT_STATE.md | #20 merged | FAIL Dependency review | Preserve / review; no blind merge |
121 +| docs-wave4b-verified-20261002 — Docs: finalize Wave 4b verification evidence | 2aab810015b2 / 41aff95d11a6 | CONFLICTING PROJECT_STATE.md,docs/REQUEST_WORKFLOW_WAVE4B_VERIFICATION.md | #28 closed | FAIL Dependency review | Preserve / review; no blind merge |
122 +| exec-phase1-architecture — Deduplicate loader invariant check | 2b36ed8225e7 / 6dbb36ed5793 | CLEAN | #1 merged | FAIL Dependency review | Preserve / review; no blind merge |
123 +| exec-phase1-implementation — Clamp cleared cheque settlement to outstanding receivables | d8b83b9b847d / fe48e8070003 | CONFLICTING js/invoices.js | #2 merged | FAIL Dependency review | Preserve / review; no blind merge |
124 +| exec-phase1-qa — Add receivable settlement regression invariant | 75d55830a3d9 / fe48e8070003 | CONFLICTING scripts/quality-check.mjs | #4 merged | FAIL static-quality,Dependency review | Preserve / review; no blind merge |
125 +| exec-phase1-security-release — Harden security workflow token handling | 4575fdfd2c5b / fe48e8070003 | CONFLICTING .github/workflows/security.yml | #5 merged | FAIL Dependency review | Preserve / review; no blind merge |
126 +| exec-phase1-ux — Clarify cheque lifecycle in account drilldown | 433d46105b2f / fe48e8070003 | CLEAN | #3 merged | FAIL Dependency review | Preserve / review; no blind merge |
127 +| feat/accounting-document-draft-approval-20261011 — db: remove unapplied placeholder migration name after successful versioned production deployment | e98258f98ca6 / e98258f98ca6 | ALREADY_REACHABLE | #82 merged | Recorded in JSON | Preserve / review; no blind merge |
128 +| feat/accounting-document-release-candidate-20261011 — merge(finance): carry reviewed document draft workflow onto current main | 183064ce875b / 87c106821008 | CONFLICTING js/accounting.js,js/document-management.js,js/invoices.js,js/journal-ui.js | No mapped PR | NOT VERIFIED | Preserve / review; no blind merge |
129 +| feat/active-company-strict-isolation-20261014 — test(company): ensure company-specific backups and reject foreign/unassigned multi-company restores | 2364a645293e / c5a1a93dc13f | CONFLICTING PROJECT_STATE.md,js/companies.js,js/invoices.js,js/phase5-enterprise.js,scripts/taxpayer-print.spec.js | #133 open | Recorded in JSON | Preserve / review; no blind merge |
130 +| feat/admin-provisioning-reconciled-20261011 — fix: prevent global status selector collision with office workflow regression | c3de65a1aab4 / c3de65a1aab4 | ALREADY_REACHABLE | #81 merged | Recorded in JSON | Preserve / review; no blind merge |
131 +| feat/admin-secure-user-provisioning-20261011 — docs: isolate admin provisioning mock QA success from unapproved production auth deployment | dbfba6539c02 / db576923004b | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,index.html,js/admin.js,scripts/admin-provisioning-contract.mjs,scripts/admin-provisioning.spec.js,supabase/functions/admin-user-management/index.ts | #77 closed | NOT VERIFIED | Preserve / review; no blind merge |
132 +| feat/admin-user-provisioning-merged-20261011 — fix: avoid global status-role selector collision with office C8 workflow tests | 9ade11f93332 / a429aa36e677 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,index.html,js/admin.js,scripts/admin-provisioning-contract.mjs,scripts/admin-provisioning.spec.js,supabase/functions/admin-user-management/index.ts | #80 closed | Recorded in JSON | Preserve / review; no blind merge |
133 +| feat/d4a-request-work-queue — D4a: disambiguate delegation badge assertion | 328c7079ebdf / 3a55c1ffe742 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,js/bootstrap.js,supabase/tests/request_d4a_work_queue.sql | #21 merged | FAIL Dependency review | Preserve / review; no blind merge |
134 +| feat/finora-offline-encrypted-backup-20261014 — docs: record corrected offline backup tested SHA and I/O safety | 2138dd89a63a / 9693b3426709 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md | #143 merged | Recorded in JSON | Preserve / review; no blind merge |
135 +| feat/finora-phase-a-navigation-20261023 — Merge current main into Phase A preserving login, settings and admin fixes | d06b3ef72735 / d06b3ef72735 | ALREADY_REACHABLE | #174 merged | Recorded in JSON | Preserve / review; no blind merge |
136 +| feat/finora-stripe-sandbox-edge-gate — feat: add fail-closed Stripe QA Edge function with user allowlist | 67081d8c2625 / 67081d8c2625 | ALREADY_REACHABLE | #66 merged | Recorded in JSON | Preserve / review; no blind merge |
137 +| feat/iran-accounting-design-audit — ci: run independent accounting audit fixture on pull requests | 2a0c784cfe38 / 2a0c784cfe38 | ALREADY_REACHABLE | #64 merged | Recorded in JSON | Preserve / review; no blind merge |
138 +| feat/office-c7-fulltext-ocr-provenance — Refresh Office C7 runtime asset | 642afae601ee / 238517eaa405 | CONFLICTING .github/workflows/quality.yml,js/bootstrap.js,js/office-mature.js,scripts/office-slice-c7-check.mjs,scripts/office-slice-c7.spec.js | #8 closed | NOT VERIFIED | Preserve / review; no blind merge |
139 +| feat/password-recovery-admin-reset-20261025 — Record verified recovery callback and email configuration | c09632490cc9 / c09632490cc9 | ALREADY_REACHABLE | #179 merged | Recorded in JSON | Preserve / review; no blind merge |
140 +| feat/pilot-expense-income-inplace-amendment-20261014 — test(accounting): enforce posted-expense source integration in canonical module, not legacy CRUD adapter | cedb45f058b2 / c5a1a93dc13f | CONFLICTING PROJECT_STATE.md | #134 open | Recorded in JSON | Preserve / review; no blind merge |
141 +| feat/pilot-journal-invoice-correction-20261014 — test(pilot): assert posted-invoice cancellation retention and draft-only deletion | ddaeac6bcb86 / 9d40b70be901 | CONFLICTING PROJECT_STATE.md,js/document-management.js,js/journal-ui.js,scripts/accounting-document-workflow.spec.js | #124 merged | Recorded in JSON | Preserve / review; no blind merge |
142 +| feat/pilot-purchase-correction-20261014 — test(theme): await settled light-button luminance without weakening contrast gate | dfdb8221404b / 3f596568ccbf | CONFLICTING PROJECT_STATE.md,js/document-management.js,js/journal-ui.js,js/purchases.js,scripts/accounting-document-workflow.spec.js | #126 merged | Recorded in JSON | Preserve / review; no blind merge |
143 +| feat/pilot-treasury-unallocated-correction-20261014 — docs(treasury): record source scope, one-batch amendment design and pending QA | 68d9c99368f1 / b4d5da725a68 | CONFLICTING PROJECT_STATE.md | #131 merged | Recorded in JSON | Preserve / review; no blind merge |
144 +| feat/retain-document-editor-after-save-20261014 — feat(ux): keep saved corrected sales invoice in same form with print control | 7a2ed502c6b5 / 635db7de4e71 | CLEAN | No mapped PR | NOT VERIFIED | Preserve / review; no blind merge |
145 +| feat/seamless-financial-document-correction-20261014 — test(ux): load manually created legacy correction draft explicitly before edit | faeae4083563 / d4d9e6df34f6 | CONFLICTING PROJECT_STATE.md,js/invoices.js,js/print.js,js/purchases.js,scripts/accounting-document-workflow.spec.js | #128 merged | Recorded in JSON | Preserve / review; no blind merge |
146 +| feat/slice-b-tenant-rbac — Keep dependency review best-effort until dependency graph is enabled | 0070795cd5d7 / 0070795cd5d7 | ALREADY_REACHABLE | #7 merged | Recorded in JSON | Preserve / review; no blind merge |
147 +| feat/stripe-sandbox-invoice-probe — test: verify Stripe sandbox invoice roundtrip and guard read-only adapter | e57c77b98999 / e57c77b98999 | ALREADY_REACHABLE | #65 merged | Recorded in JSON | Preserve / review; no blind merge |
148 +| feature/accounting-core-p0 — docs: record accounting P0 PR evidence | 5c92fdd026d9 / c8697a289c8d | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,index.html,js/journal-engine.js,js/journal-ui.js,scripts/phase3-check.mjs,scripts/quality-check.mjs | #52 merged | Recorded in JSON | Preserve / review; no blind merge |
149 +| feature/accounting-product-guidance — feat: expand contextual operational guides | a0c5e89f649f / a0c5e89f649f | ALREADY_REACHABLE | #59 merged | Recorded in JSON | Preserve / review; no blind merge |
150 +| feature/admin-identity-phone-auth — merge: reconcile admin identity with accounting product release | 03c33187299b / 26f1d80a3a43 | CONFLICTING .github/workflows/quality.yml,index.html,js/admin.js,js/core.js,js/ux-hardening-r2.js,scripts/ux-hardening-r2-check.mjs,supabase/functions/admin-user-management/index.ts,supabase/tests/identity_wave5a_bootstrap.sql | #58 open | Recorded in JSON | Preserve / review; no blind merge |
151 +| feature/commercial-rnd — feat: unify commerce invoice workspace | e7d206a344f3 / dfaa4d65918e | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,index.html,js/commercial-rnd.js,js/ui.js,scripts/commercial-rnd-check.mjs | #50 merged | Recorded in JSON | Preserve / review; no blind merge |
152 +| feature/finora-phase1a-supabase-cli-20261016 — docs: record real UI VAT mismatch, v2 decimal draft and Stage 2.1-only approval | 0c2f1a521961 / bccd474433b4 | CONFLICTING PROJECT_STATE.md | No mapped PR | Recorded in JSON | Preserve / review; no blind merge |
153 +| feature/finora-stage2-manual-canary-20261017 — docs(stage2.2): record fully green JWT real-stack, 123 UI tests and stale-mode edge proof | 3c4efef047da / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #162 open | Recorded in JSON | Preserve / review; no blind merge |
154 +| feature/finora-stage3-commercial-payload-20261023 — test(stage3): require canonical monetary fields from actual new sale/purchase UI (RED first) | 69dae3ec7165 / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #164 open | FAIL static-quality | Preserve / review; no blind merge |
155 +| feature/finora-stage3-enforce-invoice-rpc-20261023 — test(stage3.2): require ENFORCE invoice server RPC, immutable source and read-model linkage (RED first) | a71cefd97467 / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #167 open | FAIL static-quality | Preserve / review; no blind merge |
156 +| feature/finora-stage3-enforce-purchase-red-20261023 — test(stage3): RED contract for enforce new purchase draft and explicit RPC-only posting | d36950f3016b / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #172 open | FAIL static-quality | Preserve / review; no blind merge |
157 +| feature/invoice-workspace-cleanup — fix: simplify invoice workspace and product search | 2ee73366207e / 6dae96fac9bd | CONFLICTING PROJECT_STATE.md,index.html,js/ux-hardening-r2.js,scripts/commercial-rnd-check.mjs,scripts/ux-hardening-r2.spec.js | #54 merged | FAIL CodeQL | Preserve / review; no blind merge |
158 +| feature/phase0-kavenegar-otp-preflight-20261012 — docs(state): record offline OTP QA evidence, provider approval and no-activation gate | 29e194e66bea / 833b795b7b03 | CONFLICTING PROJECT_STATE.md | #110 merged | Recorded in JSON | Preserve / review; no blind merge |
159 +| feature/ux-commerce-settings-r2 — test: await async enterprise organization bootstrap | 302df7477558 / b88f0f35902c | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,index.html,js/invoices.js,js/products.js,js/purchases.js,js/ux-hardening-r2.js,scripts/quality-check.mjs,scripts/ux-hardening-r2-check.mjs,scripts/ux-hardening-r2.spec.js | #53 merged | Recorded in JSON | Preserve / review; no blind merge |
160 +| fix/active-company-invoice-scope-20261014 — test(print): seed valid active owned company for purchase print isolation | 39128b68e0f7 / c5a1a93dc13f | CONFLICTING PROJECT_STATE.md,js/companies.js | #135 merged | Recorded in JSON | Preserve / review; no blind merge |
161 +| fix/active-company-isolation-reconcile-20261014 — test: accept versioned UX script while requiring cache-busted asset | 0e67e56da212 / c160da3c23d6 | CONFLICTING PROJECT_STATE.md,index.html,js/phase5-enterprise.js,js/ux-hardening-r2.js,scripts/ux-hardening-r2-check.mjs | #137 open | FAIL static-quality | Preserve / review; no blind merge |
162 +| fix/admin-central-password-reset-20261028 — Fix stale admin password reset dialog results and duplicate submissions | 2ffe5b527fde / 2ffe5b527fde | ALREADY_REACHABLE | #188 merged | Recorded in JSON | Preserve / review; no blind merge |
163 +| fix/auth-network-diagnostics — fix: replace misleading login VPN error with actionable diagnosis | c69ae52afe92 / c69ae52afe92 | ALREADY_REACHABLE | #68 merged | Recorded in JSON | Preserve / review; no blind merge |
164 +| fix/chart-taxpayer-reference-20261003 — docs: record chart and taxpayer verified DOM and accounting evidence | 4619b5ed73f6 / 3085dce9d8f4 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,index.html,js/accounting-foundation.js,js/bootstrap.js,scripts/quality-check.mjs,scripts/taxpayer-print.spec.js | #47 merged | Recorded in JSON | Preserve / review; no blind merge |
165 +| fix/combobox-enter-reliability — fix: keyboard Enter and repeated click in production combobox | a80efcff41cd / a80efcff41cd | ALREADY_REACHABLE | #62 merged | Recorded in JSON | Preserve / review; no blind merge |
166 +| fix/combobox-live-search — fix: reopen search and select suggestion with keyboard | 01ce6e5fcdc3 / 7b5796a15423 | CONFLICTING PROJECT_STATE.md,js/ux-hardening-r2.js | #60 merged | NOT VERIFIED | Preserve / review; no blind merge |
167 +| fix/combobox-production-cache — test: match production UX asset cache version | dce19a805c71 / dce19a805c71 | ALREADY_REACHABLE | #61 merged | Recorded in JSON | Preserve / review; no blind merge |
168 +| fix/combobox-release-asset-v2 — fix: force browser to fetch newly deployed keyboard combobox | 3d0723744b72 / 3d0723744b72 | ALREADY_REACHABLE | #63 merged | Recorded in JSON | Preserve / review; no blind merge |
169 +| fix/company-edit-action-20261028 — Fix company Edit action in published Pages | 2be8650c5c87 / c95da47bca86 | CONFLICTING PROJECT_STATE.md | #187 merged | Recorded in JSON | Preserve / review; no blind merge |
170 +| fix/company-edit-pilot-delete-20261014 — test: enforce company setup-only deletion and blocking operational records | f61f10f8f01f / c160da3c23d6 | CLEAN | #138 merged | Recorded in JSON | Preserve / review; no blind merge |
171 +| fix/company-form-action-state-20261014 — docs: record permission-aware company form commit and verification gaps | 2a8dc526ec4b / d3d15187739b | CONFLICTING PROJECT_STATE.md | #140 closed | Recorded in JSON | Preserve / review; no blind merge |
172 +| fix/company-form-action-state-rebased-20261014 — docs: preserve verified company-form work and outstanding release gates | c33a6a89dccf / 83b514f9a5e7 | CONFLICTING PROJECT_STATE.md | #141 merged | Recorded in JSON | Preserve / review; no blind merge |
173 +| fix/dark-theme-contrast — fix: restore dark theme contrast | 92e4b8680209 / 7e58c75f7d75 | CONFLICTING PROJECT_STATE.md,index.html,js/ux-hardening-r2.js,scripts/ux-hardening-r2-check.mjs | #57 closed | FAIL static-quality | Preserve / review; no blind merge |
174 +| fix/finora-accounting-test-organization-readiness-20261015 — test: wait for organization adapter before installing mocked financial login | 3f14443c3576 / 700846635d5a | CONFLICTING PROJECT_STATE.md,scripts/accounting-document-workflow.spec.js | #155 closed | Recorded in JSON | Preserve / review; no blind merge |
175 +| fix/finora-org-license-bootstrap-race-20261014 — test: wait for org-context adapter before legacy expired-license fixture | 1c16da89a074 / 630cd17a5520 | CONFLICTING PROJECT_STATE.md,index.html,js/bootstrap.js,js/core.js,js/organization-rbac.js,scripts/login-connectivity-check.mjs | #145 merged | Recorded in JSON | Preserve / review; no blind merge |
176 +| fix/finora-stage3-posted-source-immutable-20261023 — test(stage3): give legacy OFF fixture synthetic guard scope only after login | 463a40c99b05 / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #171 open | Recorded in JSON | Preserve / review; no blind merge |
177 +| fix/invoice-product-search-rehydrate-20261011 — docs: record remote browser evidence, scope and pending deployment for PR 69 | a0cf410bc72a / a0cf410bc72a | ALREADY_REACHABLE | #69 merged | Recorded in JSON | Preserve / review; no blind merge |
178 +| fix/invoice-search-cache-bust — fix: bust invoice search bundle cache | 391bc93c072f / dec62d9b5a62 | CONFLICTING index.html,scripts/ux-hardening-r2-check.mjs | #56 merged | Recorded in JSON | Preserve / review; no blind merge |
179 +| fix/login-assets-retry-20261014 — fix(login): retry slow extension assets once with bounded wait | d6b3d95926c8 / d3d15187739b | CLEAN | #139 merged | Recorded in JSON | Preserve / review; no blind merge |
180 +| fix/login-member-access-20261101 — Show organization loading failures and distinguish account access errors | bcf9391e4695 / 4416794682d2 | CLEAN_FF | #193 open | FAIL static-quality | Preserve / review; no blind merge |
181 +| fix/login-resilience-20261017 — QA: stabilize Phase 0 invoice mock after async bootstrap (#161) | bccd474433b4 / bccd474433b4 | ALREADY_REACHABLE | No mapped PR | Recorded in JSON | Preserve / review; no blind merge |
182 +| fix/login-short-viewport-20261028 — Keep complete login visible on short screens | d712c347a057 / b02a7a7716da | CONFLICTING PROJECT_STATE.md | #186 merged | Recorded in JSON | Preserve / review; no blind merge |
183 +| fix/login-startup-readiness-20261024 — docs: record authorized settings merge and strict login release update | b90e005bc20f / b90e005bc20f | ALREADY_REACHABLE | #176 merged | Recorded in JSON | Preserve / review; no blind merge |
184 +| fix/office-c7-source-ref-binding — Refresh C7 attachment-bound OCR runtime | 8b462dfff2d7 / c307422eae50 | CONFLICTING js/bootstrap.js | #9 closed | Recorded in JSON | Preserve / review; no blind merge |
185 +| fix/office-c7-source-ref-binding-v2 — Refresh C7 attachment-bound OCR runtime | 083bc05280df / 3cb212153bef | CONFLICTING js/bootstrap.js | #10 merged | Recorded in JSON | Preserve / review; no blind merge |
186 +| fix/owner-login-network-20261026 — Compare simple and preflighted login health requests safely | 2b06eb828861 / 2b06eb828861 | ALREADY_REACHABLE | #183 merged | Recorded in JSON | Preserve / review; no blind merge |
187 +| fix/password-recovery-invalid-cancel-20261026 — Fix cancel after immediately rejected recovery links | 102c0c67e1b2 / 102c0c67e1b2 | ALREADY_REACHABLE | #181 merged | Recorded in JSON | Preserve / review; no blind merge |
188 +| fix/phase0-admin-provision-seat-bootstrap-20261012 — test(admin): verify redacted Persian server rejection and cleared temporary password | 19b1464edb0c / 487471fe9154 | CONFLICTING PROJECT_STATE.md,index.html,scripts/admin-provisioning.spec.js | #94 merged | Recorded in JSON | Preserve / review; no blind merge |
189 +| fix/phase0-auth-bundled-assets-for-unstable-isp-20261013 — test(pages): verify one bundled request and fail-closed unavailable financial workspace | e1156aab97bf / 80cd5b310514 | CONFLICTING PROJECT_STATE.md,index.html,js/bootstrap.js,js/core.js,scripts/build-pages.mjs,scripts/login-connectivity-check.mjs,scripts/pages-artifact.spec.js | #116 merged | Recorded in JSON | Preserve / review; no blind merge |
190 +| fix/phase0-auth-handler-binding-stalled-session-20261012 — test(tenant): prove scoped read keeps org filter and rejects delayed cancelled snapshot | 0911c25cd039 / 2e6de3b1cb3f | CONFLICTING PROJECT_STATE.md,index.html,js/bootstrap.js,js/core.js,js/organization-rbac.js,scripts/build-pages.mjs,scripts/login-connectivity-check.mjs,scripts/pages-artifact.spec.js,scripts/phase0-startup-performance.spec.js | #107 merged | Recorded in JSON | Preserve / review; no blind merge |
191 +| fix/phase0-login-context-stage-visibility-20261012 — fix(login): bound entire account-context promise even if underlying helper does not settle on abort | c7d46a8633fc / 402bf2a5f63e | CONFLICTING PROJECT_STATE.md,index.html,js/core.js,js/login-connectivity.js,scripts/login-connectivity-check.mjs,scripts/login-connectivity.spec.js,scripts/phase0-startup-performance.spec.js | #114 merged | Recorded in JSON | Preserve / review; no blind merge |
192 +| fix/phase0-login-single-local-bundle-20261013 — docs(phase0): record owner unstable login and isolated one-file Pages login scope | e33f32eb8b9a / 1fa5cf99be9e | CONFLICTING PROJECT_STATE.md | No mapped PR | NOT VERIFIED | Preserve / review; no blind merge |
193 +| fix/phase0-login-site-probe-clarity-20261012 — test(login): independent manifest, critical JS, Auth outage regressions | b13b7273efac / 2a3ff41a19f6 | CONFLICTING PROJECT_STATE.md,index.html,js/login-connectivity.js,scripts/login-connectivity-check.mjs,scripts/login-connectivity.spec.js | #112 merged | Recorded in JSON | Preserve / review; no blind merge |
194 +| fix/phase0-login-ui-ready-20261012 — docs(state): register tested login-ready fix, failures, and owner acceptance boundary | b8e2529bdbda / 3445a8759234 | CONFLICTING PROJECT_STATE.md,index.html,js/bootstrap.js,js/core.js,scripts/login-connectivity-check.mjs,scripts/phase0-startup-performance.spec.js | #104 merged | Recorded in JSON | Preserve / review; no blind merge |
195 +| fix/phase0-modal-dashboard-drill-20261011 — test: align UX bundling invariant with fixed modal close asset version | 46258c6159a2 / 46258c6159a2 | ALREADY_REACHABLE | #76 merged | Recorded in JSON | Preserve / review; no blind merge |
196 +| fix/phase0-pages-blocking-core-bundles-20261013 — test(pages): compare bundle filenames independent of _site URL prefix | 84e840dd8fb9 / 9b8d4cd7fa3b | CONFLICTING PROJECT_STATE.md,index.html,scripts/login-connectivity-check.mjs,scripts/pages-artifact.spec.js | #118 merged | Recorded in JSON | Preserve / review; no blind merge |
197 +| fix/phase0-print-no-draft-watermark-20261012 — docs(phase0): record green watermark regression and phase-acceptance carry-forward | de66e1d98299 / efc206c3ac9a | CONFLICTING PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md,index.html | #90 merged | NOT VERIFIED | Preserve / review; no blind merge |
198 +| fix/phase0-startup-parallel-asset-load-20261012 — docs(phase0): record verified startup bottleneck, SRI-preserving fix and 89 Chromium passes | c45807d949c3 / 61cbcf3113c5 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,index.html,js/bootstrap.js,scripts/phase0-startup-performance.spec.js | #100 merged | Recorded in JSON | Preserve / review; no blind merge |
199 +| fix/phase3-behavioral-verification — docs: verify direct Supabase access and record server audit | 4e9f12e89188 / 8761d21189d9 | CONFLICTING .github/workflows/quality.yml,README.md,docs/PHASE_3_REDESIGN_VERIFICATION.md,index.html,js/accounting-foundation.js,js/invoices.js,js/journal-engine.js,js/journal-ui.js,js/operations.js,js/payments.js,js/purchases.js,scripts/phase3-check.mjs,scripts/quality-check.mjs | #6 open | FAIL Dependency review | Preserve / review; no blind merge |
200 +| fix/print-persian-digit-consistency-20261011 — docs: record Persian print digit browser QA, screenshot and CI evidence | 9137a804a971 / 9137a804a971 | ALREADY_REACHABLE | #71 merged | Recorded in JSON | Preserve / review; no blind merge |
201 +| fix/recovery-login-startup-20261027 — Fix login startup stall introduced by password recovery | bc6d9d885d32 / bc6d9d885d32 | ALREADY_REACHABLE | #185 merged | Recorded in JSON | Preserve / review; no blind merge |
202 +| fix/settings-checkbox-persistence-20261024 — fix(settings): verify all preference panels and save the focused form | 6fd275716c52 / 6fd275716c52 | ALREADY_REACHABLE | #175 merged | Recorded in JSON | Preserve / review; no blind merge |
203 +| fix/taxpayer-arithmetic-20261004 — docs: reconcile chart QA status and record taxpayer arithmetic continuation | 263b859b7845 / dfaa4d65918e | CONFLICTING PROJECT_STATE.md | No mapped PR | NOT VERIFIED | Preserve / review; no blind merge |
204 +| fix/ux-keyboard-search-f2-20261011 — test: verify safe modular and dialog F2 save delegation with validation and no posting | 9bff9e5d0a59 / 9bff9e5d0a59 | ALREADY_REACHABLE | #83 merged | Recorded in JSON | Preserve / review; no blind merge |
205 +| fix/wave2-request-input-integrity — Close Wave 0 with verified gated Pages evidence | 13270d361168 / 13270d361168 | ALREADY_REACHABLE | No mapped PR | FAIL Exact SHA promotion gate | Preserve / review; no blind merge |
206 +| fix-shell-scroll-live-cache-20261002 — State: record live scrollbar cache root cause | 903ab69a6bab / a40db5df1473 | CONFLICTING PROJECT_STATE.md,index.html,scripts/shell-scroll-ownership.spec.js | #38 merged | Recorded in JSON | Preserve / review; no blind merge |
207 +| fix-shell-scrollbar-explicit-ownership-20261002 — State: record persistent scrollbar defect and structural fix | d4dde369e4b0 / a55933c421eb | CONFLICTING PROJECT_STATE.md | #40 open | FAIL static-quality | Preserve / review; no blind merge |
208 +| fix-shell-scrollbar-ownership-20261002 — State: record video-verified scrollbar correction | 7dedf9992eae / a4fa96b9ac32 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,index.html | #36 closed | NOT VERIFIED | Preserve / review; no blind merge |
209 +| fix-shell-scrollbar-right-edge-20261002 — State: record video-proven scrollbar side root cause | de9da02b1789 / a55933c421eb | CONFLICTING PROJECT_STATE.md,index.html,scripts/shell-scroll-ownership.spec.js | #39 open | Recorded in JSON | Preserve / review; no blind merge |
210 +| main — Merge pull request #191 from davoodmehraban89/audit/full-controls-20261030 | 4416794682d2 / 4416794682d2 | ALREADY_REACHABLE | No mapped PR | FAIL Exact SHA promotion gate | Preserve / review; no blind merge |
211 +| ops/wave4-production-20261003 — docs: record applied Wave 4 migration and production verification | ebb3c6cac18b / 81bd9bf38e0b | CONFLICTING PROJECT_STATE.md | #45 merged | Recorded in JSON | Preserve / review; no blind merge |
212 +| ops-heartbeat-v2-20261002 — Ops: make long tasks resilient to chat context limits | e8b662d1cd59 / d70e7d02eceb | CLEAN | #43 closed | Recorded in JSON | Preserve / review; no blind merge |
213 +| ops-progress-heartbeat-rule-20261002 — Ops: add long-running execution heartbeat rule | 5be829dc1267 / 5d33b6ea4fb1 | CLEAN | #42 merged | Recorded in JSON | Preserve / review; no blind merge |
214 +| plan/financial-core-phase1-approval-20261016 — docs: persist phase 1A preflight stop and continuity state | 2a5902110a9a / bccd474433b4 | CONFLICTING PROJECT_STATE.md | No mapped PR | Recorded in JSON | Preserve / review; no blind merge |
215 +| qa/finora-login-cors-header-preflight-20261025 — test(login): verify CORS preflight vs authenticated gateway GET on disposable free runner | f41f1c5adbfc / ce32b0b52d97 | CLEAN | #180 open | Recorded in JSON | Preserve / review; no blind merge |
216 +| qa/finora-phase0-saved-session-repeat-20261015 — docs: record 4/4 session reload and 120/120 navigation QA pass; keep real catalog gate open | 8adc85d5d469 / a730a9e4a806 | CONFLICTING PROJECT_STATE.md,scripts/phase0-modal-dashboard.spec.js | #148 merged | Recorded in JSON | Preserve / review; no blind merge |
217 +| qa/finora-stage3-ui-jwt-autopost-20261023 — test(stage3): reject authenticated direct financial source mutation after posted server voucher | beed004490e3 / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #166 open | FAIL Real UI sale-purchase payload vs independent SQL-v1 | Preserve / review; no blind merge |
218 +| qa/phase0-acceptance-start-20261012 — docs(phase0): note asset reachability and initial green PR gates | d868d5310cf0 / 601a5b7b066c | CONFLICTING PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md | #88 merged | Recorded in JSON | Preserve / review; no blind merge |
219 +| qa/phase0-f005-account-project-contract-stress-20261012 — docs(phase0): log tested 1200+ account/project/contract selector metrics and remaining gates | dfc4b21d4e73 / c45d849a1383 | CONFLICTING PROJECT_STATE.md | #98 merged | Recorded in JSON | Preserve / review; no blind merge |
220 +| qa/phase0-f005-selector-stress-20261012 — docs(phase0): record verified F0-05 CI and live-safe scope boundaries | 31d577843440 / 27170e029149 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,scripts/phase0-selector-stress.spec.js | #86 merged | Recorded in JSON | Preserve / review; no blind merge |
221 +| qa/phase0-f006-dark-contrast-20261012 — docs(phase0): record F0-06 theme controlled QA, limits and test evidence | 59e396a17ec3 / 9e9e35cd96d2 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,docs/FINORA_PHASE0_ACCEPTANCE_REGISTER_2026-10-12.md,index.html,scripts/phase0-dark-theme-contrast.spec.js,scripts/ux-hardening-r2-check.mjs | #92 merged | Recorded in JSON | Preserve / review; no blind merge |
222 +| qa/post-wave4-verification-20261003 — docs: record successful same-SHA retry and two-user E2E blocker | e7b289622256 / 62da4cf24b55 | CONFLICTING PROJECT_STATE.md | #46 merged | Recorded in JSON | Preserve / review; no blind merge |
223 +| qa/real-settings-acceptance-20261025 — docs: record real account QA observations and secure reentry blocker | bad7f747883f / ce32b0b52d97 | CONFLICTING PROJECT_STATE.md | #178 open | Recorded in JSON | Preserve / review; no blind merge |
224 +| qa/recovery-mail-acceptance-20261026 — Record observed recovery request and confirmed email receipt | 23824fb598f6 / 23824fb598f6 | ALREADY_REACHABLE | #182 merged | Recorded in JSON | Preserve / review; no blind merge |
225 +| qa/wave0-negative-gate-proof — Wave 0/1: gated Pages, public QA hardening, legacy request guard | 74f6521fe53d / 74f6521fe53d | ALREADY_REACHABLE | #15 closed | FAIL Exact SHA promotion gate | Preserve / review; no blind merge |
226 +| remediation/wave0-liveqa-wave1 — fix: preserve return-false semantics in CSP dispatcher | a42c4fd08dcd / f81bbfdb307a | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,scripts/build-pages.mjs,scripts/pages-artifact.spec.js | #14 merged | FAIL Dependency review | Preserve / review; no blind merge |
227 +| remediation/wave2-request-integrity — Fix D2 DOM spec newline syntax | a016d0f6c4f0 / 13270d361168 | CONFLICTING PROJECT_STATE.md | #19 merged | FAIL Dependency review | Preserve / review; no blind merge |
228 +| staging/finora-stage22-free-20261022 — ci(staging): restore release-safety invariant after discovering disabled Dependency Graph | 43db17ef3c11 / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #163 open | Recorded in JSON | Preserve / review; no blind merge |
229 +| state-scroll-verified-20261002 — State: verify desktop scroll ownership rollout | 196fe464e79f / 4a8caf7447dd | CONFLICTING PROJECT_STATE.md | #37 merged | Recorded in JSON | Preserve / review; no blind merge |
230 +| state-wave4b-production-20261002 — CI: fix Dependency Graph safety regex | 1eeba05b4366 / 41aff95d11a6 | CONFLICTING PROJECT_STATE.md | #29 merged | Recorded in JSON | Preserve / review; no blind merge |
231 +| state-wave5a-production-20261002 — State: verify Wave 5a production rollout | e1da1378ef34 / cfd15dcf51cf | CONFLICTING PROJECT_STATE.md | #31 merged | Recorded in JSON | Preserve / review; no blind merge |
232 +| test/finora-accounting-boot-readiness-20261015 — test: avoid accounting mock auth race with delayed organization bootstrap | 37ea886586e1 / 700846635d5a | CONFLICTING PROJECT_STATE.md | #154 merged | Recorded in JSON | Preserve / review; no blind merge |
233 +| test/finora-f0-02-production-selectors-20261015 — docs: trace one-time legacy migration save and accounting test bootstrap race; rerun quality gates | 100969c47942 / b7d287ac15f7 | CONFLICTING PROJECT_STATE.md,scripts/accounting-document-workflow.spec.js,scripts/pages-artifact.spec.js | #152 closed | Recorded in JSON | Preserve / review; no blind merge |
234 +| test/finora-pages-commerce-event-wiring-20261015 — docs: verify hardened Pages Commerce and Quick Create callbacks with 121 of 121 tests | 64eb58adfdcd / e544127a8a4f | CONFLICTING PROJECT_STATE.md,scripts/pages-artifact.spec.js | #150 merged | Recorded in JSON | Preserve / review; no blind merge |
235 +| test/finora-pages-invoice-selectors-readonly-20261015 — docs: record 122 of 122 hardened Pages invoice selector QA and outstanding real-user gate | f50142b6e28b / b7d287ac15f7 | CONFLICTING PROJECT_STATE.md | #153 merged | Recorded in JSON | Preserve / review; no blind merge |
236 +| test/finora-stage3-jwt-source-post-20261023 — docs(stage3): record verified real local JWT source-post negative tests and release blockers | 72549ca8928f / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #169 open | Recorded in JSON | Preserve / review; no blind merge |
237 +| test/phase0-invoice-fixture-bootstrap-20261016 — test: stabilize isolated invoice fixture after async ERP bootstrap | 82a09a17e661 / 67be4fbfa616 | CONFLICTING PROJECT_STATE.md,scripts/phase0-invoice-persistence.spec.js | #161 merged | Recorded in JSON | Preserve / review; no blind merge |
238 +| test/phase0-invoice-persistence-20261011 — ci: run Phase 0 invoice persistence/retry Chromium regression on every Quality check | c40a45c8bd71 / c40a45c8bd71 | ALREADY_REACHABLE | #74 merged | Recorded in JSON | Preserve / review; no blind merge |
239 +| test/phase0-pages-delayed-dispatcher-20261016 — docs: record passing 123 Chromium and security gates for duplicate-loader repair | e01707c19fa5 / 69e0721d7004 | CONFLICTING PROJECT_STATE.md,js/ui.js | #158 merged | Recorded in JSON | Preserve / review; no blind merge |
240 +| ux-scroll-ownership-20261002 — Test: accept existing mobile document overflow mode | 9ac774e05ba6 / a4fa96b9ac32 | CONFLICTING .github/workflows/quality.yml,PROJECT_STATE.md,scripts/shell-scroll-ownership.spec.js | #35 merged | Recorded in JSON | Preserve / review; no blind merge |
241 +| work/finora-stage3-enforce-purchase-green-20261023 — fix(stage3): retain purSave synchronous public handler while awaiting guard in isolated task | 4374aa78b8c7 / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #173 open | Recorded in JSON | Preserve / review; no blind merge |
242 +| work/finora-stage3-enforce-sale-green-20261023 — ci(stage3.2): rerun free JWT source and SQL/rollback regression on sale ENFORCE cutover | 16f339802bf7 / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #168 open | FAIL static-quality,Real UI sale-purchase payload vs independent SQL-v1 | Preserve / review; no blind merge |
243 +| work/finora-stage3-payload-green-20261023 — docs(stage3): preserve exact-head successful UI-to-SQL-v1 tests and open release gates | b1d290f1ce4d / bccd474433b4 | CONFLICTING PROJECT_STATE.md | #165 open | Recorded in JSON | Preserve / review; no blind merge |
docs/wp0/REPOSITORY_BASELINE.json new
+10
@@ -0,0 +1,10 @@
1 +{
2 + "baseline_sha": "4416794682d29a17976c901d866d182627f63c29",
3 + "commits": 1267,
4 + "js_files": 56,
5 + "js_bytes": 890761,
6 + "sql_tests": 23,
7 + "baseline_migrations": 81,
8 + "docs_files": 124,
9 + "state_bytes": 88130
10 +}
docs/wp0/evidence/ledger-baseline.json new
+316
@@ -0,0 +1,316 @@
1 +{
2 + "scope": "source-derived ledger baseline; NOT a production database clone",
3 + "image": "postgres:17-alpine",
4 + "migrations": [
5 + {
6 + "name": "20260921082958_finora_core_schema_auth_licenses_rls.sql",
7 + "sourceSha256": "f9fc9d548e1ec1e7c224f2ddf59fee9f59045a97bf7586a6e5211b39732fe206",
8 + "appliedSha256": "a232419f6a09726036e34be673089839c2a5cc03fbc30453bbe1d7060de5995f",
9 + "terminalLiteralNewlineRemoved": true
10 + },
11 + {
12 + "name": "20260921083540_finora_records_store_replace_relational.sql",
13 + "sourceSha256": "f2abeb1043b92abcd32cf9e6ff55013c46eedda360934efff75085356806b9c0",
14 + "appliedSha256": "b4466d9390945d127d89de45250d212d859d47585c0fb0ab618d14e35c72894f",
15 + "terminalLiteralNewlineRemoved": true
16 + },
17 + {
18 + "name": "20260921083829_finora_admin_license_rpcs_cancel_and_extend.sql",
19 + "sourceSha256": "3ffed38bc301088c2c6ac8a43b67f4764110ac5548df52bf62b51c2b01f60330",
20 + "appliedSha256": "47ddd34936281faf183a1b638defe92ea282ec6a02be5610761b377052cb3745",
21 + "terminalLiteralNewlineRemoved": true
22 + },
23 + {
24 + "name": "20260922035848_decouple_profile_email_add_email_col.sql",
25 + "sourceSha256": "55e8dd71c3a038e20bb92e23eb54c3bda372e3869ac0a15ed486cd39de0ee724",
26 + "appliedSha256": "fb391f06a35947e55883c29541a8e6591699e1a2e17d963a21e75439beb3fed0",
27 + "terminalLiteralNewlineRemoved": true
28 + },
29 + {
30 + "name": "20260922035916_drop_username_unique_and_format_constraints.sql",
31 + "sourceSha256": "6abba23c7c7567db3442326a500498b78cfbee6dbd54cf241d1a3a4a7505cb78",
32 + "appliedSha256": "94ea777568d5558527d884f421d2843f504e1f276b0f3170bb70522526a9f515",
33 + "terminalLiteralNewlineRemoved": true
34 + },
35 + {
36 + "name": "20260923210625_add_full_name_to_profiles.sql",
37 + "sourceSha256": "703d8313f9079b541f92725f00434911212a3c5d0d0d84e9756e8ed955558c51",
38 + "appliedSha256": "3c6ecfbe37c210fe2430c4ca9442e9a425767000b736e284b968221ef7e9783a",
39 + "terminalLiteralNewlineRemoved": true
40 + },
41 + {
42 + "name": "20260928025331_allow_purchases_collection.sql",
43 + "sourceSha256": "4b2f60d800ee3caeb55c9b1c966ef18501c8f401eca96b9a3a7bb1c689b7baa8",
44 + "appliedSha256": "f733e8f53b3d7ce1ffdfd2f3da9b7395393af86532efa45c2a394c414a92a7ef",
45 + "terminalLiteralNewlineRemoved": true
46 + },
47 + {
48 + "name": "20260928113755_allow_payment_settlement_records.sql",
49 + "sourceSha256": "65559a79c846c58857a64b48c1f8c4fbf001e9bfb2ecb3790ae4633e0f8757a1",
50 + "appliedSha256": "5eacb493707b37d2f1198ec9db00880d81ff5c61000c2bd528ac1c8cdfef6f40",
51 + "terminalLiteralNewlineRemoved": true
52 + },
53 + {
54 + "name": "20260928115233_repair_legacy_invoice_contact_ids.sql",
55 + "sourceSha256": "c713e1e071858c66e38370e521a43fced55844b2adb130b0c38caea2c6a86226",
56 + "appliedSha256": "3c5b879607230c6851cdd0b241ee4e04045449809ddd0eb21b58c2d7b3a83bec",
57 + "terminalLiteralNewlineRemoved": true
58 + },
59 + {
60 + "name": "20260928115616_restrict_internal_license_helpers.sql",
61 + "sourceSha256": "d6c93f28dcc87ade59756e068a121ad1e34c491cb26a3443cafaeb73a31a1a6e",
62 + "appliedSha256": "02212f26bb0dc8499b0a4e8d45a17ccf5b129be306c1824c272b40929c3a53c2",
63 + "terminalLiteralNewlineRemoved": true
64 + },
65 + {
66 + "name": "20260928141512_allow_accounting_foundation_collections.sql",
67 + "sourceSha256": "9d5c9297debd032c31e5dcea8509ac76212b7a0022533436e5b9ad57f5346f10",
68 + "appliedSha256": "c41453d59b58f29443e032e116fce162e0f6e3a5e576773e8f5e4ddcf7d11073",
69 + "terminalLiteralNewlineRemoved": true
70 + },
71 + {
72 + "name": "20260928145306_allow_phase3_double_entry_collections.sql",
73 + "sourceSha256": "d1a846179c815d0c84ebf2d7dcdfcc81b18e9856016a3aa2552574703ac0dbf2",
74 + "appliedSha256": "cbfac74cb825ddbe5643c122962ac182d950613223249aee88318e7f3156f4c2",
75 + "terminalLiteralNewlineRemoved": true
76 + },
77 + {
78 + "name": "20260929083130_phase3_hardening_atomic_sync_and_ledger_guards.sql",
79 + "sourceSha256": "9eab93235e973bfa869659d6b1f14664c4864b711c0d6518e3865fab6b7f8cfa",
80 + "appliedSha256": "b2f91d6e8dc513500ab559613490fc2af3bb91faab64664f0bb541322060f027",
81 + "terminalLiteralNewlineRemoved": true
82 + },
83 + {
84 + "name": "20260929091743_phase4_contracting_collections.sql",
85 + "sourceSha256": "8506f8296eb3d4b67c80fb0b6b467a4d24b10ef29ad3d2e5779c7250a6a7a12c",
86 + "appliedSha256": "f0eb58959c93335d48017af4344ffc337c07386c309ea9a9519d20fb03807b8a",
87 + "terminalLiteralNewlineRemoved": true
88 + },
89 + {
90 + "name": "20260929172129_phase5_complementary_erp_collections.sql",
91 + "sourceSha256": "eab2d7aa23b5226a28f366e3eb08cd398f74184522b2ec52d8df8a7b34d01d47",
92 + "appliedSha256": "eab2d7aa23b5226a28f366e3eb08cd398f74184522b2ec52d8df8a7b34d01d47",
93 + "terminalLiteralNewlineRemoved": false
94 + },
95 + {
96 + "name": "20260929193348_posted_source_immutability_guard.sql",
97 + "sourceSha256": "4d57fffc27e69e2bf873ebe1d411223ef262190fac428347b9ab413be5876b78",
98 + "appliedSha256": "4d57fffc27e69e2bf873ebe1d411223ef262190fac428347b9ab413be5876b78",
99 + "terminalLiteralNewlineRemoved": false
100 + },
101 + {
102 + "name": "20260929193357_accounting_master_uniqueness.sql",
103 + "sourceSha256": "1b55fb34c8ec683bb84c40f85e82e283f30711a3aa7785f93bfa721e371e6f8c",
104 + "appliedSha256": "1b55fb34c8ec683bb84c40f85e82e283f30711a3aa7785f93bfa721e371e6f8c",
105 + "terminalLiteralNewlineRemoved": false
106 + },
107 + {
108 + "name": "20260929220543_license_company_capacity.sql",
109 + "sourceSha256": "7d4e87152b55ca2be58c47dbd40b0abd9f5b85bc59fa247f8a0bbab3d441774c",
110 + "appliedSha256": "7d4e87152b55ca2be58c47dbd40b0abd9f5b85bc59fa247f8a0bbab3d441774c",
111 + "terminalLiteralNewlineRemoved": false
112 + },
113 + {
114 + "name": "20260929220613_restrict_company_limit_rpc.sql",
115 + "sourceSha256": "3a74e66245125f9b4922032fbc34a4c2981534efd901519c66cd96a837b03756",
116 + "appliedSha256": "3a74e66245125f9b4922032fbc34a4c2981534efd901519c66cd96a837b03756",
117 + "terminalLiteralNewlineRemoved": false
118 + },
119 + {
120 + "name": "20260929221252_iran_enterprise_foundation_collections.sql",
121 + "sourceSha256": "66a07435edc6e8c75a62694ad4b9d734e9c94727bed7bbb95a323e7146d0d4ae",
122 + "appliedSha256": "66a07435edc6e8c75a62694ad4b9d734e9c94727bed7bbb95a323e7146d0d4ae",
123 + "terminalLiteralNewlineRemoved": false
124 + },
125 + {
126 + "name": "20260929221754_iran_enterprise_financial_controls.sql",
127 + "sourceSha256": "c5329091a70c3c2e0bc8c3f24dbd2477ab4e66f3cceb439144f5a85a961d851c",
128 + "appliedSha256": "c5329091a70c3c2e0bc8c3f24dbd2477ab4e66f3cceb439144f5a85a961d851c",
129 + "terminalLiteralNewlineRemoved": false
130 + },
131 + {
132 + "name": "20260929222000_iran_enterprise_foundation_collections.sql",
133 + "sourceSha256": "1884e4c169fd2b0b1d1d9bb0486ee466c41fee8d09fca283830531c635db1720",
134 + "appliedSha256": "78f1fb98473b0503199760a4ce8c29304e77795356c4716023595c5e6b7cc675",
135 + "terminalLiteralNewlineRemoved": true
136 + },
137 + {
138 + "name": "20260930025546_modular_entitlements_office_automation_foundation.sql",
139 + "sourceSha256": "96d31a1db0ebc3673dc016aa1fa2f434d655305f774fc5cc3eef75cae862a9f6",
140 + "appliedSha256": "96d31a1db0ebc3673dc016aa1fa2f434d655305f774fc5cc3eef75cae862a9f6",
141 + "terminalLiteralNewlineRemoved": false
142 + },
143 + {
144 + "name": "20260930025647_office_secretariat_atomic_registration.sql",
145 + "sourceSha256": "e2a05589a486c3662c0edfd10d97f6e258047142f61eb17aeb1110eef6114ea7",
146 + "appliedSha256": "e2a05589a486c3662c0edfd10d97f6e258047142f61eb17aeb1110eef6114ea7",
147 + "terminalLiteralNewlineRemoved": false
148 + },
149 + {
150 + "name": "20260930030314_preserve_readonly_access_after_license_expiry.sql",
151 + "sourceSha256": "50a1793c35f30e1fd320adf5ffe3eac5c7ff43108e8038b1608e95e94ef61398",
152 + "appliedSha256": "50a1793c35f30e1fd320adf5ffe3eac5c7ff43108e8038b1608e95e94ef61398",
153 + "terminalLiteralNewlineRemoved": false
154 + },
155 + {
156 + "name": "20260930031853_organization_membership_rbac_foundation.sql",
157 + "sourceSha256": "5df3530944807adfc4c1a4c57117b48b4582eba965cbb1898a2debc115d8c2b4",
158 + "appliedSha256": "5df3530944807adfc4c1a4c57117b48b4582eba965cbb1898a2debc115d8c2b4",
159 + "terminalLiteralNewlineRemoved": false
160 + },
161 + {
162 + "name": "20260930031942_office_shared_rbac_and_referrals.sql",
163 + "sourceSha256": "13c066da7d67318652dc865f8f5522dd4942497c9f2b9e20c73fb23c04364ec2",
164 + "appliedSha256": "13c066da7d67318652dc865f8f5522dd4942497c9f2b9e20c73fb23c04364ec2",
165 + "terminalLiteralNewlineRemoved": false
166 + },
167 + {
168 + "name": "20260930032615_slice_b_rbac_fk_indexes.sql",
169 + "sourceSha256": "ae9469591c7669d4759e23609f09da48b80791ae1accdab76d910278f52da1a3",
170 + "appliedSha256": "ae9469591c7669d4759e23609f09da48b80791ae1accdab76d910278f52da1a3",
171 + "terminalLiteralNewlineRemoved": false
172 + },
173 + {
174 + "name": "20260930032654_harden_legacy_office_storage_member_writes.sql",
175 + "sourceSha256": "4fce4b570a47af4838243226fdf521e7cb918119400ea36a8c5319cc085c43a4",
176 + "appliedSha256": "4fce4b570a47af4838243226fdf521e7cb918119400ea36a8c5319cc085c43a4",
177 + "terminalLiteralNewlineRemoved": false
178 + },
179 + {
180 + "name": "20260930033010_allow_member_core_read_context.sql",
181 + "sourceSha256": "4fef30460171789e426da776d36098ceb5a743c75f908d8c2e1ffa39a82f9335",
182 + "appliedSha256": "4fef30460171789e426da776d36098ceb5a743c75f908d8c2e1ffa39a82f9335",
183 + "terminalLiteralNewlineRemoved": false
184 + },
185 + {
186 + "name": "20260930041735_harden_public_security_definer_rpc_grants_search_path.sql",
187 + "sourceSha256": "42047543a8764fba8865d76e9474b8afe547d352c23ea39d4e3aa3611ba761c6",
188 + "appliedSha256": "42047543a8764fba8865d76e9474b8afe547d352c23ea39d4e3aa3611ba761c6",
189 + "terminalLiteralNewlineRemoved": false
190 + },
191 + {
192 + "name": "20260930045827_enterprise_license_seats_delegated_admin.sql",
193 + "sourceSha256": "9b304812da17c9f8cad4c6ae6d83181dfdd5177dbb2b3a43970437b69aa1727d",
194 + "appliedSha256": "9b304812da17c9f8cad4c6ae6d83181dfdd5177dbb2b3a43970437b69aa1727d",
195 + "terminalLiteralNewlineRemoved": false
196 + },
197 + {
198 + "name": "20260930050542_enterprise_reusable_roles.sql",
199 + "sourceSha256": "9025f7501b2f27ac74c2f225366d85eac5d12eadb146c4844dc1c072cf10ec7e",
200 + "appliedSha256": "9025f7501b2f27ac74c2f225366d85eac5d12eadb146c4844dc1c072cf10ec7e",
201 + "terminalLiteralNewlineRemoved": false
202 + },
203 + {
204 + "name": "20260930050904_eli2_role_tenant_hardening.sql",
205 + "sourceSha256": "40b433fe28b62f780bc60f8a38f9cf57daf2e6897daabaf7493909be706fb43c",
206 + "appliedSha256": "40b433fe28b62f780bc60f8a38f9cf57daf2e6897daabaf7493909be706fb43c",
207 + "terminalLiteralNewlineRemoved": false
208 + },
209 + {
210 + "name": "20260930051849_enterprise_invitations.sql",
211 + "sourceSha256": "cd735c988394a45be4253c01d2b399e6f502e4a73e6652b4ddb7726e4e71659e",
212 + "appliedSha256": "cd735c988394a45be4253c01d2b399e6f502e4a73e6652b4ddb7726e4e71659e",
213 + "terminalLiteralNewlineRemoved": false
214 + },
215 + {
216 + "name": "20260930052909_eli3_fk_index_hardening.sql",
217 + "sourceSha256": "496e9537aefb1f88ee2cf5269af2a3c23f84e16a40ca36b58f8cc00ea721eb22",
218 + "appliedSha256": "496e9537aefb1f88ee2cf5269af2a3c23f84e16a40ca36b58f8cc00ea721eb22",
219 + "terminalLiteralNewlineRemoved": false
220 + },
221 + {
222 + "name": "20260930053652_enterprise_organization_ux.sql",
223 + "sourceSha256": "225f5c37fe91f5116875bff0bb090aa71824d8d71a93607377b29e86eaf8c947",
224 + "appliedSha256": "225f5c37fe91f5116875bff0bb090aa71824d8d71a93607377b29e86eaf8c947",
225 + "terminalLiteralNewlineRemoved": false
226 + },
227 + {
228 + "name": "20260930054352_office_registered_history_read_evidence.sql",
229 + "sourceSha256": "4e2080d037f9e5ad6ef1baa9c25da4878133c650b5b0487bee2cdcd5d0354d51",
230 + "appliedSha256": "4e2080d037f9e5ad6ef1baa9c25da4878133c650b5b0487bee2cdcd5d0354d51",
231 + "terminalLiteralNewlineRemoved": false
232 + },
233 + {
234 + "name": "20260930152500_office_slice_c2_actionable_referrals_sla.sql",
235 + "sourceSha256": "c02a8dfee81b5d75e824adc6b2ecbfa0835fb92d30424b8f8420dd92a396c4c7",
236 + "appliedSha256": "c02a8dfee81b5d75e824adc6b2ecbfa0835fb92d30424b8f8420dd92a396c4c7",
237 + "terminalLiteralNewlineRemoved": false
238 + },
239 + {
240 + "name": "20260930153000_office_evidence_insert_hardening.sql",
241 + "sourceSha256": "aea8dbd1ca84ee089c3a86586921e333df059798dd9bdbd22fa0e8bc22afacee",
242 + "appliedSha256": "aea8dbd1ca84ee089c3a86586921e333df059798dd9bdbd22fa0e8bc22afacee",
243 + "terminalLiteralNewlineRemoved": false
244 + },
245 + {
246 + "name": "20261002080000_identity_wave5a_bootstrap.sql",
247 + "sourceSha256": "3acd8ff4354d5ad5e4d9423f46c879b58b4e3d0d3447f163142ad1a63d928faa",
248 + "appliedSha256": "3acd8ff4354d5ad5e4d9423f46c879b58b4e3d0d3447f163142ad1a63d928faa",
249 + "terminalLiteralNewlineRemoved": false
250 + },
251 + {
252 + "name": "20261007165208_phone_identity_profile.sql",
253 + "sourceSha256": "6ad16165c8039faf295f0353043941b7c8505731cac13e44f0f330899cbaff18",
254 + "appliedSha256": "6ad16165c8039faf295f0353043941b7c8505731cac13e44f0f330899cbaff18",
255 + "terminalLiteralNewlineRemoved": false
256 + },
257 + {
258 + "name": "20261011174445_posted_source_idempotency_index.sql",
259 + "sourceSha256": "92002acb5138f927db6094f8d428ed84954a73c3a26b13d73f96165ef0405e7a",
260 + "appliedSha256": "92002acb5138f927db6094f8d428ed84954a73c3a26b13d73f96165ef0405e7a",
261 + "terminalLiteralNewlineRemoved": false
262 + },
263 + {
264 + "name": "20261012080000_fix_identity_bootstrap_license_before_membership.sql",
265 + "sourceSha256": "9cc237ca25ae27cc023b98f12a82b950991b1a21a3e5713cac6c502d2da2f7ff",
266 + "appliedSha256": "9cc237ca25ae27cc023b98f12a82b950991b1a21a3e5713cac6c502d2da2f7ff",
267 + "terminalLiteralNewlineRemoved": false
268 + }
269 + ],
270 + "omittedMigrations": [
271 + "20260930154625_office_slice_c3_related_archive.sql",
272 + "20260930154720_office_c3_event_time_ordering.sql",
273 + "20260930202526_office_registration_tenant_repair.sql",
274 + "20260930202701_office_slice_c4_versioned_templates.sql",
275 + "20260930203456_office_slice_c5_internal_approval.sql",
276 + "20260930203620_office_slice_c5_internal_approval.sql",
277 + "20260930203709_office_c5_decision_event_order_fix.sql",
278 + "20260930203839_office_c5_content_digest_hardening.sql",
279 + "20260930204536_office_slice_c6_sla_reminder_escalation.sql",
280 + "20260930205309_office_slice_c7_fulltext_ocr_provenance.sql",
281 + "20260930205325_office_slice_c7_searchable_archive_ocr_provenance.sql",
282 + "20260930205347_office_c7_search_input_guard.sql",
283 + "20260930205753_office_c7_remove_abandoned_duplicate_api.sql",
284 + "20260930205919_office_c7_bind_ocr_source_attachment.sql",
285 + "20260930222500_iran_enterprise_control_collections.sql",
286 + "20260930223000_iran_enterprise_financial_controls.sql",
287 + "20261001173917_office_slice_c8_workflow_policy.sql",
288 + "20261001180610_office_slice_c8_workflow_runtime.sql",
289 + "20261001180949_office_c8_policy_publisher_fk_index.sql",
290 + "20261001204500_request_workflow_d1_foundation.sql",
291 + "20261001205500_request_workflow_d1_transition_evidence.sql",
292 + "20261001210500_request_workflow_d1_rpc_security.sql",
293 + "20261001211500_request_workflow_d1_revision_qualification.sql",
294 + "20261001223500_request_workflow_d2_legacy_cutover.sql",
295 + "20261001224500_request_workflow_d2_fk_indexes.sql",
296 + "20261001230000_request_workflow_d3a_step_runtime.sql",
297 + "20261001230500_request_workflow_d3a_security_hardening.sql",
298 + "20261001233000_request_workflow_d3b_conditions_timeline.sql",
299 + "20261001235500_request_workflow_d3c_operations.sql",
300 + "20261002000500_request_workflow_d3c_escalation_conflict_fix.sql",
301 + "20261002001000_request_delegation_to_user_fk_index.sql",
302 + "20261002010000_request_wave1_legacy_transition_guard.sql",
303 + "20261002023000_request_wave2_integrity_hardening.sql",
304 + "20261002033000_request_workflow_d4a_work_queue.sql",
305 + "20261002070000_request_wave2_duplicate_code_guard.sql",
306 + "20261002071000_request_wave3_decision_idempotency.sql",
307 + "20261002072000_request_wave4_operational_integrity.sql",
308 + "20261002073500_request_wave4b_scheduler_outbox_delivery.sql"
309 + ],
310 + "platformBootstrap": "supabase/tests/wp0_platform_bootstrap.sql",
311 + "postgres": "version \n------------------------------------------------------------------------------------------\n PostgreSQL 17.11 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit\n(1 row)",
312 + "imageDigest": [
313 + "postgres@sha256:266d3c257594e195b309ae9d1805e54c788f1d7b375f56bf6c367aac6c917e7b"
314 + ],
315 + "platformBootstrapSha256": "49dff07ac8c42b0ee4b2eae046fad9e4579348c31e4d9c39c111e6cd09b3f4eb"
316 +}
docs/wp0/evidence/ledger-reproduction.log new
+19
@@ -0,0 +1,19 @@
1 +BEGIN
2 +INSERT 0 2
3 +SET
4 + set_config
5 +--------------------------------------
6 + 10000000-0000-4000-8000-000000000001
7 +(1 row)
8 +
9 +DO
10 + set_config
11 +--------------------------------------
12 + 10000000-0000-4000-8000-000000000002
13 +(1 row)
14 +
15 +DO
16 +ROLLBACK
17 +NOTICE: D1_REPRODUCED: unbalanced posted voucher accepted (1000/300)
18 +NOTICE: D2_REPRODUCED: new line accepted under independent balanced posted voucher
19 +NOTICE: ISOLATION_READ_PASS: other tenant sees zero fixture rows
docs/wp0/evidence/wp0-browser.log new
+246
@@ -0,0 +1,246 @@
1 +
2 +Running 211 tests using 1 worker
3 +
4 +(node:2252) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
5 +(Use `node --trace-warnings ...` to show where the warning was created)
6 +
7 +
8 +(node:2252) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
9 +(Use `node --trace-warnings ...` to show where the warning was created)
10 +
11 +
12 +[1/211] scripts/accounting-document-workflow.spec.js:87:1 › invoice and purchase registers isolate companies selected in Settings; no ALL fallback or cross-company edit
13 +[2/211] scripts/accounting-document-workflow.spec.js:153:1 › formal invoice remains editable draft across server reload; explicit posting creates exactly one balanced voucher
14 +[3/211] scripts/accounting-document-workflow.spec.js:209:1 › posted sale can be returned to an editable corrective draft; original voucher stays immutable and balances
15 +[4/211] scripts/accounting-document-workflow.spec.js:261:1 › pilot manual journal correction permits draft edits, balanced repost and auditable cancellation
16 +[5/211] scripts/accounting-document-workflow.spec.js:294:1 › pilot cancellation preserves posted invoice record while only unposted drafts can be deleted
17 +[6/211] scripts/accounting-document-workflow.spec.js:332:1 › pilot purchase: posted to corrective draft to edited balanced repost via document manager
18 +[7/211] scripts/accounting-document-workflow.spec.js:386:1 › pilot purchase denies paid/consumed source; cancels unallocated posting without erasing old voucher
19 +[8/211] scripts/accounting-document-workflow.spec.js:413:1 › seamless sale correction: opening and cancelling leaves ledger unchanged; saving retains visible identity, printing and audit
20 +[9/211] scripts/accounting-document-workflow.spec.js:457:1 › seamless purchase correction: same visible number, no write on opening, save and print corrected purchase
21 +[10/211] scripts/accounting-document-workflow.spec.js:504:1 › treasury amendment in the same form preserves one record and same reference without on-open ledger writes
22 +[11/211] scripts/accounting-document-workflow.spec.js:559:1 › treasury correction excludes cheque, linked settlements and locked periods; cancellation retains immutable history
23 +[12/211] scripts/accounting-document-workflow.spec.js:598:1 › treasury amend rejection on lost RPC keeps protected original on server and no partial correction payload
24 +[13/211] scripts/accounting-document-workflow.spec.js:615:1 › cannot finalize draft if fiscal posting chart has no required account; draft remains intact
25 +[14/211] scripts/accounting-document-workflow.spec.js:627:1 › F2 validates formal invoice then saves a draft without posting any financial journal
26 +[15/211] scripts/accounting-p0-journal.spec.js:26:1 › journal P0 renders header controls, live balance and dynamic dimensions
27 +[16/211] scripts/accounting-p0-journal.spec.js:44:1 › journal row copy preserves account, amount and analytic selection
28 +[17/211] scripts/admin-provisioning.spec.js:3:1 › central administrator provisions account via server-only endpoint, with no prior signup
29 +[18/211] scripts/admin-provisioning.spec.js:32:1 › invalid email/weak password are rejected client-side without invoking server
30 +[19/211] scripts/admin-provisioning.spec.js:54:1 › server-side provisioning 400 shows actionable safe Persian reason without leaking raw HTTP error
31 +[20/211] scripts/branding-login.spec.js:8:1 › Finora login renders premium ERP branding and real icon assets
32 +[21/211] scripts/branding-login.spec.js:19:1 › Finora login remains focused and usable on mobile
33 +[22/211] scripts/branding-login.spec.js:24:2 › complete login fits short desktop 1366x650
34 +[23/211] scripts/branding-login.spec.js:24:2 › complete login fits short desktop 1024x600
35 +[24/211] scripts/branding-login.spec.js:24:2 › complete login fits short desktop 920x600
36 +[25/211] scripts/branding-login.spec.js:42:2 › overflow login remains reachable from top to bottom 1024x450
37 +[26/211] scripts/branding-login.spec.js:42:2 › overflow login remains reachable from top to bottom 680x400
38 +[27/211] scripts/branding-login.spec.js:42:2 › overflow login remains reachable from top to bottom 390x568
39 +[28/211] scripts/chart-completeness.spec.js:10:1 › chart upgrade previews every addition and changes accounts only on explicit apply
40 +[29/211] scripts/chart-completeness.spec.js:22:1 › conflicting custom account blocks all chart additions and escapes its title
41 +[30/211] scripts/chart-completeness.spec.js:28:1 › switching active company after preview blocks application
42 +[31/211] scripts/commerce-route-types.spec.js:21:1 › commerce menu routes offer only matching document families and retain unsaved sale fields
43 +[32/211] scripts/commerce-route-types.spec.js:35:1 › sales document selector reflects restored defaults and existing kind changes
44 +[33/211] scripts/dom-smoke.spec.js:43:1 › Phase A rail stays exact through organization refresh and real commerce/accounting/report navigation
45 +[34/211] scripts/dom-smoke.spec.js:104:1 › Phase A visible licensed launcher preserves extra workspaces without adding rail items
46 +[35/211] scripts/dom-smoke.spec.js:133:1 › Phase A omits an unavailable purchase command and restores it when its implementation returns
47 +[36/211] scripts/dom-smoke.spec.js:150:1 › real DOM shell and post-login smoke
48 +[37/211] scripts/dom-smoke.spec.js:153:1 › expired license browser enforcement
49 +[38/211] scripts/dom-smoke.spec.js:156:1 › isolated print document honors CSS paper size in Chromium PDF
50 +[39/211] scripts/dom-smoke.spec.js:159:1 › operational settings persist warehouse, currency and costing with an accurate audit record
51 +[40/211] scripts/enterprise-invitation.spec.js:3:1 › ELI-3 exposes invitation UI actions and URL acceptance hook
52 +[41/211] scripts/enterprise-invitation.spec.js:13:1 › ELI-3 invitation URL processor accepts token once and removes it from address bar
53 +[42/211] scripts/enterprise-license.spec.js:3:1 › ELI-1 named-user capacity and delegated core admin DOM contract
54 +[43/211] scripts/enterprise-org-ux.spec.js:3:1 › ELI-4 enterprise organization UX exposes typed tree and capacity dashboard
55 +[44/211] scripts/enterprise-role.spec.js:3:1 › ELI-2 role grants merge with direct grants and role UI stays core-admin only
56 +[45/211] scripts/identity-wave5a.spec.js:2:1 › Wave 5a exposes explicit OTP login and signup modes
57 +[46/211] scripts/identity-wave5a.spec.js:3:1 › Wave 5a OTP login cannot silently create a user
58 +[47/211] scripts/identity-wave5a.spec.js:4:1 › Wave 5a explicit signup is the email OTP creation path
59 +[48/211] scripts/identity-wave5b.spec.js:2:1 › Wave 5b export fails closed when fresh membership is denied
60 +[49/211] scripts/identity-wave5b.spec.js:8:1 › Wave 5b known revocation clears tenant memory and stale user
61 +[50/211] scripts/identity-wave5c.spec.js:2:1 › Wave 5c full export is denied without organization-management authority
62 +[51/211] scripts/identity-wave5c.spec.js:7:1 › Wave 5c restore is denied before reading file without organization-management authority
63 +[52/211] scripts/login-auth-transport.spec.js:10:1 › Auth timeout covers a stalled password response body after headers reach the real SDK
64 +[53/211] scripts/login-auth-transport.spec.js:37:1 › A complete Auth response preserves status, headers and an unread body
65 +[54/211] scripts/login-auth-transport.spec.js:51:1 › Real SDK keeps a completed invalid-password response distinct from a transport timeout
66 +[55/211] scripts/login-auth-transport.spec.js:65:1 › Restoring an expired session retries a stalled Auth body and recovers through the real SDK
67 +[56/211] scripts/login-auth-transport.spec.js:91:1 › Upstream cancellation remains effective while an Auth body is still arriving
68 +[57/211] scripts/login-auth-transport.spec.js:111:1 › Non-Auth reads retain their streaming response and original cancellation signal
69 +[58/211] scripts/login-connectivity.spec.js:15:1 › Login diagnostics distinguish a reachable auth service from password errors
70 +[59/211] scripts/login-connectivity.spec.js:28:1 › Login diagnostics label upstream unreachable without exposing credentials
71 +[60/211] scripts/login-connectivity.spec.js:36:1 › Login diagnostics label HTTP server failures, not bad passwords
72 +[61/211] scripts/login-connectivity.spec.js:44:1 › A failing manifest cannot falsely classify working login JS and Auth as SITE_UNREACHABLE
73 +[62/211] scripts/login-connectivity.spec.js:61:1 › Critical JS read fails but manifest and Auth are healthy: report failed asset precisely
74 +[63/211] scripts/login-connectivity.spec.js:77:1 › Both site resources and Auth unreachable: report independent failures without exposing user data
75 +[64/211] scripts/login-connectivity.spec.js:91:1 › Preflight comparison keeps standard Auth and REST failures when simple health responds
76 +[65/211] scripts/login-connectivity.spec.js:138:1 › Preflight comparison supplemental failure cannot override healthy ordinary endpoints
77 +[66/211] scripts/login-connectivity.spec.js:158:1 › Preflight comparison report excludes credentials query values bodies and raw errors
78 +[67/211] scripts/login-connectivity.spec.js:188:1 › Preflight comparison clears an earlier report before an offline attempt
79 +[68/211] scripts/login-connectivity.spec.js:205:1 › Preflight comparison never puts a non-publishable key into a query
80 +[69/211] scripts/login-connectivity.spec.js:225:1 › Auth and static files can work while Supabase PostgREST data endpoint is unreachable
81 +[70/211] scripts/login-connectivity.spec.js:239:1 › A 503 data gateway response remains distinct from good Auth service
82 +[71/211] scripts/login-connectivity.spec.js:259:3 › An immediate AUTH_UNREACHABLE remains distinct when another probe times out
83 +[72/211] scripts/login-connectivity.spec.js:259:3 › An immediate SITE_JS_NETWORK_ERROR remains distinct when another probe times out
84 +[73/211] scripts/login-startup-readiness.spec.js:83:1 › Pages login does not wait for a separate recovery script download
85 +[74/211] scripts/login-startup-readiness.spec.js:110:1 › Pages preload and execute one core URL versioned from its complete auth content
86 +[75/211] scripts/login-startup-readiness.spec.js:127:1 › Pages static button handlers have a content version for their DOM order
87 +[76/211] scripts/login-startup-readiness.spec.js:141:3 › early successful Pages login survives a slow business bundle before company-read timeout starts
88 +[77/211] scripts/login-startup-readiness.spec.js:141:3 › early successful Pages login survives a slow accounting bundle before company-read timeout starts
89 +[78/211] scripts/login-startup-readiness.spec.js:171:1 › stalled Pages assets expire visibly without late entry and a fresh click recovers after download
90 +[79/211] scripts/login-startup-readiness.spec.js:195:1 › cached-session restoration owns the login attempt while early password clicks are ignored
91 +[80/211] scripts/login-startup-readiness.spec.js:211:1 › early password click waits for the pending initial session check then continues once without another click
92 +[81/211] scripts/login-startup-readiness.spec.js:226:1 › Pages downloads its pinned extension bundle before slow accounting finishes and executes it once
93 +[82/211] scripts/login-startup-readiness.spec.js:254:1 › early successful credentials cannot open the workspace when a required Pages bundle fails
94 +[83/211] scripts/office-slice-c1.spec.js:3:1 › Office C1 exposes server-authoritative read-evidence hook
95 +[84/211] scripts/office-slice-c2.spec.js:3:1 › Office C2 exposes actionable referral work queue
96 +[85/211] scripts/office-slice-c3.spec.js:3:1 › Office C3 exposes related-letter and archive controls
97 +[86/211] scripts/office-slice-c4.spec.js:3:1 › Office C4 exposes versioned template controls without mutating registered history
98 +[87/211] scripts/office-slice-c5.spec.js:2:1 › Office C5 exposes internal approval controls
99 +[88/211] scripts/office-slice-c6.spec.js:2:1 › Office C6 exposes internal SLA controls
100 +[89/211] scripts/office-slice-c7.spec.js:2:1 › Office C7 exposes searchable archive OCR provenance controls
101 +[90/211] scripts/office-slice-c8-runtime.spec.js:17:1 › C8 runtime renders server text safely and transitions with expected revision
102 +[91/211] scripts/office-slice-c8-runtime.spec.js:32:1 › C8 stale transition refreshes state and never blind-retries mutation
103 +[92/211] scripts/office-slice-c8-runtime.spec.js:45:1 › C8 network retry reuses request id and read-only state exposes no mutation control
104 +[93/211] scripts/office-slice-c8-runtime.spec.js:56:1 › C8 unattached correspondence offers policy attach and sends idempotency key
105 +[94/211] scripts/office-slice-c8.spec.js:5:1 › Office C8 policy editor publishes a two-stage policy
106 +[95/211] scripts/office-slice-c8.spec.js:48:1 › Office C8 policy publish control is authority-safe
107 +[96/211] scripts/office-slice-c8.spec.js:75:1 › Office C8 correspondence panel renders stage, history and performs one transition
108 +[97/211] scripts/office-slice-c8.spec.js:94:1 › Office C8 transition disables duplicate intent and refreshes stale revision without auto retry
109 +[98/211] scripts/office-slice-c8.spec.js:111:1 › Office C8 discards a late response after organization switch
110 +[99/211] scripts/office-slice-c8.spec.js:118:1 › Office C8 attach uses catalog selection and keeps one request id for the same pending intent
111 +[100/211] scripts/pages-artifact.spec.js:10:1 › hardened Pages artifact loads without script/CSP console errors
112 +scripts/pages-artifact.spec.js:10:1 › hardened Pages artifact loads without script/CSP console errors
113 +Pages artifact built: 133 static + 270 runtime inline handlers externalized; diag.html intentionally excluded.
114 +
115 +
116 +[101/211] scripts/pages-artifact.spec.js:30:1 › Production CSP login and connectivity actions work while later ERP JS is still downloading
117 +[102/211] scripts/pages-artifact.spec.js:59:1 › Slow final CSP dispatcher keeps login usable without loading legacy ERP scripts
118 +[103/211] scripts/pages-artifact.spec.js:122:1 › Built Pages uses exactly one SHA-pinned local bundle for all 14 ERP extensions
119 +[104/211] scripts/pages-artifact.spec.js:145:1 › A blocked production bundle fails closed and never exposes a partial financial workspace
120 +[105/211] scripts/pages-artifact.spec.js:166:1 › Built Pages loads exactly three ordered core groups instead of 38 blocking requests
121 +[106/211] scripts/pages-artifact.spec.js:189:1 › A blocked required core Pages group prevents opening partial financial workspace
122 +[107/211] scripts/pages-artifact.spec.js:210:1 › Published Pages CSP event bindings open Commerce and the top-bar sales invoice menu
123 +[108/211] scripts/pages-artifact.spec.js:253:1 › Published Pages invoice product and buyer filters stay scoped and do not persist draft edits
124 +[109/211] scripts/password-admin-ui.spec.js:26:1 › central user/license row sends only target Auth identity to the recovery endpoint
125 +[110/211] scripts/password-admin-ui.spec.js:37:1 › global software admin assigns a new password from the central user row and secrets are cleared
126 +[111/211] scripts/password-admin-ui.spec.js:54:1 › generated strict-CSP Pages central reset button opens and invokes the server action
127 +[112/211] scripts/password-admin-ui.spec.js:68:1 › central password form rejects mismatched and weak passwords before calling the server
128 +[113/211] scripts/password-admin-ui.spec.js:84:1 › organization owner cannot render or invoke the central direct-password form
129 +[114/211] scripts/password-admin-ui.spec.js:92:1 › failed central password assignment shows no success and never echoes server details
130 +[115/211] scripts/password-admin-ui.spec.js:110:1 › organization owner targets the active Auth user, never the membership UUID or inactive member
131 +[116/211] scripts/password-admin-ui.spec.js:121:1 › ordinary member and foreign organization calls cannot invoke manager recovery
132 +[117/211] scripts/password-admin-ui.spec.js:128:1 › pending repeated sends and the successful-send cooldown invoke the server once
133 +[118/211] scripts/password-admin-ui.spec.js:140:1 › server rejection shows a localized reason and never a false success or raw response
134 +[119/211] scripts/password-admin-ui.spec.js:153:1 › a stalled manager request ends with an uncertain-result message and no immediate duplicate
135 +[120/211] scripts/password-admin-ui.spec.js:168:1 › a thrown transport error never leaks raw server details
136 +[121/211] scripts/password-admin-ui.spec.js:179:1 › a delegated core manager can assist an active member independently of paid license state
137 +[122/211] scripts/password-admin-ui.spec.js:192:44 › central pending success cannot alter a reopened password dialog
138 +[123/211] scripts/password-admin-ui.spec.js:192:44 › central pending failure cannot alter a reopened password dialog
139 +[124/211] scripts/password-admin-ui.spec.js:216:1 › central password action rejects another submission while its request is pending
140 +[125/211] scripts/password-recovery.spec.js:48:1 › Forgot Password validates email and sends one account-neutral implicit recovery request
141 +[126/211] scripts/password-recovery.spec.js:62:1 › A stalled recovery request times out and restores usable login controls
142 +[127/211] scripts/password-recovery.spec.js:80:1 › Implicit recovery link opens required password panel without hydrating financial workspace
143 +[128/211] scripts/password-recovery.spec.js:93:1 › Invalid recovery link never uses a different cached account to change a password
144 +[129/211] scripts/password-recovery.spec.js:103:1 › Recovery marker alone cannot turn a cached session into a password reset
145 +[130/211] scripts/password-recovery.spec.js:119:3 › Invalid recovery can return to login: marker without a session
146 +[131/211] scripts/password-recovery.spec.js:119:3 › Invalid recovery can return to login: recovery callback without a refresh token
147 +[132/211] scripts/password-recovery.spec.js:135:1 › Verified recovery survives reload only for the same validated account
148 +[133/211] scripts/password-recovery.spec.js:149:1 › An unsupported fresh callback discards an earlier valid recovery proof
149 +[134/211] scripts/password-recovery.spec.js:160:1 › Recovery validates password, suppresses double submit and enters the verified account once
150 +[135/211] scripts/password-recovery.spec.js:181:1 › Rejected password update stays in recovery without exposing raw provider error
151 +[136/211] scripts/password-recovery.spec.js:193:1 › Another tab changing the account while recovery is checked cannot update that account
152 +[137/211] scripts/password-recovery.spec.js:208:1 › A session change after the final check cannot redirect the password mutation
153 +[138/211] scripts/password-recovery.spec.js:225:1 › Recovery proof cannot authorize a later session for the same account
154 +[139/211] scripts/password-recovery.spec.js:240:1 › Cancel recovery preserves another account that signed in in a different tab
155 +[140/211] scripts/password-recovery.spec.js:252:1 › Cancel logout remains pinned to recovery when the persistent account changes after its check
156 +[141/211] scripts/password-recovery.spec.js:267:1 › Cancel stays disabled until a pending recovery exchange has finished
157 +[142/211] scripts/password-recovery.spec.js:283:1 › Cancel a verified recovery clears only its local session and prevents automatic re-entry
158 +[143/211] scripts/password-recovery.spec.js:297:1 › Strict CSP recovery form is ready while a required business bundle is held
159 +[144/211] scripts/phase0-dark-theme-contrast.spec.js:57:1 › F0-06 dark mode maintains readable accounting panels, controls and shell
160 +[145/211] scripts/phase0-dark-theme-contrast.spec.js:69:1 › F0-06 light mode remains legible after switching out of dark mode
161 +[146/211] scripts/phase0-invoice-persistence.spec.js:79:1 › F0-03 isolated invoice save → mock-server sync → reload → edit → reload → print
162 +[147/211] scripts/phase0-invoice-persistence.spec.js:121:1 › F0-03 isolated transient RPC failure remains pending and retries without duplicate invoice
163 +[148/211] scripts/phase0-invoice-persistence.spec.js:138:1 › invoice defaults preserve zero VAT, document kind and every currency mode through save and session reload
164 +[149/211] scripts/phase0-invoice-persistence.spec.js:177:1 › source: company Edit and Save buttons persist settings and active company through logout without applying a chart
165 +[150/211] scripts/phase0-invoice-persistence.spec.js:177:1 › published Pages: company Edit and Save buttons persist settings and active company through logout without applying a chart
166 +[151/211] scripts/phase0-modal-dashboard.spec.js:19:1 › all representative close buttons, dynamically rendered dialogs and backdrop dismiss without reload
167 +[152/211] scripts/phase0-modal-dashboard.spec.js:35:1 › dashboard cash/assets cards drill to accounts, rows to ledger, recent voucher opens document
168 +[153/211] scripts/phase0-modal-dashboard.spec.js:64:1 › F0-02 commerce tab navigates away from accounting and exposes sales, purchases, product and contact links
169 +[154/211] scripts/phase0-selector-stress.spec.js:17:1 › F0-05 products: 1208 choices, Persian variants, keyboard and cross-tenant negative control
170 +scripts/phase0-selector-stress.spec.js:17:1 › F0-05 products: 1208 choices, Persian variants, keyboard and cross-tenant negative control
171 +F0-05 product filter browser ms: 9.1
172 +
173 +[155/211] scripts/phase0-selector-stress.spec.js:45:1 › F0-05 people: 1206 choices and 11-digit metadata filter with no implicit writes
174 +scripts/phase0-selector-stress.spec.js:45:1 › F0-05 people: 1206 choices and 11-digit metadata filter with no implicit writes
175 +F0-05 contact filter browser ms: 65.5
176 +
177 +[156/211] scripts/phase0-selector-stress.spec.js:65:1 › F0-05 1200+ account, project and contract comboboxes: scoped metadata, keyboard, no writes
178 +scripts/phase0-selector-stress.spec.js:65:1 › F0-05 1200+ account, project and contract comboboxes: scoped metadata, keyboard, no writes
179 +F0-05 account filter browser ms: 92.1
180 +
181 +F0-05 project filter browser ms: 103.7
182 +
183 +F0-05 contract filter browser ms: 104.2
184 +
185 +[157/211] scripts/phase0-startup-performance.spec.js:12:1 › F0 startup downloads ordered extension scripts concurrently and still initializes login
186 +scripts/phase0-startup-performance.spec.js:12:1 › F0 startup downloads ordered extension scripts concurrently and still initializes login
187 +F0 startup extension dispatch spread browser ms: 6
188 +
189 +[158/211] scripts/phase0-startup-performance.spec.js:38:1 › F0 startup is independent of optional spreadsheet CDN and keeps on-demand Excel guard
190 +[159/211] scripts/phase0-startup-performance.spec.js:47:1 › F0 login controls are actionable before a delayed non-auth extension completes
191 +scripts/phase0-startup-performance.spec.js:47:1 › F0 login controls are actionable before a delayed non-auth extension completes
192 +F0 login form enabled before late ERP script, elapsed ms: 797
193 +
194 +[160/211] scripts/phase0-startup-performance.spec.js:68:1 › F0 login visibly reports a pending mocked sign-in and suppresses duplicate requests
195 +[161/211] scripts/phase0-startup-performance.spec.js:90:1 › F0 auth transport times out stalled requests without affecting other Supabase endpoints
196 +[162/211] scripts/phase0-startup-performance.spec.js:115:1 › F0 restored session with stalled company data returns actionable error instead of endless loading
197 +[163/211] scripts/phase0-startup-performance.spec.js:136:1 › F0 cancelled company records read cannot apply a late partial datastore snapshot
198 +[164/211] scripts/phase0-startup-performance.spec.js:173:1 › F0 organization-scoped record hydration respects abort and tenant boundary
199 +[165/211] scripts/phase0-startup-performance.spec.js:204:1 › F0 test-account lifetime entitlement waits for delayed organization adapter, not placeholder profile
200 +[166/211] scripts/phase0-startup-performance.spec.js:284:1 › F0 bootstrap timeout reports ACCOUNT_CONTEXT without email, token or private profile
201 +[167/211] scripts/phase0-startup-performance.spec.js:297:1 › F0 bootstrap timeout reports TENANT_RECORDS when profile has already resolved
202 +[168/211] scripts/platform-office.spec.js:3:1 › modular launcher and office surfaces render from licensed modules
203 +[169/211] scripts/request-workflow-d2.spec.js:32:1 › D2 builder shows published state and publishes through server RPC
204 +[170/211] scripts/request-workflow-d2.spec.js:48:1 › D2 hides publishing for users without configure capability
205 +[171/211] scripts/request-workflow-d2.spec.js:55:1 › D2 retries create with the same idempotency key
206 +[172/211] scripts/request-workflow-d2.spec.js:68:1 › D2 stale publish revision refreshes instead of overwriting
207 +[173/211] scripts/request-workflow-d2.spec.js:78:1 › D2 renders and serializes all supported immutable form field types
208 +[174/211] scripts/request-workflow-d2.spec.js:104:1 › D2 select option authoring is preserved in publish payload
209 +[175/211] scripts/request-workflow-d3b.spec.js:19:1 › D3b visual editor publishes ordered steps with a bounded condition
210 +[176/211] scripts/request-workflow-d3b.spec.js:39:1 › D3b renders a read-only timeline with skipped and active condition evidence
211 +[177/211] scripts/request-workflow-d3c.spec.js:3:1 › D3c adds SLA configuration and surfaces outbox/runtime operations
212 +[178/211] scripts/request-workflow-d4a.spec.js:3:1 › D4a renders actionable queue and submits guarded decision
213 +[179/211] scripts/shell-scroll-ownership.spec.js:3:1 › desktop shell keeps three independent right-edge vertical scroll owners
214 +[180/211] scripts/shell-scroll-ownership.spec.js:41:1 › mobile keeps normal RTL document flow
215 +[181/211] scripts/taxpayer-print.spec.js:4:1 › Taxpayer System print follows the approved official landscape structure
216 +[182/211] scripts/taxpayer-print.spec.js:46:1 › isolated print waits for the supplied image before opening print
217 +[183/211] scripts/taxpayer-print.spec.js:65:1 › all visible invoice print digits are Persian across formal, informal and taxpayer templates without mutating data
218 +[184/211] scripts/taxpayer-print.spec.js:119:1 › purchase print popup displays Persian digits while keeping purchase master data untouched
219 +[185/211] scripts/ux-hardening-r2.spec.js:47:1 › saved keyboard preferences survive real sync, logout/login and reload with true and false values
220 +[186/211] scripts/ux-hardening-r2.spec.js:72:1 › settings hydration follows the restored account without discarding unsaved checkboxes on ordinary refresh
221 +[187/211] scripts/ux-hardening-r2.spec.js:92:1 › all five Excel field selections survive save, logout/login and reload with the initial product form restored
222 +[188/211] scripts/ux-hardening-r2.spec.js:116:1 › Excel hydration follows account restoration without discarding unsaved fields on ordinary refresh
223 +[189/211] scripts/ux-hardening-r2.spec.js:132:1 › Excel settings cannot mutate or save preferences when the existing write guard rejects
224 +[190/211] scripts/ux-hardening-r2.spec.js:144:1 › UX R2 adds searchable selectors, keyboard close/zeros and settings controls
225 +[191/211] scripts/ux-hardening-r2.spec.js:165:1 › counterparty project manager reuses global project master and attaches existing project
226 +[192/211] scripts/ux-hardening-r2.spec.js:177:1 › factory reset deletes only active-company rows and preserves ambiguous legacy rows in multi-company mode
227 +[193/211] scripts/ux-hardening-r2.spec.js:187:1 › factory reset denies non-manager without touching company data
228 +[194/211] scripts/ux-hardening-r2.spec.js:196:1 › product combobox searches one field by code, name and specification
229 +[195/211] scripts/ux-hardening-r2.spec.js:207:1 › existing invoice row rehydrates after cloud data arrives, displays an unclipped list and fills price/unit
230 +[196/211] scripts/ux-keyboard-f2.spec.js:50:1 › searchable products filter Persian variants; arrows select highlighted entry with Enter, not first
231 +[197/211] scripts/ux-keyboard-f2.spec.js:74:1 › large dropdown wheel scroll, PageDown, Home/End and Escape preserve selection
232 +[198/211] scripts/ux-keyboard-f2.spec.js:101:1 › F2 explicitly saves valid active form but rejects missing rows, unsupported modal and no active entry
233 +[199/211] scripts/ux-keyboard-f2.spec.js:132:1 › F2 saves the company form or default settings according to focused field
234 +[200/211] scripts/ux-keyboard-f2.spec.js:148:1 › Settings keyboard saves the focused appearance card through its real save handler
235 +[201/211] scripts/ux-keyboard-f2.spec.js:167:1 › Settings keyboard saves the focused Excel card without saving invoice defaults
236 +[202/211] scripts/ux-keyboard-f2.spec.js:181:1 › Settings keyboard routes only the focused operational card to its existing save action
237 +[203/211] scripts/ux-keyboard-f2.spec.js:199:1 › Settings keyboard never saves invoice defaults from an unrelated account form
238 +[204/211] scripts/ux-keyboard-f2.spec.js:207:1 › F2 never silently finalizes a purchase: explicit confirmation is required
239 +[205/211] scripts/ux-keyboard-f2.spec.js:229:1 › F2 detects a safe save command in other module forms and active dialogs, never a posting button
240 +[206/211] scripts/workspace-access.spec.js:16:1 › Settings exposes existing organization members, invitations and capacities
241 +[207/211] scripts/workspace-access.spec.js:25:1 › Settings module chooser reaches organization and requests through real clicks
242 +[208/211] scripts/workspace-access.spec.js:34:1 › permission refresh removes organization management entry and stale footer access
243 +[209/211] scripts/workspace-access.spec.js:47:1 › global admin without organization authority cannot open organization manager
244 +[210/211] scripts/workspace-access.spec.js:56:1 › delegated organization configure manager retains invitations while module-only manager does not
245 +[211/211] scripts/workspace-access.spec.js:71:1 › accounting and treasury licenses retain their organization workspace without HR access
246 + 211 passed (6.0m)
docs/wp0/evidence/wp0-c8-policy-database.log new
+173
@@ -0,0 +1,173 @@
1 +1d65feaa32401987e7f029a3e42b52e0b75a98152610adeccc674dad9180b6bf
2 +COMMAND psql -v ON_ERROR_STOP=1 -h 127.0.0.1 -U postgres -d finora_c8 -f supabase/tests/office_c8_bootstrap.sql
3 +CREATE EXTENSION
4 +CREATE SCHEMA
5 +CREATE SCHEMA
6 +DO
7 +DO
8 +CREATE TABLE
9 +CREATE TABLE
10 +CREATE TABLE
11 +CREATE FUNCTION
12 +CREATE FUNCTION
13 +CREATE FUNCTION
14 +CREATE FUNCTION
15 +CREATE FUNCTION
16 +COMMAND psql -v ON_ERROR_STOP=1 -h 127.0.0.1 -U postgres -d finora_c8 -f supabase/migrations/20261001173917_office_slice_c8_workflow_policy.sql
17 +CREATE TABLE
18 +ALTER TABLE
19 +REVOKE
20 +CREATE FUNCTION
21 +REVOKE
22 +psql:supabase/migrations/20261001173917_office_slice_c8_workflow_policy.sql:28: NOTICE: trigger "office_workflow_policy_immutable" for relation "private.office_workflow_policy_versions" does not exist, skipping
23 +DROP TRIGGER
24 +CREATE TRIGGER
25 +CREATE FUNCTION
26 +REVOKE
27 +CREATE FUNCTION
28 +REVOKE
29 +GRANT
30 +GRANT
31 +CREATE FUNCTION
32 +REVOKE
33 +GRANT
34 +CREATE FUNCTION
35 +REVOKE
36 +GRANT
37 +CREATE FUNCTION
38 +REVOKE
39 +GRANT
40 +COMMAND psql -v ON_ERROR_STOP=1 -h 127.0.0.1 -U postgres -d finora_c8 -f supabase/tests/office_c8_workflow.sql
41 +BEGIN
42 +DO
43 +DO
44 +ROLLBACK
45 +COMMAND psql -v ON_ERROR_STOP=1 -h 127.0.0.1 -U postgres -d finora_c8 -f supabase/migrations/20261001180610_office_slice_c8_workflow_runtime.sql
46 +CREATE TABLE
47 +CREATE INDEX
48 +CREATE INDEX
49 +ALTER TABLE
50 +REVOKE
51 +CREATE TABLE
52 +CREATE INDEX
53 +CREATE INDEX
54 +CREATE INDEX
55 +ALTER TABLE
56 +REVOKE
57 +CREATE FUNCTION
58 +REVOKE
59 +CREATE TRIGGER
60 +CREATE FUNCTION
61 +REVOKE
62 +CREATE TRIGGER
63 +CREATE FUNCTION
64 +REVOKE
65 +GRANT
66 +CREATE FUNCTION
67 +REVOKE
68 +GRANT
69 +CREATE FUNCTION
70 +REVOKE
71 +GRANT
72 +CREATE FUNCTION
73 +REVOKE
74 +GRANT
75 +CREATE FUNCTION
76 +REVOKE
77 +GRANT
78 +CREATE FUNCTION
79 +REVOKE
80 +GRANT
81 +COMMAND psql -v ON_ERROR_STOP=1 -h 127.0.0.1 -U postgres -d finora_c8 -f supabase/migrations/20261001180949_office_c8_policy_publisher_fk_index.sql
82 +CREATE INDEX
83 +COMMAND psql -v ON_ERROR_STOP=1 -h 127.0.0.1 -U postgres -d finora_c8 -f supabase/tests/office_c8_runtime.sql
84 +BEGIN
85 +DO
86 +INSERT 0 2
87 +INSERT 0 2
88 +INSERT 0 5
89 +INSERT 0 1
90 + set_config
91 +--------------------------------------
92 + 11111111-1111-4111-8111-111111111111
93 +(1 row)
94 +
95 + set_config
96 +--------------------------------------
97 + aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa
98 +(1 row)
99 +
100 + set_config
101 +------------
102 + true
103 +(1 row)
104 +
105 + set_config
106 +------------
107 + true
108 +(1 row)
109 +
110 + set_config
111 +------------
112 + true
113 +(1 row)
114 +
115 + set_config
116 +------------
117 + true
118 +(1 row)
119 +
120 + set_config
121 +-----------------------------------
122 + read,refer,edit,approve,configure
123 +(1 row)
124 +
125 +DO
126 +DO
127 +DO
128 +DO
129 +DO
130 +DO
131 +ROLLBACK
132 +COMMAND node scripts/office-c8-concurrency.mjs
133 +Office C8 concurrency: PASS (1 success, 1 stale, 1 revision-1 event)
134 +COMMAND psql -v ON_ERROR_STOP=1 -h 127.0.0.1 -U postgres -d finora_c8 -f supabase/tests/office_c8_runtime_security.sql
135 +BEGIN
136 + set_config
137 +--------------------------------------
138 + 11111111-1111-4111-8111-111111111111
139 +(1 row)
140 +
141 + set_config
142 +--------------------------------------
143 + aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa
144 +(1 row)
145 +
146 + set_config
147 +------------
148 + true
149 +(1 row)
150 +
151 + set_config
152 +------------
153 + true
154 +(1 row)
155 +
156 + set_config
157 +------------
158 + true
159 +(1 row)
160 +
161 + set_config
162 +------------
163 + true
164 +(1 row)
165 +
166 + set_config
167 +-----------------------------------
168 + read,refer,edit,approve,configure
169 +(1 row)
170 +
171 +DO
172 +DO
173 +ROLLBACK
docs/wp0/evidence/wp0-d1-request-database.log new
+1396
@@ -0,0 +1,1396 @@
1 +e7f35a4323058b8220ff2617bee77c577b29be772ba2ea11210b3b3d9cca7ef8
2 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d1_bootstrap.sql
3 +CREATE EXTENSION
4 +CREATE SCHEMA
5 +CREATE SCHEMA
6 +DO
7 +GRANT
8 +GRANT
9 +CREATE TABLE
10 +CREATE TABLE
11 +CREATE TABLE
12 +CREATE TABLE
13 +CREATE TABLE
14 +CREATE TABLE
15 +CREATE TABLE
16 +CREATE TABLE
17 +CREATE TABLE
18 +INSERT 0 1
19 +INSERT 0 1
20 +INSERT 0 1
21 +INSERT 0 1
22 +CREATE FUNCTION
23 +CREATE FUNCTION
24 +CREATE FUNCTION
25 +CREATE FUNCTION
26 +REVOKE
27 +REVOKE
28 +REVOKE
29 +GRANT
30 +GRANT
31 +GRANT
32 +GRANT
33 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001204500_request_workflow_d1_foundation.sql
34 +CREATE TABLE
35 +CREATE TABLE
36 +CREATE TABLE
37 +CREATE TABLE
38 +CREATE TABLE
39 +CREATE INDEX
40 +CREATE INDEX
41 +CREATE INDEX
42 +CREATE INDEX
43 +ALTER TABLE
44 +ALTER TABLE
45 +ALTER TABLE
46 +ALTER TABLE
47 +ALTER TABLE
48 +GRANT
49 +REVOKE
50 +DROP POLICY
51 +psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:84: NOTICE: policy "request_type_definitions_read" for relation "public.request_type_definitions" does not exist, skipping
52 +CREATE POLICY
53 +psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:88: NOTICE: policy "request_type_versions_read" for relation "public.request_type_versions" does not exist, skipping
54 +DROP POLICY
55 +CREATE POLICY
56 +DROP POLICY
57 +psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:92: NOTICE: policy "request_workflow_versions_read" for relation "public.request_workflow_versions" does not exist, skipping
58 +psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:96: NOTICE: policy "request_instances_read" for relation "public.request_instances" does not exist, skipping
59 +CREATE POLICY
60 +DROP POLICY
61 +CREATE POLICY
62 +psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:100: NOTICE: policy "request_instance_events_read" for relation "public.request_instance_events" does not exist, skipping
63 +DROP POLICY
64 +CREATE POLICY
65 +CREATE FUNCTION
66 +CREATE FUNCTION
67 +CREATE FUNCTION
68 +REVOKE
69 +REVOKE
70 +REVOKE
71 +GRANT
72 +GRANT
73 +GRANT
74 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001205500_request_workflow_d1_transition_evidence.sql
75 +CREATE FUNCTION
76 +REVOKE
77 +GRANT
78 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001210500_request_workflow_d1_rpc_security.sql
79 +ALTER FUNCTION
80 +ALTER FUNCTION
81 +ALTER FUNCTION
82 +REVOKE
83 +REVOKE
84 +REVOKE
85 +GRANT
86 +GRANT
87 +GRANT
88 +CREATE FUNCTION
89 +CREATE FUNCTION
90 +CREATE FUNCTION
91 +REVOKE
92 +REVOKE
93 +REVOKE
94 +GRANT
95 +GRANT
96 +GRANT
97 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001211500_request_workflow_d1_revision_qualification.sql
98 +CREATE FUNCTION
99 +REVOKE
100 +GRANT
101 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d1_behavior.sql
102 +INSERT 0 1
103 +INSERT 0 1
104 +SET
105 + set_config
106 +--------------------------------------
107 + 11111111-1111-1111-1111-111111111111
108 +(1 row)
109 +
110 + set_config
111 +--------------------------------------
112 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
113 +(1 row)
114 +
115 + set_config
116 +------------
117 + true
118 +(1 row)
119 +
120 + set_config
121 +------------
122 + true
123 +(1 row)
124 +
125 + set_config
126 +------------
127 + true
128 +(1 row)
129 +
130 + set_config
131 +------------------------------------
132 + read,configure,create,edit,approve
133 +(1 row)
134 +
135 +CREATE TABLE
136 +INSERT 0 1
137 +INSERT 0 1
138 +DO
139 +INSERT 0 1
140 +DO
141 + request_instance_id | status | revision
142 +--------------------------------------+----------+----------
143 + 0cb19510-7f79-4331-9d0a-0431e2f9b9c2 | approved | 2
144 +(1 row)
145 +
146 +DO
147 + request_instance_id | status | revision
148 +--------------------------------------+----------+----------
149 + 0cb19510-7f79-4331-9d0a-0431e2f9b9c2 | approved | 2
150 +(1 row)
151 +
152 +INSERT 0 1
153 +DO
154 + set_config
155 +-------------
156 + read,create
157 +(1 row)
158 +
159 +DO
160 +DO
161 +DO
162 + set_config
163 +--------------------------------------
164 + bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb
165 +(1 row)
166 +
167 +DO
168 +RESET
169 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d2_legacy_seed.sql
170 +CREATE TABLE
171 +INSERT 0 0
172 +INSERT 0 0
173 +INSERT 0 4
174 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql
175 +ALTER TABLE
176 +ALTER TABLE
177 +ALTER TABLE
178 +CREATE INDEX
179 +CREATE INDEX
180 +INSERT 0 2
181 +INSERT 0 2
182 +INSERT 0 2
183 +INSERT 0 2
184 +INSERT 0 2
185 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001224500_request_workflow_d2_fk_indexes.sql
186 +CREATE INDEX
187 +CREATE INDEX
188 +CREATE INDEX
189 +CREATE INDEX
190 +CREATE INDEX
191 +CREATE INDEX
192 +CREATE INDEX
193 +CREATE INDEX
194 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d2_legacy_behavior.sql
195 +DO
196 +psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:4: NOTICE: column "legacy_record_id" of relation "request_type_definitions" already exists, skipping
197 +ALTER TABLE
198 +psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:5: NOTICE: column "legacy_record_id" of relation "request_instances" already exists, skipping
199 +ALTER TABLE
200 +psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:6: NOTICE: column "legacy_number" of relation "request_instances" already exists, skipping
201 +ALTER TABLE
202 +psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:9: NOTICE: relation "request_type_definitions_org_legacy_record_uidx" already exists, skipping
203 +CREATE INDEX
204 +CREATE INDEX
205 +psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:11: NOTICE: relation "request_instances_org_legacy_record_uidx" already exists, skipping
206 +INSERT 0 0
207 +INSERT 0 0
208 +INSERT 0 0
209 +INSERT 0 0
210 +INSERT 0 0
211 +DO
212 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002070000_request_wave2_duplicate_code_guard.sql
213 +CREATE FUNCTION
214 +REVOKE
215 + assert_legacy_request_type_code_uniqueness
216 +--------------------------------------------
217 +
218 +(1 row)
219 +
220 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave2_duplicate_code_guard.sql
221 +INSERT 0 1
222 +INSERT 0 1
223 +DO
224 +DELETE 1
225 + assert_legacy_request_type_code_uniqueness
226 +--------------------------------------------
227 +
228 +(1 row)
229 +
230 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001230000_request_workflow_d3a_step_runtime.sql
231 +CREATE TABLE
232 +CREATE INDEX
233 +CREATE INDEX
234 +CREATE TABLE
235 +CREATE INDEX
236 +CREATE INDEX
237 +CREATE INDEX
238 +REVOKE
239 +REVOKE
240 +CREATE FUNCTION
241 +REVOKE
242 +CREATE FUNCTION
243 +REVOKE
244 +GRANT
245 +CREATE FUNCTION
246 +REVOKE
247 +GRANT
248 +CREATE FUNCTION
249 +REVOKE
250 +GRANT
251 +CREATE FUNCTION
252 +REVOKE
253 +GRANT
254 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d3a_workflow_behavior.sql
255 +CREATE INDEX
256 +CREATE FUNCTION
257 +REVOKE
258 +GRANT
259 +INSERT 0 1
260 +SET
261 + set_config
262 +--------------------------------------
263 + 11111111-1111-1111-1111-111111111111
264 +(1 row)
265 +
266 + set_config
267 +--------------------------------------
268 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
269 +(1 row)
270 +
271 + set_config
272 +------------
273 + true
274 +(1 row)
275 +
276 + set_config
277 +------------
278 + true
279 +(1 row)
280 +
281 + set_config
282 +------------
283 + true
284 +(1 row)
285 +
286 + set_config
287 +------------------------------------
288 + read,configure,create,edit,approve
289 +(1 row)
290 +
291 +CREATE TABLE
292 +INSERT 0 1
293 +INSERT 0 1
294 +RESET
295 +DO
296 +SET
297 + set_config
298 +--------------------------------------
299 + 22222222-2222-2222-2222-222222222222
300 +(1 row)
301 +
302 + set_config
303 +--------------------------------------
304 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
305 +(1 row)
306 +
307 + set_config
308 +------------
309 + true
310 +(1 row)
311 +
312 + set_config
313 +--------------
314 + read,approve
315 +(1 row)
316 +
317 + request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required
318 +--------------------------------------+-----------+----------+----------+------------+--------------------+--------------------
319 + 3094e70c-39e3-45cf-88d5-833179f35dcc | submitted | 2 | manager | completed | 1 | 1
320 +(1 row)
321 +
322 +RESET
323 +DO
324 +SET
325 + set_config
326 +--------------------------------------
327 + 22222222-2222-2222-2222-222222222222
328 +(1 row)
329 +
330 + set_config
331 +--------------------------------------
332 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
333 +(1 row)
334 +
335 + set_config
336 +------------
337 + true
338 +(1 row)
339 +
340 + set_config
341 +--------------
342 + read,approve
343 +(1 row)
344 +
345 + request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required
346 +--------------------------------------+-----------+----------+----------+------------+--------------------+--------------------
347 + 3094e70c-39e3-45cf-88d5-833179f35dcc | submitted | 3 | finance | active | 1 | 2
348 +(1 row)
349 +
350 +RESET
351 +DO
352 +SET
353 + set_config
354 +--------------------------------------
355 + 22222222-2222-2222-2222-222222222222
356 +(1 row)
357 +
358 + set_config
359 +--------------------------------------
360 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
361 +(1 row)
362 +
363 + set_config
364 +------------
365 + true
366 +(1 row)
367 +
368 + set_config
369 +--------------
370 + read,approve
371 +(1 row)
372 +
373 + request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required
374 +--------------------------------------+-----------+----------+----------+------------+--------------------+--------------------
375 + 3094e70c-39e3-45cf-88d5-833179f35dcc | submitted | 3 | finance | active | 1 | 2
376 +(1 row)
377 +
378 +RESET
379 +DO
380 +SET
381 + set_config
382 +--------------------------------------
383 + 33333333-3333-3333-3333-333333333333
384 +(1 row)
385 +
386 + set_config
387 +--------------------------------------
388 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
389 +(1 row)
390 +
391 + set_config
392 +------------
393 + true
394 +(1 row)
395 +
396 + set_config
397 +--------------
398 + read,approve
399 +(1 row)
400 +
401 + request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required
402 +--------------------------------------+----------+----------+----------+------------+--------------------+--------------------
403 + 3094e70c-39e3-45cf-88d5-833179f35dcc | approved | 4 | finance | completed | 2 | 2
404 +(1 row)
405 +
406 +RESET
407 +DO
408 +SET
409 + set_config
410 +--------------------------------------
411 + 11111111-1111-1111-1111-111111111111
412 +(1 row)
413 +
414 + set_config
415 +--------------------------------------
416 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
417 +(1 row)
418 +
419 + set_config
420 +------------
421 + true
422 +(1 row)
423 +
424 + set_config
425 +------------------------------------
426 + read,configure,create,edit,approve
427 +(1 row)
428 +
429 +DO
430 +INSERT 0 1
431 +INSERT 0 1
432 + set_config
433 +--------------------------------------
434 + 22222222-2222-2222-2222-222222222222
435 +(1 row)
436 +
437 + set_config
438 +------------
439 + read
440 +(1 row)
441 +
442 +DO
443 +RESET
444 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002010000_request_wave1_legacy_transition_guard.sql
445 +CREATE FUNCTION
446 +REVOKE
447 +GRANT
448 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave1_legacy_transition_security.sql
449 +SET
450 + set_config
451 +--------------------------------------
452 + 11111111-1111-1111-1111-111111111111
453 +(1 row)
454 +
455 + set_config
456 +--------------------------------------
457 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
458 +(1 row)
459 +
460 + set_config
461 +------------
462 + true
463 +(1 row)
464 +
465 + set_config
466 +------------
467 + true
468 +(1 row)
469 +
470 + set_config
471 +------------
472 + true
473 +(1 row)
474 +
475 + set_config
476 +------------------------------------
477 + read,configure,create,edit,approve
478 +(1 row)
479 +
480 +CREATE TABLE
481 +INSERT 0 1
482 +INSERT 0 1
483 + request_instance_id | status | revision
484 +--------------------------------------+----------+----------
485 + 417f2df2-b176-4324-8a36-a9b2c70f73d1 | approved | 2
486 +(1 row)
487 +
488 + request_instance_id | status | revision
489 +--------------------------------------+----------+----------
490 + 417f2df2-b176-4324-8a36-a9b2c70f73d1 | approved | 2
491 +(1 row)
492 +
493 + set_config
494 +--------------------------------------
495 + 22222222-2222-2222-2222-222222222222
496 +(1 row)
497 +
498 + set_config
499 +------------
500 + read
501 +(1 row)
502 +
503 +DO
504 + set_config
505 +--------------
506 + read,approve
507 +(1 row)
508 +
509 +DO
510 + set_config
511 +--------------------------------------
512 + 11111111-1111-1111-1111-111111111111
513 +(1 row)
514 +
515 + set_config
516 +------------------------------------
517 + read,configure,create,edit,approve
518 +(1 row)
519 +
520 +INSERT 0 1
521 +INSERT 0 1
522 +DO
523 +RESET
524 +DO
525 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001233000_request_workflow_d3b_conditions_timeline.sql
526 +ALTER TABLE
527 +ALTER TABLE
528 +ALTER TABLE
529 +ALTER TABLE
530 +CREATE FUNCTION
531 +REVOKE
532 +CREATE FUNCTION
533 +REVOKE
534 +CREATE FUNCTION
535 +REVOKE
536 +CREATE FUNCTION
537 +REVOKE
538 +GRANT
539 +CREATE FUNCTION
540 +REVOKE
541 +GRANT
542 +CREATE FUNCTION
543 +REVOKE
544 +GRANT
545 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002023000_request_wave2_integrity_hardening.sql
546 +CREATE FUNCTION
547 +REVOKE
548 +CREATE FUNCTION
549 +REVOKE
550 +CREATE FUNCTION
551 +REVOKE
552 +CREATE FUNCTION
553 +REVOKE
554 +GRANT
555 +CREATE FUNCTION
556 +REVOKE
557 +GRANT
558 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d3b_condition_timeline.sql
559 +INSERT 0 0
560 +SET
561 + set_config
562 +--------------------------------------
563 + 11111111-1111-1111-1111-111111111111
564 +(1 row)
565 +
566 + set_config
567 +--------------------------------------
568 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
569 +(1 row)
570 +
571 + set_config
572 +------------
573 + true
574 +(1 row)
575 +
576 + set_config
577 +------------
578 + true
579 +(1 row)
580 +
581 + set_config
582 +------------
583 + true
584 +(1 row)
585 +
586 + set_config
587 +------------------------------------
588 + read,configure,create,edit,approve
589 +(1 row)
590 +
591 +CREATE TABLE
592 +INSERT 0 1
593 +INSERT 0 1
594 +RESET
595 +DO
596 +SET
597 + set_config
598 +--------------------------------------
599 + 11111111-1111-1111-1111-111111111111
600 +(1 row)
601 +
602 + set_config
603 +--------------------------------------
604 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
605 +(1 row)
606 +
607 + set_config
608 +------------
609 + true
610 +(1 row)
611 +
612 + set_config
613 +------------------------------------
614 + read,configure,create,edit,approve
615 +(1 row)
616 +
617 +DO
618 +DO
619 +DO
620 + set_config
621 +--------------------------------------
622 + bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb
623 +(1 row)
624 +
625 +DO
626 +RESET
627 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave2_integrity.sql
628 +SET
629 + set_config
630 +--------------------------------------
631 + 11111111-1111-1111-1111-111111111111
632 +(1 row)
633 +
634 + set_config
635 +--------------------------------------
636 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
637 +(1 row)
638 +
639 + set_config
640 +------------
641 + true
642 +(1 row)
643 +
644 + set_config
645 +------------
646 + true
647 +(1 row)
648 +
649 + set_config
650 +------------
651 + true
652 +(1 row)
653 +
654 + set_config
655 +------------------------------------
656 + read,configure,create,edit,approve
657 +(1 row)
658 +
659 +CREATE TABLE
660 +INSERT 0 1
661 +INSERT 0 1
662 +INSERT 0 1
663 +DO
664 +DO
665 +DO
666 +INSERT 0 1
667 +DO
668 +RESET
669 +UPDATE 1
670 +SET
671 + set_config
672 +--------------------------------------
673 + 11111111-1111-1111-1111-111111111111
674 +(1 row)
675 +
676 + set_config
677 +--------------------------------------
678 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
679 +(1 row)
680 +
681 + set_config
682 +------------
683 + true
684 +(1 row)
685 +
686 + set_config
687 +-------------
688 + read,create
689 +(1 row)
690 +
691 +DO
692 +RESET
693 +DO
694 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001235500_request_workflow_d3c_operations.sql
695 +ALTER TABLE
696 +ALTER TABLE
697 +ALTER TABLE
698 +ALTER TABLE
699 +ALTER TABLE
700 +CREATE INDEX
701 +CREATE INDEX
702 +CREATE TABLE
703 +CREATE INDEX
704 +CREATE INDEX
705 +CREATE INDEX
706 +REVOKE
707 +CREATE TABLE
708 +CREATE INDEX
709 +CREATE INDEX
710 +REVOKE
711 +CREATE FUNCTION
712 +REVOKE
713 +CREATE FUNCTION
714 +REVOKE
715 +CREATE FUNCTION
716 +REVOKE
717 +GRANT
718 +CREATE FUNCTION
719 +REVOKE
720 +GRANT
721 +CREATE FUNCTION
722 +REVOKE
723 +GRANT
724 +CREATE FUNCTION
725 +REVOKE
726 +GRANT
727 +CREATE FUNCTION
728 +REVOKE
729 +GRANT
730 +CREATE FUNCTION
731 +REVOKE
732 +GRANT
733 +CREATE FUNCTION
734 +REVOKE
735 +CREATE FUNCTION
736 +REVOKE
737 +CREATE FUNCTION
738 +REVOKE
739 +GRANT
740 +CREATE FUNCTION
741 +REVOKE
742 +GRANT
743 +CREATE FUNCTION
744 +REVOKE
745 +GRANT
746 +CREATE FUNCTION
747 +REVOKE
748 +GRANT
749 +CREATE FUNCTION
750 +REVOKE
751 +GRANT
752 +CREATE FUNCTION
753 +REVOKE
754 +GRANT
755 +CREATE FUNCTION
756 +REVOKE
757 +GRANT
758 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002000500_request_workflow_d3c_escalation_conflict_fix.sql
759 +CREATE FUNCTION
760 +REVOKE
761 +GRANT
762 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d3c_operations.sql
763 +INSERT 0 1
764 +INSERT 0 1
765 +SET
766 + set_config
767 +--------------------------------------
768 + 11111111-1111-1111-1111-111111111111
769 +(1 row)
770 +
771 + set_config
772 +--------------------------------------
773 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
774 +(1 row)
775 +
776 + set_config
777 +------------
778 + true
779 +(1 row)
780 +
781 + set_config
782 +------------
783 + true
784 +(1 row)
785 +
786 + set_config
787 +------------
788 + true
789 +(1 row)
790 +
791 + set_config
792 +------------------------------------
793 + read,configure,create,edit,approve
794 +(1 row)
795 +
796 +CREATE TABLE
797 +INSERT 0 1
798 +INSERT 0 1
799 +INSERT 0 1
800 +RESET
801 +DO
802 +SET
803 + set_config
804 +--------------------------------------
805 + 55555555-5555-5555-5555-555555555555
806 +(1 row)
807 +
808 + set_config
809 +--------------------------------------
810 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
811 +(1 row)
812 +
813 + set_config
814 +------------
815 + read
816 +(1 row)
817 +
818 +DO
819 +RESET
820 +DO
821 +SET
822 + set_config
823 +--------------------------------------
824 + 11111111-1111-1111-1111-111111111111
825 +(1 row)
826 +
827 + set_config
828 +--------------------------------------
829 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
830 +(1 row)
831 +
832 + set_config
833 +------------------------------------
834 + read,configure,create,edit,approve
835 +(1 row)
836 +
837 +INSERT 0 1
838 +RESET
839 +UPDATE 1
840 +SET
841 + set_config
842 +--------------------------------------
843 + 11111111-1111-1111-1111-111111111111
844 +(1 row)
845 +
846 + set_config
847 +--------------------------------------
848 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
849 +(1 row)
850 +
851 + set_config
852 +------------------------------------
853 + read,configure,create,edit,approve
854 +(1 row)
855 +
856 +DO
857 +RESET
858 +DO
859 +SET
860 + set_config
861 +--------------------------------------
862 + 11111111-1111-1111-1111-111111111111
863 +(1 row)
864 +
865 + set_config
866 +--------------------------------------
867 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
868 +(1 row)
869 +
870 + set_config
871 +------------------------------------
872 + read,configure,create,edit,approve
873 +(1 row)
874 +
875 +DO
876 + request_revoke_delegation
877 +---------------------------
878 + t
879 +(1 row)
880 +
881 +DO
882 +DO
883 +RESET
884 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002071000_request_wave3_decision_idempotency.sql
885 +CREATE FUNCTION
886 +REVOKE
887 +GRANT
888 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave3_decision_idempotency.sql
889 +INSERT 0 2
890 +SET
891 + set_config
892 +--------------------------------------
893 + 11111111-1111-1111-1111-111111111111
894 +(1 row)
895 +
896 + set_config
897 +--------------------------------------
898 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
899 +(1 row)
900 +
901 + set_config
902 +------------
903 + true
904 +(1 row)
905 +
906 + set_config
907 +------------
908 + true
909 +(1 row)
910 +
911 + set_config
912 +------------
913 + true
914 +(1 row)
915 +
916 + set_config
917 +------------------------------------
918 + read,configure,create,edit,approve
919 +(1 row)
920 +
921 +CREATE TABLE
922 +INSERT 0 1
923 +INSERT 0 1
924 +RESET
925 +SET
926 + set_config
927 +--------------------------------------
928 + 66666666-6666-6666-6666-666666666666
929 +(1 row)
930 +
931 + set_config
932 +--------------------------------------
933 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
934 +(1 row)
935 +
936 + set_config
937 +------------
938 + true
939 +(1 row)
940 +
941 + set_config
942 +------------
943 + true
944 +(1 row)
945 +
946 + set_config
947 +--------------
948 + read,approve
949 +(1 row)
950 +
951 +SELECT 1
952 +RESET
953 +DO
954 +SET
955 + set_config
956 +--------------------------------------
957 + 77777777-7777-7777-7777-777777777777
958 +(1 row)
959 +
960 + set_config
961 +--------------------------------------
962 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
963 +(1 row)
964 +
965 + set_config
966 +------------
967 + true
968 +(1 row)
969 +
970 + set_config
971 +------------
972 + true
973 +(1 row)
974 +
975 + set_config
976 +--------------
977 + read,approve
978 +(1 row)
979 +
980 +SELECT 1
981 +RESET
982 +DO
983 +SET
984 + set_config
985 +--------------------------------------
986 + 66666666-6666-6666-6666-666666666666
987 +(1 row)
988 +
989 + set_config
990 +--------------------------------------
991 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
992 +(1 row)
993 +
994 + set_config
995 +------------
996 + true
997 +(1 row)
998 +
999 + set_config
1000 +------------
1001 + true
1002 +(1 row)
1003 +
1004 + set_config
1005 +------------
1006 + read
1007 +(1 row)
1008 +
1009 +DO
1010 +RESET
1011 +SET
1012 + set_config
1013 +--------------------------------------
1014 + 77777777-7777-7777-7777-777777777777
1015 +(1 row)
1016 +
1017 + set_config
1018 +--------------------------------------
1019 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
1020 +(1 row)
1021 +
1022 + set_config
1023 +------------
1024 + true
1025 +(1 row)
1026 +
1027 + set_config
1028 +------------
1029 + true
1030 +(1 row)
1031 +
1032 + set_config
1033 +--------------
1034 + read,approve
1035 +(1 row)
1036 +
1037 +DO
1038 +RESET
1039 +SET
1040 + set_config
1041 +--------------------------------------
1042 + 66666666-6666-6666-6666-666666666666
1043 +(1 row)
1044 +
1045 + set_config
1046 +--------------------------------------
1047 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
1048 +(1 row)
1049 +
1050 + set_config
1051 +------------
1052 + true
1053 +(1 row)
1054 +
1055 + set_config
1056 +------------
1057 + true
1058 +(1 row)
1059 +
1060 + set_config
1061 +--------------
1062 + read,approve
1063 +(1 row)
1064 +
1065 +SELECT 1
1066 +RESET
1067 +DO
1068 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002072000_request_wave4_operational_integrity.sql
1069 +ALTER TABLE
1070 +psql:supabase/migrations/20261002072000_request_wave4_operational_integrity.sql:4: NOTICE: constraint "request_delegations_idempotency_key_check" of relation "request_delegations" does not exist, skipping
1071 +ALTER TABLE
1072 +ALTER TABLE
1073 +CREATE INDEX
1074 +CREATE FUNCTION
1075 +REVOKE
1076 +CREATE FUNCTION
1077 +REVOKE
1078 +GRANT
1079 +CREATE FUNCTION
1080 +REVOKE
1081 +GRANT
1082 +REVOKE
1083 +REVOKE
1084 +CREATE FUNCTION
1085 +REVOKE
1086 +GRANT
1087 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave4_operational_integrity.sql
1088 +INSERT 0 2
1089 +INSERT 0 2
1090 +SET
1091 + set_config
1092 +--------------------------------------
1093 + 11111111-1111-1111-1111-111111111111
1094 +(1 row)
1095 +
1096 + set_config
1097 +--------------------------------------
1098 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
1099 +(1 row)
1100 +
1101 + set_config
1102 +------------
1103 + true
1104 +(1 row)
1105 +
1106 + set_config
1107 +------------
1108 + true
1109 +(1 row)
1110 +
1111 + set_config
1112 +------------------------------------
1113 + read,configure,create,edit,approve
1114 +(1 row)
1115 +
1116 +DO
1117 +CREATE TABLE
1118 +INSERT 0 1
1119 +DO
1120 +DO
1121 +DO
1122 + request_revoke_delegation
1123 +---------------------------
1124 + t
1125 +(1 row)
1126 +
1127 + request_revoke_delegation
1128 +---------------------------
1129 + t
1130 +(1 row)
1131 +
1132 +DO
1133 +RESET
1134 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002073500_request_wave4b_scheduler_outbox_delivery.sql
1135 +CREATE TABLE
1136 +CREATE TABLE
1137 +CREATE INDEX
1138 +CREATE INDEX
1139 +REVOKE
1140 +ALTER TABLE
1141 +ALTER TABLE
1142 +ALTER TABLE
1143 +ALTER TABLE
1144 +ALTER TABLE
1145 +ALTER TABLE
1146 +ALTER TABLE
1147 +ALTER TABLE
1148 +ALTER TABLE
1149 +UPDATE 1
1150 +ALTER TABLE
1151 +CREATE INDEX
1152 +ALTER TABLE
1153 +ALTER TABLE
1154 +psql:supabase/migrations/20261002073500_request_wave4b_scheduler_outbox_delivery.sql:49: NOTICE: constraint "request_outbox_last_worker_id_check" of relation "request_outbox" does not exist, skipping
1155 +ALTER TABLE
1156 +ALTER TABLE
1157 +psql:supabase/migrations/20261002073500_request_wave4b_scheduler_outbox_delivery.sql:51: NOTICE: constraint "request_outbox_last_replay_key_check" of relation "request_outbox" does not exist, skipping
1158 +ALTER TABLE
1159 +ALTER TABLE
1160 +CREATE FUNCTION
1161 +REVOKE
1162 +CREATE FUNCTION
1163 +REVOKE
1164 +CREATE FUNCTION
1165 +REVOKE
1166 +DO
1167 +CREATE FUNCTION
1168 +REVOKE
1169 +CREATE FUNCTION
1170 +REVOKE
1171 +DO
1172 +CREATE FUNCTION
1173 +REVOKE
1174 +CREATE FUNCTION
1175 +REVOKE
1176 +DO
1177 +CREATE FUNCTION
1178 +REVOKE
1179 +CREATE FUNCTION
1180 +REVOKE
1181 +DO
1182 +CREATE FUNCTION
1183 +REVOKE
1184 +GRANT
1185 +CREATE FUNCTION
1186 +REVOKE
1187 +GRANT
1188 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave4b_scheduler_outbox_delivery.sql
1189 +SET
1190 + set_config
1191 +--------------------------------------
1192 + 11111111-1111-1111-1111-111111111111
1193 +(1 row)
1194 +
1195 + set_config
1196 +--------------------------------------
1197 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
1198 +(1 row)
1199 +
1200 + set_config
1201 +------------
1202 + true
1203 +(1 row)
1204 +
1205 + set_config
1206 +------------
1207 + true
1208 +(1 row)
1209 +
1210 + set_config
1211 +------------------------------------
1212 + read,configure,create,edit,approve
1213 +(1 row)
1214 +
1215 +CREATE TABLE
1216 +INSERT 0 1
1217 +INSERT 0 1
1218 +RESET
1219 +UPDATE 1
1220 +SELECT 1
1221 +DO
1222 +DO
1223 +DO
1224 +DO
1225 +SET
1226 + set_config
1227 +--------------------------------------
1228 + 11111111-1111-1111-1111-111111111111
1229 +(1 row)
1230 +
1231 + set_config
1232 +--------------------------------------
1233 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
1234 +(1 row)
1235 +
1236 + set_config
1237 +------------------------------------
1238 + read,configure,create,edit,approve
1239 +(1 row)
1240 +
1241 +INSERT 0 1
1242 +DO
1243 +RESET
1244 +INSERT 0 1
1245 +SELECT 1
1246 +DO
1247 + request_fail_outbox
1248 +---------------------
1249 + failed
1250 +(1 row)
1251 +
1252 +DO
1253 +UPDATE 1
1254 +SELECT 1
1255 +DO
1256 + request_complete_outbox
1257 +-------------------------
1258 + t
1259 +(1 row)
1260 +
1261 +DO
1262 +DO
1263 +SET
1264 + set_config
1265 +--------------------------------------
1266 + 11111111-1111-1111-1111-111111111111
1267 +(1 row)
1268 +
1269 + set_config
1270 +--------------------------------------
1271 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
1272 +(1 row)
1273 +
1274 + set_config
1275 +------------------------------------
1276 + read,configure,create,edit,approve
1277 +(1 row)
1278 +
1279 +INSERT 0 1
1280 +DO
1281 +RESET
1282 +INSERT 0 1
1283 +DO
1284 +DO
1285 +SET
1286 + set_config
1287 +--------------------------------------
1288 + 11111111-1111-1111-1111-111111111111
1289 +(1 row)
1290 +
1291 + set_config
1292 +--------------------------------------
1293 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
1294 +(1 row)
1295 +
1296 + set_config
1297 +------------------------------------
1298 + read,configure,create,edit,approve
1299 +(1 row)
1300 +
1301 + request_replay_dead_letter
1302 +----------------------------
1303 + t
1304 +(1 row)
1305 +
1306 + request_replay_dead_letter
1307 +----------------------------
1308 + t
1309 +(1 row)
1310 +
1311 +RESET
1312 +DO
1313 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002033000_request_workflow_d4a_work_queue.sql
1314 +CREATE FUNCTION
1315 +REVOKE
1316 +GRANT
1317 +CREATE FUNCTION
1318 +REVOKE
1319 +GRANT
1320 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d4a_work_queue.sql
1321 +SET
1322 + set_config
1323 +--------------------------------------
1324 + 11111111-1111-1111-1111-111111111111
1325 +(1 row)
1326 +
1327 + set_config
1328 +--------------------------------------
1329 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
1330 +(1 row)
1331 +
1332 + set_config
1333 +------------------------------------
1334 + read,configure,create,edit,approve
1335 +(1 row)
1336 +
1337 +CREATE TABLE
1338 +INSERT 0 1
1339 +INSERT 0 1
1340 +DO
1341 + request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required
1342 +--------------------------------------+----------+----------+----------+------------+--------------------+--------------------
1343 + 279918e4-da1f-4f2a-9f56-4ce73f65fb8e | approved | 2 | manager | completed | 1 | 1
1344 +(1 row)
1345 +
1346 +DO
1347 +RESET
1348 +INSERT 0 0
1349 +INSERT 0 1
1350 +SET
1351 + set_config
1352 +--------------------------------------
1353 + 11111111-1111-1111-1111-111111111111
1354 +(1 row)
1355 +
1356 + set_config
1357 +--------------------------------------
1358 + aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
1359 +(1 row)
1360 +
1361 + set_config
1362 +------------------------------------
1363 + read,configure,create,edit,approve
1364 +(1 row)
1365 +
1366 +INSERT 0 1
1367 +INSERT 0 1
1368 + set_config
1369 +--------------------------------------
1370 + 55555555-5555-5555-5555-555555555555
1371 +(1 row)
1372 +
1373 + set_config
1374 +------------
1375 + read
1376 +(1 row)
1377 +
1378 +DO
1379 + request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required
1380 +--------------------------------------+----------+----------+----------+------------+--------------------+--------------------
1381 + 0cb9fc30-02e4-4bdd-a5fe-4d7f8f73ee82 | approved | 2 | manager | completed | 1 | 1
1382 +(1 row)
1383 +
1384 +DO
1385 + set_config
1386 +--------------------------------------
1387 + 22222222-2222-2222-2222-222222222222
1388 +(1 row)
1389 +
1390 + set_config
1391 +------------
1392 + read
1393 +(1 row)
1394 +
1395 +DO
1396 +RESET
docs/wp0/evidence/wp0-identity-wave5a-database.log new
+35
@@ -0,0 +1,35 @@
1 +2b84451845489f040e455d86a169f9a4944269c6902bce49b1dc33f411eda56b
2 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/identity_wave5a_bootstrap.sql
3 +CREATE EXTENSION
4 +DO
5 +CREATE SCHEMA
6 +CREATE TABLE
7 +CREATE TABLE
8 +CREATE TABLE
9 +CREATE TABLE
10 +CREATE TABLE
11 +CREATE INDEX
12 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002080000_identity_wave5a_bootstrap.sql
13 +CREATE FUNCTION
14 +REVOKE
15 +DROP TRIGGER
16 +psql:supabase/migrations/20261002080000_identity_wave5a_bootstrap.sql:20: NOTICE: trigger "on_auth_user_created" for relation "auth.users" does not exist, skipping
17 +CREATE TRIGGER
18 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/identity_bootstrap_seat_guard_repro.sql
19 +CREATE SCHEMA
20 +CREATE FUNCTION
21 +CREATE TRIGGER
22 +DO
23 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261012080000_fix_identity_bootstrap_license_before_membership.sql
24 +CREATE FUNCTION
25 +REVOKE
26 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/identity_wave5a_behavior.sql
27 +INSERT 0 1
28 +DO
29 +DO
30 +COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/identity_bootstrap_seat_guard_behavior.sql
31 +DO
32 +INSERT 0 1
33 +DO
34 +INSERT 0 1
35 +DO
docs/wp0/evidence/wp0-public-proxy.log new
+38
@@ -0,0 +1,38 @@
1 +
2 +Running 5 tests using 1 worker
3 +
4 +(node:26813) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
5 +(Use `node --trace-warnings ...` to show where the warning was created)
6 +(node:26813) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
7 +(Use `node --trace-warnings ...` to show where the warning was created)
8 + ✘ 1 ../../tmp/wp0-public/public-smoke.spec.js:3:1 › F-066 / F-067 / F-150: index.html and response headers (555ms)
9 +(node:27072) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
10 +(Use `node --trace-warnings ...` to show where the warning was created)
11 +(node:27072) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
12 +(Use `node --trace-warnings ...` to show where the warning was created)
13 + ✓ 2 ../../tmp/wp0-public/public-smoke.spec.js:19:1 › F-068: diag.html must not be publicly reachable (407ms)
14 + ✓ 3 ../../tmp/wp0-public/public-smoke.spec.js:24:1 › page load: no console or page errors (2.1s)
15 + ✓ 4 ../../tmp/wp0-public/public-smoke.spec.js:33:1 › F-270: parseFormattedNumber with Persian/Arabic separators (2.0s)
16 + ✓ 5 ../../tmp/wp0-public/public-smoke.spec.js:45:1 › errata: FinoraHealth.version should be 1.0 (1.6s)
17 +
18 +
19 + 1) ../../tmp/wp0-public/public-smoke.spec.js:3:1 › F-066 / F-067 / F-150: index.html and response headers
20 +
21 + Error: F-150: no anti-clickjacking HTTP header (CSP frame-ancestors or X-Frame-Options)
22 +
23 + expect(received).toBeTruthy()
24 +
25 + Received: undefined
26 +
27 + 9 | headers['content-security-policy'] || headers['x-frame-options'],
28 + 10 | 'F-150: no anti-clickjacking HTTP header (CSP frame-ancestors or X-Frame-Options)'
29 + > 11 | ).toBeTruthy();
30 + | ^
31 + 12 | const cspMeta = (html.match(/Content-Security-Policy[^>]*content="([^"]*)"/i) || [])[1] || '';
32 + 13 | expect.soft(/script-src[^;]*'unsafe-inline'/.test(cspMeta), "F-066: script-src contains unsafe-inline").toBeFalsy();
33 + 14 | const cdnScripts = html.match(/<script[^>]*cdn\.jsdelivr[^>]*>/gi) || [];
34 + at /tmp/wp0-public/public-smoke.spec.js:11:5
35 +
36 + 1 failed
37 + ../../tmp/wp0-public/public-smoke.spec.js:3:1 › F-066 / F-067 / F-150: index.html and response headers
38 + 4 passed (9.3s)
docs/wp0/evidence/wp0-static.log new
+352
@@ -0,0 +1,352 @@
1 +
2 +COMMAND node scripts/migration-manifest-check.mjs
3 +PASS committed archive manifest: 82 files; body hashes verified.
4 +UNRECONCILED migration ledger: 24 production-only / 24 repository-only versions. This is NOT schema parity or deployment approval.
5 +
6 +COMMAND node scripts/syntax-check.mjs
7 +syntax ok: accounting-foundation-render.js
8 +syntax ok: accounting-foundation-ui.js
9 +syntax ok: accounting-foundation.js
10 +syntax ok: accounting.js
11 +syntax ok: admin.js
12 +syntax ok: backup.js
13 +syntax ok: bootstrap.js
14 +syntax ok: cheques.js
15 +syntax ok: commercial-rnd.js
16 +syntax ok: companies.js
17 +syntax ok: contacts.js
18 +syntax ok: context-help.js
19 +syntax ok: core.js
20 +syntax ok: document-management.js
21 +syntax ok: drilldown.js
22 +syntax ok: enterprise-iran-v2.js
23 +syntax ok: enterprise-iran.js
24 +syntax ok: expenses.js
25 +syntax ok: idle-and-reports.js
26 +syntax ok: invoice-excel-import.js
27 +syntax ok: invoices.js
28 +syntax ok: journal-engine.js
29 +syntax ok: journal-ui.js
30 +syntax ok: login-connectivity.js
31 +syntax ok: money-format.js
32 +syntax ok: office-automation.js
33 +syntax ok: office-mature.js
34 +syntax ok: office-rbac.js
35 +syntax ok: office-workflow.js
36 +syntax ok: operations.js
37 +syntax ok: organization-enterprise-ux.js
38 +syntax ok: organization-invitations.js
39 +syntax ok: organization-rbac.js
40 +syntax ok: organization-shell.js
41 +syntax ok: password-recovery.js
42 +syntax ok: patches.js
43 +syntax ok: payments.js
44 +syntax ok: phase4-contracting.js
45 +syntax ok: phase5-domain.js
46 +syntax ok: phase5-enterprise.js
47 +syntax ok: phase6-reporting.js
48 +syntax ok: platform-modules.js
49 +syntax ok: print.js
50 +syntax ok: products.js
51 +syntax ok: projects.js
52 +syntax ok: purchases.js
53 +syntax ok: request-workflow-d2.js
54 +syntax ok: request-workflow-d3b.js
55 +syntax ok: request-workflow-d3c.js
56 +syntax ok: request-workflow-d4a.js
57 +syntax ok: selfcheck.js
58 +syntax ok: sync.js
59 +syntax ok: taxpayer-print.js
60 +syntax ok: ui.js
61 +syntax ok: ux-hardening-r2.js
62 +syntax ok: words.js
63 +syntax ok: scripts/accounting-p0-check.mjs
64 +syntax ok: scripts/accounting-product-guidance-check.mjs
65 +syntax ok: scripts/admin-provisioning-contract.mjs
66 +syntax ok: scripts/admin-recovery-handler.spec.mjs
67 +syntax ok: scripts/branding-login-check.mjs
68 +syntax ok: scripts/build-pages.mjs
69 +syntax ok: scripts/chart-completeness-check.mjs
70 +syntax ok: scripts/commercial-rnd-check.mjs
71 +syntax ok: scripts/enterprise-behavior-check.mjs
72 +syntax ok: scripts/enterprise-invitation-check.mjs
73 +syntax ok: scripts/enterprise-license-check.mjs
74 +syntax ok: scripts/enterprise-org-ux-check.mjs
75 +syntax ok: scripts/enterprise-role-check.mjs
76 +syntax ok: scripts/finance-integrity-audit-test.mjs
77 +syntax ok: scripts/finance-integrity-audit.mjs
78 +syntax ok: scripts/golden-accounting-core-check.mjs
79 +syntax ok: scripts/identity-wave5a-check.mjs
80 +syntax ok: scripts/identity-wave5b-check.mjs
81 +syntax ok: scripts/identity-wave5c-check.mjs
82 +syntax ok: scripts/kavenegar-otp-preflight-test.mjs
83 +syntax ok: scripts/login-connectivity-check.mjs
84 +syntax ok: scripts/migration-manifest-check.mjs
85 +syntax ok: scripts/office-c8-concurrency.mjs
86 +syntax ok: scripts/office-slice-c1-check.mjs
87 +syntax ok: scripts/office-slice-c2-check.mjs
88 +syntax ok: scripts/office-slice-c3-check.mjs
89 +syntax ok: scripts/office-slice-c4-check.mjs
90 +syntax ok: scripts/office-slice-c5-check.mjs
91 +syntax ok: scripts/office-slice-c6-check.mjs
92 +syntax ok: scripts/office-slice-c7-check.mjs
93 +syntax ok: scripts/office-slice-c8-check.mjs
94 +syntax ok: scripts/pages-blocking-bundles.mjs
95 +syntax ok: scripts/phase2-check.mjs
96 +syntax ok: scripts/phase3-behavior-check.mjs
97 +syntax ok: scripts/phase3-check.mjs
98 +syntax ok: scripts/phase4-behavior-check.mjs
99 +syntax ok: scripts/phase5-behavior-check.mjs
100 +syntax ok: scripts/phase6-behavior-check.mjs
101 +syntax ok: scripts/platform-office-check.mjs
102 +syntax ok: scripts/posting-idempotency-check.mjs
103 +syntax ok: scripts/public-qa-regression-check.mjs
104 +syntax ok: scripts/quality-check.mjs
105 +syntax ok: scripts/release-safety-check.mjs
106 +syntax ok: scripts/request-workflow-d1-check.mjs
107 +syntax ok: scripts/request-workflow-d1-security-check.mjs
108 +syntax ok: scripts/request-workflow-d1-transition-check.mjs
109 +syntax ok: scripts/request-workflow-d2-check.mjs
110 +syntax ok: scripts/request-workflow-d3b-check.mjs
111 +syntax ok: scripts/request-workflow-d3c-check.mjs
112 +syntax ok: scripts/request-workflow-d4a-check.mjs
113 +syntax ok: scripts/slice-b-rbac-check.mjs
114 +syntax ok: scripts/stripe-edge-sandbox-test.mjs
115 +syntax ok: scripts/stripe-sandbox-readonly-test.mjs
116 +syntax ok: scripts/stripe-sandbox-readonly.mjs
117 +syntax ok: scripts/syntax-check.mjs
118 +syntax ok: scripts/ux-hardening-r2-check.mjs
119 +Syntax passed for 56 JavaScript modules and 56 MJS test scripts.
120 +
121 +COMMAND node scripts/public-qa-regression-check.mjs
122 +Pages artifact built: 133 static + 270 runtime inline handlers externalized; diag.html intentionally excluded.
123 +Public QA regression invariants: PASS
124 +
125 +COMMAND python3 scripts/finora_local_backup_test.py -v
126 +test_age_failure_deletes_ciphertext_and_manifest (__main__.OfflineBackupContract.test_age_failure_deletes_ciphertext_and_manifest) ... ok
127 +test_disposable_local_restore_pipeline (__main__.OfflineBackupContract.test_disposable_local_restore_pipeline) ... ok
128 +test_dump_failure_deletes_ciphertext_and_manifest (__main__.OfflineBackupContract.test_dump_failure_deletes_ciphertext_and_manifest) ... ok
129 +test_encrypted_archive_manifest_and_verify (__main__.OfflineBackupContract.test_encrypted_archive_manifest_and_verify) ... ok
130 +test_integrity_tamper_detected (__main__.OfflineBackupContract.test_integrity_tamper_detected) ... ok
131 +test_reject_checkout_storage_and_invalid_recipient (__main__.OfflineBackupContract.test_reject_checkout_storage_and_invalid_recipient) ... ok
132 +test_restore_to_remote_or_ordinary_db_blocked (__main__.OfflineBackupContract.test_restore_to_remote_or_ordinary_db_blocked) ... ok
133 +
134 +----------------------------------------------------------------------
135 +Ran 7 tests in 0.642s
136 +
137 +OK
138 +
139 +COMMAND node scripts/quality-check.mjs
140 +Static quality and security invariants passed for 56 JavaScript modules.
141 +
142 +COMMAND node scripts/finance-integrity-audit-test.mjs
143 +PASS: valid records accepted; imbalance and duplicate invoice rejected
144 +
145 +COMMAND node scripts/stripe-sandbox-readonly-test.mjs
146 +PASS: sandbox-only read adapter + positive and adversarial checks; no writes or live credentials
147 +
148 +COMMAND node scripts/stripe-edge-sandbox-test.mjs
149 +PASS: Finora Stripe Edge function tested with 26 sandbox access and adversarial cases; no production writes
150 +
151 +COMMAND node scripts/kavenegar-otp-preflight-test.mjs
152 +PASS: Finora Kavenegar OTP offline preflight: signed request, disabled default, provider errors, phone/token isolation, zero real SMS.
153 +
154 +COMMAND node scripts/commercial-rnd-check.mjs
155 +Commercial R&D invariants passed.
156 +
157 +COMMAND node scripts/ux-hardening-r2-check.mjs
158 +UX/commerce/settings R2 invariants passed.
159 +
160 +COMMAND node scripts/accounting-product-guidance-check.mjs
161 +Accounting/product guidance invariants passed.
162 +
163 +COMMAND node scripts/phase2-check.mjs
164 +Phase 2 accounting foundation invariants passed.
165 +
166 +COMMAND node scripts/chart-completeness-check.mjs
167 +Chart completeness: all 8 templates, contra types, safe explicit upgrades, preview UI and rejection boundaries passed.
168 +
169 +COMMAND node scripts/phase3-check.mjs
170 +Phase 3 double-entry invariants passed.
171 +
172 +COMMAND node scripts/phase3-behavior-check.mjs
173 +Phase 3 behavioral accounting scenarios passed.
174 +
175 +COMMAND node scripts/accounting-p0-check.mjs
176 +Accounting P0 invariants passed.
177 +
178 +COMMAND node scripts/phase4-behavior-check.mjs
179 +Phase 4 accounting invariants passed.
180 +
181 +COMMAND node scripts/phase5-behavior-check.mjs
182 +Phase 5 behavioral/domain scenarios passed.
183 +Phase 5 depreciation reversal semantics passed.
184 +Phase 5 restore atomicity and posted-history protection passed.
185 +Phase 5 financial sync conflict reconciliation passed.
186 +
187 +COMMAND node scripts/enterprise-behavior-check.mjs
188 +Enterprise Iran behavior PASS
189 +
190 +COMMAND node scripts/phase6-behavior-check.mjs
191 +Phase 6 reporting/reconciliation scenarios passed.
192 +Phase 6 20k-line reporting performance passed in 48ms.
193 +
194 +COMMAND node scripts/golden-accounting-core-check.mjs
195 +Golden accounting core journey passed: sale -> receipt -> purchase -> payment -> expense/income -> reversal -> trial balance -> financial statements.
196 +
197 +COMMAND node scripts/platform-office-check.mjs
198 +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
199 +
200 +COMMAND node scripts/slice-b-rbac-check.mjs
201 +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)
202 +
203 +COMMAND node scripts/enterprise-license-check.mjs
204 +ELI-1 database contract invariants: PASS
205 +
206 +COMMAND node scripts/enterprise-role-check.mjs
207 +ELI-2 reusable role database contract: PASS
208 +
209 +COMMAND node scripts/enterprise-invitation-check.mjs
210 +ELI-3 invitation database + runtime contract: PASS
211 +
212 +COMMAND node scripts/enterprise-org-ux-check.mjs
213 +ELI-4 enterprise organization UX contract: PASS
214 +
215 +COMMAND node scripts/identity-wave5a-check.mjs
216 +Wave 5a identity/bootstrap invariants passed
217 +
218 +COMMAND node scripts/identity-wave5b-check.mjs
219 +Wave 5b offboarding/revocation invariants passed
220 +
221 +COMMAND node scripts/identity-wave5c-check.mjs
222 +Wave 5c privileged backup authorization invariants passed
223 +
224 +COMMAND node scripts/branding-login-check.mjs
225 +Finora branding/login invariants passed
226 +
227 +COMMAND node scripts/login-connectivity-check.mjs
228 +PASS: login connectivity diagnostics are read-only, cache-versioned and credential-free
229 +
230 +COMMAND node scripts/office-slice-c1-check.mjs
231 +Office Slice C1 server + runtime contract: PASS
232 +
233 +COMMAND node scripts/office-slice-c2-check.mjs
234 +Office Slice C2 server + runtime contract: PASS
235 +
236 +COMMAND node scripts/office-slice-c3-check.mjs
237 +Office Slice C3 server + runtime contract: PASS
238 +
239 +COMMAND node scripts/office-slice-c4-check.mjs
240 +Office Slice C4 registration + template contract: PASS
241 +
242 +COMMAND node scripts/office-slice-c5-check.mjs
243 +Office Slice C5 internal approval contract: PASS
244 +
245 +COMMAND node scripts/office-slice-c6-check.mjs
246 +Office Slice C6 SLA contract: PASS
247 +
248 +COMMAND node scripts/office-slice-c7-check.mjs
249 +Office Slice C7 searchable archive contract: PASS
250 +
251 +COMMAND node scripts/office-slice-c8-check.mjs
252 +Office Slice C8 policy UI + SQL contract: PASS
253 +
254 +COMMAND node scripts/request-workflow-d1-check.mjs
255 +Slice D1 request workflow foundation invariants: OK
256 +
257 +COMMAND node scripts/request-workflow-d1-transition-check.mjs
258 +Slice D1 transition evidence invariants: OK
259 +
260 +COMMAND node scripts/request-workflow-d1-security-check.mjs
261 +Slice D1 RPC security invariants: OK
262 +
263 +COMMAND node scripts/request-workflow-d2-check.mjs
264 +PASS D2 runtime is loaded after legacy office UI
265 +PASS D2 reads server request definitions and immutable versions
266 +PASS publishing uses the server-authorized D1 RPC
267 +PASS runtime creation uses the server-authorized D1 RPC with idempotency
268 +PASS configure actions are capability-gated
269 +PASS published version and draft-change state are visible
270 +PASS legacy record-store request writes are not used by D2
271 +PASS stale revision has an explicit recoverable surface
272 +PASS legacy cutover is traceable and non-destructive
273 +Request Workflow D2 static contracts verified.
274 +
275 +COMMAND node scripts/request-workflow-d3b-check.mjs
276 +Request Workflow D3b invariants: OK
277 +
278 +COMMAND node scripts/request-workflow-d3c-check.mjs
279 +Request Workflow D3c invariants: OK
280 +
281 +COMMAND node scripts/request-workflow-d4a-check.mjs
282 +Request Workflow D4a static invariants: PASS
283 +
284 +COMMAND node scripts/posting-idempotency-check.mjs
285 +Financial draft/posted data safety invariants PASS
286 +
287 +COMMAND node scripts/admin-provisioning-contract.mjs
288 +Admin server-only provisioning and credential reset contract PASS
289 +
290 +COMMAND node --test scripts/admin-recovery-handler.spec.mjs
291 +✔ global administrator requests only the current verified Auth email and fixed callback (29.459482ms)
292 +✔ active organization owner may request recovery for an active same-organization Auth user (1.250099ms)
293 +✔ ordinary member and forged user metadata never grant recovery management (1.904298ms)
294 +✔ direct core configure permission authorizes the active member (0.720298ms)
295 +✔ existing full_suite configure permission authorizes the active member (0.897617ms)
296 +✔ module-specific configure and malformed capability strings do not manage recovery (1.278802ms)
297 +✔ active reusable role permission authorizes recovery without a new global role (0.789974ms)
298 +✔ system_admin role name without configure permission grants nothing (0.881072ms)
299 +✔ inactive assignment cannot authorize recovery (0.630402ms)
300 +✔ inactive role cannot authorize recovery (0.512905ms)
301 +✔ foreign assignment cannot authorize recovery (0.682451ms)
302 +✔ foreign role cannot authorize recovery (0.377951ms)
303 +✔ foreign permission cannot authorize recovery (1.15772ms)
304 +✔ suspended actor membership cannot send a recovery email (0.414136ms)
305 +✔ left actor membership cannot send a recovery email (0.302557ms)
306 +✔ suspended target membership cannot send a recovery email (0.348026ms)
307 +✔ left target membership cannot send a recovery email (0.273603ms)
308 +✔ cross-organization target and organization identifiers cannot escape caller scope (0.479505ms)
309 +✔ membership UUID is not an Auth-user UUID and cannot select a recipient (0.46956ms)
310 +✔ suspended organization and missing caller membership fail closed (0.50249ms)
311 +✔ profiles read error fails closed without sending mail (0.540957ms)
312 +✔ organizations read error fails closed without sending mail (0.342848ms)
313 +✔ organization_members read error fails closed without sending mail (0.390761ms)
314 +✔ member_module_permissions read error fails closed without sending mail (0.290018ms)
315 +✔ organization_member_roles read error fails closed without sending mail (0.256688ms)
316 +✔ organization_roles read error fails closed without sending mail (0.406013ms)
317 +✔ organization_role_permissions read error fails closed without sending mail (0.323689ms)
318 +✔ missing or unconfirmed email cannot be replaced by stale profile information (1.047864ms)
319 +✔ Auth target lookup failure returns no sensitive details and sends no email (0.347435ms)
320 +✔ untrusted recovery field email is rejected (0.388157ms)
321 +✔ untrusted recovery field redirectTo is rejected (0.21798ms)
322 +✔ untrusted recovery field password is rejected (2.384233ms)
323 +✔ untrusted recovery field role is rejected (0.354375ms)
324 +✔ untrusted recovery field is_owner is rejected (0.378832ms)
325 +✔ malformed target and organization identifiers are rejected before Auth target lookup (1.486536ms)
326 +✔ global platform admin can set a password through Auth Admin and receives only an outcome (1.032481ms)
327 +✔ organization owner and delegated managers cannot assign any global Auth password (0.801431ms)
328 +✔ malformed direct reset identifiers and unexpected fields are rejected without Auth lookup (1.21759ms)
329 +✔ weak assigned passwords fail server policy without Auth mutation (1.551194ms)
330 +✔ Auth password update failures are bounded and never log the submitted secret (1.456061ms)
331 +✔ rate limits remain distinguishable without leaking provider error text (1.135986ms)
332 +✔ email request rejection and network exception cannot claim success or expose a link (0.786599ms)
333 +✔ recovery response and audit contain only outcome and account identifiers (0.850195ms)
334 +✔ global-admin account creation contract remains unchanged (0.743584ms)
335 +✔ organization owner and delegated manager cannot provision a global account (0.669952ms)
336 +✔ weak initial passwords remain rejected and creation errors stay bounded (0.639236ms)
337 +✔ CORS and HTTP method handling preserve existing restrictions (0.543862ms)
338 +✔ missing or rejected bearer and missing server configuration never send mail (0.843154ms)
339 +✔ invalid, array and oversized JSON requests cannot trigger recovery (1.352504ms)
340 +ℹ tests 49
341 +ℹ suites 0
342 +ℹ pass 49
343 +ℹ fail 0
344 +ℹ cancelled 0
345 +ℹ skipped 0
346 +ℹ todo 0
347 +ℹ duration_ms 144.490163
348 +
349 +COMMAND node scripts/release-safety-check.mjs
350 +Pages artifact built: 133 static + 270 runtime inline handlers externalized; diag.html intentionally excluded.
351 +Public QA regression invariants: PASS
352 +Release/QA safety invariants: PASS
scripts/migration-manifest-check.mjs new
+22
@@ -0,0 +1,22 @@
1 +import fs from 'node:fs';
2 +import path from 'node:path';
3 +import assert from 'node:assert/strict';
4 +import {createHash} from 'node:crypto';
5 +const root=process.env.FINORA_MANIFEST_ROOT||process.cwd();
6 +const read=p=>JSON.parse(fs.readFileSync(path.join(root,p),'utf8'));
7 +const manifest=read('supabase/migration-manifest.json');
8 +const files=fs.readdirSync(path.join(root,'supabase/migrations')).filter(f=>f.endsWith('.sql')).sort();
9 +assert.deepEqual(files,manifest.repo_migrations.map(x=>x.file),'Migration inventory drift: review and update manifest explicitly');
10 +for(const row of manifest.repo_migrations){
11 + assert.match(row.file,/^\d{14}_[A-Za-z0-9_]+\.sql$/);
12 + const bytes=fs.readFileSync(path.join(root,'supabase/migrations',row.file));
13 + assert.equal(createHash('sha256').update(bytes).digest('hex'),row.sha256,'Migration body changed: '+row.file);
14 +}
15 +const repo=new Set(files.map(f=>f.split('_')[0]));
16 +assert.equal(repo.size,files.length,'Duplicate migration version');
17 +const prod=new Set(read(manifest.production_snapshot).migrations.map(r=>r.version));
18 +const prodOnly=[...prod].filter(v=>!repo.has(v)).sort(),repoOnly=[...repo].filter(v=>!prod.has(v)).sort();
19 +assert.deepEqual(prodOnly,manifest.unreconciled_production_only,'New/unreviewed production-only migration drift');
20 +assert.deepEqual(repoOnly,manifest.unreconciled_repository_only,'New/unreviewed repository-only migration drift');
21 +console.log('PASS committed archive manifest: '+files.length+' files; body hashes verified.');
22 +console.log('UNRECONCILED migration ledger: '+prodOnly.length+' production-only / '+repoOnly.length+' repository-only versions. This is NOT schema parity or deployment approval.');
scripts/migration-manifest-test.mjs new
+44
@@ -0,0 +1,44 @@
1 +import fs from 'node:fs';
2 +import os from 'node:os';
3 +import path from 'node:path';
4 +import assert from 'node:assert/strict';
5 +import {spawnSync} from 'node:child_process';
6 +
7 +const fixture = fs.mkdtempSync(path.join(os.tmpdir(), 'finora-manifest-'));
8 +const script = path.resolve('scripts/migration-manifest-check.mjs');
9 +const run = () => spawnSync(process.execPath, [script], {
10 + env: {...process.env, FINORA_MANIFEST_ROOT: fixture}, encoding: 'utf8'
11 +});
12 +try {
13 + fs.mkdirSync(path.join(fixture, 'supabase'), {recursive: true});
14 + fs.cpSync('supabase/migrations', path.join(fixture, 'supabase/migrations'), {recursive: true});
15 + fs.copyFileSync('supabase/migration-manifest.json', path.join(fixture, 'supabase/migration-manifest.json'));
16 + const manifest = JSON.parse(fs.readFileSync('supabase/migration-manifest.json', 'utf8'));
17 + const snapshot = path.join(fixture, manifest.production_snapshot);
18 + fs.mkdirSync(path.dirname(snapshot), {recursive: true});
19 + fs.copyFileSync(manifest.production_snapshot, snapshot);
20 + const baseline = run();
21 + assert.equal(baseline.status, 0, baseline.stderr);
22 + assert.match(baseline.stdout, /NOT schema parity/);
23 +
24 + const file = path.join(fixture, 'supabase/migrations', manifest.repo_migrations[0].file);
25 + const bytes = fs.readFileSync(file);
26 + fs.appendFileSync(file, '\n-- unauthorized edit');
27 + assert.match(run().stderr, /Migration body changed/);
28 + fs.writeFileSync(file, bytes);
29 + fs.unlinkSync(file);
30 + assert.match(run().stderr, /Migration inventory drift/);
31 + fs.writeFileSync(file, bytes);
32 +
33 + const extra = path.join(fixture, 'supabase/migrations/20990101000000_unreviewed.sql');
34 + fs.writeFileSync(extra, 'select 1;');
35 + assert.match(run().stderr, /Migration inventory drift/);
36 + fs.unlinkSync(extra);
37 + const prod = JSON.parse(fs.readFileSync(snapshot, 'utf8'));
38 + prod.migrations.push({version: '20990101000000', name: 'unreviewed'});
39 + fs.writeFileSync(snapshot, JSON.stringify(prod));
40 + assert.match(run().stderr, /New\/unreviewed production-only migration drift/);
41 + console.log('PASS manifest mutations: changed body, missing file, added file, new production version rejected; known drift remains explicit.');
42 +} finally {
43 + fs.rmSync(fixture, {recursive: true, force: true});
44 +}
scripts/wp0-existing-database-jobs.py new
+30
@@ -0,0 +1,30 @@
1 +import subprocess,re,os,time,tempfile,json
2 +from pathlib import Path
3 +root=Path(__file__).resolve().parents[1]
4 +s=(root/'.github/workflows/quality.yml').read_text()
5 +results=[]
6 +for job,db in [('identity-wave5a-database','finora_identity'),('c8-policy-database','finora_c8'),('d1-request-database','finora_d1')]:
7 + name='finora-wp0-'+job
8 + log=open('/tmp/wp0-'+job+'.log','w')
9 + def run(args,**kw):return subprocess.run(args,stdout=log,stderr=subprocess.STDOUT,check=True,**kw)
10 + try:
11 + run(['docker','run','--rm','-d','--network','none','--name',name,'-v',str(root)+':/work:ro','-e','POSTGRES_HOST_AUTH_METHOD=trust','-e','POSTGRES_DB='+db,'postgres:17-alpine'])
12 + for _ in range(100):
13 + if subprocess.run(['docker','exec',name,'pg_isready','-h','127.0.0.1','-U','postgres','-d',db],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL).returncode==0:break
14 + time.sleep(.1)
15 + section=s.split(' '+job+':')[1].split('\n ',1)[0] if False else re.split(r'\n [a-z0-9-]+:',s.split(' '+job+':',1)[1])[0]
16 + cmds=re.findall(r'^ run: (psql .+|node scripts/office-c8-concurrency.mjs)$',section,re.M)
17 + for cmd in cmds:
18 + log.write('COMMAND '+cmd+'\n');log.flush()
19 + if cmd.startswith('psql '):run(['docker','exec','-i','-w','/work',name,'psql','-U','postgres','-d',db,*cmd.split()[1:]])
20 + else:
21 + with tempfile.TemporaryDirectory() as d:
22 + shim=Path(d)/'psql';shim.write_text('#!/usr/bin/env python3\nimport os,subprocess,sys\nsys.exit(subprocess.run(["docker","exec","-i",os.environ["WP0_CONTAINER"],"psql","-U","postgres","-d",os.environ["WP0_DATABASE"],*sys.argv[1:]]).returncode)\n');shim.chmod(0o755)
23 + run(cmd.split(),cwd=root,env={**os.environ,'PATH':d+':'+os.environ['PATH'],'WP0_CONTAINER':name,'WP0_DATABASE':db})
24 + results.append({'job':job,'result':'PASS','commands':len(cmds)})
25 + except Exception as e:results.append({'job':job,'result':'FAIL','error':str(e)})
26 + finally:subprocess.run(['docker','rm','-f',name],stdout=subprocess.DEVNULL);log.close()
27 +print(json.dumps(results,indent=2))
28 +(root/'docs/wp0/EXISTING_DATABASE_RESULTS.json').write_text(json.dumps(results,indent=2)+'\n')
29 +
30 +if any(x["result"] != "PASS" for x in results): raise SystemExit(1)
scripts/wp0-ledger-harness.mjs new
+59
@@ -0,0 +1,59 @@
1 +// Disposable-only source baseline. No PostgreSQL URL, host, password or production option.
2 +import { spawnSync } from 'node:child_process';
3 +import { readFileSync, readdirSync } from 'node:fs';
4 +import { createHash } from 'node:crypto';
5 +import { fileURLToPath } from 'node:url';
6 +import { dirname, resolve } from 'node:path';
7 +
8 +const root = resolve(dirname(fileURLToPath(import.meta.url)), '..');
9 +const sha256 = (bytes) => createHash('sha256').update(bytes).digest('hex');
10 +const run = (args, input) => spawnSync('docker', args, { cwd: root, env: {...process.env, DOCKER_HOST:'unix:///var/run/docker.sock', DOCKER_CONTEXT:'', DOCKER_TLS:'', DOCKER_TLS_VERIFY:'', DOCKER_CERT_PATH:''}, input, encoding: 'utf8', maxBuffer: 16 * 1024 * 1024 });
11 +const requireSuccess = (result, label) => {
12 + if (result.status !== 0) throw new Error(`${label}: exit ${result.status}\n${result.stdout || ''}${result.stderr || ''}`);
13 + return result.stdout;
14 +};
15 +
16 +// All records/RLS/member/role definitions through the office evidence guard,
17 +// followed by current identity and financial idempotency definitions. Later
18 +// office/request-only schema is intentionally omitted, and recorded below.
19 +export function ledgerMigrationFiles() {
20 + const late = new Set(['20261002080000','20261007165208','20261011174445','20261012080000']);
21 + return readdirSync(resolve(root, 'supabase/migrations')).filter(name => name.endsWith('.sql') &&
22 + (name < '20260930153001' || late.has(name.slice(0, 14)))).sort();
23 +}
24 +
25 +export async function withDisposableLedger(callback) {
26 + const name = `finora-wp0-ledger-${process.pid}`;
27 + const evidence = { scope: 'source-derived ledger baseline; NOT a production database clone', image: 'postgres:17-alpine', migrations: [], omittedMigrations: [], platformBootstrap: 'supabase/tests/wp0_platform_bootstrap.sql' };
28 + try {
29 + requireSuccess(run(['run', '--rm', '-d', '--name', name, '--network', 'none', '-e', 'POSTGRES_HOST_AUTH_METHOD=trust', '-e', 'POSTGRES_DB=finora_wp0', 'postgres:17-alpine']), 'start isolated PostgreSQL');
30 + let ready = false;
31 + for (let attempt = 0; attempt < 100; attempt++) {
32 + if (run(['exec', name, 'pg_isready', '-h', '127.0.0.1', '-U', 'postgres', '-d', 'finora_wp0']).status === 0) { ready = true; break; }
33 + await new Promise(done => setTimeout(done, 100));
34 + }
35 + if (!ready) throw new Error('Disposable PostgreSQL did not become ready');
36 + const sql = (text) => run(['exec', '-i', name, 'psql', '-X', '-U', 'postgres', '-d', 'finora_wp0', '-v', 'ON_ERROR_STOP=1', '-P', 'pager=off'], text);
37 + const apply = (path) => requireSuccess(sql(readFileSync(resolve(root, path), 'utf8')), path);
38 + evidence.postgres = requireSuccess(sql("select version();"), 'PostgreSQL version').trim();
39 + evidence.imageDigest = JSON.parse(requireSuccess(run(['image', 'inspect', 'postgres:17-alpine', '--format', '{{json .RepoDigests}}']), 'image digest'));
40 + evidence.platformBootstrapSha256 = sha256(readFileSync(resolve(root,evidence.platformBootstrap)));
41 + apply(evidence.platformBootstrap);
42 + const files = ledgerMigrationFiles();
43 + evidence.omittedMigrations = readdirSync(resolve(root, 'supabase/migrations')).filter(name => name.endsWith('.sql') && !files.includes(name)).sort();
44 + for (const name of files) {
45 + const bytes = readFileSync(resolve(root, 'supabase/migrations', name));
46 + const source = bytes.toString('utf8');
47 + // Fifteen historic archives have a literal backslash+n at EOF. Only this
48 + // transport artifact is removed in memory. Tracked originals stay intact.
49 + const normalized = source.replace(/\\n\s*$/, '\n');
50 + requireSuccess(sql(normalized), `source migration ${name}`);
51 + evidence.migrations.push({ name, sourceSha256: sha256(bytes), appliedSha256: sha256(normalized), terminalLiteralNewlineRemoved: source !== normalized });
52 + }
53 + const context = { sql, apply, evidence, requireSuccess, root };
54 + return await callback(context);
55 + } finally {
56 + const result = run(['rm', '-f', name]);
57 + if (result.status !== 0 && !`${result.stderr}`.includes('No such container')) throw new Error('Could not remove disposable ledger container');
58 + }
59 +}
scripts/wp0-ledger-reproduce.mjs new
+13
@@ -0,0 +1,13 @@
1 +import {withDisposableLedger} from './wp0-ledger-harness.mjs';
2 +import {writeFileSync,readFileSync,mkdirSync} from 'node:fs';
3 +import assert from 'node:assert/strict';
4 +await withDisposableLedger(async c=>{
5 + const result=c.sql(readFileSync('supabase/tests/wp0_ledger_reproduction.sql','utf8'));
6 + c.requireSuccess(result,'D1/D2 baseline reproduction');
7 + const output=result.stdout+result.stderr;
8 + for(const marker of ['D1_REPRODUCED:','D2_REPRODUCED:','ISOLATION_READ_PASS:']) assert.ok(output.includes(marker),marker);
9 + mkdirSync('docs/wp0/evidence',{recursive:true});
10 + writeFileSync('docs/wp0/evidence/ledger-baseline.json',JSON.stringify(c.evidence,null,2)+'\n');
11 + writeFileSync('docs/wp0/evidence/ledger-reproduction.log',output);
12 + console.log('BASELINE REPRODUCED: D1 and D2 are vulnerabilities, NOT ledger safety passes. Other-tenant read denied. All fixtures rolled back; disposable container removed.');
13 +});
supabase/migration-manifest.json new
+386
@@ -0,0 +1,386 @@
1 +{
2 + "baseline": "4416794682d29a17976c901d866d182627f63c29 + exact phone archive",
3 + "production_snapshot": "docs/wp0/PRODUCTION_MIGRATIONS_2026-11-02.json",
4 + "repo_migrations": [
5 + {
6 + "file": "20260921082958_finora_core_schema_auth_licenses_rls.sql",
7 + "sha256": "f9fc9d548e1ec1e7c224f2ddf59fee9f59045a97bf7586a6e5211b39732fe206"
8 + },
9 + {
10 + "file": "20260921083540_finora_records_store_replace_relational.sql",
11 + "sha256": "f2abeb1043b92abcd32cf9e6ff55013c46eedda360934efff75085356806b9c0"
12 + },
13 + {
14 + "file": "20260921083829_finora_admin_license_rpcs_cancel_and_extend.sql",
15 + "sha256": "3ffed38bc301088c2c6ac8a43b67f4764110ac5548df52bf62b51c2b01f60330"
16 + },
17 + {
18 + "file": "20260922035848_decouple_profile_email_add_email_col.sql",
19 + "sha256": "55e8dd71c3a038e20bb92e23eb54c3bda372e3869ac0a15ed486cd39de0ee724"
20 + },
21 + {
22 + "file": "20260922035916_drop_username_unique_and_format_constraints.sql",
23 + "sha256": "6abba23c7c7567db3442326a500498b78cfbee6dbd54cf241d1a3a4a7505cb78"
24 + },
25 + {
26 + "file": "20260923210625_add_full_name_to_profiles.sql",
27 + "sha256": "703d8313f9079b541f92725f00434911212a3c5d0d0d84e9756e8ed955558c51"
28 + },
29 + {
30 + "file": "20260928025331_allow_purchases_collection.sql",
31 + "sha256": "4b2f60d800ee3caeb55c9b1c966ef18501c8f401eca96b9a3a7bb1c689b7baa8"
32 + },
33 + {
34 + "file": "20260928113755_allow_payment_settlement_records.sql",
35 + "sha256": "65559a79c846c58857a64b48c1f8c4fbf001e9bfb2ecb3790ae4633e0f8757a1"
36 + },
37 + {
38 + "file": "20260928115233_repair_legacy_invoice_contact_ids.sql",
39 + "sha256": "c713e1e071858c66e38370e521a43fced55844b2adb130b0c38caea2c6a86226"
40 + },
41 + {
42 + "file": "20260928115616_restrict_internal_license_helpers.sql",
43 + "sha256": "d6c93f28dcc87ade59756e068a121ad1e34c491cb26a3443cafaeb73a31a1a6e"
44 + },
45 + {
46 + "file": "20260928141512_allow_accounting_foundation_collections.sql",
47 + "sha256": "9d5c9297debd032c31e5dcea8509ac76212b7a0022533436e5b9ad57f5346f10"
48 + },
49 + {
50 + "file": "20260928145306_allow_phase3_double_entry_collections.sql",
51 + "sha256": "d1a846179c815d0c84ebf2d7dcdfcc81b18e9856016a3aa2552574703ac0dbf2"
52 + },
53 + {
54 + "file": "20260929083130_phase3_hardening_atomic_sync_and_ledger_guards.sql",
55 + "sha256": "9eab93235e973bfa869659d6b1f14664c4864b711c0d6518e3865fab6b7f8cfa"
56 + },
57 + {
58 + "file": "20260929091743_phase4_contracting_collections.sql",
59 + "sha256": "8506f8296eb3d4b67c80fb0b6b467a4d24b10ef29ad3d2e5779c7250a6a7a12c"
60 + },
61 + {
62 + "file": "20260929172129_phase5_complementary_erp_collections.sql",
63 + "sha256": "eab2d7aa23b5226a28f366e3eb08cd398f74184522b2ec52d8df8a7b34d01d47"
64 + },
65 + {
66 + "file": "20260929193348_posted_source_immutability_guard.sql",
67 + "sha256": "4d57fffc27e69e2bf873ebe1d411223ef262190fac428347b9ab413be5876b78"
68 + },
69 + {
70 + "file": "20260929193357_accounting_master_uniqueness.sql",
71 + "sha256": "1b55fb34c8ec683bb84c40f85e82e283f30711a3aa7785f93bfa721e371e6f8c"
72 + },
73 + {
74 + "file": "20260929220543_license_company_capacity.sql",
75 + "sha256": "7d4e87152b55ca2be58c47dbd40b0abd9f5b85bc59fa247f8a0bbab3d441774c"
76 + },
77 + {
78 + "file": "20260929220613_restrict_company_limit_rpc.sql",
79 + "sha256": "3a74e66245125f9b4922032fbc34a4c2981534efd901519c66cd96a837b03756"
80 + },
81 + {
82 + "file": "20260929221252_iran_enterprise_foundation_collections.sql",
83 + "sha256": "66a07435edc6e8c75a62694ad4b9d734e9c94727bed7bbb95a323e7146d0d4ae"
84 + },
85 + {
86 + "file": "20260929221754_iran_enterprise_financial_controls.sql",
87 + "sha256": "c5329091a70c3c2e0bc8c3f24dbd2477ab4e66f3cceb439144f5a85a961d851c"
88 + },
89 + {
90 + "file": "20260929222000_iran_enterprise_foundation_collections.sql",
91 + "sha256": "1884e4c169fd2b0b1d1d9bb0486ee466c41fee8d09fca283830531c635db1720"
92 + },
93 + {
94 + "file": "20260930025546_modular_entitlements_office_automation_foundation.sql",
95 + "sha256": "96d31a1db0ebc3673dc016aa1fa2f434d655305f774fc5cc3eef75cae862a9f6"
96 + },
97 + {
98 + "file": "20260930025647_office_secretariat_atomic_registration.sql",
99 + "sha256": "e2a05589a486c3662c0edfd10d97f6e258047142f61eb17aeb1110eef6114ea7"
100 + },
101 + {
102 + "file": "20260930030314_preserve_readonly_access_after_license_expiry.sql",
103 + "sha256": "50a1793c35f30e1fd320adf5ffe3eac5c7ff43108e8038b1608e95e94ef61398"
104 + },
105 + {
106 + "file": "20260930031853_organization_membership_rbac_foundation.sql",
107 + "sha256": "5df3530944807adfc4c1a4c57117b48b4582eba965cbb1898a2debc115d8c2b4"
108 + },
109 + {
110 + "file": "20260930031942_office_shared_rbac_and_referrals.sql",
111 + "sha256": "13c066da7d67318652dc865f8f5522dd4942497c9f2b9e20c73fb23c04364ec2"
112 + },
113 + {
114 + "file": "20260930032615_slice_b_rbac_fk_indexes.sql",
115 + "sha256": "ae9469591c7669d4759e23609f09da48b80791ae1accdab76d910278f52da1a3"
116 + },
117 + {
118 + "file": "20260930032654_harden_legacy_office_storage_member_writes.sql",
119 + "sha256": "4fce4b570a47af4838243226fdf521e7cb918119400ea36a8c5319cc085c43a4"
120 + },
121 + {
122 + "file": "20260930033010_allow_member_core_read_context.sql",
123 + "sha256": "4fef30460171789e426da776d36098ceb5a743c75f908d8c2e1ffa39a82f9335"
124 + },
125 + {
126 + "file": "20260930041735_harden_public_security_definer_rpc_grants_search_path.sql",
127 + "sha256": "42047543a8764fba8865d76e9474b8afe547d352c23ea39d4e3aa3611ba761c6"
128 + },
129 + {
130 + "file": "20260930045827_enterprise_license_seats_delegated_admin.sql",
131 + "sha256": "9b304812da17c9f8cad4c6ae6d83181dfdd5177dbb2b3a43970437b69aa1727d"
132 + },
133 + {
134 + "file": "20260930050542_enterprise_reusable_roles.sql",
135 + "sha256": "9025f7501b2f27ac74c2f225366d85eac5d12eadb146c4844dc1c072cf10ec7e"
136 + },
137 + {
138 + "file": "20260930050904_eli2_role_tenant_hardening.sql",
139 + "sha256": "40b433fe28b62f780bc60f8a38f9cf57daf2e6897daabaf7493909be706fb43c"
140 + },
141 + {
142 + "file": "20260930051849_enterprise_invitations.sql",
143 + "sha256": "cd735c988394a45be4253c01d2b399e6f502e4a73e6652b4ddb7726e4e71659e"
144 + },
145 + {
146 + "file": "20260930052909_eli3_fk_index_hardening.sql",
147 + "sha256": "496e9537aefb1f88ee2cf5269af2a3c23f84e16a40ca36b58f8cc00ea721eb22"
148 + },
149 + {
150 + "file": "20260930053652_enterprise_organization_ux.sql",
151 + "sha256": "225f5c37fe91f5116875bff0bb090aa71824d8d71a93607377b29e86eaf8c947"
152 + },
153 + {
154 + "file": "20260930054352_office_registered_history_read_evidence.sql",
155 + "sha256": "4e2080d037f9e5ad6ef1baa9c25da4878133c650b5b0487bee2cdcd5d0354d51"
156 + },
157 + {
158 + "file": "20260930152500_office_slice_c2_actionable_referrals_sla.sql",
159 + "sha256": "c02a8dfee81b5d75e824adc6b2ecbfa0835fb92d30424b8f8420dd92a396c4c7"
160 + },
161 + {
162 + "file": "20260930153000_office_evidence_insert_hardening.sql",
163 + "sha256": "aea8dbd1ca84ee089c3a86586921e333df059798dd9bdbd22fa0e8bc22afacee"
164 + },
165 + {
166 + "file": "20260930154625_office_slice_c3_related_archive.sql",
167 + "sha256": "4b4e04fbd9d9bea8deef5c2a2d983e2b11e6aefa2747e60019907d0c57cf1040"
168 + },
169 + {
170 + "file": "20260930154720_office_c3_event_time_ordering.sql",
171 + "sha256": "bddb3a6e63213adeb2bca0b4e8e7b12d65f6ade5115d8ee05004ff47fd3810c0"
172 + },
173 + {
174 + "file": "20260930202526_office_registration_tenant_repair.sql",
175 + "sha256": "e842dec31fb124652283cae473f7f174162d9be1083c2b379c1c1f15cc07f6d8"
176 + },
177 + {
178 + "file": "20260930202701_office_slice_c4_versioned_templates.sql",
179 + "sha256": "5269d09553372676bc84285c9bb4b6b0fdc26d4fef6dedd84fcf8d87d27e53fd"
180 + },
181 + {
182 + "file": "20260930203456_office_slice_c5_internal_approval.sql",
183 + "sha256": "97b9e642daf5c387a23dc5e8f3445b90e9ee4d5378fc22e2317d336532a470c1"
184 + },
185 + {
186 + "file": "20260930203620_office_slice_c5_internal_approval.sql",
187 + "sha256": "464f452f1aa6309d380bf4ca305eece6ec8ce28a7cd1baa697a5e65f729573d1"
188 + },
189 + {
190 + "file": "20260930203709_office_c5_decision_event_order_fix.sql",
191 + "sha256": "70e3053a1329e79e83a8c4ea3ebd94b03b1815e243db74837fb700bb8a5ed78a"
192 + },
193 + {
194 + "file": "20260930203839_office_c5_content_digest_hardening.sql",
195 + "sha256": "3b4fc28060103d27132cb493ebd6547ea2f8aac6ad4077728359d7f337bb3cd6"
196 + },
197 + {
198 + "file": "20260930204536_office_slice_c6_sla_reminder_escalation.sql",
199 + "sha256": "70e02820d9aee30488475eb32cb1a5c18cd841593374c7f5e793960c195668ca"
200 + },
201 + {
202 + "file": "20260930205309_office_slice_c7_fulltext_ocr_provenance.sql",
203 + "sha256": "cab22e72e823f2e7bfde6151277a56984d654e8d95507938e74a543dd4967273"
204 + },
205 + {
206 + "file": "20260930205325_office_slice_c7_searchable_archive_ocr_provenance.sql",
207 + "sha256": "d9217a6b63106b4af0129ac3bcf822723ec16d6e6871ae8ec8d0f3696222dccf"
208 + },
209 + {
210 + "file": "20260930205347_office_c7_search_input_guard.sql",
211 + "sha256": "8b63356c1165a878f18ee8c3a5f7326acb3ca9886916a497b73e133b6ff8ca1e"
212 + },
213 + {
214 + "file": "20260930205753_office_c7_remove_abandoned_duplicate_api.sql",
215 + "sha256": "de365b62fd09f3c857353972dde7a8d5b569fbd1a47cc260c2c062033351d48f"
216 + },
217 + {
218 + "file": "20260930205919_office_c7_bind_ocr_source_attachment.sql",
219 + "sha256": "4172aa75b8fbf13b800068f0b503c2b3ffbdb45d9653ff54a8b7289ca6300481"
220 + },
221 + {
222 + "file": "20260930222500_iran_enterprise_control_collections.sql",
223 + "sha256": "359ea3cdd4ed35027d7883f23d06f8afb38a1d16bb655c9d56155771eeda76ec"
224 + },
225 + {
226 + "file": "20260930223000_iran_enterprise_financial_controls.sql",
227 + "sha256": "9f32b8895f4832682c766e795a75f46f9a5b30e730a2772987f668e96537ea27"
228 + },
229 + {
230 + "file": "20261001173917_office_slice_c8_workflow_policy.sql",
231 + "sha256": "880373e6ea565f0d2a3ed428b864fe88326efbbd5d52fe7d82dcac83c94ea4bc"
232 + },
233 + {
234 + "file": "20261001180610_office_slice_c8_workflow_runtime.sql",
235 + "sha256": "ceac36b37085a8b761ac3f3fc1651852d6b2f4cfda76b525b6985a50d1084d0e"
236 + },
237 + {
238 + "file": "20261001180949_office_c8_policy_publisher_fk_index.sql",
239 + "sha256": "a48ff3163a2149e8461693c92588f4ce1f55e8418f23ebd616dee3b8c2042bae"
240 + },
241 + {
242 + "file": "20261001204500_request_workflow_d1_foundation.sql",
243 + "sha256": "e13f0b868569dbf86acf915bfe1b79800b475af664757db33cf33263176620b3"
244 + },
245 + {
246 + "file": "20261001205500_request_workflow_d1_transition_evidence.sql",
247 + "sha256": "72e7be20d0acb20abfeff99cd245cf7791d3926e96f227db91eb92f3e81ebd1e"
248 + },
249 + {
250 + "file": "20261001210500_request_workflow_d1_rpc_security.sql",
251 + "sha256": "50d52cd205f2498d8b80b8cfb0eeb27a4ac0a3b10a846d9dbf458bdb4d87ce55"
252 + },
253 + {
254 + "file": "20261001211500_request_workflow_d1_revision_qualification.sql",
255 + "sha256": "182e49f88fb1b95fb95f6f94eff5e455b20502440535de9399e830e973e74998"
256 + },
257 + {
258 + "file": "20261001223500_request_workflow_d2_legacy_cutover.sql",
259 + "sha256": "b9211e1cf89be4796f5201d615d297de562ada8c557e1ec9ad47d9f507c2e80b"
260 + },
261 + {
262 + "file": "20261001224500_request_workflow_d2_fk_indexes.sql",
263 + "sha256": "3cdfe8b2e3a5ab6987a7442db407d10dd6d594ac922a5f51b55f57ea350ce046"
264 + },
265 + {
266 + "file": "20261001230000_request_workflow_d3a_step_runtime.sql",
267 + "sha256": "9025ee256477823e25ac69aaf25e58d62355e5e506520a56536c6ddf6f59a053"
268 + },
269 + {
270 + "file": "20261001230500_request_workflow_d3a_security_hardening.sql",
271 + "sha256": "93605316dc63247d31f9a70ba45e240649b056ec113a4e166a3a23d13ae7324f"
272 + },
273 + {
274 + "file": "20261001233000_request_workflow_d3b_conditions_timeline.sql",
275 + "sha256": "46a874e0cb2346d37307c15ac2be089bfca53da988fdadf17003daf92abb08b2"
276 + },
277 + {
278 + "file": "20261001235500_request_workflow_d3c_operations.sql",
279 + "sha256": "bf41d4e66427b5be6fce2c0ab72c1bf082c360e852429ab0d361220f7aa82280"
280 + },
281 + {
282 + "file": "20261002000500_request_workflow_d3c_escalation_conflict_fix.sql",
283 + "sha256": "f586c9f9ce355a2bc300aa1b8226b4447eae355f3ce88134b68b9f4d1c0c8fe4"
284 + },
285 + {
286 + "file": "20261002001000_request_delegation_to_user_fk_index.sql",
287 + "sha256": "e54011a21084760479fc317ffebd56e7988d7615694afb538a9364e743efddac"
288 + },
289 + {
290 + "file": "20261002010000_request_wave1_legacy_transition_guard.sql",
291 + "sha256": "698fa68d87c7e2677d9fe3e9a2aced2cbeccd840db9411962b4fb6f0b90c1d0e"
292 + },
293 + {
294 + "file": "20261002023000_request_wave2_integrity_hardening.sql",
295 + "sha256": "3307ad645f5ce909aa03817adc4334c0f69a0a6ea48eb2e0383457a3d7672b51"
296 + },
297 + {
298 + "file": "20261002033000_request_workflow_d4a_work_queue.sql",
299 + "sha256": "b29c1590a7d66818201c8fefc8ed46cf378b57f9b1972dcae6eb9eee608343d0"
300 + },
301 + {
302 + "file": "20261002070000_request_wave2_duplicate_code_guard.sql",
303 + "sha256": "996d295feb8fa5a12c0973f60c332a426a831d19e3a096944a1f3cf5ddedaca7"
304 + },
305 + {
306 + "file": "20261002071000_request_wave3_decision_idempotency.sql",
307 + "sha256": "e9d6f5cd6214125399b9f54db92c123bb91e6c18fb903bd4c02f6bacfc642434"
308 + },
309 + {
310 + "file": "20261002072000_request_wave4_operational_integrity.sql",
311 + "sha256": "d2ac61fa784851f3d31beefa868997d1d60790216c4e1667322ec6cd9e19be4b"
312 + },
313 + {
314 + "file": "20261002073500_request_wave4b_scheduler_outbox_delivery.sql",
315 + "sha256": "85f0f5fc8626e0852b6a17fa32b44da9e8919c926c9febd486f08a6311263924"
316 + },
317 + {
318 + "file": "20261002080000_identity_wave5a_bootstrap.sql",
319 + "sha256": "3acd8ff4354d5ad5e4d9423f46c879b58b4e3d0d3447f163142ad1a63d928faa"
320 + },
321 + {
322 + "file": "20261007165208_phone_identity_profile.sql",
323 + "sha256": "6ad16165c8039faf295f0353043941b7c8505731cac13e44f0f330899cbaff18"
324 + },
325 + {
326 + "file": "20261011174445_posted_source_idempotency_index.sql",
327 + "sha256": "92002acb5138f927db6094f8d428ed84954a73c3a26b13d73f96165ef0405e7a"
328 + },
329 + {
330 + "file": "20261012080000_fix_identity_bootstrap_license_before_membership.sql",
331 + "sha256": "9cc237ca25ae27cc023b98f12a82b950991b1a21a3e5713cac6c502d2da2f7ff"
332 + }
333 + ],
334 + "unreconciled_production_only": [
335 + "20261001184454",
336 + "20261001184503",
337 + "20261001184545",
338 + "20261001185325",
339 + "20261001190938",
340 + "20261001191221",
341 + "20261001192215",
342 + "20261001192230",
343 + "20261001193827",
344 + "20261001195413",
345 + "20261001195424",
346 + "20261001195459",
347 + "20261001215549",
348 + "20261001215557",
349 + "20261001225044",
350 + "20261002034311",
351 + "20261002063121",
352 + "20261002063123",
353 + "20261002063523",
354 + "20261002063530",
355 + "20261002072526",
356 + "20261002075156",
357 + "20261003033540",
358 + "20261012075507"
359 + ],
360 + "unreconciled_repository_only": [
361 + "20260929222000",
362 + "20260930222500",
363 + "20260930223000",
364 + "20261001204500",
365 + "20261001205500",
366 + "20261001210500",
367 + "20261001211500",
368 + "20261001223500",
369 + "20261001224500",
370 + "20261001230000",
371 + "20261001230500",
372 + "20261001233000",
373 + "20261001235500",
374 + "20261002000500",
375 + "20261002001000",
376 + "20261002010000",
377 + "20261002023000",
378 + "20261002033000",
379 + "20261002070000",
380 + "20261002071000",
381 + "20261002072000",
382 + "20261002073500",
383 + "20261002080000",
384 + "20261012080000"
385 + ]
386 +}
supabase/migrations/20261007165208_phone_identity_profile.sql new
+40
@@ -0,0 +1,40 @@
1 +-- Post-hoc archive of migration already applied to production as 20261007165208.
2 +-- Recovered read-only from supabase_migrations.schema_migrations on 2026-11-02.
3 +-- Do NOT re-apply this migration to production. Statement body below preserved verbatim.
4 +
5 +alter table public.profiles alter column email drop not null;
6 +alter table public.profiles add column if not exists phone text;
7 +create unique index if not exists profiles_phone_unique on public.profiles(phone) where phone is not null;
8 +
9 +create or replace function public.handle_new_user()
10 +returns trigger
11 +language plpgsql security definer set search_path=''
12 +as $$
13 +declare v_username text;v_org_name text;v_org_id uuid;v_identity text;
14 +begin
15 + v_identity:=coalesce(nullif(lower(new.email),''),nullif(new.phone,''));
16 + if v_identity is null then raise exception 'Finora requires an email or phone identity for signup';end if;
17 + v_username:=lower(coalesce(nullif(new.raw_user_meta_data->>'username',''),case when new.email is not null then split_part(new.email,'@',1) else regexp_replace(new.phone,'[^0-9+]','','g') end));
18 + v_org_name:=left(coalesce(nullif(trim(new.raw_user_meta_data->>'full_name'),''),nullif(trim(new.raw_user_meta_data->>'name'),''),nullif(v_username,''),'Finora')||' - شخصی',160);
19 + insert into public.profiles(id,email,phone,username,role,full_name)
20 + values(new.id,case when new.email is null then null else lower(new.email) end,new.phone,v_username,'user',nullif(trim(coalesce(new.raw_user_meta_data->>'full_name',new.raw_user_meta_data->>'name','')),''));
21 + insert into public.organizations(owner_user_id,name,status) values(new.id,v_org_name,'active') returning id into v_org_id;
22 + insert into public.organization_members(organization_id,user_id,status,is_owner) values(v_org_id,new.id,'active',true);
23 + insert into public.licenses(user_id,organization_id,plan,status,starts_at,ends_at,max_companies,max_users,modules,limits)
24 + values(new.id,v_org_id,'trial','trial',current_date,current_date+15,1,1,array['full_suite']::text[],'{}'::jsonb);
25 + return new;
26 +end $$;
27 +revoke all on function public.handle_new_user() from public,anon,authenticated;
28 +
29 +create or replace function public.update_my_identity_profile(new_username text,new_full_name text default null)
30 +returns void language plpgsql security definer set search_path='' as $$
31 +declare v_uid uuid:=auth.uid();v_username text:=lower(trim(coalesce(new_username,'')));
32 +begin
33 + if v_uid is null then raise exception 'Authentication required';end if;
34 + if v_username !~ '^[a-z0-9_.-]{3,40}$' then raise exception 'Username must be 3-40 latin letters, digits, dot, underscore or dash';end if;
35 + if exists(select 1 from public.profiles where lower(username)=v_username and id<>v_uid) then raise exception 'Username already in use';end if;
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 +
supabase/tests/wp0_ledger_reproduction.sql new
+35
@@ -0,0 +1,35 @@
1 +-- Disposable fixture only. D1 and D2 are independent; no customer data.
2 +begin;
3 +insert into auth.users(id,email,raw_user_meta_data) values
4 + ('10000000-0000-4000-8000-000000000001','wp0-a@example.invalid','{}'),
5 + ('10000000-0000-4000-8000-000000000002','wp0-b@example.invalid','{}');
6 +set local role authenticated;
7 +select set_config('request.jwt.claim.sub','10000000-0000-4000-8000-000000000001',true);
8 +do $$ declare org uuid; begin
9 + select id into strict org from public.organizations where owner_user_id=auth.uid();
10 + insert into public.records(owner_id,organization_id,collection,id,data) values
11 + (auth.uid(),org,'journalVouchers','WP0_D1','{"id":"WP0_D1","status":"posted","companyId":"WP0_C","fiscalYearId":"WP0_Y","number":1}'),
12 + (auth.uid(),org,'journalLines','WP0_D1_L1','{"voucherId":"WP0_D1","lineNo":1,"accountId":"a","debit":1000,"credit":0}'),
13 + (auth.uid(),org,'journalLines','WP0_D1_L2','{"voucherId":"WP0_D1","lineNo":2,"accountId":"b","debit":0,"credit":300}');
14 + set constraints all immediate;
15 + if (select sum((data->>'debit')::numeric-(data->>'credit')::numeric) from public.records where collection='journalLines' and data->>'voucherId'='WP0_D1') <> 700 then raise exception 'D1 fixture did not persist expected imbalance'; end if;
16 + raise notice 'D1_REPRODUCED: unbalanced posted voucher accepted (1000/300)';
17 + -- A separate, balanced posted voucher makes D2 independent of D1.
18 + insert into public.records(owner_id,organization_id,collection,id,data) values
19 + (auth.uid(),org,'journalVouchers','WP0_D2','{"id":"WP0_D2","status":"posted","companyId":"WP0_C","fiscalYearId":"WP0_Y","number":2}'),
20 + (auth.uid(),org,'journalLines','WP0_D2_L1','{"voucherId":"WP0_D2","lineNo":1,"accountId":"a","debit":1000,"credit":0}'),
21 + (auth.uid(),org,'journalLines','WP0_D2_L2','{"voucherId":"WP0_D2","lineNo":2,"accountId":"b","debit":0,"credit":1000}');
22 + set constraints all immediate;
23 + if (select sum((data->>'debit')::numeric-(data->>'credit')::numeric) from public.records where collection='journalLines' and data->>'voucherId'='WP0_D2') <> 0 then raise exception 'D2 starting voucher not balanced'; end if;
24 + insert into public.records(owner_id,organization_id,collection,id,data) values
25 + (auth.uid(),org,'journalLines','WP0_D2_L3','{"voucherId":"WP0_D2","lineNo":3,"accountId":"c","debit":5000,"credit":0}');
26 + set constraints all immediate;
27 + if (select count(*) from public.records where collection='journalLines' and data->>'voucherId'='WP0_D2') <> 3 then raise exception 'D2 insertion not persisted'; end if;
28 + raise notice 'D2_REPRODUCED: new line accepted under independent balanced posted voucher';
29 +end $$;
30 +select set_config('request.jwt.claim.sub','10000000-0000-4000-8000-000000000002',true);
31 +do $$ begin
32 + if exists(select from public.records where id like 'WP0_%') then raise exception 'Cross-tenant read leak'; end if;
33 + raise notice 'ISOLATION_READ_PASS: other tenant sees zero fixture rows';
34 +end $$;
35 +rollback;
supabase/tests/wp0_platform_bootstrap.sql new
+34
@@ -0,0 +1,34 @@
1 +-- Disposable PostgreSQL 17 only: minimal Supabase platform surfaces.
2 +-- Application tables, RLS, triggers and functions come from source migrations.
3 +-- Auth service, Storage service, JWT verification, gateway and network are NOT modelled.
4 +create role anon nologin;
5 +create role authenticated nologin;
6 +create role service_role nologin bypassrls;
7 +create schema auth;
8 +create schema storage;
9 +create schema extensions;
10 +create extension pgcrypto with schema extensions;
11 +create table auth.users (
12 + id uuid primary key, instance_id uuid, aud text, role text, email text, phone text,
13 + encrypted_password text, email_confirmed_at timestamptz,
14 + raw_app_meta_data jsonb not null default '{}'::jsonb,
15 + raw_user_meta_data jsonb not null default '{}'::jsonb,
16 + created_at timestamptz default now(), updated_at timestamptz default now()
17 +);
18 +create function auth.uid() returns uuid language sql stable as $$
19 + select coalesce(nullif(current_setting('request.jwt.claim.sub',true),''),
20 + nullif(current_setting('request.jwt.claims',true),'')::jsonb->>'sub')::uuid
21 +$$;
22 +create function auth.jwt() returns jsonb language sql stable as $$
23 + select coalesce(nullif(current_setting('request.jwt.claims',true),'')::jsonb,'{}'::jsonb)
24 +$$;
25 +create table storage.buckets(id text primary key,name text,public boolean,file_size_limit bigint,allowed_mime_types text[]);
26 +create table storage.objects(id uuid primary key default gen_random_uuid(),bucket_id text,name text,owner_id text);
27 +alter table storage.objects enable row level security;
28 +create function storage.foldername(name text) returns text[] language sql immutable as $$
29 + select (string_to_array(name,'/'))[1:array_length(string_to_array(name,'/'),1)-1]
30 +$$;
31 +grant usage on schema auth,storage,extensions to authenticated,anon,service_role;
32 +-- Supabase platform table defaults, not replacements for application RLS policies.
33 +alter default privileges in schema public grant select,insert,update,delete on tables to authenticated;
34 +alter default privileges in schema public grant usage,select on sequences to authenticated;