Add role-scoped automatic investigation guidance
This commit is contained in:
1 parent
115341e15d
commit
a74cdc7574
12 files changed
+166
No files matched your search
@@ -12,6 +12,21 @@ ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
class PackageTests(unittest.TestCase):
|
||||
def test_role_investigation_packages(self):
|
||||
for role, step in (("planner", "planning"), ("implementer", "implementation"), ("reviewer", "review")):
|
||||
package = ROOT / "packages" / f"{role}-investigation"
|
||||
check_package(package)
|
||||
manifest = json.loads((package / "relayview-skill.json").read_text())
|
||||
self.assertEqual((manifest["role"], manifest["step"]), (role, step))
|
||||
text = (package / "SKILL.md").read_text() + (package / "investigation.md").read_text()
|
||||
self.assertIn("Trace load order", text)
|
||||
self.assertIn("expression pieces", text)
|
||||
self.assertNotIn("disable-model-invocation: true", text)
|
||||
if role != "implementer":
|
||||
self.assertIn("assigned read roots", text)
|
||||
for host in ("/etc/", "/usr/share/", "$HOME", "rg -n"):
|
||||
self.assertNotIn(host, text)
|
||||
|
||||
def test_designer_release_modes_and_source(self):
|
||||
automatic = "issue-designer-default"
|
||||
manual = (
|
||||
|
||||
Reference in new issue
Block a user