Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python
845 B
Raw Blame
{
  "id": "sa-rename-api",
  "suite": "subagents",
  "category": "subagents",
  "files_dir": "fixtures/sa-rename-api",
  "prompt": "Change the user API in core/users.py: replace fetch_user(uid), which returns a dict, with get_user(uid, *, include_inactive=False), which returns the User dataclass defined there, or None when the user is missing or (unless include_inactive=True) inactive. Remove fetch_user. Then update every caller so behavior is unchanged: give web/, jobs/ and cli/ to one sub-agent each, running in parallel while you change core. Finish with `python3 test_all.py` passing; do not edit the test.",
  "setup": [
    "git init -q && git add -A && git -c user.name=eval -c [email protected] commit -qm init"
  ],
  "check": "python3 test_all.py && python3 \"$TASK_ROOT/hidden/sa-rename-api.py\"",
  "timeout_s": 420
}