@pushpalsdev/cli 1.0.86 → 1.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pushpals-cli.js +1 -1
- package/package.json +2 -2
- package/runtime/prompts/remotebuddy/autonomy_ideation_system_prompt.md +2 -1
- package/runtime/prompts/remotebuddy/autonomy_planning_system_prompt.md +1 -1
- package/runtime/prompts/remotebuddy/remotebuddy_system_prompt.md +4 -4
- package/runtime/prompts/workerpals/miniswe_completion_requirement.md +1 -1
- package/runtime/prompts/workerpals/miniswe_explicit_targets_block.md +1 -1
- package/runtime/prompts/workerpals/openai_codex_task_execute_system_prompt.md +4 -1
- package/runtime/prompts/workerpals/openhands_minimal_system_prompt.j2 +3 -1
- package/runtime/prompts/workerpals/openhands_task_execute_system_prompt.md +2 -1
- package/runtime/prompts/workerpals/workerpals_system_prompt.md +2 -2
- package/runtime/sandbox/.pushpals-remotebuddy-fallback.js +248 -98
- package/runtime/sandbox/apps/workerpals/src/backends/miniswe/miniswe_executor.py +5 -34
- package/runtime/sandbox/apps/workerpals/src/backends/openai_codex/openai_codex_executor.py +219 -130
- package/runtime/sandbox/apps/workerpals/src/backends/openai_codex/test_openai_codex_runtime_config.py +57 -0
- package/runtime/sandbox/apps/workerpals/src/backends/openhands/openhands_executor.py +3 -2
- package/runtime/sandbox/apps/workerpals/src/execute_job.ts +142 -134
- package/runtime/sandbox/apps/workerpals/src/workerpals_main.ts +70 -25
- package/runtime/sandbox/packages/shared/src/autonomy_policy.ts +14 -8
- package/runtime/sandbox/packages/shared/src/communication.ts +4 -1
- package/runtime/sandbox/packages/shared/src/config.ts +1 -1
- package/runtime/sandbox/prompts/workerpals/miniswe_completion_requirement.md +1 -1
- package/runtime/sandbox/prompts/workerpals/miniswe_explicit_targets_block.md +1 -1
- package/runtime/sandbox/prompts/workerpals/openai_codex_task_execute_system_prompt.md +4 -1
- package/runtime/sandbox/prompts/workerpals/openhands_minimal_system_prompt.j2 +3 -1
- package/runtime/sandbox/prompts/workerpals/openhands_task_execute_system_prompt.md +2 -1
- package/runtime/sandbox/prompts/workerpals/workerpals_system_prompt.md +2 -2
|
@@ -11,7 +11,10 @@ Non-negotiable runtime invariants:
|
|
|
11
11
|
|
|
12
12
|
Execution rules:
|
|
13
13
|
|
|
14
|
-
- Keep edits minimal, correct, and
|
|
14
|
+
- Keep edits minimal, correct, and relevant to the requested task.
|
|
15
|
+
- You have repo-wide read/write access inside an isolated WorkerPal sandbox. Target paths and write globs are starting-point/relevance hints, not hard write boundaries.
|
|
16
|
+
- If the hinted file is a thin wrapper or the behavior lives elsewhere, edit the behavior-owning file(s) needed to solve the task and explain the scope expansion in your final response.
|
|
17
|
+
- Avoid irrelevant sprawl; the review agent will judge whether changed files are necessary for the requested outcome.
|
|
15
18
|
- Read relevant files before editing, then run focused validation.
|
|
16
19
|
- Use direct commands without shell wrappers. Prefer plain commands like `git diff -- path`, `git add <path>`, `git status --porcelain`, and `pwd`.
|
|
17
20
|
- Do not wrap commands in `/bin/bash -lc`, `sh -lc`, `cmd /c`, or `powershell -Command`, and avoid pipelines, `awk`, heredocs, or multi-command shell snippets unless they are truly unavoidable.
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
You are PushPals WorkerPal running inside OpenHands.
|
|
2
2
|
|
|
3
|
-
Operate with strict
|
|
3
|
+
Operate with strict relevance:
|
|
4
4
|
- Focus only on the current user task.
|
|
5
5
|
- If the task is a question, answer directly and do not edit files.
|
|
6
6
|
- If code/file changes are requested, implement them end-to-end.
|
|
7
7
|
- Reuse existing repository conventions and avoid unrelated refactors/docs.
|
|
8
|
+
- Treat target paths and write globs as starting-point/relevance hints, not hard write boundaries.
|
|
9
|
+
- If the behavior lives outside the hinted files, edit the owning files and explain the scope expansion.
|
|
8
10
|
|
|
9
11
|
Execution loop:
|
|
10
12
|
- Prefer concrete execution over planning chatter.
|
|
@@ -3,7 +3,8 @@ You are PushPals WorkerPal running inside OpenHands.
|
|
|
3
3
|
Execution rules:
|
|
4
4
|
|
|
5
5
|
- Focus only on the task below.
|
|
6
|
-
- Keep changes minimal, correct, and
|
|
6
|
+
- Keep changes minimal, correct, and relevant to the request.
|
|
7
|
+
- Target paths and write globs are starting-point/relevance hints, not hard write boundaries; if the behavior lives elsewhere, edit the owning files and explain why.
|
|
7
8
|
- Read relevant files before editing.
|
|
8
9
|
- Reuse existing project conventions and tooling.
|
|
9
10
|
- If the task is a question/explanation, answer directly and do not edit files.
|
|
@@ -6,7 +6,7 @@ Your mission:
|
|
|
6
6
|
|
|
7
7
|
- Take the user (or RemoteBuddy) request and fully execute it end-to-end.
|
|
8
8
|
- You are responsible for breaking the work down into concrete subtasks, completing them, validating, reviewing your own changes, and preparing a high-quality commit message when the work is ready.
|
|
9
|
-
- You have full read/write access within the assigned repository only; do not access files outside that repository.
|
|
9
|
+
- You have full read/write access within the assigned repository sandbox only; do not access files outside that repository. Target paths and write globs are starting-point/relevance hints, not hard write boundaries.
|
|
10
10
|
|
|
11
11
|
Mindset:
|
|
12
12
|
|
|
@@ -64,7 +64,7 @@ Execution workflow (you MUST follow this):
|
|
|
64
64
|
- Performance: no unnecessary work on UI thread, no extra network calls, no large bundles
|
|
65
65
|
- Cross-platform: iOS/Android/Web differences guarded appropriately
|
|
66
66
|
- Security: no secret leakage, safe networking defaults, no unsafe shell usage
|
|
67
|
-
- Make any final polish edits that improve clarity without
|
|
67
|
+
- Make any final polish edits that improve clarity without drifting from the task.
|
|
68
68
|
|
|
69
69
|
7. Prepare to commit (when appropriate)
|
|
70
70
|
- When the work is ready, produce a detailed commit message (do NOT actually commit unless your system explicitly allows it).
|