Queue clear — shared ACL on lists, semantic q, full telemetry ledger, --color-* retired #103

Merged
bvandeusen merged 5 commits from dev into main 2026-08-08 22:45:26 -04:00
Showing only changes of commit 9b3874b657 - Show all commits
+6 -3
View File
@@ -104,9 +104,12 @@ async def test_build_autoinject_hint_titles_only_with_margin_gate():
assert "#33" not in out["context"] assert "#33" not in out["context"]
# Title-first: no body text, ever. # Title-first: no body text, ever.
assert "get_note(id)" in out["context"] assert "get_note(id)" in out["context"]
# Telemetry fired with the auto_inject source and the full candidate set. # Telemetry fired for BOTH retrievals this path runs: the scored menu and
rec.assert_called_once() # the reuse-slot query competing against it. The slot's query used to be
assert rec.call_args.kwargs["source"] == "auto_inject" # the one unlogged retrieval on this path — the hit it displaced was in
# retrieval_logs, the query that displaced it was not (#2463).
sources = [c.kwargs["source"] for c in rec.call_args_list]
assert sources == ["auto_inject", "reuse_slot"]
@pytest.mark.asyncio @pytest.mark.asyncio