You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nothing surfaces a pools file that disagrees with the running pool #57
set-count changes the running pool. It does not touch the pools file. So after a resize the two disagree, and nothing says so until someone runs apply.
The count was lowered with set-count after measuring contention. runpool apply would put it back to 4 — restoring the exact oversubscription the measurement was done to remove, via a command that looks like a no-op.
It is visible, but only if you look
apply --dry-run reports it plainly:
~ marfa org withmarfa count 3 -> 4
Both the README and the skill say to run --dry-run first and read the plan, so the documented workflow does catch this. The gap is that nothing surfaces it proactively — the drift can sit for weeks and is only discovered by someone about to overwrite it.
The obvious fix cuts against a stated constraint
doctor is the natural home, alongside the drain-readiness note. But AGENTS.md says the split by concern is load-bearing and specifically that it "keeps the pools file out of everything that does not read one" — and doctor currently does not read one. Teaching lib/scheduler.sh about the pools file weakens exactly the boundary that document defends.
Alternatives, none free:
set-count writes the file. Then the file stops being the human-authored thing you copy between machines, and set-count gains pools-file awareness instead — the same boundary problem moved to lib/lifecycle.sh.
set-count warns when the file names a different count. Cheaper than writing it, same boundary cost.
Accept it as the design. The file is intent, the pool is state, apply --dry-run is the reconciliation step, and drift is the normal condition between them rather than a fault.
Worth a decision rather than a patch. The third option may well be right, in which case the docs should say so plainly instead of leaving it implied.
Activity