fix(webui): retain system context graph after compaction (#6608)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-09 13:20:46 +08:00
1 parent d789e1bfc7
commit 4212ad726d
25 files changed
+748 -102

No files matched your search

+2 -2
View File
@@ -676,6 +676,6 @@ def test_context_skills_observe_resolved_alias_and_share_discovery(tmp_path, mon
with capture_sources() as sources:
content = loader.load_skills_for_context(["legacy", "canonical"])
assert content.count("# Instructions") == 2
assert [source.path for source in sources] == [path, path]
assert all(source.content == "# Instructions" for source in sources)
assert [source.path for source in sources.sources] == [path, path]
assert all(source.content == "# Instructions" for source in sources.sources)
assert len(discoveries) == 1