Skip to content

Commit a605192

Browse files
committed
Update instructions to forbid reading files
1 parent daefaef commit a605192

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Whenever showing a new, updated, renamed, or deleted file, provide a brief expla
141141
142142
# Requirements
143143
144-
- All necessary files for the [task](#task) were preloaded to [files](#files). Reading other files is FORBIDDEN.
144+
- All necessary files for the [task](#task) were preloaded to [files](#files). Reading files is FORBIDDEN.
145145
- Using tools or shell commands for discovery or information gathering (e.g., grep, glob, ls, git, etc.) is FORBIDDEN.
146146
- Exception: If [task](#task) includes *.png image paths, read them using the appropriate tool.
147147
- Exception: Perform file system operations (create, update, delete, rename, move) required to complete the [task](#task).
@@ -182,7 +182,7 @@ _Get explanations, plan features._
182182
183183
# Requirements
184184
185-
- All necessary files for the [task](#task) were preloaded to [files](#files). Reading other files is FORBIDDEN.
185+
- All necessary files for the [task](#task) were preloaded to [files](#files). Reading files is FORBIDDEN.
186186
- Using tools or shell commands for discovery or information gathering (e.g., grep, glob, ls, git, etc.) is FORBIDDEN.
187187
- Exception: If [task](#task) includes *.png image paths, read them using the appropriate tool.
188188
@@ -277,7 +277,7 @@ Output strictly as a bulleted list of file paths without explanations or any oth
277277
278278
# Requirements
279279
280-
- All necessary files for the [task](#task) were preloaded to [files](#files). Reading other files is FORBIDDEN.
280+
- All necessary files for the [task](#task) were preloaded to [files](#files). Reading files is FORBIDDEN.
281281
- Using tools or shell commands for discovery or information gathering (e.g., grep, glob, ls, git, etc.) is FORBIDDEN.
282282
283283
# Query
@@ -367,7 +367,7 @@ Example:
367367
368368
# Requirements
369369
370-
- All necessary files for the [task](#task) were preloaded to [files](#files). Reading other files is FORBIDDEN.
370+
- All necessary files for the [task](#task) were preloaded to [files](#files). Reading files is FORBIDDEN.
371371
- Using tools or shell commands for discovery or information gathering (e.g., grep, glob, ls, git, etc.) is FORBIDDEN.
372372
373373
# Task

‎apps/editor/src/constants/instructions.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const voice_input_output_formatting =
7070

7171
export const cli_edit_ask_requirements = {
7272
preloaded_context:
73-
'All necessary files for the [task](#task) were preloaded to [files](#files). Reading other files is FORBIDDEN.',
73+
'All necessary files for the [task](#task) were preloaded to [files](#files). Reading files is FORBIDDEN.',
7474
disable_tool_calling:
7575
'Using tools or shell commands for discovery or information gathering (e.g., grep, glob, ls, git, etc.) is FORBIDDEN.',
7676
exception_read_images:

0 commit comments

Comments
 (0)