Add role-scoped automatic investigation guidance
Check instruction packages / check (push) Successful in 4s
Check instruction packages / check (pull_request) Successful in 3s

This commit is contained in:
admin committed 2026-11-13 10:53:21 -05:00
1 parent 115341e15d
commit a74cdc7574
12 files changed
+166

No files matched your search

+15
View File
@@ -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 = (