graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
test: expect the aggregate privacy badge in the PTY and preference fixtures
Rach Pradhan5f08f7901844
diff --git a/scripts/test-model-preference.py b/scripts/test-model-preference.pyindex db560669..69eafa2f 100755--- a/scripts/test-model-preference.py+++ b/scripts/test-model-preference.py@@ -15,7 +15,8 @@ from pty_harness import PtySession_arg = sys.argv[1] if len(sys.argv) > 1 else "graff"GRAFF = os.path.abspath(_arg) if os.sep in _arg else _arg-PRIVACY = "Privacy:Local"+# Aggregate is the default learning ceiling; the badge reflects it.+PRIVACY = "Privacy:Aggregate"PROVIDER_KEYS = ("ANTHROPIC_API_KEY","DEEPSEEK_API_KEY",diff --git a/scripts/test-pty-repl.py b/scripts/test-pty-repl.pyindex 617baa64..c8a95f05 100755--- a/scripts/test-pty-repl.py+++ b/scripts/test-pty-repl.py@@ -48,7 +48,7 @@ def main() -> None:raise AssertionError(f"missing colored badge {color_bytes!r} after {line}")base = "deepseek-v4-pro · Extra high · codegraff"- privacy = "Privacy:Local"+ privacy = "Privacy:Aggregate" # the default learning ceiling# Match through cwd but not the closing bracket: the live context# meter is appended after cwd and changes as the session evolves.command(