Child of web-jam-tools#875 ("book-gig skill phase 2 enhancements (Epic)").
What this builds
Enhances the response tracking pipeline (deno task book-gig --replies / src/book-gig/replies.ts) and backend reply detection to automatically identify email delivery failures (Mail Delivery Subsystem, 550 User unknown, Address not found, or SMTP bounce notifications) and automatically update the corresponding venue record via PATCH /venue/:id with outreachEligible: false and a timestamped note detailing the bounce.
- Updates reply classifier in
src/book-gig/ to recognize bounce notifications and associate them with the original recipient venue.
- Calls
PATCH /venue/:id to set outreachEligible: false and record the bounce in notes, preventing dead emails from entering subsequent candidate pools.
- Surfaces a prominent
[BOUNCE DETECTED] warning in the replies status table.
- Adds automated unit tests covering bounce email parsing and automated venue eligibility updating.
Acceptance criteria
- When
--replies detects a bounce notification for a venue, that venue is updated in MongoDB with outreachEligible: false.
- Bounced venues are highlighted in the
--replies status table and review artifacts.
deno task test, deno task fmt:check, deno task lint, and deno task sast pass 100% green.
Child of web-jam-tools#875 ("book-gig skill phase 2 enhancements (Epic)").
What this builds
Enhances the response tracking pipeline (
deno task book-gig --replies/src/book-gig/replies.ts) and backend reply detection to automatically identify email delivery failures (Mail Delivery Subsystem,550 User unknown,Address not found, or SMTP bounce notifications) and automatically update the corresponding venue record viaPATCH /venue/:idwithoutreachEligible: falseand a timestamped note detailing the bounce.src/book-gig/to recognize bounce notifications and associate them with the original recipient venue.PATCH /venue/:idto setoutreachEligible: falseand record the bounce in notes, preventing dead emails from entering subsequent candidate pools.[BOUNCE DETECTED]warning in the replies status table.Acceptance criteria
--repliesdetects a bounce notification for a venue, that venue is updated in MongoDB withoutreachEligible: false.--repliesstatus table and review artifacts.deno task test,deno task fmt:check,deno task lint, anddeno task sastpass 100% green.