mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-25 06:05:56 +00:00
Keep the repository to what players and contributors use; move the agent setup and working notes out of git
docs/building.md merges the two toolchain docs and the README build steps, and lists the developer checks. The Maxwell reference moves to docs/maxwell.md. architecture.md loses the milestone table, controls.md describes timed script lines and input recording, and the tester guide includes shader preparation. The agent skills, hooks, playbook, backlog and the study notes on upstream projects are the maintainer's local setup: .claude/, notes/ and CLAUDE.local.md are ignored now, and tools/worktree.py links them into task worktrees. AGENTS.md keeps the project rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
97d3762ba1
commit
e3e72dfb44
24 files changed
+212
-2483
No files matched your search
+5
-4
@@ -4,8 +4,9 @@
|
||||
worktree.py list worktrees with branch, ahead/behind main, dirty or not
|
||||
worktree.py remove <tag> [--delete-branch] [--force]
|
||||
|
||||
A worktree holds tracked files only. build/, generated/, refs/, toolchain/, .venv/, .venv-py314/ and game/ of the main
|
||||
checkout appear in it as directory junctions, config.local.toml as a hard link. Nothing is copied.
|
||||
A worktree holds tracked files only. build/, generated/, refs/, toolchain/, .venv/, .venv-py314/, game/, and the local
|
||||
agent setup .claude/ and notes/ of the main checkout appear in it as directory junctions, config.local.toml and
|
||||
CLAUDE.local.md as hard links. Nothing is copied.
|
||||
`remove` deletes the links first (os.rmdir / os.unlink never follow a junction), checks that none is left, and only
|
||||
then lets git delete the worktree. Stdlib only.
|
||||
"""
|
||||
@@ -16,8 +17,8 @@ import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
LINK_DIRS = ['build', 'generated', 'refs', 'toolchain', '.venv', '.venv-py314', 'game']
|
||||
LINK_FILES = ['config.local.toml']
|
||||
LINK_DIRS = ['build', 'generated', 'refs', 'toolchain', '.venv', '.venv-py314', 'game', '.claude', 'notes']
|
||||
LINK_FILES = ['config.local.toml', 'CLAUDE.local.md']
|
||||
MAIN_BRANCH = 'main'
|
||||
TAG_RE = re.compile(r'^[A-Za-z0-9][A-Za-z0-9._-]*$')
|
||||
|
||||
|
||||
Reference in new issue
Block a user