Skip to content

Commit 3b6f742

Browse files
committed
chore(privacy): scrub machine paths + drop agentic docs before public
- pyrightconfig: remove absolute C:/ and /mnt/c/ SDK extraPaths, point at .local SDK - workflows: unpack the SDK under .local/renpy-8.5.3-sdk with its own cache key - remove tools/trigger_monitor.py + test, and gitignore the tool (hardcodes a local GAMES_ROOT) - scrub beat_extractor example paths to neutral placeholders - untrack and gitignore docs/superpowers planning artifacts
1 parent 64c595a commit 3b6f742

14 files changed

Lines changed: 28 additions & 3062 deletions

.claude/skills/release/SKILL.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@ of truth; never retype the number.
4141
- **Later releases**: run `git-cliff -u` to draft the categorized notes for
4242
the unreleased range; regenerate `CHANGELOG.md` with `git-cliff`. Save the
4343
draft to a temp file for step 9.
44-
- The repo is **private**, so git-cliff cannot fetch GitHub metadata
45-
unauthenticated. Run it with the token exported:
46-
47-
```bash
48-
export GITHUB_TOKEN="$(gh auth token)"
49-
git-cliff -u
50-
```
5144

5245
6. **Dry-run the mod asset** (verify contents, don't ship it):
5346

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -113,26 +113,24 @@ jobs:
113113
# bin/lint.sh calls bare `pyright` (not `poetry run pyright`), so the
114114
# project venv's bin/ must be on PATH.
115115
#
116-
# pyrightconfig.json's extraPaths point at the SDK (relative ./sdk plus
117-
# machine-local absolute paths that don't exist here). Download the SDK
118-
# and symlink it into ./sdk so pyright can resolve renpy.* on this
119-
# clean runner. The 8.5.3 testcases leg seeds the same version-keyed
120-
# cache, so whichever job starts first saves it and the other reads it.
116+
# pyrightconfig.json's extraPaths point at the SDK in .local/ (a
117+
# gitignored, local-only location this runner must recreate). Download the
118+
# SDK and unpack it into .local/ so pyright can resolve renpy.* on this
119+
# clean runner. Uses its own cache key (not the harness job's) so the two
120+
# jobs can't race on the same key with different path layouts.
121121
- name: Cache Ren'Py SDK for pyright
122122
uses: actions/cache@v4
123123
id: cache-sdk
124124
with:
125-
path: renpy-8.5.3-sdk
126-
key: renpy-sdk-8.5.3-${{ runner.os }}
125+
path: .local/renpy-8.5.3-sdk
126+
key: pyright-sdk-8.5.3-${{ runner.os }}
127127

128128
- name: Download Ren'Py SDK for pyright
129129
if: steps.cache-sdk.outputs.cache-hit != 'true'
130130
run: |
131+
mkdir -p .local
131132
curl -fL "https://www.renpy.org/dl/8.5.3/renpy-8.5.3-sdk.tar.bz2" -o sdk.tar.bz2
132-
tar xjf sdk.tar.bz2
133-
134-
- name: Symlink SDK
135-
run: ln -s "$PWD/renpy-8.5.3-sdk" sdk
133+
tar xjf sdk.tar.bz2 -C .local
136134
137135
- name: Lint
138136
run: |

.github/workflows/release.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,22 @@ jobs:
3434
poetry config virtualenvs.in-project true
3535
poetry install
3636
37-
# pyrightconfig.json's extraPaths reference ./sdk (and machine-local
38-
# paths that won't exist here). Download the 8.5.3 SDK and symlink it so
39-
# pyright resolves renpy.* on this clean runner.
37+
# pyrightconfig.json's extraPaths point at the SDK in .local/ (a
38+
# gitignored, local-only location this runner must recreate). Download the
39+
# SDK and unpack it into .local/ so pyright resolves renpy.* here.
4040
- name: Cache Ren'Py SDK for pyright
4141
uses: actions/cache@v4
4242
id: cache-sdk
4343
with:
44-
path: renpy-8.5.3-sdk
45-
key: renpy-sdk-8.5.3-${{ runner.os }}
44+
path: .local/renpy-8.5.3-sdk
45+
key: pyright-sdk-8.5.3-${{ runner.os }}
4646

4747
- name: Download Ren'Py SDK for pyright
4848
if: steps.cache-sdk.outputs.cache-hit != 'true'
4949
run: |
50+
mkdir -p .local
5051
curl -fL "https://www.renpy.org/dl/8.5.3/renpy-8.5.3-sdk.tar.bz2" -o sdk.tar.bz2
51-
tar xjf sdk.tar.bz2
52-
53-
- name: Symlink SDK
54-
run: ln -s "$PWD/renpy-8.5.3-sdk" sdk
52+
tar xjf sdk.tar.bz2 -C .local
5553
5654
- name: Lint
5755
run: |

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,9 @@ tests/fixtures/data/imports/
4040
__pycache__/
4141
tools/beat_extractor/output/
4242
tools/beat_extractor/samples/
43+
44+
# host-side cron anomaly monitor -- hardcodes a local GAMES_ROOT, not for public
45+
tools/trigger_monitor.py
46+
47+
# Superpowers agentic planning/design artifacts -- not product docs
48+
docs/superpowers/

0 commit comments

Comments
 (0)