Repository navigation
hack: add the v0.1 hero demo harness - #590
Merged
Merged
Conversation
Add examples/hero-demo/, one script and three manifests for the 5-step v0.1 hero demo, so each step's DRI wires their piece into run.sh on main instead of keeping a separate demo branch. - run.sh runs the five steps in order and prints a scoreboard (PASS / STUB / FAIL). By default it makes no cluster calls. With RUN_LIVE_STEPS=1 it runs what works on main today: ax get workspaces, ax apply of both manifests, and resume/suspend/resume of the starter task; with --remote-context it applies the manifests to that cluster. Everything else is a STUB with a TODO(@owner). - workspace.yaml, task-starter.yaml and task-custom.yaml use the v1alpha1 schema on main (metadata.atespace, spec.profile and spec.setup on Workspace, spec.image/command/resources/workspace on Task; the starter goal goes in spec.config.prompt until google#587). - The setup test is a unittest.TestCase, so the custom task's python3 -m unittest discover finds it without pytest. Verification: ./examples/hero-demo/run.sh # prints the scoreboard, exit 0 ./examples/hero-demo/run.sh --step 3 RUN_LIVE_STEPS=1 AX_BIN=<ax> ./examples/hero-demo/run.sh --remote-context <ctx> The manifests decode with the strict v1alpha1 YAML decoder and pass ValidateWorkspace/ValidateTask. Live mode was exercised against stub ax binaries, not a real cluster.
mayawang
requested review from
MushuEE,
YoyinZyc,
itssimrank and
siyuanfoundation
November 14, 2026 02:46
Collaborator
Author
|
@siyuanfoundation @MushuEE could one of you approve? Siyuan since the manifests track #587, Grant since Kind E2E will run this. @YoyinZyc @itssimrank FYI since your steps live in run.sh |
examples/ is where developers learn AX, and this is a development harness that stays mostly stubs until its pieces land, so it moves to hack/hero-demo/ next to the other dev and CI scripts. - The README now just says what the harness does and how to run it. - TODOs name GitHub handles; Step 2 (warm snapshots) is YoyinZyc. - The starter image is a registry.example.com placeholder, and the workspace uses the server's default task image, instead of unpublished image names. Verification: ./hack/hero-demo/run.sh # prints the scoreboard, exit 0 ./hack/hero-demo/run.sh --step 2 RUN_LIVE_STEPS=1 AX_BIN=<ax> ./hack/hero-demo/run.sh --remote-context <ctx> The manifests still decode with the strict v1alpha1 YAML decoder and pass ValidateWorkspace/ValidateTask. Live mode was exercised against stub ax binaries, not a real cluster.
…eholder TODOs now name aprajitaarora13 for the Session turn and Raji14 for the Studio health check. The starter image is <starter-image>@sha256:<digest>, pointing at github.com/agentexecutor/images, until the first digest is published. Verification: ./hack/hero-demo/run.sh # prints the scoreboard, exit 0 The manifests still decode with the strict v1alpha1 YAML decoder and pass ValidateWorkspace/ValidateTask.
siyuanfoundation
approved these changes
Nov 14, 2026
This was referenced Nov 15, 2026
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
hack/hero-demo/, a development harness for the five-step AX v0.1 developer demo. One script onmainruns the steps in order and prints a scoreboard, so progress is tracked in one place while the pieces land, without a separate demo branch.What's in it
run.shruns the five steps and prints a scoreboard (🟢 PASS / 🟡 STUB / 🔴 FAIL). By default it makes no cluster calls, so it always runs cleanly. WithRUN_LIVE_STEPS=1it runs what already works onmainagainst the AX server of the current kube context:ax get workspaces, to check ax-server is reachable.ax apply -f workspace.yaml.ax apply -f task-starter.yaml, then resume, suspend, resume.--remote-context): applies both manifests unchanged to that cluster.Everything else is a 🟡 STUB with a
TODO: local mode and the Studio check, the warm snapshot check, the second Session turn, the custom image task (needs automaticax-task-runnerinjection), and promotion in one command.workspace.yaml,task-starter.yamlandtask-custom.yamluse the v1alpha1 schema onmaintoday. When the Task schema update (task: update v1alpha1 Task and ObjectMeta schema and update codebase #587) lands, the starter's prompt moves fromspec.config.prompttospec.goal, and the tasks switch tospec.profileandspec.commands.The starter image is a
<starter-image>@sha256:<digest>placeholder until the Claude Code image from agentexecutor/images is published and pinned by digest. The workspace uses the server's default task image.It lives in
hack/rather thanexamples/, because it stays mostly stubs until its pieces land. A clean walkthrough can go inexamples/once the flow runs end to end.Verification
--step,--helpand a bad--stepall behave as expected.axbinaries that always succeed or always fail. It reports PASS/STUB, or FAIL with the error shown, and still prints the scoreboard and exits 0. I didn't run it against a real cluster.ValidateWorkspace/ValidateTask.python3 -m unittest discoverfinds and passes.