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
1 change: 1 addition & 0 deletions factory/cli/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"evolve",
"deep-research",
"outer-loop",
"create-v2",
]


Expand Down
37 changes: 37 additions & 0 deletions factory/workflow/contributed/create_v2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# create-v2 Workflow

Create mode with inference-time scaling: dynamic research directors, multi-strategy synthesis, user intent tracking, QA Director with workflow-specific testing, and Overwatch verification.

## Graph

```
init_user_intent (FnNode)
→ gate_has_factory (GateNode)
→ [PROCEED] graph_update → study → graph_explorer → concat_study
→ [HALT] discover → gate_factory_md_exists → factory_init → graph_update
→ concat_study → research_director (AgentNode/CEO)
→ strategy_director (AgentNode/CEO)
→ synthesize_strategy (AgentNode/STRATEGIST)
→ gate_strategy (GateNode/user)
→ [PROCEED] begin → builder → fork_qa
→ [RELOOP] strategy_director
→ fork_qa → health_checker, code_reviewer, qa_director → join_qa
→ synthesize_qa (FnNode) → gate_qa (GateNode/agent)
→ [PROCEED] gate_overwatch → gate_precheck → archivist_build
→ [RELOOP] builder
→ gate_overwatch (AgentNode/CEO) → overwatch verification
```

## Key differences from create (v1)

- **Research Director** dynamically decides N research directions
- **Strategy Director** spawns M strategy perspectives
- **QA Director** spawns K tailored test approaches for workflow-specific testing
- **Overwatch** verifies factory integration and mode registration
- **User Intent Ledger** tracks the original idea and all feedback

## Usage

```bash
factory ceo /path/to/factory --mode create --focus "mode description"
```
3 changes: 3 additions & 0 deletions factory/workflow/contributed/create_v2/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .workflow import meta, workflow

__all__ = ["meta", "workflow"]
5 changes: 5 additions & 0 deletions factory/workflow/contributed/create_v2/intent_init.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Thin wrapper re-exporting main() from design_v2.intent_init."""

from factory.workflow.contributed.design_v2.intent_init import main

__all__ = ["main"]
Loading
Loading