Records reach work just in time: pointer lines and lessons by situation (milestone 642, steps 5–6) #231

Merged
bvandeusen merged 7 commits from dev into main 2026-11-25 09:39:15 -05:00
Showing only changes of commit 2f93a4f7b5 - Show all commits
+3 -1
View File
@@ -271,7 +271,9 @@ async def test_margin_gate_applies_to_the_semantic_arm():
patch.object(pc, "owner_names_for", AsyncMock(return_value={})):
out = await pc.build_write_path_hint(1, "src/x.py", code=REAL_CODE)
assert out["note_ids"] == [11, 22]
assert "#33" not in out["context"]
# Past the margin: no line of its own, only its id in the pointer.
assert "#33 [" not in out["context"]
assert "not shown: snippets #33 (`get_snippet(id)`)" in out["context"]
@pytest.mark.asyncio