Extract Planner research methodology for #1032
Check instruction packages / check (push) Successful in 5s
Check instruction packages / check (push) Successful in 5s
This commit is contained in:
1 parent
2ddf21cb48
commit
01b6c24a57
4 files changed
+39
No files matched your search
@@ -12,6 +12,15 @@ ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
class PackageTests(unittest.TestCase):
|
||||
def test_research_auto_contains_only_extracted_method(self):
|
||||
package = ROOT / "packages/research-auto"
|
||||
check_package(package)
|
||||
text = (package / "SKILL.md").read_text()
|
||||
self.assertIn("omit the option during broad exploration", text)
|
||||
self.assertIn("inspect/fetch returned sources", text)
|
||||
self.assertNotIn("spawn", text)
|
||||
self.assertNotIn("save a research file", text)
|
||||
|
||||
def test_communication_packages_declare_their_treatment(self):
|
||||
for role in ("planner", "implementer", "reviewer"):
|
||||
package = ROOT / f"packages/{role}-communication"
|
||||
|
||||
Reference in new issue
Block a user