feat(playbook): add no_backup deploy controls

remove obsolete main_language placeholders and language summary template text

limit generated .agents guidance to configured langs and normalize AGENT_RULES trailing newlines

document install_skills no_backup behavior and refresh tests for deployment links and sync flows
This commit is contained in:
csh
2026-04-24 10:06:03 +08:00
parent 8609d59d4a
commit a2e3cb07de
12 changed files with 138 additions and 90 deletions
@@ -8,6 +8,7 @@ PLAYBOOK_EXAMPLE = ROOT / "playbook.toml.example"
SKILLS_DOC = ROOT / "SKILLS.md"
TEMPLATES_CI_README = ROOT / "templates" / "ci" / "README.md"
REMOVED_TSL_GUIDE = ROOT / "codex" / "skills" / "tsl-guide"
REFERENCE_CATALOG_SOURCE_INDEX = ROOT / "data" / "tsl_reference_catalog_source" / "index.md"
class TslEntrypointsConsistencyTests(unittest.TestCase):
@@ -51,6 +52,11 @@ class TslEntrypointsConsistencyTests(unittest.TestCase):
self.assertNotIn("tsl-guide", SKILLS_DOC.read_text(encoding="utf-8"))
self.assertNotIn("$tsl-guide", RULESET_TSL.read_text(encoding="utf-8"))
def test_reference_catalog_source_index_uses_canonical_reference_entrypoint(self):
text = REFERENCE_CATALOG_SOURCE_INDEX.read_text(encoding="utf-8")
self.assertIn("docs/tsl/reference/catalog/index.md", text)
self.assertNotIn("docs/tsl/syntax_book/function/index.md", text)
if __name__ == "__main__":
unittest.main()