Repository navigation
Conversation
This was referenced Nov 13, 2026
Collaborator
|
Heads up: AX's runner (google/ax#621) writes AX_GOAL_FILE from spec.goal.text, not spec.config.prompt, and expects the answer in $AX_OUTPUT_FILE. Could the harness read the goal file as-is and write its answer there? Same applies to the Antigravity harness once that design settles. |
Match the files the AX runner writes for the image's launcher: - Read the prompt from AX_GOAL_FILE (spec.goal.text) as-is and reject spec.config.prompt instead of skipping it. - Write the answer to AX_OUTPUT_FILE when set, still printing it to stdout and keeping claude's exit code. - Pass AX_MCP_CONFIG_FILE as --mcp-config when it lists a server. - Fail on an invalid spec.config instead of silently dropping flags (the translation ran in a process substitution, whose exit code was ignored).
Collaborator
Author
|
Done: updated |
Contributor
|
Tracking: the release epic #12 covers publishing images from this repo. The Claude Code image is left out of publishing there for now, so this PR isn't tied to the v0.0.0 release work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
agents/claude-code/ax-harness, unit tests (test_harness.sh), and a CI workflow (.github/workflows/claude-code.yaml) for running headless Claude Code tasks under the AX in-container wrapper contract:$AX_GOAL_FILE(exits2when empty) and optional$AX_CONFIG_FILE(spec.configJSON), mappingcamelCasekeys to sortedclaude --print--kebab-caseCLI flags.claudeis not already present onPATH, runs Anthropic's official installer (https://claude.ai/install.shat${CLAUDE_CODE_VERSION:-stable}) and exposes$HOME/.local/binbefore launching.agents/claude-code/test_harness.shtesting flag generation, the runtime-install fallback (against a local mock installer), and empty-goal handling.