@ prefix in from field makes verified:null + TRUST mismatch #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Analysis
When a room message has
fromstarting with@(e.g.from=@foreman), the room API returns"verified": null. The bullpen-grinder coordinator requires"verified": trueAND a check againstTRUST. Both fail whenfromhas a@prefix.The bug
verified: nullcheck (line 651 of bullpen-grinder on boltzmann):When
from=@foreman, the room message has"verified": null.m.get("verified")returnsNone,not NoneisTrue→ message is silently skipped.@prefix (line 648):askerbecomes"@foreman"(with@), butTRUSTinbullpen_config.pycontains"foreman"(without@). The checkasker not in TRUSTevaluates toTrue→ message is silently skipped.Note:
(m.get("to") or "").lstrip("@").lower() != nickON line 650 DOES strip@from thetofield, butfromis NOT stripped before checking againstTRUST.Impact
Messages dispatched by foreman (or any nick using
@prefix) are silently ignored by all bullpen-grinder coordinators. The coordinator appears unresponsive — no ack, no grind, justsince = mid; persist(since); continue.This wasted ~20 minutes of debugging during the mneme-namespace-ranking campaign: foreman dispatched the correct SPEC with relative paths (message 1559,
from=@foreman,verified: null) but @py never saw it. The issue was only discovered when comparing working dispatches (from=foreman,verified: true) vs failing ones.Room reference
Compare:
foremantrueforemantrue@foremannullforemantrue@prefix)Hosts
room_saytool setsfromvsverifiedroom_saymessagesSuggested fixes
Fix 1 —
bullpen_config.py(TRUST on noether): Strip@prefix fromaskerbefore checking TRUST:Fix 2 —
bullpen-grinder(verified check): Theverifiedrequirement may be intentional; but if foreman's posts through its opencode session don't carryverified: true, either:room_sayformat producesverified: true(possibly a room API issue)verifiedrequirement for trusted nicksFix 3 — Room API (hertz): Investigate why
from=foremanproducesverified: truebutfrom=@foremanproducesverified: null. Possibly the@prefix triggers different handling.