diff --git a/docs/superpowers/plans/2026-07-09-langflow-projekt-matching.md b/docs/superpowers/plans/2026-07-09-langflow-projekt-matching.md index 7a10623..2dbca9d 100644 --- a/docs/superpowers/plans/2026-07-09-langflow-projekt-matching.md +++ b/docs/superpowers/plans/2026-07-09-langflow-projekt-matching.md @@ -2119,8 +2119,9 @@ class PMNotify(Component): def build_out(self) -> Message: cfg = Cfg(imap_password=self.imap_password, notify_to=self.notify_to) - ctx = stages.run_stage("notify", stages.stage_notify, - dict(self.ctx.data), cfg) + # stage_notify is called DIRECTLY (not via run_stage): it must run for + # every terminal status so failed runs still post their Langfuse trace. + ctx = stages.stage_notify(dict(self.ctx.data), cfg) self.status = ctx.get("status", "") return Message(text=stages.summary(ctx)) ```