Run a newcomer's first chunk in the gate, and keep the person's own Claude home out of the loop's #812

Merged
lilleman merged 21 commits from item-577 into main 2026-12-04 08:47:01 +01:00
Showing only changes of commit 0035c9d1dc - Show all commits
+1 -1
View File
@@ -145,7 +145,7 @@ def main() -> int:
project_made()
requests = mock_messages_api.Requests()
server = mock_messages_api.serve(requests)
# The token signs claude in, as docs/decisions.md → `Claude Code in a home of its own` found; the mock doesn't check it.
# A made-up token, which grants access to nothing. It signs claude in, as docs/decisions.md → `Claude Code in a home of its own` found, and the mock doesn't check it.
env = {**os.environ, "ANTHROPIC_BASE_URL": f"http://127.0.0.1:{server.server_port}", "CLAUDE_CODE_OAUTH_TOKEN": "mock-token"}
started = subprocess.run([str(CLONE / "bin" / "build-release"), "Write a note of what the project is for."], cwd=PROJECT, env=env, stdin=subprocess.DEVNULL)
if started.returncode: