diff options
| -rw-r--r-- | internal/executor/preamble.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/executor/preamble.go b/internal/executor/preamble.go index b20f7ea..e50c16f 100644 --- a/internal/executor/preamble.go +++ b/internal/executor/preamble.go @@ -34,6 +34,18 @@ Before doing any implementation work: --- +## Git Discipline (mandatory when project_dir is set) + +Every change you make to the working directory **must be committed before you finish**. +The sandbox is rejected if there are any uncommitted modifications. + +- After completing work: run "git add -A && git commit -m 'concise description'" +- One commit is fine. Multiple focused commits are also fine. +- If you realise the task was already done and you made no changes, that is also fine — just exit cleanly without committing. +- Do not exit with uncommitted edits. + +--- + ` func withPlanningPreamble(instructions string) string { |
