pitroom 0.6.4 → 0.6.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pitroom",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "A free pit crew for your expensive coding agent: the superpowers development workflow, run by cheap workers. Delegate research, fixes, tests, reviews and whole plans from Claude Code, Codex or any agent to OpenCode, Codex or Claude Code workers, with receipts that prove the savings.",
5
5
  "type": "module",
6
6
  "author": "TahaAtas",
@@ -26,6 +26,7 @@
26
26
  "README.md",
27
27
  "CHANGELOG.md",
28
28
  "PRIVACY.md",
29
+ "THIRD_PARTY_NOTICES.md",
29
30
  "LICENSE"
30
31
  ],
31
32
  "engines": {
@@ -35,7 +36,8 @@
35
36
  "build": "node scripts/build.mjs",
36
37
  "typecheck": "tsc --noEmit",
37
38
  "test": "npm run build && node --test test/*.test.mjs",
38
- "prepublishOnly": "npm run typecheck && npm test"
39
+ "prepublishOnly": "npm run typecheck && npm test",
40
+ "bump": "node scripts/bump-version.mjs"
39
41
  },
40
42
  "keywords": [
41
43
  "agent",
@@ -17,7 +17,7 @@ Don't use it when the failures are related (fixing one might fix the others: inv
17
17
 
18
18
  ## 1. Split
19
19
 
20
- Parts must be **independent**: no part needs another's result, and no two parts edit the same file. Two to five parts is the sweet spot; at most `maxParallel` workers (default 4) run at a time, the rest queue. Keep dependent or judgment-heavy parts for yourself.
20
+ Parts must be **independent**: no part needs another's result, and no two parts edit the same file. Start as many workers as there are independent parts: up to 20 run at a time by default (`maxParallel`, 30 at most), the rest queue. Keep dependent or judgment-heavy parts for yourself.
21
21
 
22
22
  ## 2. Write focused briefs
23
23
 
@@ -76,5 +76,5 @@ pitroom show <run> # the full report of the ones you need
76
76
  ## When things go wrong
77
77
 
78
78
  - A worker failed or timed out: retry that part once with a sharper brief, or do it yourself.
79
- - Rate limits: the fallback chain handles single failures; if many fail, lower `maxParallel` (config or `PITROOM_MAX_PARALLEL`).
79
+ - Rate limits: the fallback chain handles single failures; if many fail at once, lower `maxParallel` (config or `PITROOM_MAX_PARALLEL`) or spread the parts over more than one worker.
80
80
  - Stop everything: `pitroom stop -g NAME` (running and queued).
@@ -50,7 +50,7 @@ Every task names the worker tier that implements it, on its own line right under
50
50
  - **standard**: several files with integration concerns, or an implementer working from prose.
51
51
  - **capable**: design judgment or broad understanding of the codebase.
52
52
 
53
- Turn count beats token price: the cheapest models take 2-3× the turns on multi-step work. When unsure between two tiers, take the higher.
53
+ Turn count beats token price: the cheapest models take 2-3× the turns on multi-step work. The user prefers the free tier, so start with `cheap` for everything a cheap worker can plausibly do and raise only the tasks that need more; a failed cheap task costs one retry on a higher tier. When you are truly unsure between two tiers for a task that is costly to redo, take the higher.
54
54
 
55
55
  ## Bite-Sized Task Granularity
56
56
 
@@ -55,6 +55,8 @@ Once you or the user pick a skill, follow it: its checklists and gates are how i
55
55
 
56
56
  Call `pitroom` (on PATH after `pitroom install`; otherwise the command in your session context). `pitroom doctor` diagnoses setup problems. Workers and models come from the user's config (`worker`, `fallback`, `models`, `tiers`); pick others only when the user or a plan says so (`--tier capable`, `-W codex`).
57
57
 
58
+ Model and effort: tiers already name the workers. Before you pick anything else, run `pitroom models`: it lists what each worker offers (Codex, Claude Code, OpenCode), the effort levels each model accepts, what the user says it costs (`costs` in the config) and what it used so far. Take the cheapest model that fits the task, never a dearer one by habit: start on the `cheap` tier (OpenCode's free model) and move up only when the task needs it or a cheaper worker already failed. Set `--effort` from the task: `low` for lookups and mechanical edits, `medium` for ordinary changes, `high` for reviews and non-obvious bugs, `xhigh` or above only when the user asks or a lower level failed. More effort costs more tokens and time.
59
+
58
60
  Workers can take minutes. Start long work with `--bg` and keep working; follow it with `pitroom watch --json` through your host's background or monitor facility, or call `pitroom wait --timeout 540` again while it exits 75. Never poll with `sleep`.
59
61
 
60
62
  ## When you do use it
@@ -63,6 +65,7 @@ Workers can take minutes. Start long work with `--bg` and keep working; follow i
63
65
  - Worker output is draft work and a worker's report is a claim: verify what you rely on (`pitroom-verification`).
64
66
  - You apply patches and commit; workers never commit or push. Push, merge and pull requests happen only after the user asks.
65
67
  - Keep the decisions: delegate the reading and typing, not the architecture.
68
+ - Say what you delegated: one line per worker run naming the worker and model (the run report has both) and what it cost or saved. Not every host shows Pitroom's cards or status line, and the user should always know which model touched their code. `pitroom savings --models` lists them all.
66
69
  - You set a worker's permissions when you create it, from the task and from how much autonomy the user gave you in this session (for example auto mode): read-only by default, `-i` (an isolated copy) for changes, `-w` (edits in place) when the user wants that, `--web` only when the task needs the web. A worker never widens its own permissions.
67
70
  - Pitroom keeps a fixed floor that no flag lifts: no git history changes, no `sudo`, no publishing, no secrets, no killing processes. Everything above that floor is your call.
68
71
  - Deletions are your decision, made as the user's agent. `pitroom apply` refuses a patch that deletes files unless you pass `--allow-delete`. If removing files is what the user asked for or an obvious part of it, apply with the flag and tell them which files went; if the worker deleted something the user did not ask for, ask first, or discard the run.