Skip to content

Commit f7bf100

Browse files
committed
Refactor: Split Agent Instructions for Persistent Enforcement #7695
1 parent aaba69c commit f7bf100

File tree

4 files changed

+237
-233
lines changed

4 files changed

+237
-233
lines changed

.gemini/GEMINI.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,7 @@
33
## Mandatory Pre-Response Check (Execute on EVERY turn)
44

55
Before responding to ANY user prompt, you MUST evaluate:
6-
1. Have I read `AGENTS.md` from the repository root this session?
7-
2. Have I completed the Session Initialization steps from AGENTS.md?
6+
1. Have I read `AGENTS_STARTUP.md` from the repository root this session?
7+
2. Have I completed the Session Initialization steps from `AGENTS_STARTUP.md`?
88

9-
If NO to either: STOP. Use the ReadFile tool to read `AGENTS.md` and complete initialization NOW before addressing the user's prompt.
10-
11-
## Enforcement Rules (Apply to ALL responses)
12-
13-
- Anti-Hallucination: NEVER guess about Neo.mjs. Query the knowledge base first.
14-
- Ticket-First Gate: ALL actionable changes require a GitHub issue.
15-
- Memory Core: Save consolidated turn before responding.
16-
- Communication: Direct, objective, challenge assumptions.
17-
18-
Refer to `AGENTS.md` for complete protocols and workflows.
9+
If NO to either: STOP. Use ReadFile tool to read `AGENTS_STARTUP.md` and complete initialization NOW before addressing the user's prompt.

.gemini/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"context": {
3+
"fileName": ["AGENTS.md", "GEMINI.md"]
4+
},
25
"mcpServers": {
36
"chrome-devtools": {
47
"command": "npx",

0 commit comments

Comments
 (0)