Solid write-up - the dual-write framing and the SKIP LOCKED relay are exactly right. Two things I would add for anyone taking this to production:
Per-aggregate ordering is not automatic just because you set the Kafka partition key. With several relay workers and FOR UPDATE SKIP LOCKED, worker A can grab event #1 for an order while worker B grabs event #2 for the same order and publishes it first. Either serialize per aggregate in the relay (advisory lock on aggregate_id) or attach a per-aggregate sequence number and have consumers reject stale ones.
The outbox only fixes the producer side. If the broker loses the message after the relay marks the row as sent (non-durable topic, or a consumer that acks and then dies), the event is gone again. End-to-end still needs a durable log plus consumer-side dedupe on the outbox row id - the same unique-constraint table you describe - and a replay path that can republish from the outbox.
Good call on the outbox-lag metric; it is the one signal that separates "quietly broken" from "working". A pg_notify in the same transaction also cuts relay latency for free until you move to Debezium.