Files
archon/python/.claude/commands/agent-work-orders/prime.md
Rasmus Widing fd81505908 refactor: simplify workflow to user-selectable 6-command architecture
Simplifies the workflow orchestrator from hardcoded 11-step atomic operations
to user-selectable 6-command workflow with context passing.

Core changes:
- WorkflowStep enum: 11 steps → 6 commands (create-branch, planning, execute, commit, create-pr, prp-review)
- workflow_orchestrator.py: 367 lines → 200 lines with command stitching loop
- Remove workflow_type field, add selected_commands parameter
- Simplify agent names from 11 → 6 constants
- Remove test/review phase config flags (now optional commands)

Deletions:
- Remove test_workflow.py, review_workflow.py, workflow_phase_tracker.py
- Remove 32 old command files from .claude/commands
- Remove PRPs/specs and PRD files from version control
- Update .gitignore to exclude specs, features, and validation markdown files

Breaking changes:
- AgentWorkOrder no longer has workflow_type field
- CreateAgentWorkOrderRequest now uses selected_commands instead of workflow_type
- WorkflowStep enum values incompatible with old step history

56 files changed, 625 insertions(+), 15,007 deletions(-)
2025-10-16 19:18:32 +03:00

1.0 KiB

Prime

Execute the following sections to understand the codebase before starting new work, then summarize your understanding.

Run

  • List all tracked files: git ls-files
  • Show project structure: tree -I '.venv|__pycache__|*.pyc|.pytest_cache|.mypy_cache|.ruff_cache' -L 3

Read

  • CLAUDE.md - Core project instructions, principles, logging rules, testing requirements

  • python/src/agent_work_orders - Project overview and setup (if exists)

  • Identify core files in the agent work orders directory to understand what we are woerking on and its intent

Report

Provide a concise summary of:

  1. Project Purpose: What this application does
  2. Architecture: Key patterns (vertical slice, FastAPI + Pydantic AI)
  3. Core Principles: TYPE SAFETY, KISS, YAGNI
  4. Tech Stack: Main dependencies and tools
  5. Key Requirements: Logging, testing, type annotations
  6. Current State: What's implemented

Keep the summary brief (5-10 bullet points) and focused on what you need to know to contribute effectively.