feat: Implement Study Interview Mode as default study creation method
Study Interview Mode is now the DEFAULT for all study creation requests. This intelligent Q&A system guides users through optimization setup with: - 7-phase interview flow: introspection → objectives → constraints → design_variables → validation → review → complete - Material-aware validation with 12 materials and fuzzy name matching - Anti-pattern detection for 12 common mistakes (mass-no-constraint, stress-over-yield, etc.) - Auto extractor mapping E1-E24 based on goal keywords - State persistence with JSON serialization and backup rotation - StudyBlueprint generation with full validation Triggers: "create a study", "new study", "optimize this", any study creation intent Skip with: "skip interview", "quick setup", "manual config" Components: - StudyInterviewEngine: Main orchestrator - QuestionEngine: Conditional logic evaluation - EngineeringValidator: MaterialsDatabase + AntiPatternDetector - InterviewPresenter: Markdown formatting for Claude - StudyBlueprint: Validated configuration output - InterviewState: Persistent state management All 129 tests passing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,8 @@ If working directory is inside a study (`studies/*/`):
|
||||
|
||||
| User Keywords | Load Protocol | Subagent Type |
|
||||
|---------------|---------------|---------------|
|
||||
| "create", "new", "set up" | **READ** OP_01 first, then execute | general-purpose |
|
||||
| "create", "new", "set up", "create a study" | **READ** OP_01 + **modules/study-interview-mode.md** (DEFAULT) | general-purpose |
|
||||
| "quick setup", "skip interview", "manual" | **READ** OP_01 + core/study-creation-core.md | general-purpose |
|
||||
| "run", "start", "trials" | **READ** OP_02 first | - (direct execution) |
|
||||
| "status", "progress" | OP_03 | - (DB query) |
|
||||
| "results", "analyze", "Pareto" | OP_04 | - (analysis) |
|
||||
@@ -84,7 +85,8 @@ The Protocol Operating System (POS) provides layered documentation:
|
||||
|
||||
| Task | Protocol | Key File |
|
||||
|------|----------|----------|
|
||||
| Create study | OP_01 | `docs/protocols/operations/OP_01_CREATE_STUDY.md` |
|
||||
| **Create study (Interview Mode - DEFAULT)** | OP_01 | `.claude/skills/modules/study-interview-mode.md` |
|
||||
| Create study (Manual) | OP_01 | `docs/protocols/operations/OP_01_CREATE_STUDY.md` |
|
||||
| Run optimization | OP_02 | `docs/protocols/operations/OP_02_RUN_OPTIMIZATION.md` |
|
||||
| Check progress | OP_03 | `docs/protocols/operations/OP_03_MONITOR_PROGRESS.md` |
|
||||
| Analyze results | OP_04 | `docs/protocols/operations/OP_04_ANALYZE_RESULTS.md` |
|
||||
|
||||
Reference in New Issue
Block a user