{% extends "base.html" %} {% block content %}

Delivery State

{% if error %} {% elif summary %}
Project Scope
Project
{{ summary.project_id }}
Repo
{{ summary.repo_id or "All" }}
Context
{{ summary.bounded_context or "All" }}
Environment
{{ summary.environment or "All" }}
Applied Filters
Agent Role
{{ summary.applied_filters.agent_role or "All" }}
Outcome Label
{{ summary.applied_filters.outcome_label or "All" }}
Artifact Type
{{ summary.applied_filters.artifact_type or "All" }}
Wave
{{ summary.applied_filters.wave_id or "All" }}
Release
{{ summary.applied_filters.release_id or "All" }}
{% if summary.drilldown.wave %}
Wave Drilldown

Wave: {{ summary.drilldown.wave.wave_id }}

Artifacts: {{ summary.drilldown.wave.artifact_count }}

Task: {{ summary.drilldown.wave.task_prompt_head or "n/a" }}

Reply: {{ summary.drilldown.wave.reply_head or "n/a" }}

{% if summary.drilldown.wave.reuse_validation.count %}

Reuse validations: {{ summary.drilldown.wave.reuse_validation.count }}

{% endif %} {% if summary.drilldown.wave.artifact_type_counts %}
Artifact Types
{% endif %} {% if summary.drilldown.wave.reuse_validation.recommendation_counts %}
Reuse Validation Recommendations
{% endif %}
{% endif %} {% if summary.drilldown.release %}
Release Drilldown

Release: {{ summary.drilldown.release.release_id }}

Status: {{ summary.drilldown.release.status or "n/a" }}

Artifacts: {{ summary.drilldown.release.artifact_count }}

Verification Runs: {{ (summary.drilldown.release.verification_refs or []) | join(", ") or "n/a" }}

Generation Waves: {{ (summary.drilldown.release.wave_refs or []) | join(", ") or "n/a" }}

{% if summary.drilldown.release.reuse_validation.count %}

Reuse validations: {{ summary.drilldown.release.reuse_validation.count }}

{% endif %} {% if summary.drilldown.release.reuse_validation.recommendation_counts %}
Reuse Validation Recommendations
{% endif %}
{% endif %}
Entity Counts
{% if summary.entity_counts %}
    {% for entity_type, count in summary.entity_counts.items() %}
  • {{ entity_type }} {{ count }}
  • {% endfor %}
{% else %}

No entities found for this scope.

{% endif %}
Provenance Summary

Agent runs: {{ summary.provenance.agent_run_count }}

Artifacts: {{ summary.provenance.artifact_count }}

Contract artifacts: {{ summary.provenance.contract_artifact_count }}

Reuse validations: {{ summary.provenance.reuse_validation.count }}

Generation waves: {{ summary.provenance.wave_count }}

Releases: {{ summary.provenance.release_count }}

Facts tracked: {{ summary.fact_count }}

Roles
{% if summary.provenance.agent_role_counts %}
    {% for role, count in summary.provenance.agent_role_counts.items() %}
  • {{ role }} {{ count }}
  • {% endfor %}
{% else %}

No agent provenance has been recorded yet.

{% endif %}
Outcome Labels
{% if summary.provenance.outcome_label_counts %}
    {% for outcome_label, count in summary.provenance.outcome_label_counts.items() %}
  • {{ outcome_label }} {{ count }}
  • {% endfor %}
{% else %}

No outcome labels were recorded for the current filter set.

{% endif %}
Artifact Types
{% if summary.provenance.artifact_type_counts %}
    {% for artifact_type, count in summary.provenance.artifact_type_counts.items() %}
  • {{ artifact_type }} {{ count }}
  • {% endfor %}
{% else %}

No artifacts were recorded for the current filter set.

{% endif %}
Reuse Validation Recommendations
{% if summary.provenance.reuse_validation.recommendation_counts %}
    {% for recommendation, count in summary.provenance.reuse_validation.recommendation_counts.items() %}
  • {{ recommendation }} {{ count }}
  • {% endfor %}
{% else %}

No reuse validations were recorded for the current filter set.

{% endif %}
Recent Agent Runs
{% if summary.provenance.recent_agent_runs %} {% if summary.provenance.approval %}
Approval Summary: approved actions={{ summary.provenance.approval.approved_action_count or 0 }}, denied actions={{ summary.provenance.approval.denied_action_count or 0 }} {% if summary.provenance.approval.authority_level_counts %} authority levels: {% for authority_level, count in summary.provenance.approval.authority_level_counts.items() %} {{ authority_level }}={{ count }}{% if not loop.last %}, {% endif %} {% endfor %} {% endif %}
{% endif %}
{% for run in summary.provenance.recent_agent_runs %} {% endfor %}
Agent ID Role Authority Status Approved / Denied Outcome Labels Wave Release Contract Summary
{{ run.agent_id }} {{ run.role or "unknown" }} {{ run.authority_level or "n/a" }} {{ run.status or "unknown" }} {{ run.approved_action_count or 0 }} / {{ run.denied_action_count or 0 }} {{ (run.outcome_labels or []) | join(", ") or "n/a" }} {{ (run.wave_refs or []) | join(", ") or "n/a" }} {{ (run.release_refs or []) | join(", ") or "n/a" }} {{ run.contract_type or "n/a" }} {{ run.summary or "No summary available." }}
{% else %}

No agent-run provenance has been recorded for this scope yet.

{% endif %}
Recent Artifacts
{% if summary.provenance.recent_artifacts %}
{% for artifact in summary.provenance.recent_artifacts %} {% endfor %}
Artifact ID Type Status Wave Release File/Ref Description
{{ artifact.artifact_id }} {% if artifact.artifact_type == "reuse_validation_result" %}
View JSON {% endif %}
{{ artifact.artifact_type or "unknown" }} {{ artifact.status or "n/a" }} {{ artifact.wave_id or "n/a" }} {{ artifact.release_id or "n/a" }} {{ artifact.file_path or artifact.reference_id or "n/a" }} {{ artifact.description or artifact.name or "No description available." }}
{% else %}

No artifacts have been recorded for this scope yet.

{% endif %}
Recent Reuse Validations
{% if summary.provenance.reuse_validation.recent_validations %}
{% for item in summary.provenance.reuse_validation.recent_validations %} {% endfor %}
Artifact ID Recommendation Reference Target Repos Resolved Source Checks
{{ item.artifact_id }}
View JSON
{{ item.recommendation or item.status or "n/a" }} {{ item.reference_project_id or "n/a" }}/{{ item.reference_repo_id or "n/a" }}
{{ item.reference_symbol_id or item.reference_entity_id or "n/a" }}
{{ (item.target_repo_ids or []) | join(", ") or "n/a" }} {{ item.resolved_reference_source_path or "n/a" }} {{ (item.check_summaries or []) | join("; ") or "n/a" }}
{% else %}

No reuse validations have been recorded for this scope yet.

{% endif %}
{% else %} {% endif %} {% endblock %}