prompts-gpt 0.3.4 → 0.3.6
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/README.md +189 -110
- package/dist/cli.js +1014 -230
- package/dist/cli.js.map +1 -1
- package/dist/common-utils.d.ts +148 -0
- package/dist/common-utils.d.ts.map +1 -0
- package/dist/common-utils.js +1115 -0
- package/dist/common-utils.js.map +1 -0
- package/dist/context-engine/hooks.d.ts +153 -0
- package/dist/context-engine/hooks.d.ts.map +1 -0
- package/dist/context-engine/hooks.js +162 -0
- package/dist/context-engine/hooks.js.map +1 -0
- package/dist/context-engine/index.d.ts +13 -0
- package/dist/context-engine/index.d.ts.map +1 -0
- package/dist/context-engine/index.js +7 -0
- package/dist/context-engine/index.js.map +1 -0
- package/dist/context-engine/isolation.d.ts +93 -0
- package/dist/context-engine/isolation.d.ts.map +1 -0
- package/dist/context-engine/isolation.js +220 -0
- package/dist/context-engine/isolation.js.map +1 -0
- package/dist/context-engine/progress-file.d.ts +59 -0
- package/dist/context-engine/progress-file.d.ts.map +1 -0
- package/dist/context-engine/progress-file.js +192 -0
- package/dist/context-engine/progress-file.js.map +1 -0
- package/dist/context-engine/provider-adapter.d.ts +77 -0
- package/dist/context-engine/provider-adapter.d.ts.map +1 -0
- package/dist/context-engine/provider-adapter.js +209 -0
- package/dist/context-engine/provider-adapter.js.map +1 -0
- package/dist/context-engine/session-persistence.d.ts +122 -0
- package/dist/context-engine/session-persistence.d.ts.map +1 -0
- package/dist/context-engine/session-persistence.js +241 -0
- package/dist/context-engine/session-persistence.js.map +1 -0
- package/dist/context-engine/summarizer.d.ts +85 -0
- package/dist/context-engine/summarizer.d.ts.map +1 -0
- package/dist/context-engine/summarizer.js +315 -0
- package/dist/context-engine/summarizer.js.map +1 -0
- package/dist/context-engine.d.ts +241 -0
- package/dist/context-engine.d.ts.map +1 -0
- package/dist/context-engine.js +1017 -0
- package/dist/context-engine.js.map +1 -0
- package/dist/index.d.ts +12 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +68 -16
- package/dist/index.js.map +1 -1
- package/dist/model-registry.d.ts +1 -1
- package/dist/model-registry.d.ts.map +1 -1
- package/dist/model-registry.js +30 -47
- package/dist/model-registry.js.map +1 -1
- package/dist/orchestrate.d.ts +104 -2
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +880 -281
- package/dist/orchestrate.js.map +1 -1
- package/dist/runtime.d.ts +28 -2
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +553 -125
- package/dist/runtime.js.map +1 -1
- package/dist/sweep.d.ts +48 -2
- package/dist/sweep.d.ts.map +1 -1
- package/dist/sweep.js +350 -353
- package/dist/sweep.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -79,13 +79,15 @@ Bridges the Prompts-GPT cloud library with the agent instruction files each tool
|
|
|
79
79
|
| `run` | Execute one prompt with a local agent (`-f <file>`) |
|
|
80
80
|
| `run-batch` | Execute multiple prompts |
|
|
81
81
|
| `sweep` | Multi-iteration execution (`-f <file> -n <count>`) |
|
|
82
|
+
| `orchestrate` | Multi-provider parallel, pipeline, or eval orchestration |
|
|
82
83
|
| `list` | Show prompts, sweeps, agents |
|
|
83
|
-
| `status` | Show workspace readiness |
|
|
84
|
+
| `status` | Show workspace readiness and active sweeps |
|
|
84
85
|
| `providers` | Show detected CLIs |
|
|
85
86
|
| `doctor` | Validate prerequisites |
|
|
86
87
|
| `validate` | Check config for errors |
|
|
87
88
|
| `models` | List known models per provider |
|
|
88
89
|
| `sync-models` | Fetch latest model registry from prompts-gpt.com |
|
|
90
|
+
| `diff` | Inspect worktree delta from a prior run |
|
|
89
91
|
| `project` | Show the current project linked to the token |
|
|
90
92
|
|
|
91
93
|
Run `prompts-gpt help <command>` for detailed options.
|
|
@@ -108,7 +110,12 @@ prompts-gpt sweep --all-sweeps --sweep-strategy parallel --file-concurrency 3 -n
|
|
|
108
110
|
|
|
109
111
|
# Run only selected sweep files
|
|
110
112
|
prompts-gpt sweep --sweep-files design,research --sweep-strategy parallel -n 2
|
|
111
|
-
|
|
113
|
+
|
|
114
|
+
# Multi-provider fan-out: run the same sweep across codex and cursor simultaneously
|
|
115
|
+
prompts-gpt sweep --all-sweeps --providers codex,cursor --sweep-strategy parallel
|
|
116
|
+
|
|
117
|
+
# Abort on first failure in a multi-file sweep
|
|
118
|
+
prompts-gpt sweep --all-sweeps --sweep-strategy parallel --fail-fast
|
|
112
119
|
|
|
113
120
|
# Preview what a sweep would do
|
|
114
121
|
prompts-gpt sweep --dry-run
|
|
@@ -116,52 +123,14 @@ prompts-gpt sweep --dry-run
|
|
|
116
123
|
# Run and score multiple providers on one prompt
|
|
117
124
|
prompts-gpt orchestrate --mode parallel -f .prompts-gpt/review.md --providers codex,claude,cursor --criteria correctness,completeness
|
|
118
125
|
|
|
119
|
-
# Interactive orchestration mode picker
|
|
120
|
-
prompts-gpt orchestrate
|
|
121
|
-
|
|
122
126
|
# Chain steps with context passing
|
|
123
|
-
|
|
124
|
-
[
|
|
125
|
-
{"name":"research","promptFile":".prompts-gpt/review.md","agent":"codex"},
|
|
126
|
-
{"name":"implement","promptFile":".prompts-gpt/review.md","agent":"claude"},
|
|
127
|
-
{"name":"review","promptFile":".prompts-gpt/review.md","agent":"cursor"}
|
|
128
|
-
]
|
|
129
|
-
EOF
|
|
130
|
-
prompts-gpt orchestrate --mode pipeline --steps pipeline.json --dry-run
|
|
127
|
+
prompts-gpt orchestrate --mode pipeline --steps pipeline.json
|
|
131
128
|
|
|
132
129
|
# Run once and evaluate with explicit criteria
|
|
133
130
|
prompts-gpt orchestrate --mode eval -f .prompts-gpt/review.md --criteria correctness,risk,clarity
|
|
134
|
-
prompts-gpt orchestrate --mode eval --dry-run --eval-criteria correctness,risk,clarity
|
|
135
|
-
|
|
136
|
-
# Inspect available models for the resolved orchestration providers
|
|
137
|
-
prompts-gpt orchestrate --mode eval --list-models
|
|
138
|
-
|
|
139
|
-
# Re-run a prompt when the file changes
|
|
140
|
-
prompts-gpt run -f .prompts-gpt/review.md --watch
|
|
141
|
-
|
|
142
|
-
# Scaffold local runner config and prompt sources
|
|
143
|
-
prompts-gpt doctor --fix
|
|
144
|
-
|
|
145
|
-
# Inspect the worktree delta for a recent run
|
|
146
|
-
prompts-gpt diff
|
|
147
|
-
prompts-gpt diff <run-id>
|
|
148
|
-
|
|
149
|
-
# Run a sweep with reduced output
|
|
150
|
-
prompts-gpt sweep --quiet
|
|
151
|
-
|
|
152
|
-
# Run one sweep file with independent parallel iterations
|
|
153
|
-
prompts-gpt sweep -f .prompts-gpt/sweeps/design.md -n 6 --parallel 3
|
|
154
131
|
|
|
155
|
-
#
|
|
156
|
-
prompts-gpt
|
|
157
|
-
|
|
158
|
-
# Sync model registry from cloud
|
|
159
|
-
prompts-gpt sync-models
|
|
160
|
-
|
|
161
|
-
# Use canonical model names only
|
|
162
|
-
prompts-gpt run --agent claude --model claude-opus-4-7
|
|
163
|
-
prompts-gpt run --agent cursor --model claude-4.6-opus-high
|
|
164
|
-
prompts-gpt run --agent codex --model gpt-5.4-mini
|
|
132
|
+
# Use canonical model names
|
|
133
|
+
prompts-gpt run --agent claude --model claude-opus-4-1-20250805
|
|
165
134
|
prompts-gpt run --agent codex --model gpt-5.5
|
|
166
135
|
|
|
167
136
|
# Sync from cloud
|
|
@@ -174,94 +143,145 @@ prompts-gpt generate --goal "Review PRs for security issues" --sync-agents
|
|
|
174
143
|
printf '%s' "$PROMPTS_GPT_TOKEN" | prompts-gpt sync --token-stdin --agent all
|
|
175
144
|
```
|
|
176
145
|
|
|
177
|
-
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Sweep
|
|
178
149
|
|
|
179
150
|
Sweeps live in `.prompts-gpt/sweeps/*.md`. By default, `prompts-gpt sweep` auto-selects the local sweep when there is only one, or prompts you to choose when multiple sweeps exist.
|
|
180
151
|
|
|
181
|
-
|
|
152
|
+
### Sweep file frontmatter
|
|
153
|
+
|
|
154
|
+
Each sweep file can declare defaults in YAML frontmatter:
|
|
155
|
+
|
|
156
|
+
```yaml
|
|
157
|
+
---
|
|
158
|
+
iterations: 5
|
|
159
|
+
timeout: 1200
|
|
160
|
+
model: gpt-5.5
|
|
161
|
+
agent: codex
|
|
162
|
+
---
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
- `iterations` — default iteration count (overridden by `-n`)
|
|
166
|
+
- `timeout` — per-iteration timeout in seconds (overridden by `--iteration-timeout`)
|
|
167
|
+
- `model` — default model for this sweep
|
|
168
|
+
- `agent` — default provider for this sweep
|
|
169
|
+
|
|
170
|
+
### Use cases
|
|
182
171
|
|
|
183
172
|
| Use case | Command |
|
|
184
173
|
|----------|---------|
|
|
185
|
-
| Run the default
|
|
186
|
-
|
|
|
187
|
-
|
|
|
188
|
-
|
|
|
189
|
-
|
|
|
190
|
-
|
|
|
191
|
-
|
|
|
192
|
-
|
|
|
193
|
-
|
|
|
194
|
-
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
- `--
|
|
202
|
-
- `--
|
|
203
|
-
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
- `--
|
|
208
|
-
- `--
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
- Use sequential all-sweeps for broad repo QA where each sweep may write code.
|
|
213
|
-
- Use parallel selected sweeps for independent areas such as docs, tests, and marketing copy.
|
|
214
|
-
- Use single-file `--parallel` when you want competing iterations of the same prompt, then compare outputs.
|
|
215
|
-
- Use `--dry-run` before large parallel runs to verify file selection, iteration counts, and concurrency.
|
|
216
|
-
- Keep `--file-concurrency` modest when sweeps call paid providers or local agents that consume heavy CPU.
|
|
174
|
+
| Run the default sweep | `prompts-gpt sweep` |
|
|
175
|
+
| Fixed iterations | `prompts-gpt sweep -f design.md -n 5` |
|
|
176
|
+
| Parallel iterations | `prompts-gpt sweep -f design.md -n 6 --parallel 3` |
|
|
177
|
+
| All sweeps sequentially | `prompts-gpt sweep --all-sweeps` |
|
|
178
|
+
| All sweeps in parallel | `prompts-gpt sweep --all-sweeps --sweep-strategy parallel --file-concurrency 3` |
|
|
179
|
+
| Multi-provider fan-out | `prompts-gpt sweep --all-sweeps --providers codex,cursor` |
|
|
180
|
+
| Selected files | `prompts-gpt sweep --sweep-files design,research` |
|
|
181
|
+
| Fail on first error | `prompts-gpt sweep --all-sweeps --fail-fast` |
|
|
182
|
+
| Self-evaluation per iteration | `prompts-gpt sweep --eval --eval-criteria correctness,risk` |
|
|
183
|
+
| Dry run | `prompts-gpt sweep --dry-run` |
|
|
184
|
+
|
|
185
|
+
### Key flags
|
|
186
|
+
|
|
187
|
+
- `--sweep-strategy sequential|parallel` — how to schedule multiple sweep files
|
|
188
|
+
- `--file-concurrency <n>` — max concurrent sweep files in parallel strategy (default: 4)
|
|
189
|
+
- `--parallel <n>` — parallel iterations within a single sweep file
|
|
190
|
+
- `--providers <list>` — comma-separated providers for multi-provider fan-out (e.g. `codex,cursor,claude`)
|
|
191
|
+
- `--fail-fast` — stop on first failure in multi-file sweeps
|
|
192
|
+
- `-n, --iterations <count>` — override frontmatter iteration count for all files
|
|
193
|
+
|
|
194
|
+
### Scheduling rules
|
|
195
|
+
|
|
196
|
+
- `--sweep-strategy sequential` runs sweep files one at a time. Safest when sweeps may edit overlapping files.
|
|
197
|
+
- `--sweep-strategy parallel` runs multiple sweep files concurrently. Use `--file-concurrency` to cap concurrency.
|
|
198
|
+
- `--parallel <n>` controls parallel iterations *within* a single file. Separate from `--file-concurrency`.
|
|
199
|
+
- `--providers` fans out each file across multiple providers. Total concurrent agents = files × providers.
|
|
200
|
+
- When `-n` is omitted, each file uses its frontmatter `iterations:` value, falling back to `1`.
|
|
217
201
|
|
|
218
202
|
---
|
|
219
203
|
|
|
220
|
-
##
|
|
204
|
+
## Parallel Sweep Coordination
|
|
221
205
|
|
|
222
|
-
|
|
206
|
+
When multiple sweeps run concurrently — across files, providers, or separate terminals — the CLI provides robust coordination:
|
|
223
207
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
208
|
+
### Cross-process locking
|
|
209
|
+
|
|
210
|
+
- Per-sweep-file locks (`.sweep-<slug>.lock`) prevent duplicate execution of the same sweep
|
|
211
|
+
- Artifact directory rotation uses `.rotation.lock` to prevent concurrent rotation races
|
|
212
|
+
- Lock files include PID, hostname, and timestamp for stale detection
|
|
213
|
+
- Stale locks from dead processes are automatically detected and released
|
|
214
|
+
|
|
215
|
+
### Multi-terminal awareness
|
|
216
|
+
|
|
217
|
+
- `prompts-gpt status` shows all active sweeps across terminals with PID, provider, and elapsed time
|
|
218
|
+
- Coordination manifests (`.sweep-active.json`) track active sweep metadata in artifact directories
|
|
219
|
+
- New sweeps warn when other sweeps are already active in the same workspace
|
|
220
|
+
|
|
221
|
+
### Resource management
|
|
222
|
+
|
|
223
|
+
- Total concurrent agents are capped (files × providers × parallel iterations)
|
|
224
|
+
- Parallel launches are staggered by 500ms to avoid provider rate limits
|
|
225
|
+
- Disk space warnings scale with the number of active sweeps
|
|
226
|
+
- Log reads use retry logic to handle concurrent writes from parallel processes
|
|
227
|
+
|
|
228
|
+
### Signal handling
|
|
232
229
|
|
|
233
|
-
|
|
230
|
+
- SIGTERM/SIGINT propagate to active child agent processes via `AbortController`
|
|
231
|
+
- Lock files and coordination manifests are cleaned up in `finally` blocks
|
|
232
|
+
- Orphaned processes are detected via PID liveness checks
|
|
233
|
+
|
|
234
|
+
### Atomic operations
|
|
235
|
+
|
|
236
|
+
- Log appends use `O_APPEND` for kernel-level atomic writes
|
|
237
|
+
- Worktree captures use per-iteration files to avoid cross-sweep clobbering
|
|
238
|
+
- Run ID generation includes random suffixes to prevent collisions
|
|
234
239
|
|
|
235
240
|
---
|
|
236
241
|
|
|
237
242
|
## Orchestration Patterns
|
|
238
243
|
|
|
239
|
-
- `parallel
|
|
240
|
-
- `pipeline
|
|
241
|
-
- `eval
|
|
242
|
-
- `
|
|
243
|
-
- `
|
|
244
|
-
- `
|
|
245
|
-
- `
|
|
246
|
-
- `doctor --fix`: scaffold `.prompts-gpt/config.json`, detect prompt sources, and add the artifacts directory to `.gitignore`.
|
|
247
|
-
|
|
248
|
-
### Visibility implementation workflow
|
|
244
|
+
- `parallel` — run multiple providers against the same prompt, score outputs, and report the strongest result with local logs and diffs.
|
|
245
|
+
- `pipeline` — pass context across named steps when research, implementation, and review should be separated.
|
|
246
|
+
- `eval` — run one provider and force a structured quality score for the output.
|
|
247
|
+
- `sweep --eval` — add self-evaluation after each successful iteration.
|
|
248
|
+
- `diff <run-id>` — inspect the stored worktree delta from a prior run.
|
|
249
|
+
- `run --watch` — rerun automatically when the prompt file changes.
|
|
250
|
+
- `doctor --fix` — scaffold config, detect prompt sources, and add artifacts to `.gitignore`.
|
|
249
251
|
|
|
250
|
-
|
|
252
|
+
---
|
|
251
253
|
|
|
252
|
-
|
|
253
|
-
2. Run `prompts-gpt orchestrate --mode parallel` when multiple agents should propose competing fixes.
|
|
254
|
-
3. Run `prompts-gpt orchestrate --mode pipeline` when research, implementation, and review should stay separated.
|
|
255
|
-
4. Run `prompts-gpt orchestrate --mode eval` or `prompts-gpt sweep --eval --eval-criteria correctness,risk,clarity` when output quality needs a score.
|
|
256
|
-
5. Run `prompts-gpt diff <run-id>` before sharing the worktree changes.
|
|
254
|
+
## Configuration
|
|
257
255
|
|
|
258
|
-
|
|
256
|
+
Create `.prompts-gpt/config.json` via `prompts-gpt setup`, or manually:
|
|
259
257
|
|
|
260
|
-
```
|
|
261
|
-
|
|
258
|
+
```json
|
|
259
|
+
{
|
|
260
|
+
"providerOrder": ["codex", "cursor", "claude", "copilot"],
|
|
261
|
+
"defaultAgent": "router",
|
|
262
|
+
"timeoutSeconds": 900,
|
|
263
|
+
"retryCount": 0,
|
|
264
|
+
"artifactsDir": ".scripts/runs",
|
|
265
|
+
"modelOverrides": {
|
|
266
|
+
"codex": "gpt-5.5",
|
|
267
|
+
"claude": "claude-opus-4-1-20250805"
|
|
268
|
+
},
|
|
269
|
+
"safety": {
|
|
270
|
+
"disallowDestructiveGit": true
|
|
271
|
+
}
|
|
272
|
+
}
|
|
262
273
|
```
|
|
263
274
|
|
|
264
|
-
|
|
275
|
+
All options can be overridden via environment variables:
|
|
276
|
+
|
|
277
|
+
| Variable | Description |
|
|
278
|
+
|----------|-------------|
|
|
279
|
+
| `PROMPTS_GPT_RUN_PROVIDER_ORDER` | Comma-separated provider order |
|
|
280
|
+
| `PROMPTS_GPT_RUN_AGENT` | Default agent/provider |
|
|
281
|
+
| `PROMPTS_GPT_RUN_TIMEOUT_SECONDS` | Default iteration timeout |
|
|
282
|
+
| `PROMPTS_GPT_RUN_RETRY_COUNT` | Max retries per iteration |
|
|
283
|
+
| `PROMPTS_GPT_RUN_ARTIFACTS_DIR` | Artifacts output directory |
|
|
284
|
+
| `PROMPTS_GPT_RUN_DISALLOW_DESTRUCTIVE_GIT` | Block destructive git ops |
|
|
265
285
|
|
|
266
286
|
---
|
|
267
287
|
|
|
@@ -281,10 +301,61 @@ await syncPrompts(prompts, { agent: "all" });
|
|
|
281
301
|
|
|
282
302
|
// Fetch available models per provider
|
|
283
303
|
const models = await client.fetchModels();
|
|
284
|
-
// Filter by provider
|
|
285
304
|
const codexModels = await client.fetchModels({ provider: "codex" });
|
|
286
305
|
```
|
|
287
306
|
|
|
307
|
+
### Programmatic sweep
|
|
308
|
+
|
|
309
|
+
```typescript
|
|
310
|
+
import { sweepPrompt, detectProviders, loadRunConfig } from "prompts-gpt";
|
|
311
|
+
|
|
312
|
+
const config = await loadRunConfig(process.cwd());
|
|
313
|
+
const providers = await detectProviders(process.cwd());
|
|
314
|
+
|
|
315
|
+
const result = await sweepPrompt({
|
|
316
|
+
cwd: process.cwd(),
|
|
317
|
+
promptFile: ".prompts-gpt/sweeps/design.md",
|
|
318
|
+
agent: "codex",
|
|
319
|
+
iterations: 3,
|
|
320
|
+
onProgress: (event) => {
|
|
321
|
+
if (event.type === "iteration_end") {
|
|
322
|
+
console.log(`Iteration ${event.iteration}: ${event.status}`);
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
});
|
|
326
|
+
|
|
327
|
+
console.log(`Completed: ${result.succeeded}/${result.total}`);
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
### Programmatic orchestration
|
|
331
|
+
|
|
332
|
+
```typescript
|
|
333
|
+
import { orchestrateParallel, orchestratePipeline, orchestrateEval } from "prompts-gpt";
|
|
334
|
+
|
|
335
|
+
// Run multiple providers in parallel
|
|
336
|
+
const parallel = await orchestrateParallel({
|
|
337
|
+
cwd: process.cwd(),
|
|
338
|
+
promptFile: ".prompts-gpt/review.md",
|
|
339
|
+
providers: ["codex", "claude", "cursor"],
|
|
340
|
+
});
|
|
341
|
+
|
|
342
|
+
// Chain steps sequentially
|
|
343
|
+
const pipeline = await orchestratePipeline({
|
|
344
|
+
cwd: process.cwd(),
|
|
345
|
+
steps: [
|
|
346
|
+
{ name: "research", promptFile: ".prompts-gpt/research.md", agent: "codex" },
|
|
347
|
+
{ name: "implement", promptFile: ".prompts-gpt/implement.md", agent: "claude" },
|
|
348
|
+
],
|
|
349
|
+
});
|
|
350
|
+
|
|
351
|
+
// Run with self-evaluation
|
|
352
|
+
const evalResult = await orchestrateEval({
|
|
353
|
+
cwd: process.cwd(),
|
|
354
|
+
promptFile: ".prompts-gpt/review.md",
|
|
355
|
+
criteria: ["correctness", "completeness", "risk"],
|
|
356
|
+
});
|
|
357
|
+
```
|
|
358
|
+
|
|
288
359
|
---
|
|
289
360
|
|
|
290
361
|
## Data Privacy
|
|
@@ -310,8 +381,16 @@ const codexModels = await client.fetchModels({ provider: "codex" });
|
|
|
310
381
|
- HTTPS enforced for non-localhost
|
|
311
382
|
- Path traversal blocked for all file writes
|
|
312
383
|
- Secret patterns (`pgpt_`, `sk-`, `ghp_`) are redacted from API-bound input, command previews, and error output
|
|
313
|
-
- SIGINT/SIGTERM cleanup releases locks
|
|
384
|
+
- SIGINT/SIGTERM cleanup releases locks and kills child processes
|
|
314
385
|
- Run artifact directories are intended to stay local and may contain sensitive prompt, output, and diff data
|
|
386
|
+
- Per-sweep-file locks prevent concurrent modification of shared resources
|
|
387
|
+
- Coordination manifests provide cross-process visibility
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## Full Documentation
|
|
392
|
+
|
|
393
|
+
See the [full package documentation](https://prompts-gpt.com/docs/prompts-gpt-package) for detailed guides on every command, sweep frontmatter options, parallel coordination, SDK types, and orchestration patterns.
|
|
315
394
|
|
|
316
395
|
---
|
|
317
396
|
|