103 lines
2.2 KiB
Plaintext
103 lines
2.2 KiB
Plaintext
|
|
---
|
||
|
|
id: {{ id }}
|
||
|
|
type: execution
|
||
|
|
title: {{ title }}
|
||
|
|
created: {{ created }}
|
||
|
|
modified: {{ modified }}
|
||
|
|
tags: [{% for tag in tags %}"{{ tag }}"{% if not loop.last %}, {% endif %}{% endfor %}]
|
||
|
|
status: active
|
||
|
|
{% if task_type -%}
|
||
|
|
task_type: {{ task_type }}
|
||
|
|
{% endif -%}
|
||
|
|
{% if agent -%}
|
||
|
|
agent: {{ agent }}
|
||
|
|
{% endif -%}
|
||
|
|
{% if outcome -%}
|
||
|
|
outcome: {{ outcome }}
|
||
|
|
{% endif -%}
|
||
|
|
{% if duration_ms -%}
|
||
|
|
duration_ms: {{ duration_ms }}
|
||
|
|
{% endif -%}
|
||
|
|
{% if relates_to and relates_to | length > 0 -%}
|
||
|
|
relates_to:
|
||
|
|
{% for rel in relates_to %} - {{ rel }}
|
||
|
|
{% endfor %}
|
||
|
|
{%- endif %}
|
||
|
|
{% if implements and implements | length > 0 -%}
|
||
|
|
implements:
|
||
|
|
{% for impl in implements %} - {{ impl }}
|
||
|
|
{% endfor %}
|
||
|
|
{%- endif %}
|
||
|
|
{% if project -%}
|
||
|
|
project: {{ project }}
|
||
|
|
{% endif -%}
|
||
|
|
---
|
||
|
|
|
||
|
|
# {{ title }}
|
||
|
|
|
||
|
|
{% if task_type %}**Task Type:** {{ task_type }}{% endif %}
|
||
|
|
{% if agent %}**Agent:** {{ agent }}{% endif %}
|
||
|
|
{% if outcome %}**Outcome:** {{ outcome }}{% endif %}
|
||
|
|
{% if duration_ms %}**Duration:** {{ duration_ms }}ms{% endif %}
|
||
|
|
|
||
|
|
## Summary
|
||
|
|
|
||
|
|
{{ summary | default(value=content) | default(value="") }}
|
||
|
|
|
||
|
|
{% if steps and steps | length > 0 %}
|
||
|
|
## Execution Steps
|
||
|
|
|
||
|
|
{% for step in steps %}
|
||
|
|
{{ loop.index }}. {{ step.description }}
|
||
|
|
{% if step.duration_ms %}*Duration: {{ step.duration_ms }}ms*{% endif %}
|
||
|
|
{% if step.result %}
|
||
|
|
**Result:** {{ step.result }}
|
||
|
|
{% endif %}
|
||
|
|
{% endfor %}
|
||
|
|
{% endif %}
|
||
|
|
|
||
|
|
{% if errors and errors | length > 0 %}
|
||
|
|
## Errors
|
||
|
|
|
||
|
|
{% for error in errors %}
|
||
|
|
- **{{ error.type }}:** {{ error.message }}
|
||
|
|
{% if error.details %}
|
||
|
|
```
|
||
|
|
{{ error.details }}
|
||
|
|
```
|
||
|
|
{% endif %}
|
||
|
|
{% endfor %}
|
||
|
|
{% endif %}
|
||
|
|
|
||
|
|
{% if metrics and metrics | length > 0 %}
|
||
|
|
## Metrics
|
||
|
|
|
||
|
|
{% for metric in metrics %}
|
||
|
|
- **{{ metric.name }}:** {{ metric.value }} {% if metric.unit %}{{ metric.unit }}{% endif %}
|
||
|
|
{% endfor %}
|
||
|
|
{% endif %}
|
||
|
|
|
||
|
|
{% if artifacts and artifacts | length > 0 %}
|
||
|
|
## Artifacts
|
||
|
|
|
||
|
|
{% for artifact in artifacts %}
|
||
|
|
- {{ artifact.name }}: `{{ artifact.path }}`
|
||
|
|
{% endfor %}
|
||
|
|
{% endif %}
|
||
|
|
|
||
|
|
{% if recommendations and recommendations | length > 0 %}
|
||
|
|
## Recommendations
|
||
|
|
|
||
|
|
{% for rec in recommendations %}
|
||
|
|
- {{ rec }}
|
||
|
|
{% endfor %}
|
||
|
|
{% endif %}
|
||
|
|
|
||
|
|
{% if references and references | length > 0 %}
|
||
|
|
## References
|
||
|
|
|
||
|
|
{% for ref in references %}
|
||
|
|
- [[{{ ref }}]]
|
||
|
|
{% endfor %}
|
||
|
|
{% endif %}
|