auto-sync-2225
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled

This commit is contained in:
Opus
2026-04-23 22:25:02 +02:00
parent 8059ba10bd
commit ec2b7be5ed
10 changed files with 696 additions and 5 deletions

View File

@@ -8,3 +8,18 @@
- **Commit**: c5331b02a
- **Tag**: opus-gold-post-wave277-propagation-2134
- **NR**: 153/153 preserved
## Wave-277 Phase-6 (2026-04-23 22:20)
**Root cause fix: WEVIA Master normalizer lowercase bug** (doctrine 6 strike rule)
- **Problem**: `master add intent X :: Y :: Z` stored cmd via `mb_strtolower``curl -X POST` became `curl -x post` (invalid proxy), `-H` became `-h` (wrong flag) → intents using curl with POST/headers broken
- **Root cause**: /var/www/html/api/wevia-master-api.php ligne 159 applies mb_strtolower to whole message BEFORE capturing regex groups
- **Fix**: double regex match - lowercased version for pattern detection + original string for group capture (preserves case)
- **Test**: test_preserve_case intent with curl -X POST -H stored correctly as-is ✅
- **File**: api/wevia-master-api.php (1344 lines)
- **Commit**: 819890bd8 (auto-sync captured the patch)
- **Tag**: opus-gold-wave277-phase6-normalizer-fix
- **NR**: 153/153 preserved
**Impact**: wire_cmd restrictions leveed. Any future intent with curl -X POST -H or other case-sensitive shell flags now works.