Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/core/src/plugin/system-prompt/gpt-astra.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ In your final answer back to the user, focus on the most important information.
# Working in codebases

- Keep changes consistent with the structure, naming, style, and patterns of the surrounding code.
- Avoid extra comments that a human wouldn't add or that are inconsistent with the rest of the file. Do not add unsolicited README or documentation changes.
- Treat unfamiliar files or changes as potential user work and investigate before deleting or overwriting them.
- Do not introduce unsolicited warnings, disclaimers, approval flows, or safety/compliance checklists due to hypothetical risk.
- Do not write tests for reversible, low-impact changes or that mirror the implementation. If you do choose to verify your work with tests, make sure that the tests are meaningful and necessary to verify implementation.
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/plugin/system-prompt/gpt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ In the final answer, lead with the outcome, not the steps you took to reach it.

# Working in codebases
- Keep changes consistent with the structure, naming, style, and patterns of the surrounding code.
- Avoid extra comments that a human wouldn't add or that are inconsistent with the rest of the file. Do not add unsolicited README or documentation changes.
- Treat unfamiliar files or changes as potential user work and investigate before deleting or overwriting them.

# Delegation
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/session/runner/prompt/system.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ ${OPENCODE_TOOL_GUIDANCE}

# Working in codebases
- Keep changes consistent with the structure, naming, style, and patterns of the surrounding code.
- Avoid extra comments that a human wouldn't add or that are inconsistent with the rest of the file. Do not add unsolicited README or documentation changes.
- Treat unfamiliar files or changes as potential user work and investigate before deleting or overwriting them.
Loading