mirror of
https://github.com/tradecatlabs/vibe-coding-cn.git
synced 2026-11-02 12:56:17 +00:00
refactor: context - flatten support files under .github (#205)
* refactor: context - flatten support files under .github * fix: context - preserve filenames when flattening * refactor: extensions - retire Skill Seekers and move maintenance entrypoints * refactor: extensions - retire Claude Skills Gitlink
This commit is contained in:
@@ -18,11 +18,11 @@ import unittest
|
||||
import source_archive
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
SCRIPT = ROOT / '.github/extensions/sync-gongfa-catalog.py'
|
||||
SCRIPT = ROOT / '.github/sync-gongfa-catalog.py'
|
||||
ARTIFACTS = None
|
||||
catalog = None
|
||||
TEMPLATE = Path(__file__).resolve().parents[1] / '.github/context/tool-explanation-template-v0.md'
|
||||
V1_TEMPLATE = Path(__file__).resolve().parents[1] / '.github/context/tool-explanation-template-v1.md'
|
||||
TEMPLATE = Path(__file__).resolve().parents[1] / '.github/tool-explanation-template-v0.md'
|
||||
V1_TEMPLATE = Path(__file__).resolve().parents[1] / '.github/tool-explanation-template-v1.md'
|
||||
STALE_EXPLANATION_LABELS = (
|
||||
'冻结候选', '候选快照', '尚未独立语义复核', '未独立语义复核',
|
||||
'尚未独立语义核验', '不代表独立语义批准',
|
||||
@@ -80,7 +80,7 @@ class CatalogMaintenanceTest(unittest.TestCase):
|
||||
target = root / '.github/context/gongfa'
|
||||
target.mkdir(parents=True)
|
||||
shutil.copyfile(ROOT / '.github/context/gongfa/data.json', target / 'data.json')
|
||||
context_dir = root / '.github/context'
|
||||
context_dir = root / '.github'
|
||||
shutil.copyfile(V1_TEMPLATE, context_dir / V1_TEMPLATE.name)
|
||||
return root
|
||||
|
||||
|
||||
Reference in New Issue
Block a user