{% extends "base.html" %} {% block title %}Requirements — {{ session.customer_name or 'Session' }} | ICDEV™{% endblock %} {% block content %}
{{ classification_banner }}
← Back to Chat 📄 View PRD {{ requirements|length }} requirement{{ 's' if requirements|length != 1 else '' }}

Requirements Document

{{ session.customer_name or 'Dashboard User' }}{% if session.customer_org %} — {{ session.customer_org }}{% endif %}  ·  Session {{ session.id }}

{{ session.impact_level or 'IL4' }} {{ (session.session_status or 'active')|title }} {% if readiness %} Readiness {{ (readiness.overall * 100)|round(0)|int }}% {% endif %}
{{ requirements|length }}
Total Reqs
{{ requirements|selectattr('priority','equalto','high')|list|length }}
High Priority
{{ requirements|selectattr('status','equalto','validated')|list|length }}
Validated
{{ req_types|length }}
Categories
{% if frameworks %}
Compliance Frameworks
{% for fw in frameworks %} {{ fw }} {% endfor %}
{% endif %}
{% if readiness %}

Readiness Score

{{ (readiness.overall * 100)|round(0)|int }}%
Overall
{% for dim, val in readiness.dimensions.items() %}
{{ dim }}
{{ (val*100)|round(0)|int }}%
{% endfor %}
{% endif %} {% if requirements %} {% for type_key, type_label, type_reqs in grouped_requirements %}
{{ type_label }} {{ type_reqs|length }} requirement{{ 's' if type_reqs|length != 1 else '' }}
{% for req in type_reqs %}
{{ req.id }}
{{ req.refined_text or req.raw_text }}
{{ (req.priority or 'medium')|title }} {{ (req.status or 'draft')|title }}
{% if req.acceptance_criteria %}
Acceptance Criteria
{{ req.acceptance_criteria }}
{% endif %} {% if req.compliance_impact %}
Compliance Impact
{{ req.compliance_impact }}
{% endif %}
{% endfor %}
{% endfor %} {% else %}
📋
No requirements captured yet for this session.
{% endif %}
{{ classification_banner }}  ·  Generated {{ generated_at }}  ·  ICDEV™ Requirements Management
{% endblock %}