docs: 统一 Gitea MCP 与工单读取规则 (#26)

This commit is contained in:
ila
2026-08-25 10:13:25 +08:00
parent eb2949c969
commit 384bf0191b
4 changed files with 37 additions and 3 deletions
+8
View File
@@ -100,6 +100,14 @@ class CoreDocumentTests(unittest.TestCase):
self.assertIn("## 稳定文档与可选历史快照", workflow)
self.assertIn("#### 工程基线裁剪", setup)
def test_workflow_requires_gitea_mcp_and_minimal_issue_reading(self) -> None:
workflow = CORE_DOCUMENT_REQUIREMENTS["docs/01-workflow.md"]
self.assertIn("## Gitea 交互与工单最小读取", workflow)
errors: list[str] = []
check_agent_efficiency_rules(errors)
self.assertEqual(errors, [])
def test_existing_project_adoption_requires_upgrade_process(self) -> None:
required = CORE_DOCUMENT_REQUIREMENTS[
"docs/08-existing-project-adoption.md"