-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yml
More file actions
74 lines (56 loc) · 2.07 KB
/
config.yml
File metadata and controls
74 lines (56 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Dark Factory Configuration
# Tunables for the factory pipeline (single source of truth)
factory:
# Default pipeline mode: "full" (6 phases) or "express" (short goals)
default_mode: full
# Maximum hardening cycles before escalating to user
max_hardening_cycles: 3
# Auto-detect express mode for short prompts (< N words)
express_threshold_words: 15
# Agent execution timeout (seconds)
agent_timeout_sec: 300
# Retry policy (max retries per agent dispatch)
max_retries: 1
# Logging verbosity (debug, info, warn, error)
verbosity: info
safety:
# Max lines for PRD generation (guardrail against context overflow)
max_prd_lines: 180
# Max lines for any artifact passed between agents (ARCH, GAP reports, etc.)
max_artifact_lines: 600
isolation:
# Workspace root (relative to cwd)
workspace_root: .factory
# Branch prefix for worktree branches
branch_prefix: factory/
# Sealed test directory (outside worktree)
sealed_dir: .factory/sealed
# State file for crash recovery
state_file: .factory/state.json
models:
# Speed Stack — model routing by role
# Options: claude-haiku-4.5, claude-sonnet-4.6, claude-opus-4.6
product_mgr: claude-sonnet-4.6
architect: claude-sonnet-4.6
qa_sealed: claude-sonnet-4.6
lead_eng: claude-sonnet-4.6
qa_validator: claude-haiku-4.5
outcome_evaluator: claude-sonnet-4.6
# Premium override — when user says "dark factory premium"
premium_model: claude-opus-4.6
checkpoints:
# Which phases get human checkpoints
# In express mode, only "delivery" checkpoint is used
gates:
- after_prd # Phase 1 → approve spec
- after_arch # Phase 2 → approve architecture
- after_build # Phase 3 → review code
- after_validation # Phase 4 → review gap analysis
- delivery # Phase 6 → approve or reject merge
# Allow "skip-all" to go fully dark
allow_skip_all: true
outcome_evaluation:
# Auto-trigger evaluation N days after delivery (0 = manual only)
auto_evaluate_after_days: 0
# Archive artifacts for post-ship evaluation
archive_dir: .factory/archive