fix: refresh lighthouse mirror only on public architecture change

This commit is contained in:
冰朔 2026-09-08 14:19:55 +08:00
commit 8519b8c492
3 changed files with 6 additions and 1 deletions

View file

@ -33,6 +33,8 @@ class MirrorAgentTest(unittest.TestCase):
body = (Path(temp) / "architecture/CURRENT.json").read_text()
self.assertNotIn("/Volumes/", body)
self.assertNotIn("continuity-memory", body)
unchanged = M.sync_architecture(ROOT, Path(temp))
self.assertEqual(unchanged["state"], "MIRROR_PUBLIC_ARCHITECTURE_UNCHANGED")
def test_no_persona_decision_no_candidate(self):
with tempfile.TemporaryDirectory() as temp: