Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A drop-in methodology that turns natural language feature requests — or produc
| Tool | Role | Invocation |
|------|------|------------|
| **OpenClaw** | Orchestrator — drives the workflow, manages issues/PRs, coordinates tools | Reads this README + `workflow.yaml` |
| **Claude Code** | Planner + Reviewer — analyzes codebase, produces plans, reviews PRs | `claude --print --prompt "/plan ..."` or `"/review ..."` |
| **Claude Code** | Planner + Reviewer — analyzes codebase, produces plans, reviews PRs | `claude -p --permission-mode bypassPermissions "/plan ..."` or `"/review ..."` |
| **Codex** | Implementer — writes code, runs tests, creates PRs | `codex --prompt "..." --full-auto` |

**What makes this different from other AI dev frameworks:**
Expand All @@ -39,14 +39,14 @@ You are the orchestrator for LLM-Guided Software Architecture. You drive the wor

**Claude Code — Planning:**
```bash
claude --print --prompt "/plan
claude -p --permission-mode bypassPermissions "/plan
[paste context: user request, codebase info, constraints, active lessons]
[ask for structured JSON output matching schemas/strategic-plan.schema.json]"
```

**Claude Code — Review:**
```bash
claude --print --prompt "/review
claude -p --permission-mode bypassPermissions "/review
[paste context: PR number, issue requirements, scope, machine_findings from preflight]
[ask for structured findings matching schemas/review-output.schema.json]"
```
Expand Down
10 changes: 5 additions & 5 deletions workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version: "4.0"
tools:
claude_code:
description: "Planning and code review via Claude Code CLI"
invoke_pattern: 'claude --print --prompt "{prompt}"'
invoke_pattern: 'claude -p --permission-mode bypassPermissions "{prompt}"'
modes:
plan: "Prefix prompt with /plan"
review: "Prefix prompt with /review"
Expand Down Expand Up @@ -507,7 +507,7 @@ phases:
- "Format as additional constraints for the planner"

command: |
claude --print --prompt "/plan
claude -p --permission-mode bypassPermissions "/plan
## User Request
{user_request}

Expand Down Expand Up @@ -693,7 +693,7 @@ phases:
- "Filter to rules whose trigger matches the current task context"

command: |
claude --print --prompt "/plan
claude -p --permission-mode bypassPermissions "/plan
## Issue #{task.issue_number}: {task.title}

## Description
Expand Down Expand Up @@ -947,7 +947,7 @@ phases:
- "Format as additional checklist items for the reviewer"

command: |
claude --print --prompt "/review
claude -p --permission-mode bypassPermissions "/review
## PR #{pr_number}

Review this PR against issue #{task.issue_number}.
Expand Down Expand Up @@ -1213,7 +1213,7 @@ phases:
- action: "Generate workflow report"
description: "Write a final audit report summarizing the entire workflow run"
command: |
claude --print --prompt "/plan
claude -p --permission-mode bypassPermissions "/plan
## Generate Workflow Completion Report

Read .factory/workflow.log, .factory/session.json, and
Expand Down
Loading