HydraPipeline

AI Agent: Downstream

Automated validation of downstream (content delivery) phases by an AI agent. Ensure $SERVER_EXPLIB, $SERVER_CLUSTER, $TOKEN, and $MODE are set from the foundation runbook.


Phase 4: Promote Experience

Promote the experience (created during foundation Phase 0d) to staging:

# API (production mode)
curl -sf -X POST "$SERVER_EXPLIB/api/v1/experiences/test-ai-experience/promote" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"to":"staging"}'

# CLI (local mode)
hydraexperiencelibrary promote test-ai-experience --to staging

Verification gate:

curl -sf "$SERVER_EXPLIB/api/v1/experiences/test-ai-experience" \
  -H "Authorization: Bearer $TOKEN" | jq .

Rollback:

curl -sf -X DELETE "$SERVER_EXPLIB/api/v1/experiences/test-ai-experience" \
  -H "Authorization: Bearer $TOKEN"

Phase 5: Upload to LarkXR Standalone (manual)

The AI agent cannot automate this step — LarkXR Standalone has a GUI that requires manual interaction.

Ask the user to:

  1. Open LarkXR Standalone on the render node
  2. Enter the serial number to activate (if needed)
  3. Upload the experience zip file
  4. Provide the App ID assigned by LarkXR

Phase 6: Verify Streaming (manual)

Ask the user to:

  1. Open a streaming client and connect to the render node
  2. Verify the experience renders and streams correctly
  3. Confirm no visual artifacts or crashes