unrip/WORKFLOW.md
philipp 54dc05a94c Archive first live trade loop and open funding visibility turn
Proof: Preserve the completed first live BTC/EURe trade loop and establish the next approved implementation proof around pre-credit funding visibility and operator alerts.
Assumptions: The live-trade loop is sufficiently proven by the recorded deposits, withdrawals, durable command/result chain, and successful mainnet quote responses; the next highest-value slice is operational visibility rather than new execution breadth.
Still fake: The newly opened funding-visibility and alert turn is planning only; no pre-credit watcher or durable alert evaluator is implemented yet.
2026-04-03 01:07:02 +02:00

1.8 KiB

Workflow

This repository uses a small tracked workflow layer instead of a large agent orchestration system.

Files

  • THESIS.md: stable product intent
  • PROOF.md: active implementation proof
  • IMPLEMENTATION.md: current implementation turn
  • research/ACTIVE.md: active research charter
  • BACKLOG.md: parked ideas and bugs
  • ARCHIVE.md: turn history index
  • workflow/REVIEW_PROMPT.md: adversarial review prompt

Install the tracked git hook

bash scripts/workflow/install_hooks.sh

Add a backlog item

python3 scripts/workflow/add_backlog.py --lane implementation --summary "Reference-price service for active pair inputs"
python3 scripts/workflow/add_backlog.py --lane research --summary "Test whether implied pair rate diverges from external reference prices after fees"

Open a new implementation turn

python3 scripts/workflow/open_turn.py \
  --lane implementation \
  --title "first executable trade loop for one pair" \
  --summary "Add reference pricing, strategy, durable audit history, and a real execution path for the active pair." \
  --pick I001 \
  --pick I002 \
  --pick I003 \
  --pick I004

Use --commit if you want the planning change committed automatically.

Close the current turn and archive it

python3 scripts/workflow/close_turn.py \
  --lane implementation \
  --status passed \
  --summary "A live active-pair quote flowed through pricing, decision, and a real execution attempt with durable audit records."

The script copies the live turn files into archive/implementation/ or archive/research/, updates ARCHIVE.md, and can make the archive commit with --commit.

Build a review bundle

bash scripts/workflow/review_diff.sh HEAD~1

That emits a Markdown bundle containing the diff plus the adversarial review prompt for a separate review-only agent session.