fix: update profile paths in documentation and scripts for consistency and clarity

This commit is contained in:
2026-05-21 14:17:15 -06:00
parent ad230e1abe
commit e03518e507
3 changed files with 3 additions and 15 deletions

View File

@@ -65,17 +65,7 @@ class ProfileTests(unittest.TestCase):
result = profile.doctor("demo", root=root)
self.assertTrue(result["ok"])
self.assertTrue(result["checks"]["root_project_knowledge_absent"])
def test_doctor_rejects_root_level_project_data_dirs(self) -> None:
with tempfile.TemporaryDirectory() as tmp:
root = Path(tmp)
profile.create_profile("demo", root=root)
(root / "project-knowledge").mkdir()
result = profile.doctor("demo", root=root)
self.assertFalse(result["ok"])
self.assertFalse(result["checks"]["root_project_knowledge_absent"])
self.assertEqual(result["paths"]["knowledge_dir"], "workspaces/demo/project-knowledge")
if __name__ == "__main__":