mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Use mdproof v0.0.5 per-runbook isolation to give each runbook its own HOME and TMPDIR, eliminating inter-runbook state leakage that caused 4 of 22 runbooks to fail when run sequentially. Key changes: - Add ensure-skillshare-linux-binary.sh to build step (creates ss symlink) - Use direct binary path in setup/teardown (bypass wrapper overhead) - Create target dirs (~/.claude, ~/.codex) so --all-targets detects them - Clean shared /tmp/ paths between runbooks
8 lines
618 B
JSON
8 lines
618 B
JSON
{
|
|
"build": "cd /workspace && make build && /workspace/.devcontainer/ensure-skillshare-linux-binary.sh && /workspace/.devcontainer/ensure-mdproof.sh",
|
|
"isolation": "per-runbook",
|
|
"setup": "rm -rf /tmp/test-project /tmp/test-proj /tmp/extras-proj /tmp/copy-target /tmp/sym-target /tmp/test /tmp/bad-config.yaml /tmp/config-before.yaml 2>/dev/null; mkdir -p ~/.config ~/.local/share ~/.local/state ~/.cache ~/.claude ~/.codex; /workspace/bin/skillshare init -g --force --all-targets --no-git --no-skill",
|
|
"teardown": "/workspace/bin/skillshare uninstall --all -g --force 2>/dev/null || true",
|
|
"timeout": "5m"
|
|
}
|