uninstall.sh --yes moved a global opencode config that held only what
install.sh writes to a backup. Since this release the copy also holds the
shell rules under "permission", which the check did not know: the copy
stayed, emptied of its provider, with autoupdate off and the box's
compaction for good (found by a verification before the push). A
"permission" that is exactly deny_permission() is the copy's own, any
other content the user's, which keeps the file.
test_uninstall_opencode.py: the copy with the rules goes aside, a copy
whose rules the user added to stays. The first fails before this commit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- oc and the Agent tab load the box's generated opencode config through
OPENCODE_CONFIG: on a box emptied and installed with the published
one-liner, both answered with opencode's hosted free model (big-pickle),
not the model the box serves.
- uninstall.sh --yes takes the providers that read the API key out of
opencode's config before deleting the key (opencode refused to start at
all: "bad file reference"); a file with nothing else of the user's goes to
a backup (oc-merge-limits.py --remove-providers).
- The uninstall inventory knows the image lane's checkpoint (31 GB), and the
CI gate on inventory pins reads install-image.sh too.
- The docker room check asks only for the container's room when the image is
already here (an update with 36 GB free was refused for want of 40).
- A commented-out opencode PATH line no longer counts as one.
- uninstall.sh says when there was nothing to remove.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>