سامانه صدور فاکتور و حسابداری
docs: record A-F evidence reporting and Issue229 fix-handoff scope
davoodmehraban89 committed
Nov 22, 2026 at 15:49 UTC
865b9727ed05c7df4715ee161f60a14a66120402
1 file changed
+7
PROJECT_STATE.md
+7
@@ -590,3 +590,10 @@ Next action: run and inspect Quality on the latest PR212 head. If any browser te
590
- **Code and boundary:** Only `scripts/wp2-source-approval-boundary-jwt-e2e.mjs` was extended; reuse of approved role-snapshot v2 purchase QA pattern, no SQL schema/migration or product financial JavaScript/RBAC/Auth changes; no mutation of main, hosted DB or historical posted data. Last independently rechecked protected main SHA `dab1a45fcfc4f12e675cfe055e477138cd3e99fa`. PR231 remains Draft, unmerged, unpublished; Issues216 and 229 OPEN. This is a **verified product authorization defect** despite all-green QA.
591
- **Next owner action:** Codex-main independently reviews and implements the existing ADR216 source + linked draft atomic create/update/delete lifecycle and separate `accounting:approve`-authorized Finalize; explicitly deny or remove the legacy `autopost` bypass for create-only users. Then convert both expected-RED real-JWT probes to normal denied-seller/allowed-approver PASS with DB state, rollback, idempotency, concurrency, historical posting invariants and purchase Save browser test; remove two `test.fail` only when truly fixed. No parallel replacement engine or PR217/PR219 destructive posted→draft migration.
592
- **Documentation SHA note:** This entry is a subsequent **documentation-only** commit; all four proven CI verdicts above refer to immutable CODE SHA `bd244962...`, NOT automatically to the new documentation HEAD. Check any newly triggered checks separately; do not merge or release.
593
+
594
+
595
+### 2026-11-22 — FIN-ADR216-P0-FIX-HANDOFF / owner A–F progress request (decision BEFORE handoff work)
596
+- **User continuation:** keep advancing Finora; after each verifiable milestone report very concise A/B/C/D/E/F percentages, not a long report. Existing canonical *six-phase* roadmap is phase 0 audit, 1 server financial core, 2 automatic journal engine, 3 ledger health, 4 UX, 5 sales/release readiness. For reports label these A through F **in that order**, rather than inventing another roadmap. Percentages are conservative *manual evidence-based estimates* of implementation + acceptance on the current product, not claims of CI coverage or a precise numerical metric. Entry baseline (candidate unmerged): A audit/architecture 90%, B financial core 50%, C source-linked draft-first 20%, D ledger integrity 55%, E operational UX 50%, F release readiness 10%. Do not raise these from green QA alone; reduce/revise when acceptance evidence warrants.
597
+- **Verified remote baseline:** [PR231](https://github.com/davoodmehraban89/Factor-easy/pull/231) Draft HEAD `3e10e8c24892b36cc52dbaf4ad2e484793cc077e` docs-only successor of code `bd244962915824d0ad825e99b5cda4d530f18402`; code exact-SHA Quality/WP1/WP2/Security all SUCCESS with confirmed *product* P0 sale/purchase authorization bypass. HEAD Security [45021144844](https://github.com/davoodmehraban89/Factor-easy/actions/runs/45021144844) and WP2 [45021144831](https://github.com/davoodmehraban89/Factor-easy/actions/runs/45021144831) SUCCESS; Quality [45021144879](https://github.com/davoodmehraban89/Factor-easy/actions/runs/45021144879) SUCCESS; WP1 [45021144832](https://github.com/davoodmehraban89/Factor-easy/actions/runs/45021144832) was IN PROGRESS at decision entry (check final before claiming 4/4). main still `dab1a45fcfc4f12e675cfe055e477138cd3e99fa`.
598
+- **Scoped milestone:** trace existing seller/purchase Save, journal RPC, SQL private authorization and source-linked autopost to produce a **precise, non-mutating code-owner implementation handoff** for Issue229/ADR216. The new document `docs/ISSUE229_FIX_ACCEPTANCE_HANDOFF_2026-11-22.md` must enumerate concrete source paths/line anchors, security boundaries, transaction contract, history safety, acceptance probes and rollback plan. Keep it subordinate to the accepted ADR and canonical state, not a parallel product roadmap.
599
+- **Limit:** No new accounting SQL/JS/RBAC/RLS, no DB mutation or hosted access, no merge, release, production or history rewrite; Codex-main owns substantive changes and acceptance. Next: finish handoff, verify exact docs branch and any newly triggered checks, attach to PR231/Issue229, report short A–F estimates with unresolved P0 explicit.