Skip to content

Claude/explore repo s75up#2

Open
zealtv wants to merge 69 commits into
zealtv:mainfrom
playablestreets:claude/explore-repo-S75up
Open

Claude/explore repo s75up#2
zealtv wants to merge 69 commits into
zealtv:mainfrom
playablestreets:claude/explore-repo-S75up

Conversation

@zealtv

@zealtv zealtv commented Feb 26, 2026

Copy link
Copy Markdown
Owner

No description provided.

zealtv and others added 30 commits February 22, 2026 22:54
- bash/start-laptop.sh: run plantsOS on laptop with MCP2221A USB I2C
  (PD with GUI, no jackd, auto-detect paths, configurable PD_BIN)
- bash/stop-laptop.sh: kill laptop processes
- python/io/io_mpr121_debug.py: standalone MPR121 monitor with live
  terminal bar display of electrode 0 values, configurable addresses
- python/io/main.py: --monitor flag launches the debug monitor
- python/requirements-laptop.txt: blinka + hidapi for MCP2221A

https://claude.ai/code/session_01NdRBsXFfMMJ2v9REtY99Bj
The critical bug: switch_patch_callback called stop.sh inline, which
runs "pkill python" — killing helper.py itself before start.sh could
run. System would stop and never restart.

Fix: spawn a detached bash process (via setsid) to handle stop/start.
Bash survives "pkill python" since it's not a python process.

Also:
- validate main.pd exists before switching or after cloning patches
- add 120s timeout to git clone and pullpatch (prevents hangs)
- remove redundant git pull after clone --recursive
- use realpath for script paths (safe in detached process)

https://claude.ai/code/session_01NdRBsXFfMMJ2v9REtY99Bj
Extra double-quote on the pd launch line opened a string that
never closed, making bash treat the rest of the script as a
string literal and fail at line 109 with unexpected EOF.

https://claude.ai/code/session_01NdRBsXFfMMJ2v9REtY99Bj
Save the active patch selection before git restore wipes it,
then write it back after git pull so patch choice survives updates.

https://claude.ai/code/session_01NdRBsXFfMMJ2v9REtY99Bj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants