# Roadmap Markdown template - renders docs/roadmap.yaml to docs/ROADMAP.md
# {{ project_name }} Roadmap

## Current Project Lifecycle Stage

{% if lifecycle %}
**Stage**: {{ lifecycle.current_stage }}
{% if lifecycle.start_date %}**Started**: {{ lifecycle.start_date }}{% endif %}
**Description**: {{ lifecycle.description }}

### Stage Focus
{% if lifecycle.focus %}
{% for focus in lifecycle.focus %}
- {{ focus }}
{% endfor %}
{% endif %}

### Stage Principles
{% if lifecycle.principles %}
{% for principle in lifecycle.principles %}
- {{ principle }}
{% endfor %}
{% endif %}
{% endif %}

---

## Milestones

{% if milestones %}
{% for milestone in milestones %}
### {{ milestone.milestone_version or milestone.id }} - {{ milestone.title }}

{% if milestone.status %}**Status**: {{ milestone.status }}{% endif %}
{% if milestone.date %}**Date**: {{ milestone.date }}{% endif %}

{% if 'items' in milestone and milestone['items'] %}
{% for item in milestone['items'] %}
- [{{ 'x' if item.done else ' ' }}] {{ item.description }}
{% endfor %}
{% endif %}

{% endfor %}
{% endif %}

---

## Iteration Suggestion Pool

{% if iteration_pool %}
{% for item in iteration_pool %}
- {{ item.symbol }} {{ item.description }}
{% endfor %}
{% else %}
(None)
{% endif %}

---

## Stage History

{% if lifecycle.stage_history %}
{% for entry in lifecycle.stage_history %}
- **{{ entry.stage }}**: {{ entry.started_at }}{% if entry.completed_at %} - {{ entry.completed_at }}{% endif %}
{% endfor %}
{% endif %}

---

*Last updated: {{ today }}*
