{% extends "base.html" %} {% load scoped_tags %} {% block title %}Audit Entry{% endblock %} {% block page_title %}Audit Entry{% endblock %} {% block page_subtitle %}Trace {{ entry.trace_id|truncate_id:16 }}{% endblock %} {% block layer_indicator %}L6 Audit · L7 Temporal{% endblock %} {% block content %}
← Back to Audit Trail
{# Entry details #}

Entry Details

Trace ID
{{ entry.trace_id }}
Sequence
{{ entry.seq|default:"—" }}
Action
{% include "components/_state_badge.html" with state=entry.action %}
Actor
{{ entry.actor_id }}
Target Type
{{ entry.target_type }}
Target ID
{{ entry.target_id }}
{% if entry.scope_id %}
Scope
{{ entry.scope_id }}
{% endif %}
Timestamp
{{ entry.timestamp|format_dt }}
{# Hash chain #}

Hash Chain

Entry Hash
{{ entry.hash|default:"—" }}
{% if entry.prev_hash %}
Previous Hash
{{ entry.prev_hash }}
{% endif %}
{# Before / After state #} {% if before_state or after_state %}

Before State

{% if before_state %}
{{ before_state|pretty_json }}
{% else %}

No prior state (initial creation).

{% endif %}

After State

{% if after_state %}
{{ after_state|pretty_json }}
{% else %}

No resulting state recorded.

{% endif %}
{% endif %} {# Rollback action #}

Rollback This Action

This will reverse the action to its previous state. All changes are versioned and traceable (Invariant 9).

{% csrf_token %}
{% endblock %}