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
doctor.sh: the new verdict arm sits above the no-usable-Python arm, so a broken interpreter reads as an oversized store #359
Found by the release audit of v0.20.0..HEAD before tagging 0.21.0. Ranked misreports: non-blocking, filed rather than held. Reasoned, not observed — the settling run is named below.
The ordering rule, and the arm that breaks it
scripts/doctor.sh:545-549 states the ladder's rule in the file itself: "Specific causes are named before the general one," added because a generic remedy "fixes neither, on a line commands/doctor.md tells the operator not to second-guess."
The arm #348 added tests _STORE_NEEDS_A_HUMAN at scripts/doctor.sh:567, above the _PYTHON_OK -eq 0 arm at :571. But staging over the cap on its own is the effect of consolidation not running; no usable Python is one cause of it not running.
What the user sees
A user whose Python broke on an already-large store — the Microsoft Store python3 alias this repo documents at scripts/post-tool-hook.sh:461-470 is the realistic route — gets:
VERDICT: problem — memory is being captured but never consolidated; the staging files are over the prompt cap on their own (see above)
with The oversized today-*.md files under $REMEMBER_DIR are the thing to look at. (:458) above it, while the Tools section's Python failure scrolls past on the line the file itself tells operators not to scroll to.
What settles it
One run with _PYTHON_OK=0 and staging over the cap. I did not construct that store.
Shape of a fix
Move the new arm below the _PYTHON_OK arm. Worth a test that pins the ordering rather than the arm, since the rule is now three arms old and stated only in a comment.
Activity
release 0.21.0 — a store that could not get out of its own way
doctor.sh: read config.timezone, treat a 0 consolidate cap as disable…