سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 4, 08:00 UTC
CI: fix Wave 5a Dependency Graph safety regex
davoodmehraban89 committed
Oct 2, 2026 at 11:05 UTC
a60fd54b9834f76d412dbc6a054a4a47584df6be
2 files changed
+3
-2
PROJECT_STATE.md
+1
@@ -14,6 +14,7 @@ This is high-assurance accounting/ERP software. Posted financial history, tenant
14
## Current change ledger
15
| Date | Request / decision | Status | Evidence / next action |
16
|---|---|---|---|
17
+| 2026-10-02 | Second CI retest showed the safety-check regex itself was over-escaped. | **REGEX FIXED / RETEST PENDING** | Normalized regex literals to match the workflow labels/variable gate exactly; no runtime/product behavior changed. |
18
| 2026-10-02 | CI retest exposed a literal `\\n` introduced while editing the release-safety checker. | **TEST SYNTAX FIXED / RETEST PENDING** | Replaced the escaped text with a real newline; product/runtime code was unaffected. |
19
| 2026-10-02 | Release-safety invariant initially rejected the explicit Dependency Graph availability gate. | **TEST CONTRACT FIXED / RETEST PENDING** | Safety checker now requires both properties: Dependency Review is conditional on `DEPENDENCY_GRAPH_ENABLED=true`, and remains fail-closed whenever enabled. |
20
| 2026-10-02 | Wave 5a identity/signup/invitation bootstrap remediation (WS-01, F-121/F-122 and OTP bootstrap boundary). | **IMPLEMENTED ON BRANCH / CI PENDING** | New Auth user bootstrap is transactional profile → personal org → owner membership → org-bound trial license; base client identity no longer requires personal license; OTP login cannot create users; signup is explicit; invitation acceptance occurs before org-context load. Added disposable-DB, static and Real-DOM gates. Production migration and persistent two-user E2E remain NOT VERIFIED. |
scripts/release-safety-check.mjs
+2
-2
@@ -25,8 +25,8 @@ must(/menu item did not change navigation\/view state/.test(qa), 'menu crawl mus
25
must(/retention-days:\s*3/.test(qa), 'QA evidence retention must remain minimal');
26
27
must(!/continue-on-error\s*:\s*true/i.test(security), 'security workflow must not fail open');
28
-must(/Dependency review \\(fail closed when Dependency Graph is enabled\\)/.test(security), 'dependency review must remain fail closed when enabled');
29
-must(/vars\\.DEPENDENCY_GRAPH_ENABLED == 'true'/.test(security), 'dependency review must be gated on explicit Dependency Graph availability');
28
+must(/Dependency review \(fail closed when Dependency Graph is enabled\)/.test(security), 'dependency review must remain fail closed when enabled');
29
+must(/vars\.DEPENDENCY_GRAPH_ENABLED == 'true'/.test(security), 'dependency review must be gated on explicit Dependency Graph availability');
30
31
must(gate.length > 0, 'exact-SHA promotion gate workflow must exist');
32
must(/workflow_run/.test(gate), 'promotion gate must be driven by completed required workflows');