Public excerpt
Locked
Rewrite the debate as one decision question, rank the drivers, steel-man every option (pros, cons, build and run cost, one-way or two-way door), score them in a weighted matrix with the weights shown, then consequences and a review trigger…
About this prompt
Turns a technical debate into a short, neutral ADR in MADR format: decision question, ranked decision drivers, each option steel-manned with costs and reversibility, a weighted matrix with visible weights, consequences, and the signal that should trigger a review. Mistral is chosen for concise, structured writing.
Example output
Decision question: Which broker should carry order events between checkout, stock and invoicing for the next 3 years?
STEP 4 — Matrix (excerpt)
| Driver | Weight | Managed queue (cloud) | Self-hosted Kafka | Postgres outbox + polling |
| Operability with 2 on-call devs | 30 | 5 — no servers to patch | 2 — cluster ops skills missing | 4 — DB already run |
| Cost at 10× volume | 20 | 3 — [TO CHECK] pricing per million | 4 | 4 |
| Replay of past events | 20 | 2 — limited retention | 5 | 3 |
| Time to first delivery | 15 | 4 | 2 | 5 |
| Lock-in | 15 | 2 | 4 | 5 |
| Weighted total | 100 | 3.40 | 3.30 | 4.10 |
Sensitivity: swapping the top two weights (30 ↔ 20) → outbox still first (4.10 vs 3.50 for Kafka).
# ADR-0014: Use a transactional outbox in PostgreSQL for order events
Status: Proposed — Date: [DATE]
…
Revisit when: more than 200 events/s sustained, or a third consumer team needs replay beyond 7 days.
Details
- Model
- Mistral (Le Chat)
- Prompt language
- English
- Who it's for
- Tech leads, architects and senior engineers who need to record a decision the team can revisit later
- Length
- ~581 tokens (estimate)
- Delivered as
- Prompt text, shown online after purchase
- Category
- Code & Development
Reviews
No reviews yet. Only buyers of this prompt can leave one.