You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This section overrides the interactive input instructions found in `rules/interactive-input.rules.md`.** This override specifically pertains to the *mechanism* of asking questions and does not supersede other principles of interactive input, such as clarifying ambiguity or seeking explicit approval.
17
+
18
+
Due to client-side rendering limitations where `run_shell_command` (the `run_command` alternative in GEMINI's environment) causes an `InvalidStreamError` and Markdown tables are not rendered, the following protocol is the **only acceptable way** for the agent to request interactive input from the user:
19
+
20
+
1.**Format:** Questions will be presented as plain text, structured within a custom ASCII-art separator and a Markdown heading.
21
+
2.**Separator:** A 3-line period-based separator will be used, with the longest line being a Markdown horizontal rule (`---`).
22
+
***Opening:**
23
+
```
24
+
.
25
+
..
26
+
---
27
+
```
28
+
* **Closing:**
29
+
```
30
+
---
31
+
..
32
+
.
33
+
```
34
+
3. **Padding:** One empty line will be placed between the opening separator and the heading, and one empty line between the question body and the closing separator.
35
+
4. **Heading:** A Markdown H2 heading (`## **Question Title**`) will be used.
36
+
5. **Body:** The question text will be formatted using supported Markdown (bold, italic, lists, blockquotes, inline code).
37
+
6. **Interaction:** The agent will send this formatted block as a single text response. The user will provide their answer as a plain text chat message.
Copy file name to clipboardExpand all lines: README.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,19 @@ Want just the essentials? Copy these:
59
59
-**Windsurf**: Copy `.windsurf/` folder
60
60
-**Kiro**: Copy `.kiro/` folder
61
61
62
+
### Standalone Agent
63
+
For those who prefer a single, self-contained set of rules, the `standalone-agent.rules.md` file offers a streamlined setup. Instead of copying multiple folders, you can use this single file.
64
+
65
+
**Setup Instructions:**
66
+
1. Download the `standalone-agent.rules.md` file from this repository.
67
+
2. Rename it to match the filename your coding assistant requires.
68
+
3. Place the renamed file in your project's root directory.
69
+
70
+
**Example:**
71
+
- If you use **Cursor** or another agent that reads from `AGENTS.md`, you would rename `standalone-agent.rules.md` to `AGENTS.md`.
72
+
73
+
*This file provides a quick, single-file setup that includes all the necessary rules for persona personalization and interactive coding. However, it does not include the more advanced spec-driven development workflow available in the full rule set.*
74
+
62
75
### Rule Activation
63
76
64
77
-**Close and reopen project** (optional but recommended).
@@ -69,7 +82,7 @@ Want just the essentials? Copy these:
69
82
- "Hello"
70
83
- "Let's make some changes"
71
84
-**Explicit Trigger**: If the agent doesn't respond interactively, you can explicitly ask it to read the rules:
72
-
- "Please read the project rules first."
85
+
- "Read the rules"
73
86
74
87
*Note: The rules must be triggered for each new chat session for the agent to follow them.*
75
88
@@ -130,11 +143,11 @@ The persona system ensures you get exactly the right level of detail and communi
130
143
|**Cursor**| IDE |`AGENTS.md`| ✅ Tested |
131
144
|**Windsurf**| IDE |`.windsurf > rules > project_rules.md`| ✅ Tested |
Copy file name to clipboardExpand all lines: rules/spec-management.rules.md
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,9 @@ Before creating any specification file, agents MUST ask these questions to ensur
64
64
**SOURCE DOCUMENTATION:**
65
65
- "Are there any specific articles, documentation, or resources that influenced your decision?"
66
66
67
+
### 2.1 Interactive Input Compliance
68
+
All questions in this protocol MUST comply with the rules for asking questions and handling user input as defined in `rules/interactive-input.rules.md`.
69
+
67
70
---
68
71
69
72
## 3. Specification Workflow
@@ -72,7 +75,7 @@ Before creating any specification file, agents MUST ask these questions to ensur
72
75
73
76
**MANDATORY: BEFORE CREATING A NEW SPEC, YOU MUST FOLLOW THIS PROTOCOL:**
74
77
75
-
1.**Search the Spec Index:** Perform a comprehensive keyword search against the `title`, `summary`, and `keywords` fields in `project-specs/index.json` to find all potentially relevant specs.
78
+
1.**Search the Spec Index:** Perform a comprehensive keyword search against the `title` and `keywords` fields in `project-specs/index.json` to find all potentially relevant specs.
76
79
77
80
2.**Select Candidate Specifications:** From the search results, identify the 2-3 specs that most closely match the current requirement.
78
81
@@ -98,20 +101,14 @@ Before creating any specification file, agents MUST ask these questions to ensur
98
101
99
102
### Step 4: Update Index
100
103
-**After Approval:** Once a new spec is approved, you **MUST** add a new entry to the `project-specs/index.json` file.
101
-
-**Format:** The entry must be a JSON object with `title`, `path`, `summary`, `keywords`, and `affectedFiles` keys.
104
+
-**Format:** The entry must be a JSON object with `title`, `path`, and `keywords` keys.
102
105
```json
103
106
{
104
107
"title": "Spec Title",
105
108
"path": "project-specs/spec-name.spec.md",
106
-
"summary": "A brief, one-sentence description of the decision.",
0 commit comments