engine-adapters: notifier-smtp — alert email from notify@mail.matou.nz; the family closes #173
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Parent
Engine-adapters child spec: #161 (ADRs 0102–0107; scoped on wayfinder #160 — Ben ruled live: per-family clan-lab smokes gate each family, the arc closes on a real-hardware end-to-end, tickets arm the swarm). Everything else agent-decided, post-hoc review pending.
What to build
The real Notifier (ADR 0106, wiring #85's standing ruling — not reopening it): SMTP submission to Matou-operated mail as notify@mail.matou.nz, per-community submission credentials as clan vars, bounded retry, failure recorded through the log pipeline with the operator-app channel still carrying the raise — never a silent loss, never a fabricated success, no durable outbox. Family close replaces the resting Notifier in main.go.
Acceptance criteria
Blocked by
Task manifest
Done — the notifier family closes.
The real
monitor.Notifier(ADR 0106, wiring Ben's #85 ruling): newinternal/notifyadapter submits alert email fromnotify@mail.matou.nzover SMTP to Matou-operated mail, per-community submission credentials as clan vars.notify@mail.matou.nz.Seam: adapter contract tests against a local in-process SMTP sink (
internal/notify/notify_test.go) — real net/smtp submission proven for AC1, both a fake-submitter exhaustion and a real sink rejection for AC2.Family close (ADR 0107):
main.gorestingControlPlanethreads a real notifier;productionNotifierreads the gateway's submission clan vars (OURCLOUD_SMTP_ADDR/FROM/USERNAME/PASSWORD) or rests as the honest no-op (nil) when unconfigured. The aggregation loop that drives it starts only when the composition root is whole (compose-aggregation-loop #181). Clan-lab smoke proof is #179.Commit
b12a8dfonorigin/main.go build ./...+go test ./...green.