Skip to content

Commit 1cfdce4

Browse files
committed
feat: enforce interactive input rules for consistent result
1 parent 773daf7 commit 1cfdce4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

rules/spec-management.rules.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@ When coding agents need context for:
7070
4. **ASK CLARIFYING QUESTIONS** - **USE `run_command` TOOL** for all questions - **MUST FOLLOW** [rules/interactive-input.rules.md](./interactive-input.rules.md) for context on using run_command tool
7171
5. **RESEARCH OPTIONS** - Present alternatives with trade-offs
7272
6. **PROPOSE SPECIFICATION** - Create spec file with decision rationale
73-
7. **WAIT FOR APPROVAL** - Do not implement until user approves
73+
7. **WAIT FOR APPROVAL** - **USE `run_command` TOOL** for approval questions - **MUST FOLLOW** [rules/interactive-input.rules.md](./interactive-input.rules.md) for context on using run_command tool
7474
8. **RE-READ SPECIFICATIONS** - **MANDATORY:** Read all relevant specs again after approval but before implementation to ensure most current information
7575
9. **IMPLEMENT ACCORDING TO SPEC** - Follow approved specification exactly
7676

7777
**AGENT QUESTIONING PROTOCOL FOR SPECIFICATION DOCUMENTATION:**
7878
Before creating any specification file, agents MUST ask these questions to ensure optimal documentation:
7979

80+
**USE `run_command` TOOL** for all questions - **MUST FOLLOW** [rules/interactive-input.rules.md](./interactive-input.rules.md) for context on using run_command tool
81+
8082
**DECISION CLARITY:**
8183
- "What is your final decision? (If not explicitly stated)"
8284
- "Can you confirm this is the approach you want to proceed with?"
@@ -97,7 +99,7 @@ Before creating any specification file, agents MUST ask these questions to ensur
9799
- "How does this impact the existing codebase/architecture?"
98100
- "Are there any future considerations or migration paths to document?"
99101

100-
Follow [rules/interactive-input.rules.md](./interactive-input.rules.md) for all user interaction protocols when executing these questions.
102+
**USE `run_command` TOOL** for all questions - **MUST FOLLOW** [rules/interactive-input.rules.md](./interactive-input.rules.md) for context on using run_command tool when executing these questions.
101103

102104
**RESEARCH REQUIREMENTS:**
103105
- **MANDATORY RESEARCH:** Perform online research for current best practices, latest versions, and community consensus before making decisions
@@ -225,7 +227,7 @@ Follow [rules/interactive-input.rules.md](./interactive-input.rules.md) for all
225227
2. **MANDATORY INDEX CHECK:** Check `project-spec/index.spec.md` for related decisions
226228
3. **FORBIDDEN DUPLICATES:** NEVER create duplicate specs - merge with existing if similar
227229
4. **RESEARCH REQUIREMENT:** Perform online research for industry-standard practices from last 12 months with >1000 GitHub stars OR official documentation recommendations
228-
5. **CONTEXT GATHERING:** Follow [rules/interactive-input.rules.md](./interactive-input.rules.md) for all user interaction requirements
230+
5. **CONTEXT GATHERING:** **USE `run_command` TOOL** for all questions - **MUST FOLLOW** [rules/interactive-input.rules.md](./interactive-input.rules.md) for context on using run_command tool
229231
6. **VERIFICATION:** Confirm no existing spec covers the same decision
230232

231233
**SPECIFICATION FILE CREATION:**

rules/user-persona.rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ PRESENT available options:
4040
1. Predefined personas (list discovered options from directory)
4141
2. Custom persona option
4242
43-
WAIT for user selection following [rules/interactive-input.rules.md](./interactive-input.rules.md) protocols
43+
WAIT for user selection following **USE `run_command` TOOL** for all questions - **MUST FOLLOW** [rules/interactive-input.rules.md](./interactive-input.rules.md) for context on using run_command tool
4444
```
4545

4646
### Step 3: Handle User Selection

0 commit comments

Comments
 (0)