📦 deps(skills): sync pathfinding dependency for codebase-recon
This commit is contained in:
@@ -36,6 +36,7 @@ class SkillsReadmeTests(unittest.TestCase):
|
||||
self.assertIn("_shared", text)
|
||||
|
||||
self.assertIn("codebase-recon", text)
|
||||
self.assertIn("pathfinding", text)
|
||||
self.assertIn("codebase-migrate", text)
|
||||
self.assertIn("已登记待同步", text)
|
||||
|
||||
|
||||
@@ -20,7 +20,11 @@ class ThirdpartySkillCurationTests(unittest.TestCase):
|
||||
|
||||
self.assertIn("id: codebase-recon", text)
|
||||
self.assertIn("upstream_repo: https://github.com/outfitter-dev/agents", text)
|
||||
self.assertIn("upstream_path: plugins/outfitter/skills/codebase-recon", text)
|
||||
self.assertIn("upstream_paths:", text)
|
||||
self.assertIn("plugins/outfitter/skills/codebase-recon", text)
|
||||
self.assertIn("plugins/outfitter/skills/pathfinding", text)
|
||||
self.assertIn("upstream_layout: multi_skill_subset", text)
|
||||
self.assertIn("pathfinding/references/confidence.md", text)
|
||||
self.assertIn("risk scan", text)
|
||||
|
||||
self.assertIn("id: codebase-migrate", text)
|
||||
|
||||
@@ -19,6 +19,7 @@ UI_UX_PRO_MAX_LIST = ROOT / "skills" / "thirdparty" / ".sources" / "ui-ux-pro-ma
|
||||
UI_UX_PRO_MAX_DIR = ROOT / "skills" / "thirdparty" / "ui-ux-pro-max"
|
||||
BROOKS_LINT_LIST = ROOT / "skills" / "thirdparty" / ".sources" / "brooks-lint.list"
|
||||
CODEBASE_RECON_LIST = ROOT / "skills" / "thirdparty" / ".sources" / "codebase-recon.list"
|
||||
PATHFINDING_DIR = ROOT / "skills" / "thirdparty" / "pathfinding"
|
||||
|
||||
|
||||
def load_manifest() -> dict:
|
||||
@@ -96,7 +97,7 @@ class ThirdpartySkillsPipelineTests(unittest.TestCase):
|
||||
self.assertEqual(
|
||||
recon["source_list"], "skills/thirdparty/.sources/codebase-recon.list"
|
||||
)
|
||||
self.assertEqual(recon["include_skill_dirs"], ["codebase-recon"])
|
||||
self.assertEqual(recon["include_skill_dirs"], ["codebase-recon", "pathfinding"])
|
||||
|
||||
migrate = next(
|
||||
item for item in data["sources"] if item["id"] == "codebase-migrate"
|
||||
@@ -158,8 +159,16 @@ class ThirdpartySkillsPipelineTests(unittest.TestCase):
|
||||
def test_superpowers_and_ui_ux_pro_max_source_lists_exist(self):
|
||||
self.assertTrue(SUPERPOWERS_LIST.is_file())
|
||||
self.assertTrue(UI_UX_PRO_MAX_LIST.is_file())
|
||||
self.assertTrue(CODEBASE_RECON_LIST.is_file())
|
||||
self.assertIn("using-superpowers", SUPERPOWERS_LIST.read_text(encoding="utf-8"))
|
||||
self.assertIn("ui-ux-pro-max", UI_UX_PRO_MAX_LIST.read_text(encoding="utf-8"))
|
||||
self.assertIn("pathfinding", CODEBASE_RECON_LIST.read_text(encoding="utf-8"))
|
||||
|
||||
def test_codebase_recon_pathfinding_dependency_is_synced(self):
|
||||
self.assertTrue((PATHFINDING_DIR / "SKILL.md").is_file())
|
||||
self.assertTrue(
|
||||
(PATHFINDING_DIR / "references" / "confidence.md").is_file()
|
||||
)
|
||||
|
||||
def test_ui_ux_pro_max_output_exists_with_data_and_scripts(self):
|
||||
self.assertTrue((UI_UX_PRO_MAX_DIR / "SKILL.md").is_file())
|
||||
|
||||
Reference in New Issue
Block a user