@pushpalsdev/cli 1.0.79 → 1.0.81
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 +66 -3
- package/monitor-ui/+not-found.html +1 -1
- package/monitor-ui/_expo/static/js/web/{entry-c6862f701ea52ccf8692a6c9e749af5c.js → entry-e66b4de45f75e702ac16916082bcc9a5.js} +172 -171
- package/monitor-ui/_expo/static/js/web/{index-6013f9ebc87a963a55bb9137af1a5a06.js → index-ec13ec62e2b37ed3c5f6d324ef6784e1.js} +4 -4
- package/monitor-ui/_sitemap.html +1 -1
- package/monitor-ui/index.html +1 -1
- package/monitor-ui/modal.html +1 -1
- package/package.json +1 -1
- package/runtime/prompts/remotebuddy/autonomy_ideation_system_prompt.md +5 -3
- package/runtime/prompts/workerpals/openai_codex_default_system_prompt.md +1 -0
- package/runtime/prompts/workerpals/openai_codex_runtime_policy_appendix.md +1 -0
- package/runtime/prompts/workerpals/openai_codex_task_execute_system_prompt.md +1 -0
- package/runtime/sandbox/.pushpals-remotebuddy-fallback.js +560 -23
- package/runtime/sandbox/apps/workerpals/src/execute_job.ts +282 -33
- package/runtime/sandbox/apps/workerpals/src/workerpals_main.ts +113 -2
- package/runtime/sandbox/packages/shared/src/client_preflight.ts +2 -0
- package/runtime/sandbox/packages/shared/src/config.ts +1 -6
- package/runtime/sandbox/packages/shared/src/index.ts +19 -0
- package/runtime/sandbox/packages/shared/src/tooling.ts +422 -0
- package/runtime/sandbox/packages/shared/src/vision.ts +12 -0
- package/runtime/sandbox/prompts/workerpals/openai_codex_default_system_prompt.md +1 -0
- package/runtime/sandbox/prompts/workerpals/openai_codex_runtime_policy_appendix.md +1 -0
- package/runtime/sandbox/prompts/workerpals/openai_codex_task_execute_system_prompt.md +1 -0
- package/runtime/vision.example.md +125 -122
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> **One sentence:** What does this repo exist to make true in the world?
|
|
4
4
|
>
|
|
5
|
-
> Example:
|
|
5
|
+
> Example: Make it easy for developers to ship `<X>` reliably without needing deep expertise in `<Y>`.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -10,201 +10,204 @@
|
|
|
10
10
|
|
|
11
11
|
### Primary users
|
|
12
12
|
|
|
13
|
-
- **User type A:**
|
|
14
|
-
- Jobs-to-be-done:
|
|
15
|
-
- Pain today:
|
|
16
|
-
- Success looks like:
|
|
13
|
+
- **User type A:** Who depends on this repo most?
|
|
14
|
+
- Jobs-to-be-done: What are they trying to accomplish?
|
|
15
|
+
- Pain today: What is slow, confusing, risky, or broken?
|
|
16
|
+
- Success looks like: What should be easier or more trustworthy?
|
|
17
17
|
|
|
18
18
|
### Secondary users
|
|
19
19
|
|
|
20
|
-
- **User type B:**
|
|
21
|
-
- Jobs-to-be-done:
|
|
22
|
-
- Pain today:
|
|
23
|
-
- Success looks like:
|
|
20
|
+
- **User type B:** Who benefits indirectly?
|
|
21
|
+
- Jobs-to-be-done: ...
|
|
22
|
+
- Pain today: ...
|
|
23
|
+
- Success looks like: ...
|
|
24
24
|
|
|
25
|
-
### Non-users
|
|
25
|
+
### Non-users
|
|
26
26
|
|
|
27
|
-
- **Not for:**
|
|
28
|
-
- Why:
|
|
29
|
-
|
|
30
|
-
> **Guidance:** Keep this section concrete. If you can’t name the user and their job, you’ll argue about priorities forever.
|
|
27
|
+
- **Not for:** Who or what are we explicitly not optimizing for?
|
|
28
|
+
- Why: ...
|
|
31
29
|
|
|
32
30
|
---
|
|
33
31
|
|
|
34
32
|
## 2) The problem we solve
|
|
35
33
|
|
|
36
|
-
### Today
|
|
34
|
+
### Today's reality
|
|
37
35
|
|
|
38
|
-
- What
|
|
39
|
-
- What
|
|
40
|
-
-
|
|
36
|
+
- What repeatedly fails, confuses users, wastes time, or creates operational risk?
|
|
37
|
+
- What is expensive in time, money, cognitive load, or coordination?
|
|
38
|
+
- Which current limitations block the repo from delivering its core value?
|
|
41
39
|
|
|
42
40
|
### The change we want
|
|
43
41
|
|
|
44
|
-
- In
|
|
45
|
-
- In
|
|
46
|
-
|
|
47
|
-
> **Optional:** Add a 3–5 line “story” of a user before vs after.
|
|
42
|
+
- In the next few months, what should become meaningfully easier?
|
|
43
|
+
- In the longer term, what should be obviously different because this repo succeeds?
|
|
48
44
|
|
|
49
45
|
---
|
|
50
46
|
|
|
51
|
-
## 3) Product principles
|
|
52
|
-
|
|
53
|
-
These are **tie-breakers** when tradeoffs happen. Put them in priority order.
|
|
47
|
+
## 3) Product principles
|
|
54
48
|
|
|
55
|
-
|
|
56
|
-
- We will: …
|
|
57
|
-
- We won’t: …
|
|
58
|
-
2. **Principle 2:** (e.g., “Make the common path fast”)
|
|
59
|
-
- We will: …
|
|
60
|
-
- We won’t: …
|
|
61
|
-
3. **Principle 3:** (e.g., “Prefer boring, maintainable solutions”)
|
|
62
|
-
- We will: …
|
|
63
|
-
- We won’t: …
|
|
49
|
+
Put these in priority order. They should help say "no" to tempting but wrong work.
|
|
64
50
|
|
|
65
|
-
|
|
51
|
+
1. **Principle 1:** e.g. Safe by default.
|
|
52
|
+
- We will: ...
|
|
53
|
+
- We will not: ...
|
|
54
|
+
2. **Principle 2:** e.g. Make the common path fast.
|
|
55
|
+
- We will: ...
|
|
56
|
+
- We will not: ...
|
|
57
|
+
3. **Principle 3:** e.g. Prefer maintainable, reversible changes.
|
|
58
|
+
- We will: ...
|
|
59
|
+
- We will not: ...
|
|
66
60
|
|
|
67
61
|
---
|
|
68
62
|
|
|
69
|
-
## 4) What
|
|
70
|
-
|
|
71
|
-
Pick a small set of metrics you can actually track.
|
|
63
|
+
## 4) What good looks like
|
|
72
64
|
|
|
73
65
|
### User-facing outcomes
|
|
74
66
|
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
### Developer / maintainer outcomes
|
|
67
|
+
- Users can complete the core workflow with less time, confusion, or failure.
|
|
68
|
+
- The most important behavior is observable and trustworthy.
|
|
69
|
+
- Regressions in the core path are caught before they reach users.
|
|
80
70
|
|
|
81
|
-
|
|
82
|
-
- **Operational burden:** pages/alerts per week, toil hours
|
|
83
|
-
- **Maintainability:** test coverage for critical paths, build time, flake rate
|
|
71
|
+
### Product quality measures
|
|
84
72
|
|
|
85
|
-
|
|
73
|
+
- Reliability: ...
|
|
74
|
+
- Performance: ...
|
|
75
|
+
- Validation coverage: ...
|
|
76
|
+
- Maintainability: ...
|
|
86
77
|
|
|
87
78
|
---
|
|
88
79
|
|
|
89
80
|
## 5) Scope and boundaries
|
|
90
81
|
|
|
91
|
-
### In scope
|
|
82
|
+
### In scope
|
|
92
83
|
|
|
93
|
-
- Core capability A:
|
|
94
|
-
- Core capability B:
|
|
95
|
-
- Core capability C:
|
|
84
|
+
- Core capability A: ...
|
|
85
|
+
- Core capability B: ...
|
|
86
|
+
- Core capability C: ...
|
|
96
87
|
|
|
97
|
-
### Out of scope / non-goals
|
|
88
|
+
### Out of scope / non-goals
|
|
98
89
|
|
|
99
|
-
- Not
|
|
100
|
-
- Not
|
|
101
|
-
- Not
|
|
102
|
-
|
|
103
|
-
### Compatibility & support policy (optional)
|
|
104
|
-
|
|
105
|
-
- Supported platforms / versions: …
|
|
106
|
-
- Breaking changes policy: …
|
|
107
|
-
- Deprecation timeline: …
|
|
108
|
-
|
|
109
|
-
> **Guidance:** This section prevents “just one more feature” creep.
|
|
90
|
+
- Not trying to support: ...
|
|
91
|
+
- Not optimizing for: ...
|
|
92
|
+
- Not a replacement for: ...
|
|
110
93
|
|
|
111
94
|
---
|
|
112
95
|
|
|
113
|
-
## 6) Current priorities
|
|
114
|
-
|
|
115
|
-
Pick 3–5 items max. Each should be **outcome-oriented**.
|
|
96
|
+
## 6) Current priorities
|
|
116
97
|
|
|
117
|
-
|
|
118
|
-
- Why now: …
|
|
119
|
-
- Success criteria: …
|
|
120
|
-
- Owner / area: …
|
|
121
|
-
2. **Priority:** …
|
|
122
|
-
3. **Priority:** …
|
|
98
|
+
Pick 3-7 outcome-oriented priorities. Put the most important first; PushPals uses this order.
|
|
123
99
|
|
|
124
|
-
|
|
100
|
+
1. **Priority 1 title**
|
|
101
|
+
- Why now: ...
|
|
102
|
+
- Success criteria: ...
|
|
103
|
+
- Expected validation: ...
|
|
104
|
+
2. **Priority 2 title**
|
|
105
|
+
- Why now: ...
|
|
106
|
+
- Success criteria: ...
|
|
107
|
+
- Expected validation: ...
|
|
108
|
+
3. **Priority 3 title**
|
|
109
|
+
- Why now: ...
|
|
110
|
+
- Success criteria: ...
|
|
111
|
+
- Expected validation: ...
|
|
125
112
|
|
|
126
113
|
---
|
|
127
114
|
|
|
128
|
-
## 7) Near-term objectives
|
|
129
|
-
|
|
130
|
-
These are “bets” with explicit results.
|
|
115
|
+
## 7) Near-term objectives
|
|
131
116
|
|
|
132
117
|
### Objective A: <name>
|
|
133
118
|
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
119
|
+
- Problem: ...
|
|
120
|
+
- Approach: ...
|
|
121
|
+
- Deliverables: ...
|
|
122
|
+
- Risks: ...
|
|
123
|
+
- Exit criteria: ...
|
|
124
|
+
- Expected validation: ...
|
|
139
125
|
|
|
140
126
|
### Objective B: <name>
|
|
141
127
|
|
|
142
|
-
-
|
|
128
|
+
- Problem: ...
|
|
129
|
+
- Approach: ...
|
|
130
|
+
- Deliverables: ...
|
|
131
|
+
- Risks: ...
|
|
132
|
+
- Exit criteria: ...
|
|
133
|
+
- Expected validation: ...
|
|
143
134
|
|
|
144
135
|
---
|
|
145
136
|
|
|
146
|
-
## 8) Long-term direction
|
|
147
|
-
|
|
148
|
-
Describe where this repo is going, without over-promising.
|
|
137
|
+
## 8) Long-term direction
|
|
149
138
|
|
|
150
139
|
### Strategic bets
|
|
151
140
|
|
|
152
|
-
- **Bet 1:**
|
|
153
|
-
- Why it matters:
|
|
154
|
-
- What we
|
|
155
|
-
- What we likely
|
|
156
|
-
- **Bet 2:**
|
|
141
|
+
- **Bet 1:** ...
|
|
142
|
+
- Why it matters: ...
|
|
143
|
+
- What we will likely build: ...
|
|
144
|
+
- What we likely will not build: ...
|
|
145
|
+
- **Bet 2:** ...
|
|
157
146
|
|
|
158
|
-
###
|
|
147
|
+
### If we are right, then
|
|
159
148
|
|
|
160
|
-
- Users will be able to:
|
|
161
|
-
- Maintainers will spend less time on:
|
|
162
|
-
- The
|
|
149
|
+
- Users will be able to: ...
|
|
150
|
+
- Maintainers will spend less time on: ...
|
|
151
|
+
- The project will be known for: ...
|
|
163
152
|
|
|
164
153
|
---
|
|
165
154
|
|
|
166
155
|
## 9) Guardrails and constraints
|
|
167
156
|
|
|
168
|
-
### Guardrails
|
|
157
|
+
### Guardrails
|
|
169
158
|
|
|
170
|
-
- Prefer
|
|
171
|
-
-
|
|
172
|
-
-
|
|
173
|
-
- Avoid
|
|
174
|
-
- Pay down operational toil before adding big surface area.
|
|
159
|
+
- Prefer small, reversible changes with clear validation.
|
|
160
|
+
- Protect the core user workflow before widening scope.
|
|
161
|
+
- Do not hide validation failures or claim untested work is complete.
|
|
162
|
+
- Avoid new dependencies unless they reduce net complexity.
|
|
175
163
|
|
|
176
|
-
### Constraints
|
|
164
|
+
### Constraints
|
|
177
165
|
|
|
178
|
-
-
|
|
179
|
-
-
|
|
180
|
-
- External dependencies:
|
|
166
|
+
- Supported platforms / runtimes: ...
|
|
167
|
+
- Performance or cost limits: ...
|
|
168
|
+
- External dependencies: ...
|
|
169
|
+
- Maintainer bandwidth: ...
|
|
181
170
|
|
|
182
|
-
|
|
171
|
+
### Agent validation policy
|
|
172
|
+
|
|
173
|
+
- Agents must name the validation path before starting work.
|
|
174
|
+
- If the expected validation cannot run, agents must surface that as a blocker.
|
|
175
|
+
- User-facing or UI-affecting work should include an end-to-end or rendered-surface check when available.
|
|
183
176
|
|
|
184
|
-
|
|
177
|
+
### Risk policy
|
|
185
178
|
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
- **Review expectations:** tests required for critical paths, docs for user-facing behavior
|
|
189
|
-
- **Release cadence:** …
|
|
190
|
-
- **What we won’t merge:** (examples)
|
|
191
|
-
- large rewrites without an incremental plan
|
|
192
|
-
- behavior changes without migration guidance
|
|
193
|
-
- features that expand scope beyond the non-goals
|
|
179
|
+
- Core-path regressions are more serious than missing stretch features.
|
|
180
|
+
- High-risk architecture or behavior changes require explicit maintainer review.
|
|
194
181
|
|
|
195
182
|
---
|
|
196
183
|
|
|
197
|
-
##
|
|
184
|
+
## 10) How decisions get made
|
|
198
185
|
|
|
199
|
-
|
|
186
|
+
- Source of truth: this `vision.md`, issues, and repo docs.
|
|
187
|
+
- Prefer work that advances section 6 priorities and section 7 objectives.
|
|
188
|
+
- Require tests or equivalent validation for critical-path changes.
|
|
189
|
+
- Do not merge broad rewrites without an incremental plan and rollback path.
|
|
200
190
|
|
|
201
|
-
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## 11) Active repo autonomy loop
|
|
202
194
|
|
|
203
|
-
|
|
195
|
+
- PushPals should compile section 6 priorities and section 7 objectives into small, ranked autonomous work items.
|
|
196
|
+
- Every selected objective should include:
|
|
197
|
+
- Source signal: which priority/objective/guardrail triggered it.
|
|
198
|
+
- Weight: why it matters now.
|
|
199
|
+
- Scope: files or areas expected to change.
|
|
200
|
+
- Guardrail check: what the work must not break.
|
|
201
|
+
- Validation path: the command or manual check that proves the change.
|
|
202
|
+
- PushPals should favor repo-native work over meta/autonomy work unless this repo's own vision makes meta/autonomy infrastructure a top priority.
|
|
203
|
+
|
|
204
|
+
---
|
|
204
205
|
|
|
205
|
-
|
|
206
|
+
## 12) Testing criteria
|
|
206
207
|
|
|
207
|
-
|
|
208
|
+
This is the user-owned validation contract for autonomous work.
|
|
209
|
+
Fill this section with the exact repo commands WorkerPals must run before submitting a PR or revision.
|
|
210
|
+
PushPals treats command-like bullet items in this section as required validation and blocks publication when they fail.
|
|
208
211
|
|
|
209
|
-
-
|
|
210
|
-
-
|
|
212
|
+
- Add repo-required test commands as separate bullet items after they exist in this repository.
|
|
213
|
+
- Keep conditional or manual checks in section 9 unless they are mandatory for every WorkerPal PR or revision.
|