{% extends "base.html" %} {% block title %}Living Docs{% endblock %} {% block actions %} {% endblock %} {% block content %} {% set summary = health.summary or {} %} {% set quality = health.quality or {} %}

Workspace

{% if config.has_help_dir %}.help ✓ {% else %}no .help{% endif %}

Health

{{ summary.total or 0 }}
Total
{{ summary.current or 0 }}
Current
{{ summary.stale or 0 }}
Stale
{{ summary.missing or 0 }}
Missing
{% if quality.get('faithfulness') is not none %}
Faithfulness (End User) {{ '%.0f' % (quality.faithfulness * 100) }}%
Strict Accuracy (Developer) {{ '%.0f' % (quality.strict_accuracy * 100) }}%
{% endif %}

Documents ({{ rows|length }})

{% if rows %}
{% for row in rows %} {% endfor %}
Feature Depth Persona Status Reason
{{ row.feature }} {{ row.depth }} {{ row.persona }} {% if row.computed_state == 'current' %} current {% elif row.computed_state == 'stale' %} stale {% elif row.computed_state == 'missing' %} missing {% elif row.computed_state == 'pending-review' %} pending review {% elif row.computed_state == 'regenerating' %} regenerating {% elif row.computed_state == 'errored' %} errored {% endif %} {{ row.reason or '—' }} {% if row.computed_state in ('stale', 'missing') %} {% elif row.computed_state == 'pending-review' %}
{% if row.diff_summary %}
{{ row.diff_summary }}
{% endif %} {% elif row.computed_state == 'regenerating' %} regenerating… {% elif row.computed_state == 'errored' %}
{{ (row.regen_job_error or 'error')[:60] }}
{% endif %}
{% else %}

No documents found in the current workspace.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}