test(7833): the write path is pinned to the kinds its door considers, not the retired fixed lists
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Python tests (push) Successful in 2m4s
CI & Build / integration (push) Successful in 2m14s
CI & Build / Build & push image (push) Successful in 39s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 14:32:28 -05:00
co-authored by Claude Opus 5.5
parent 9cbdfb205c
commit 1363936ed7
3 changed files with 5 additions and 7 deletions
+1 -2
View File
@@ -483,10 +483,9 @@ async def test_write_path_semantic_arm_asks_for_experience_not_just_snippets():
)
kw = search.await_args.kwargs
assert kw["note_type"] == ("snippet", "note", LESSON_NOTE_TYPE)
# An open to-do resembling the code answers nothing; an ISSUE carries a root
# cause and a NOTE carries durable knowledge. Only the todo is excluded.
assert kw["task_kind"] == "issue"
assert kw["record_kinds"] == ["lesson", "note", "snippet", "task:issue"]
# Telemetry must not claim this was a notes-only retrieval any more.
assert rec.call_args.kwargs["is_task"] is None