Xray
all clusters 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 1 hour▾
Ends now. Anything up to this cluster's 30-day retention.
Start and end times
Cancel
Interpreted in UTC (change it at the right of this bar). Earliest available: 2026-10-24 11:34:15.
› →|
updated 6d ago
Sample data. This database was generated by scripts/seed_dev_db.py — every service, deploy, person and figure on this page is synthetic. Names are sample.*@seed.invalid and image tags are prefixed SEED-. Nothing here happened.
← Videos

Add a training to a study

Guide training-management · voice af_heart · 0 versions

Make the whole video: queued

The video agent is on it as soon as it's free. This page follows along and reloads when it's done.

No video yet: the agent is working on it.

Versions

None yet.

Make it again

Each makes a new version; the old ones stay.

Settings

A new voice or speed takes effect with “Update the audio”.

Script v1

Versions: v1 (the video agent: rewritten: The demo data now sits on an org the capture account can open (Teammates Demo Sandbox), so the study pages load. Write the script again and check it.)

1
Screen: opens {study-trainings-list}, 1 step, highlights text=Protocol amendment 2
add a line after
2
Screen: 2 steps, highlights dialog >> text=Add new training
add a line after
3
Screen: 1 step, highlights dialog >> text=Assignment rules
add a line after
4
Screen: 2 steps, highlights dialog >> text=Assignment rules
add a line after
5
Screen: 3 steps, highlights dialog >> text=Assignment rules
add a line after
6
Screen: 1 step, highlights dialog >> text="Complete within"
add a line after
7
Screen: 1 step, highlights dialog >> text="Reassign When..."
add a line after
8
Screen: 1 step, highlights dialog >> role=button[name="Confirm"]
add a line after

Changed only the words? “Update the audio” re-voices those lines and cuts them onto the last recording. Changed the steps or added lines? Make the whole video, so the screen matches.

What the agent did

The task

Show a study admin how to add a training to a study so the right people are assigned automatically.

JobStatusAskedByTook
Make the whole video (after the script) queued
Write the script (The demo data now sits on an org the capture account can open (Teammates Demo Sandbox), so the study pages load. Write the script again and check it.) done 3.2 min
log
11:25:19 script for "Show a study admin how to add a training to a study so the right people are assi…" (video agent 0.1.0) 11:25:20 writing the script with claude-sonnet-5-5 11:25:22 [tool] Read /work/j-3bd2cead85/repo/.claude/skills/docs-video/SKILL.md 11:25:22 [tool] Bash cd /work/j-3bd2cead85; ls; ls repo/content/guides/training-management repo/content/guides/studies; cat plan.json 2>/dev/null | head -50 11:25:24 [tool] Bash cd /work/j-3bd2cead85/repo/content; cat guides/training-management/add-a-training.md guides/training-management/assign-trainees.md; cat app.md; ls demo; ls ../demo/scenarios 2>/dev/null 11:25:25 [tool] Bash cd /work/j-3bd2cead85/repo/content/demo; grep -n -i -B2 -A12 "protocol" training-management.md | head -60 11:25:32 [tool] Bash cd /work/j-3bd2cead85; cat > plan.json <<'EOF' { "title": "Add a training to a study", "guide": "training-management", "beats": [ { "say": "This video shows how to add a training to a 11:27:03 [tool] Read /work/j-3bd2cead85/check/failed-1.png 11:27:04 [agent] The page loads now; the trainings show their titles, not template names. I'll use "Protocol amendment 2". 11:27:04 [tool] Bash cd /work/j-3bd2cead85; sed -i 's/text=STK-301 protocol training/text=Protocol amendment 2/g' plan.json; cd repo && node capture/video.mjs /work/j-3bd2cead85/plan.json /work/j-3bd2cead85/check --check 11:27:51 [agent] The script is at `/work/j-3bd2cead85/plan.json`, and all eight beats pass the check (`node capture/video.mjs … --check`). - **What it covers:** the video is titled "Add a training to a study" and uses the `training-management` guide. 1. The first beat says what the video shows. 2. The next beats open **Add training** in **Team Trainings**, pick a name and template, choose **Sites** under **Assignm 11:27:51 checking the script runs (8 beats) 11:28:24 ✓ beat 1/8 11:28:26 ✓ beat 2/8 11:28:27 ✓ beat 3/8 11:28:29 ✓ beat 4/8 11:28:30 ✓ beat 5/8 11:28:31 ✓ beat 6/8 11:28:32 ✓ beat 7/8 11:28:33 ✓ beat 8/8 11:28:34 script v1: 8 lines, 148 words 11:28:34 done in 195 s
Write the script failed 10.4 min
log
✗ node capture/video.mjs failed (exit 1): ✗ beat 1 ("This video shows how a study admin adds a training to a stud"): wait "text={trainings.protocol.name}": wait "text={trainings.protocol.name}": locator.waitFor: Timeout 60000ms exceeded. 10:54:44 script for "Show a study admin how to add a training to a study so the right people are assi…" (video agent 0.1.0) 10:54:46 writing the script with claude-sonnet-5-5 10:54:48 [tool] Read /work/j-893413cd4d/repo/.claude/skills/docs-video/SKILL.md 10:54:48 [tool] Bash cd /work/j-893413cd4d/repo/content/guides/training-management && ls && cat index.md && grep -il "study" *.md 10:54:50 [tool] Bash cd /work/j-893413cd4d/repo/content && cat guides/training-management/add-a-training.md guides/training-management/assign-trainees.md; cat app.md; grep -n -i "training" demo/training-management.md | he 10:54:56 [tool] Bash cd /work/j-893413cd4d && cat > plan.json <<'EOF' { "title": "Add a training to a study", "guide": "training-management", "beats": [ { "say": "This video shows how a study admin adds a 10:56:29 [tool] Read /work/j-893413cd4d/check/failed-1.png 10:56:29 [tool] Bash cd /work/j-893413cd4d; ls check; env | grep -c DOCS_ 10:56:32 [tool] Bash grep -n "org\b\|alias\|DOCS_ENV\|scenario" capture/video.mjs | head -40; ls capture demo/scenarios 2>/dev/null | head -30; ls /work/j-893413cd4d/check 10:56:33 [tool] Bash sed -n 80,200p capture/video.mjs; cat /work/j-893413cd4d/check/check.json | head -30 10:56:35 [tool] Bash grep -n "backing" -A8 content/demo/training-management.md | head -30; grep -n "backing" capture/lib.mjs capture/recipes.mjs | head; ls .env.local 2>&1; grep -o "^DOCS_[A-Z_]*" .env.local 10:56:36 [tool] Bash grep -n "backing" -A8 content/demo/training-management.md | head -30; grep -n "backing" capture/lib.mjs capture/recipes.mjs | head 10:56:38 [tool] Bash cat scripts/with-credentials.sh | head -30 10:56:40 [tool] Bash node capture/video.mjs /work/j-893413cd4d/plan.json /work/j-893413cd4d/check --check 2>&1 | tail -8 10:58:12 [tool] Bash cd /work/j-893413cd4d && cat > probe.json <<'EOF' {"title":"p","guide":"training-management","beats":[{"say":"Probe.","open":"{home}","steps":[{"pause":1500}],"show":"role=link[name=\"Studies\"]"}]} E 10:58:44 [tool] Bash cd /work/j-893413cd4d && sed -i 's/{home}/{study-trainings-list}/; s/"steps":\[{"pause":1500}\],"show":"role=link\[name=\\"Studies\\"\]"/"steps":[{"pause":4000},{"wait":"text=zzzz","optional":true}]/' 11:00:20 [tool] Bash cd /work/j-893413cd4d && sed -i 's/{"wait":"text=zzzz","optional":true}/{"wait":"role=button[name=\\"Add training\\"]"}/' probe.json && cd repo && node capture/video.mjs ../probe.json ../probe --check 11:01:54 [tool] Bash cd /work/j-893413cd4d && grep -n "study\b\|studyId\|{study" repo/capture/recipes.mjs | head; grep -n "studyId\|study" repo/demo/scenarios/training-management.mjs | head -20 11:01:56 [tool] Bash cd /work/j-893413cd4d && sed -i 's/"open":"{study-trainings-list}"/"open":"{home}"/' probe.json && cd repo && node capture/video.mjs ../probe.json ../probe --check 2>&1 | tail -2 11:03:29 [tool] Read /work/j-893413cd4d/probe/failed-1.png 11:03:38 [agent] I wrote the script to `/work/j-893413cd4d/plan.json`, but the check does not pass. The failure comes from the recording environment, not from the script. **What fails.** Beat 1 can't open the study. The capture account signs in, but the app shows "No organization found – Organization does not exist or you don't have permission to access it". This happens on the Training Management guide's demo org 11:03:38 checking the script runs (8 beats) 11:05:05 ✗ beat 1 ("This video shows how a study admin adds a training to a stud"): wait "text={trainings.protocol.name}": wait "text={trainings.protocol.name}": locator.waitFor: Timeout 60000ms exceeded. 11:05:06 ✗ node capture/video.mjs failed (exit 1): ✗ beat 1 ("This video shows how a study admin adds a training to a stud"): wait "text={trainings.protocol.name}": wait "text={trainings.protocol.name}": locator.waitFor: Timeout 60000ms exceeded.