Name: [IMP] viin_brain,viin_web_editor: UI hardening v1 (token + polish + Odoo-native + v2 seams)

State: Killed

PR State: merged

PR Author: David Tran

PR Author Email:

PR: #27

Committer: David Tran

Committer Email: davidtran.hp@gmail.com

Commit: a81f02b5fd137105f9846d4c6d456f61a99094b6

Description:

                                            [ADD] tools: brain_v3_ci_check Rule 12 — no demo ref in tests (round 4 sprint C)

Add CI guard preventing reintroduction of env.ref('*.demo_*') in test
files across all 14 ai17 modules. Rule scans tests/test_*.py and
tests/*_tests.py, skipping:
- Python comment lines (#-prefixed)
- Multi-line docstring blocks (tracked via triple-quote parity)
- Files containing the marker '# CI-RULE12-EXEMPT: <reason>'

Wired into main checkers list. Strict-mode invariant updates from
8 PASS / 1 pre-existing WARN baseline → 9 PASS / 1 pre-existing WARN
(rule2 contenteditable=14 unchanged).

Verified:
  $ python3 tools/brain_v3_ci_check.py --strict
  ✓ rule12_no_demo_ref_in_tests: Zero demo refs in test files across
    14 module(s); 0 file(s) exempt via marker.

Refs PR #27.
                                            

Branch: 17.0

Instance ID: 0

Age:

Up-time: Not finished