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
Parent task MUST create this file (and .roo/tmp/release-notes/temp_pr_inclusion_v[version].json, .roo/tmp/release-notes/temp_pr_list_v[VERSION].md if needed) before ANY subtasks.
114
-
Subtasks will ONLY append using insert_content.
115
-
Parent task MUST NOT append to temp_pr_analysis_v[version].md; this file is reserved exclusively for subtask outputs. The parent may only create/initialize the empty file(s).
116
-
Temp files live under .roo/tmp/release-notes/
113
+
Parent task MUST create this file (and .roo/tmp/release-notes/temp_pr_inclusion_v[version].json, .roo/tmp/release-notes/temp_pr_list_v[VERSION].md if needed) before ANY subtasks.
114
+
Subtasks will ONLY add entries to these temp files using the available safe file-editing capability (preserve existing content; no overwrites).
115
+
Parent task MUST NOT add entries to temp_pr_analysis_v[version].md; this file is reserved exclusively for subtask outputs. The parent may only create/initialize the empty file(s).
116
+
Temp files live under .roo/tmp/release-notes/
117
117
</details>
118
118
</initialization>
119
119
@@ -139,15 +139,15 @@ gh pr list --repo RooCodeInc/Roo-Code --state merged --base main --limit 1000 \
5. Identify documentation needs (new features, behavior changes, deprecations)
142
-
6. Append to .roo/tmp/release-notes/temp_pr_analysis_v[version].md using insert_content line 0
142
+
6. Add to .roo/tmp/release-notes/temp_pr_analysis_v[version].md at the start, preserving existing content (use the available safe file-editing capability)
143
143
144
144
Include documentation flags:
145
145
- docs-new: Completely new feature
146
146
- docs-update: Existing docs need updating
147
147
- docs-example: New examples needed
148
148
- docs-migration: Breaking changes
149
149
150
-
CRITICAL: Never create/overwrite files, only append.
150
+
CRITICAL: Never overwrite existing content; only add entries while preserving prior content.
151
151
MANDATORY: Insert the marker line '<!-- generated-by-subtask: true -->' immediately before the '---' separator in each PR entry.
152
152
</message_template>
153
153
<todos_template>
@@ -187,7 +187,7 @@ gh pr list --repo RooCodeInc/Roo-Code --state merged --base main --limit 1000 \
Categorize the change and identify documentation needs
190
-
Append analysis to .roo/tmp/release-notes/temp_pr_analysis_v3.20.1.md using insert_content line 0</message>
190
+
Add analysis to .roo/tmp/release-notes/temp_pr_analysis_v3.20.1.md at the start, preserving existing content</message>
191
191
<todos>
192
192
[ ] Fetch PR #1234 details
193
193
[ ] Extract linked issues and get details
@@ -199,7 +199,7 @@ Append analysis to .roo/tmp/release-notes/temp_pr_analysis_v3.20.1.md using inse
199
199
<critical_notes>
200
200
- Parent creates temp files first
201
201
- Each PR gets its own subtask
202
-
- Subtasks only append, never overwrite
202
+
- Subtasks only add entries; never overwrite existing content
203
203
</critical_notes>
204
204
</subtask_creation_example>
205
205
</phase>
@@ -366,7 +366,7 @@ fi
366
366
<action>Supplement candidate PR set with changelog-referenced PRs not in fetched list and spawn analysis subtasks</action>
367
367
<details>
368
368
- Identify referenced PR numbers from step 2 that are missing from .roo/tmp/release-notes/temp_pr_analysis_v[version].md
369
-
- For each missing PR, fetch details and create a new investigation subtask (same pattern as pr_processing) to append analysis to temp_pr_analysis_v[version].md
369
+
- For each missing PR, fetch details and create a new investigation subtask (same pattern as pr_processing) to add analysis to temp_pr_analysis_v[version].md without overwriting existing content
370
370
- Mark these as out_of_range if their mergedAt is outside the computed date window
371
371
- Wait for all spawned subtasks to complete before proceeding
<message>Investigate PR #[NUMBER] (changelog-referenced, possibly out of original range) for release notes v[version]. Follow standard analysis and append to .roo/tmp/release-notes/temp_pr_analysis_v[version].md.</message>
381
+
<message>Investigate PR #[NUMBER] (changelog-referenced, possibly out of original range) for release notes v[version]. Follow standard analysis and add to .roo/tmp/release-notes/temp_pr_analysis_v[version].md without overwriting existing content.</message>
For each PR, the parent MUST create a subtask via new_task. The parent MUST NOT write PR analysis entries; only subtasks may append to .roo/tmp/release-notes/temp_pr_analysis_v[version].md. Do not proceed to changelog_alignment or compilation until all PR subtasks complete.
715
+
For each PR, the parent MUST create a subtask via new_task. The parent MUST NOT write PR analysis entries; only subtasks may add entries to .roo/tmp/release-notes/temp_pr_analysis_v[version].md without overwriting existing content. Do not proceed to changelog_alignment or compilation until all PR subtasks complete.
716
716
Even when the parent already has the PR number, title, description, or a user‑provided
717
717
summary list, it MUST still create and wait on the per‑PR subtask. These summaries are
718
718
insufficient for functional understanding of the change, discovery of linked issues, and
Copy file name to clipboardExpand all lines: docs/advanced-usage/available-tools/tool-use-overview.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Tools are organized into logical groups based on their functionality:
29
29
|----------|---------|-------|------------|
30
30
|**Read Group**| File system reading and exploration |[read_file](/advanced-usage/available-tools/read-file), [list_files](/advanced-usage/available-tools/list-files), [list_code_definition_names](/advanced-usage/available-tools/list-code-definition-names)| Code exploration and analysis |
31
31
|**Search Group**| Pattern and semantic searching |[search_files](/advanced-usage/available-tools/search-files), [codebase_search](/advanced-usage/available-tools/codebase-search)| Finding code patterns and functionality |
32
-
|**Edit Group**| File system modifications |[apply_diff](/advanced-usage/available-tools/apply-diff), [insert_content](/advanced-usage/available-tools/insert-content), [write_to_file](/advanced-usage/available-tools/write-to-file)| Code changes and file manipulation |
32
+
|**Edit Group**| File system modifications |[apply_diff](/advanced-usage/available-tools/apply-diff), [write_to_file](/advanced-usage/available-tools/write-to-file)| Code changes and file manipulation |
33
33
|**Browser Group**| Web automation |[browser_action](/advanced-usage/available-tools/browser-action)| Web testing and interaction |
34
34
|**Command Group**| System command execution |[execute_command](/advanced-usage/available-tools/execute-command), [run_slash_command](/advanced-usage/available-tools/run-slash-command)*| Running scripts, building projects, executing command templates |
Copy file name to clipboardExpand all lines: docs/advanced-usage/available-tools/write-to-file.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ When the `write_to_file` tool is invoked, it follows this process:
75
75
76
76
1.**Parameter Validation**: Validates the required parameters and permissions
77
77
- Checks that `path`, `content`, and `line_count` are provided
78
-
- If `line_count` is missing/invalid, reverts any diff view changes and returns an error suggesting alternative tools (`apply_diff`, `insert_content`, etc.) if modifying an existing file.
78
+
- If `line_count` is missing/invalid, reverts any diff view changes and returns an error suggesting alternative tools (`apply_diff`, etc.) if modifying an existing file.
79
79
- Validates the file is allowed (not restricted by `.rooignore`)
80
80
- Ensures the path is within the workspace boundaries
81
81
- Tracks consecutive mistake counts for missing parameters
Copy file name to clipboardExpand all lines: docs/update-notes/v3.14.0.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This release introduces Gemini prompt caching, improves several tools, and inclu
14
14
* Improve [`apply_diff`](/advanced-usage/available-tools/apply-diff) to work better with **Google Gemini 2.5** and other models
15
15
* Automatically close files opened by edit tools (`apply_diff`, `insert_content`, `search_and_replace`, `write_to_file`) after changes are approved. This prevents cluttering the editor with files opened by Roo and helps clarify context by only showing files intentionally opened by the user.
16
16
* Added the `search_and_replace` tool. This tool finds and replaces text within a file using literal strings or regex patterns, optionally within specific line ranges (thanks samhvw8!).
17
-
* Added the [`insert_content`](/advanced-usage/available-tools/insert-content) tool. This tool adds new lines into a file at a specific location or the end, without modifying existing content (thanks samhvw8!).
17
+
* Added the `insert_content` tool (now retired). This tool added new lines into a file at a specific location or the end, without modifying existing content (thanks samhvw8!).
18
18
* Deprecated the `append_to_file` tool in favor of `insert_content` (use `line: 0`).
19
19
* Correctly revert changes and suggest alternative tools when [`write_to_file`](/advanced-usage/available-tools/write-to-file) fails on a missing line count
20
20
* Better progress indicator for [`apply_diff`](/advanced-usage/available-tools/apply-diff) tools (thanks qdaxb!)
Copy file name to clipboardExpand all lines: docs/update-notes/v3.14.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ image: /img/social-share.jpg
46
46
* Improve [`apply_diff`](/advanced-usage/available-tools/apply-diff) to work better with **Google Gemini 2.5** and other models
47
47
* Automatically close files opened by edit tools (`apply_diff`, `insert_content`, `search_and_replace`, `write_to_file`) after changes are approved. This prevents cluttering the editor with files opened by Roo and helps clarify context by only showing files intentionally opened by the user.
48
48
* Added the `search_and_replace` tool. This tool finds and replaces text within a file using literal strings or regex patterns, optionally within specific line ranges (thanks samhvw8!).
49
-
* Added the [`insert_content`](/advanced-usage/available-tools/insert-content) tool. This tool adds new lines into a file at a specific location or the end, without modifying existing content (thanks samhvw8!).
49
+
* Added the `insert_content` tool (now retired). This tool added new lines into a file at a specific location or the end, without modifying existing content (thanks samhvw8!).
50
50
* Deprecated the `append_to_file` tool in favor of `insert_content` (use `line: 0`).
51
51
* Correctly revert changes and suggest alternative tools when [`write_to_file`](/advanced-usage/available-tools/write-to-file) fails on a missing line count
52
52
* Better progress indicator for [`apply_diff`](/advanced-usage/available-tools/apply-diff) tools (thanks qdaxb!)
0 commit comments