832b07b248
kotkan/claude-plugin-inference-arbitrage#30 reported "FAIL repo = kotkan/worktree-discipline (want kotkan/claude-plugin-worktree-discipline)". Investigation found no stale reference in this repo's source or fixtures — the expected value already matches the live repo (verified: only kotkan/claude-plugin-worktree-discipline exists on Gitea; the pre-rename bare-name slug is a redirect only). The failure came entirely from the live git remote of the sibling ../worktree-discipline checkout on disk, which is outside this repo and outside version control, so it can drift independently (e.g. an old clone never repointed after the 2026-07-22 kotkan rename). That also meant the assertion silently never ran in CI, since the bare CI container has no sibling checkout and the test just printed "skip". Replace the dependency on that external checkout with a throwaway git repo created inside the test's own tmpdir, with its remote set explicitly to the current repo slug. Same code path (resolve_repo/parse_remote in bin/filing-plan) is exercised deterministically, and the assertion now always runs instead of skipping outside a workspace with that sibling checkout present. Verified the new test both passes against the correct remote and correctly reproduces the exact original failure signature when pointed at the stale pre-rename slug.