agentleFS
XORwellXORwell/archeflow/skills/replay/SKILL.md

replay

Skill0 starsChanged 52 days agoMITView on GitHub

Replay a recorded ArcheFlow run: decision timeline and weighted what-if over the reviewers' verdicts. Usage: /archeflow:replay <run_id> [--timeline|--whatif|--compare] [--weights role=w,...] <example>User: "/archeflow:replay 2026-04-06-jwt-auth"</example> <example>User: "/archeflow:replay 2026-04-06-jwt-auth --whatif --weights guardian=2,sage=0.5"</example>

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write the data object ({"archetype": ..., "input": ..., "decision": ..., "confidence": 0.85}) to .archeflow/artifacts/<run_id>/event.json …

    line 31
  2. Distinctive:

    Never paste summaries or task text into the command line itself.

    line 34

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ArcheFlow Run Replay

Inspect a run logged in .archeflow/events/<run_id>.jsonl: which roles drove the outcome, and what a weighted vote would have decided. Only accept run IDs made of letters, digits, ., _, -.

Commands (from the project root)

ActionCommand
Timeline (default)<archeflow-root>/lib/archeflow-replay.sh timeline <run_id>
What-if<archeflow-root>/lib/archeflow-replay.sh whatif <run_id> [--weights guardian=2,sage=0.5] [--threshold 0.5] [--json]
Both<archeflow-root>/lib/archeflow-replay.sh compare <run_id> [--weights ...]
  • Timeline lists decision.point events and the Check-phase review.verdict events.
  • What-if takes the last review.verdict per role. Original outcome: any non-approval blocks. Replay: each reviewer contributes weight x (1 if not approved, else 0); BLOCK if the weighted mean is at or above the threshold (default 0.5).
  • --json prints machine-readable output.

Recording decisions (during a run)

/archeflow:run records decision.point events after routing, fast-path and escalation choices. Write the data object ({"archetype": ..., "input": ..., "decision": ..., "confidence": 0.85}) to .archeflow/artifacts/<run_id>/event.json with your file tool, then: <archeflow-root>/lib/archeflow-event.sh <run_id> decision.point <phase> <role> "$(cat .archeflow/artifacts/<run_id>/event.json)". Never paste summaries or task text into the command line itself.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.