@davoodmehraban89 / Factor-easy / commits / be363b1
Fork 0

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

docs: record FIN-INTEGRATION-A01 scope and verified baseline before implementation

davoodmehraban89 committed Nov 24, 2026 at 11:06 UTC be363b1e0f681b9939d790877e4df13c210880ad
1 file changed +7
PROJECT_STATE.md
+7
@@ -669,3 +669,10 @@ Next action: run and inspect Quality on the latest PR212 head. If any browser te
669 - **Conservative owner final-only A–F estimates (manual, unchanged):** A architecture/audit **90%**; B finance server **50%**; C source-linked draft lifecycle **20%**; D ledger health **55%**; E operational UI **53%**; F release readiness **10%**. Integrated QA does not repair atomic Save or server JWT approval boundary, so no C/F advancement is defensible.
670 - **Next scope and owner dependency:** Any actual additive server RPC/migration/schema/permission enforcement, **even disposable test DB only**, requires explicit separately scoped owner approval. Once given, Codex-main should implement atomic source+linked balanced journal **DRAFT** on sale/purchase/correction Save, independent server `accounting:approve` Finalize and fail-closed legacy autopost, permanent historical numbering, reversal audit and idempotency/rollback. Convert product expected RED and real JWT probes to **genuine PASS** after fix and re-run. No Production access authorized.
671 - **After-verification documentation successor** to this exact code SHA will trigger its own branch CI. Its statuses must be checked separately; do not transfer four-code-sha gate verdicts to docs-only descendant.
672 +
673 +
674 +### 2026-11-24 — FIN-INTEGRATION-A01 — owner-authorized long-term execution, before implementation
675 +- Owner designates this execution environment as sole financial implementation owner on a new isolated integration candidate; Codex-main is integration manager/reviewer. Charter `docs/agent-workflow/LONG_TERM_EXECUTION_CHARTER_2026-11-24_FA.md` at PR250 head `136672455ae62af86f212f16adec9a212ef36962` read. No merge, deploy, hosted DB, or historical conversion authorized here.
676 +- Live main `dab1a45fcfc4f12e675cfe055e477138cd3e99fa`; selected PR234 `bc4f2a8b18b13bea2ab6ffdd333fa883e31dd02a` (PR218 ancestor, ahead 86/behind 0); exact-head Quality 45044439055, WP1 45044439127, WP2 45044439058, Security 45044439071 SUCCESS. Known expected REDs remain defects, not acceptance.
677 +- Isolated branch `integration/finora-execution-20261124`. PR250 diverges from PR234 at PR218; transfer only reviewed pending-edit code/tests, retain QA workflow additions and append documentation, no SQL changes. PR250 Quality 45348728186 FAILED: phase5-behavior-check concurrent unique conflict was not reconciled from server; WP2 45348728468/Security 45348728249 SUCCESS, WP1 45348728321 in progress at observation. PR249 head 90172b8a7db22358159514969da28a411d00c871 inherits PR219; Quality 45347769636 and WP2 45347769542 FAILED; no wholesale merge. All six issues 229/245/246/248/238/223 open.
678 +- A01 scope: ancestry and selective PR250 integration, reconcile old conflict-reload assertion with preservation/explicit reconciliation contract (no test weakening); retain real JWT and browser expected RED sentinels. Acceptance: exact-head Quality/WP1/WP2/Security and Codex review. Local git clone blocked by DNS in chat runtime; connector permits file/branch/PR writes, CI is remote. Next: compare actual file blobs against PR218 and PR250; inspect phase5 behavior fixture and all changed code. Transfer atomically if possible; do not claim tests until actual runs. A01 is in progress; C/D depend on acceptance, #223 read-only QA preparation independent.