test(honcho): [verified] preserve profile and title provenance coverage

This commit is contained in:
outpoints
2026-09-09 15:31:16 -07:00
committed by Teknium
parent c2f743f9a1
commit 1c8658bf0d
@@ -62,6 +62,9 @@ def test_profile_home_resolution_stamps_default_rows(tmp_path, monkeypatch):
def set_session_title(self, _key, _title):
return None
def set_auto_title(self, _key, _title, *, source):
self.title_source = source
captured = CaptureDB()
@contextlib.contextmanager
@@ -82,6 +85,7 @@ def test_profile_home_resolution_stamps_default_rows(tmp_path, monkeypatch):
server._seed_branch_row(record, "seeded-row", "parent-row", [{"role": "user", "content": "hi"}], "desktop",
str(default_home))
assert captured.profile_name == "default"
assert captured.title_source == "derived"
assert record["pending_title"] is None