Skip to content

Commit 1da6560

Browse files
Jeomonclaude
andcommitted
remove: drop RULES.md and CODE.md templates and workspace references
RULES.md was never auto-loaded into the system prompt so its constraints never reached the LLM. CODE.md is only relevant for self-modification. Both templates deleted and their entries removed from _build_workspace_context. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 parent b243c6c commit 1da6560

3 files changed

Lines changed: 0 additions & 120 deletions

File tree

operator_use/agent/context/service.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,9 @@ def _build_environment_context(self) -> str:
7272

7373
def _build_workspace_context(self) -> str:
7474
workspace_path = self.workspace.expanduser().resolve().as_posix()
75-
codebase_path = self.codebase.expanduser().resolve().as_posix()
7675
return (
7776
f"## Workspace: {workspace_path}\n\n"
78-
f"- RULES.md — hard constraints (always enforced)\n"
7977
f"- HEARTBEAT.md — periodic maintenance tasks\n"
80-
f"- CODE.md — codebase architecture map (for self-modification); codebase at {codebase_path}\n"
8178
f"- memory/MEMORY.md — long-term memory (write here to remember things)\n"
8279
f"- memory/YYYY-MM-DD.md — daily session log (append during sessions)\n"
8380
f"- skills/{{name}}/SKILL.md — skill guides (invoked via `skill` tool)\n"

operator_use/templates/CODE.md

Lines changed: 0 additions & 74 deletions
This file was deleted.

operator_use/templates/RULES.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)