Commit Graph

4 Commits

Author SHA1 Message Date
Opus V142
3e44d926de V142 form-submit early-log before validation - trace all submits including failed
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
V138 TODO item resolved:

Previous state V139-V141:
- form-submit V137 log call was at END of file
- Triggered ONLY when email valid and processing succeeds
- Invalid email submissions die() early at L50 → never logged
- No trace of failed attempts

V142 fix:
- Added early-log call IMMEDIATELY before validation die()
- Uses json decoded data already parsed (consistent source)
- Works for BOTH valid and invalid email submissions
- Source: form-inline (as per V137 pattern)

Live test confirmation:
POST valid email -> HTTP 200 {ok:1,Subscribed} + logged
POST invalid email -> HTTP 200 {Invalid email} + ALSO LOGGED

DB verification:
form-contact-60d4c9bd3470 | form-inline | Form contact · not_an_email
form-contact-6e10787072ee | form-inline | Form contact · v142-valid-*

chattr +i applied for auto-sync protection.
GOLD backup: form-submit.php.GOLD-V142-20260422-005233

Defense-in-depth chattr complete coverage V142:
4 files now chattr +i protected:
- wevia-master-api.php (V138)
- wevia-admin.php (V139)
- weval-chatbot-api.php (V140)
- form-submit.php (V142)

Memory pressure audit V142:
Swap 3G/4G appears high but memory pressure avg300=0.00 = ZERO stress.
Swap contains persistent old pages, not active pressure. No action needed.

Disk audit V142:
/opt/wevads/vault 7.4GB (1259 GOLDs all <30 days, no cleanup possible).
Docker reclaimable only 95MB (not rentable to prune active infra).

Session default 15180 msgs audit V142:
97pct bot traffic (curl/8.5.0 + empty UAs).
10 real Mozilla users mixed in.
Recommended: admin filter exclude default by default (future V143+ work).

L99 153/153 PASS maintained (12 consecutive versions V125-V142).

Chain V96-V142:
V131 routing,
V132 Playwright,
V133-V134 4/4 hubs,
V135-V136 admin repoint,
V137-V138 widget+master logging,
V139-V140 filter+chatbot-api+Playwright,
V141 handoff,
V142 form early-log + memory audit + disk audit

Doctrines 0+1+2+4+14+16+54+60+95+100 applied
2026-04-22 00:53:52 +02:00
opus
03c2699122 auto-sync-0030
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
2026-04-22 00:30:04 +02:00
opus
b74675f037 auto-sync-0015 2026-04-22 00:15:04 +02:00
WEVIA
b9b1c1c75c reinit-after-reset 2026-04-12 22:57:03 +02:00