{{ supervisor_id }}{% endif %}
{% if operator_label %}{{ operator_label }}{% endif %}
{%- endmacro %}
{% macro posture_chip(posture) -%}
{% set posture_text = posture or "neutral" %}
{% set posture_class = _state_class(posture_text.split(":", 1)[0]) %}
{% if posture_text.startswith("custom:") %}
custom · {{ posture_text.split(":", 1)[1] }}
{% else %}
{{ posture_text }}
{% endif %}
{%- endmacro %}
{% macro byline_line(author_line, expected_author_line=None, attested=None, operator_label=None) -%}
{% if attested is sameas false %}
{% set rendered_author = "author: operator [self-declared: " ~ operator_label ~ "]" if operator_label else "author: operator" %}
{% else %}
{% set rendered_author = author_line if author_line else "author: | Logical name | Kind | Path | Required | Expected byline | Status |
|---|---|---|---|---|---|
{{ artifact.logical_name or "unknown" }} |
{{ artifact.kind or "other" }} | {{ artifact.path or "unknown" }} |
{{ "required" if artifact.required else "optional" }} | {{ byline_line(expected_author) if expected_author else "—" }} |
{% if match.row %}
{% if byline_drift %}
byline drift
{{ byline_line(actual_author, expected_author, match.row.lane_attestation_chip.attested if match.row.lane_attestation_chip else none) }}
{% else %}
published
{% if match.row.sha256 %}{{ match.row.sha256 }}{% endif %}
{% if actual_author %}{{ byline_line(actual_author, expected_author, match.row.lane_attestation_chip.attested if match.row.lane_attestation_chip else none) }}{% endif %}
{% endif %}
{% elif artifact.required %}
missing — required
striatum publish-artifact --path {{ artifact.path }}{% if artifact.kind %} --kind {{ artifact.kind }}{% endif %}{% if artifact.logical_name %} --logical-name {{ artifact.logical_name }}{% endif %}
{% else %}
missing — optional
{% endif %}
|
| No expected artifacts declared. | |||||