feat(ack): bind test env to deployer and add regression mode
ACK 0.19.0 hands test-environment deploys to the deployer skill, documents bug-fix as a first-class scenario, and adds docs/ack/regression.yaml harvest plus a /ack regression run.
This commit is contained in:
+13
-1
@@ -18,18 +18,23 @@ class AckSkillContentTests(unittest.TestCase):
|
||||
"docs/ack/tasks.yaml",
|
||||
"docs/ack/knowledge.yaml",
|
||||
"docs/ack/delivery.yaml",
|
||||
"docs/ack/regression.yaml",
|
||||
"tasks: []",
|
||||
"validate_tasks.py",
|
||||
"validate_knowledge.py",
|
||||
"validate_delivery.py",
|
||||
"validate_regression.py",
|
||||
"select_tasks.py",
|
||||
"select_knowledge.py",
|
||||
"select_regression.py",
|
||||
"references/kickoff.md",
|
||||
"不要修改项目的 `AGENTS.md`",
|
||||
"当前会话担任 Coordinator",
|
||||
"intents.testEnvironment",
|
||||
"运行测试环境",
|
||||
"运行版本发布",
|
||||
"运行回归",
|
||||
"via: deployer",
|
||||
):
|
||||
self.assertIn(expected, content)
|
||||
|
||||
@@ -121,6 +126,12 @@ class AckSkillContentTests(unittest.TestCase):
|
||||
"scripts/validate_knowledge.py",
|
||||
"scripts/select_tasks.py",
|
||||
"scripts/select_knowledge.py",
|
||||
"scripts/select_regression.py",
|
||||
"scripts/validate_regression.py",
|
||||
"templates/regression.template.yaml",
|
||||
"templates/regression.schema.json",
|
||||
"examples/regression.example.yaml",
|
||||
"references/regression.md",
|
||||
"scripts/run_verification.py",
|
||||
"scripts/worker_profiles.py",
|
||||
"scripts/launch_worker.py",
|
||||
@@ -131,7 +142,7 @@ class AckSkillContentTests(unittest.TestCase):
|
||||
):
|
||||
self.assertTrue((ack_dir / relative_path).is_file(), relative_path)
|
||||
version = (ack_dir / "VERSION").read_text(encoding="utf-8").strip()
|
||||
self.assertEqual(version, "0.18.0")
|
||||
self.assertEqual(version, "0.19.0")
|
||||
self.assertIn(
|
||||
f'ackVersion: "{version}"',
|
||||
(ack_dir / "examples" / "tasks.example.yaml").read_text(encoding="utf-8"),
|
||||
@@ -157,6 +168,7 @@ class AckSkillContentTests(unittest.TestCase):
|
||||
self.assertNotIn("allowedWorktrees:", template)
|
||||
self.assertIn("allowedWorktrees", template)
|
||||
self.assertIn('knowledgeFile: "docs/ack/knowledge.yaml"', template)
|
||||
self.assertIn('regressionFile: "docs/ack/regression.yaml"', template)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user