Spaces:
Paused
Paused
Claude Code Claude Opus 4.6 commited on
Commit ·
919ba9c
1
Parent(s): 905d4af
god: implement STATE VERIFICATION rule to prevent Semantic Grounding Failure
Browse files- Add file state verification requirement before proposing fixes
- Prevents agents from retrying identical fixes based on stale conversation history
- Forces agents to check actual file content (source of truth) before acting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
scripts/conversation-loop.py
CHANGED
|
@@ -532,6 +532,12 @@ def _write_claude_md(workspace, role="worker"):
|
|
| 532 |
- Your goal: maximize push frequency, not perfection on first try
|
| 533 |
- If unsure, just pick a reasonable fix and push — see what breaks
|
| 534 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 535 |
## Focus
|
| 536 |
Improve {CHILD_NAME}'s functionality, add features, fix bugs.
|
| 537 |
Do NOT re-check or re-configure infrastructure that is already working.
|
|
|
|
| 532 |
- Your goal: maximize push frequency, not perfection on first try
|
| 533 |
- If unsure, just pick a reasonable fix and push — see what breaks
|
| 534 |
|
| 535 |
+
## STATE VERIFICATION (CRITICAL — Prevent Semantic Grounding Failure)
|
| 536 |
+
- BEFORE proposing any fix: READ the target file to verify current state
|
| 537 |
+
- If your proposed fix matches the current file content: ACKNOWLEDGE "Fix already applied" and HALT
|
| 538 |
+
- DO NOT repeat tasks based on conversation history — the file system is the source of truth
|
| 539 |
+
- Conversation history may be stale — always verify against actual files before acting
|
| 540 |
+
|
| 541 |
## Focus
|
| 542 |
Improve {CHILD_NAME}'s functionality, add features, fix bugs.
|
| 543 |
Do NOT re-check or re-configure infrastructure that is already working.
|