Repository navigation
hack/hero-demo: wire Step 3 to the starter launcher contract - #643
Merged
Merged
Conversation
Collaborator
|
@aprajitaarora13 build-and-test is red here, and it has no reviewer yet. @rakyll or @yongruilin could one of you take it? It's Step 3 for the dry run |
yongruilin
self-requested a review
November 18, 2026 22:04
Collaborator
It's flaky. TestLockRenewsLeaseWhileHeld timeout. |
yongruilin
reviewed
Nov 18, 2026
Update hack/hero-demo/task-starter.yaml, run.sh, and README.md (Step 3: Starter Task, Session & Resume) to use the prebuilt image launcher contract from #619–#622: - Move `spec.config.prompt` to `spec.goal.text` and set `spec.sessionId: hero-demo-session` in `hack/hero-demo/task-starter.yaml`. - Allow overriding the starter image digest via `STARTER_IMAGE` in `hack/hero-demo/run.sh` before the published GHCR digest is pinned in `task-starter.yaml`. - In `step3_starter_task_session`, wait for Turn 1 to write `$AX_OUTPUT_FILE` (`/workspace/.ax/output`) and `/workspace/.ax/launcher-done`, verify the output is preserved across `ax suspend` and `ax resume`, and keep the second Session turn as STUB until a follow-up turn can run on the same task's workspace. - Document in `hack/hero-demo/README.md` that pure starter images need `ax-server` configured with a runner volume image (`ax install --runner-volume-image` or `AX_RUNNER_VOLUME_IMAGE`). Part of #493.
aprajitaarora13
force-pushed
the
aprajitaarora/hero-demo-step3-antigravity
branch
from
November 19, 2026 16:03
2725330 to
50f3b54
Compare
mayawang
approved these changes
Nov 19, 2026
mayawang
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, thanks Aprajita! Agree on keeping turn 2 as a stub for now. Could you open an issue for running a follow-up turn on the same workspace, labelled bug-bash, so we track it for v0.1?
yongruilin
approved these changes
Nov 19, 2026
aprajitaarora13
deleted the
aprajitaarora/hero-demo-step3-antigravity
branch
November 19, 2026 18:37
3 of 4 tasks
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.
Wires Step 3 of the hero demo (
hack/hero-demo/) to the prebuilt image launcher contract landed in #619–#622:hack/hero-demo/task-starter.yaml: Movesspec.config.prompttospec.goal.text(consumed via$AX_GOAL_FILE) and setsspec.sessionId: hero-demo-session.hack/hero-demo/run.sh(step3_starter_task_session):STARTER_IMAGEenvironment override so Steps 3 and 5 can be tested with a digest-pinned starter image before the published GHCR digest is pinned directly intask-starter.yaml.test -s /workspace/.ax/output && test -s /workspace/.ax/launcher-done), verifies/workspace/.ax/outputsurvivesax suspendandax resume, and keeps the second Session turn asSTUBuntil a follow-up turn can run on the same task's workspace.hack/hero-demo/README.md: DocumentsSTARTER_IMAGE, notes that pure starter images requireax-serverto be configured with a runner volume image (ax install --runner-volume-imageorAX_RUNNER_VOLUME_IMAGE, empty by default), and reflects the updated Step 3 status.Verified:
bash -n hack/hero-demo/run.shand./hack/hero-demo/run.sh --step 3pass cleanly.write_fileediting/workspace/app/math_utils.py) → suspend/resume (0 extra model requests, launcher skipped vialauncher-done, output preserved) end-to-end againstmock-geminiwith the mountedax-task-runner(/opt/ax/ax-task-runner) and pure Antigravity1.5.10image.Part of #493.