---
template_id: pmdr
template_name: Product Management Decision Record
version: 1.0
variables:
  - name: number
    type: number
    required: true
    auto: next_pmdr_number
  - name: title
    type: string
    required: true
    prompt: "Title of the product decision:"
  - name: status
    type: choice
    required: true
    choices: [Draft, Under Review, Approved, Rejected, Superseded]
    default: Draft
  - name: owner
    type: string
    required: true
    prompt: "Who is the decision owner?"
  - name: stakeholders
    type: array
    required: true
    prompt: "Who are the stakeholders? (comma-separated):"
  - name: context
    type: text
    required: true
    prompt: "What is the business/product context?"
  - name: decision
    type: text
    required: true
    prompt: "What is the product decision being made?"
  - name: businessImpact
    type: text
    required: true
    prompt: "What is the business impact?"
  - name: successMetrics
    type: array
    required: true
---

# PMDR {{padNumber number 3}}: {{title}}

**Status:** {{status}}
**Date:** {{formatDate now "YYYY-MM-DD"}}
**Owner:** {{owner}}

---

## Stakeholders

{{#each stakeholders}}
- {{this}}
{{/each}}

---

## Context

### Business Context
{{context}}

{{#if currentState}}
### Current State
{{currentState}}
{{/if}}

{{#if problemStatement}}
### Problem Statement
{{problemStatement}}
{{/if}}

---

## Decision

{{decision}}

{{#if rationale}}
### Rationale
{{rationale}}
{{/if}}

---

## Business Impact

### Expected Impact
{{businessImpact}}

{{#if revenueImplications}}
### Revenue/Cost Implications
- **Revenue:** {{revenueImplications}}
{{/if}}
{{#if costImplications}}
- **Cost:** {{costImplications}}
{{/if}}

{{#if customerImpact}}
### Customer Impact
{{customerImpact}}
{{/if}}

---

## Success Metrics

| Metric | Current | Target | Timeline |
|--------|---------|--------|----------|
{{#each successMetrics}}
| {{this.metric}} | {{default this.current "N/A"}} | {{this.target}} | {{default this.timeline "TBD"}} |
{{/each}}

---

{{#if implementationPhases}}
## Implementation

### Phases
{{#each implementationPhases}}
1. **{{this.name}}** ({{this.duration}}): {{this.description}}
{{/each}}
{{/if}}

{{#if dependencies}}
### Dependencies
{{#each dependencies}}
- {{this}}
{{/each}}
{{/if}}

{{#if risks}}
### Risks
| Risk | Impact | Mitigation |
|------|--------|------------|
{{#each risks}}
| {{this.risk}} | {{this.impact}} | {{this.mitigation}} |
{{/each}}
{{/if}}

---

{{#if alternatives}}
## Alternatives Considered

{{#each alternatives}}
### Option {{add @index 1}}: {{this.name}}

{{this.description}}

**Why Not Chosen:** {{this.whyNot}}
{{/each}}
{{/if}}

---

## Approval

{{#if approvals}}
| Stakeholder | Decision | Date | Notes |
|-------------|----------|------|-------|
{{#each approvals}}
| {{this.stakeholder}} | {{this.decision}} | {{this.date}} | {{default this.notes "-"}} |
{{/each}}
{{else}}
_Pending approval._
{{/if}}

---

## Related Decisions

{{#if relatedPMDRs}}
{{#each relatedPMDRs}}
- [PMDR {{this.number}}](./pmdr-{{padNumber this.number 3}}.md): {{this.title}}
{{/each}}
{{else}}
_No related decisions._
{{/if}}

---

**Generated by:** AIOX Template Engine v2.0
**Template Version:** pmdr-1.0
