docs: 规范 PowerShell UTF-8 与执行策略 (#28)

This commit is contained in:
ila
2026-08-27 15:01:43 +08:00
parent 0b6ec7675d
commit 4bbacf4d7f
4 changed files with 73 additions and 2 deletions
+10
View File
@@ -129,6 +129,16 @@ class CoreDocumentTests(unittest.TestCase):
self.assertIn("### 3. 识别子项目与交付单元", required)
self.assertIn("#### 需求总览启用条件", required)
def test_local_development_requires_powershell_utf8_boundaries(self) -> None:
required = CORE_DOCUMENT_REQUIREMENTS[
"docs/04-local-development-and-verification.md"
]
self.assertIn("## Windows PowerShell 与 UTF-8", required)
errors: list[str] = []
check_agent_efficiency_rules(errors)
self.assertEqual(errors, [])
def test_deployment_template_is_required_and_mapped(self) -> None:
path = "docs/templates/deployment.md"
self.assertIn(path, REQUIRED_FILES)