Files

1.2 KiB

name, description
name description
af-report Generate a full process report for an ArcheFlow run. <example>User: "/af-report"</example> <example>User: "/af-report 2026-04-06-jwt-auth"</example>

ArcheFlow Run Report

  1. Parse run_id from args. If none provided, read the latest run_id from .archeflow/events/index.jsonl.
  2. Run ./lib/archeflow-report.sh .archeflow/events/<run_id>.jsonl if the script exists. Display its output.
  3. If the script does not exist, read .archeflow/events/<run_id>.jsonl and produce a markdown report:
# ArcheFlow Report: <run_id>

## Overview
| Field | Value |
|-------|-------|
| Task | ... |
| Workflow | fast/standard/thorough |
| Cycles | N |
| Duration | Xm Ys |
| Total Cost | $X.XX |

## Phase Summary
For each phase (Plan, Do, Check, Act): agents involved, duration, token cost, key outputs.

## Findings
Table of all findings: severity, category, description, archetype source, resolution (fixed/dismissed/deferred).

## Fixes Applied
List of fixes with before/after summary and which finding they addressed.

## Lessons Learned
Any new lessons extracted to memory during this run.
  1. If no events found for the run_id, say: "No events found for run <run_id>."