You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 494950e
Browse filesBrowse the repository at this point in the historyBrowse files
These suites are characterization tests: they assert current behavior so
the SDK v2 port can prove it changed nothing. Some of that behavior is
wrong, and a reader could not tell those tests from the ones that pin
correct behavior.
Every test that pins a known bug now carries one marker line directly
above it (above any decorators):
# KNOWN BUG #<issue>: pins current (wrong) behavior; the fix changes this assertion.
# KNOWN BUG (no issue): <what is wrong>; the fix changes this assertion.
so `git grep "KNOWN BUG"` lists exactly the tests a bug fix will have to
change. Regression guards (#628, the #4550 restriction tests, the
CVE-2026-27735 path checks) and pins of deliberate design are left
unmarked. Comments only; no assertion changes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: cliffhall <[email protected]>
# KNOWN BUG (no issue): a nonexistent --repository kills the server with a Python traceback instead of a one-line error; the fix changes this assertion.
# KNOWN BUG (no issue): an unknown tool called without repo_path reports the KeyError repr "'repo_path'" instead of "Unknown tool"; the fix changes this assertion.
) ==text_result("Ref 'nope' did not resolve to an object", is_error=True)
268
271
269
272
273
+
# KNOWN BUG (no issue): the flag-injection guard's message reaches the client wrapped as "Ref '...' did not resolve to an object"; the fix changes this assertion.
# KNOWN BUG (no issue): the flag-injection guard's message reaches the client wrapped as "Ref '...' did not resolve to an object"; the fix changes this assertion.
# KNOWN BUG (no issue): the flag-injection guard's message reaches the client wrapped as "Ref '...' did not resolve to an object"; the fix changes this assertion.
# KNOWN BUG (no issue): git_show prints Python reprs (quoted sha, <git.Actor>, datetime with a memory address) instead of git's format; the fix changes this assertion.
# KNOWN BUG (no issue): git_show prints Python reprs (with a memory address) and "--- None" where git prints /dev/null; the fix changes this assertion.
# KNOWN BUG (no issue): git_show prints Python reprs (quoted sha, <git.Actor>, datetime with a memory address) instead of git's format; the fix changes this assertion.
# KNOWN BUG (no issue): git_show prints Python reprs (quoted sha, <git.Actor>, datetime with a memory address) instead of git's format; the fix changes this assertion.
) ==text_result("Ref 'nope' did not resolve to an object", is_error=True)
810
827
811
828
829
+
# KNOWN BUG (no issue): the flag-injection guard's message reaches the client wrapped as "Ref '...' did not resolve to an object"; the fix changes this assertion.
# KNOWN BUG (no issue): the flag-injection guard's message reaches the client wrapped as "Ref '...' did not resolve to an object"; the fix changes this assertion.
0 commit comments